JumpScare
JumpScare JumpScare

Free

Checkout
JumpScare

JumpScare

Project: JumpScare
Dev Language: C# (Oxide/uMod)
Plugin Language: English (some in-game messages mixed)
Author: [@RustFlash]


Short Description

JumpScare shows a full-screen horror image to a randomly selected player for a few seconds and plays two loud sounds at the same time. It runs automatically in the background, respects night/day, player count, and per-player cooldown. You place the images yourself in the data folder; they’re loaded via ImageLibrary.


Features

🎃 What the plugin does

  • Runs on a timer and triggers a random jump scare on exactly one eligible online player. No spam because each player has a configurable cooldown.
  • Night-only (optional) and only when at least a minimum number of players are online.
  • Image is shown full-screen with a dark overlay; removed after X seconds.
  • Sound: plays beartrap_scream + howl simultaneously on the player for maximum shock. Can be disabled in config.
  • Image handling: PNG/JPG/JPEG from oxide/data/JumpScare/ are loaded at startup and registered with ImageLibrary. File name = image key.

🧠 Selection & limits

  • Only players with the permission (jumpscare.receive) are eligible.
  • A per-player cooldown (minutes) prevents the same person being scared too often.
  • Timer interval is random between MinPlayersBetweenScares and MaxPlayersBetweenScares (in minutes). After each trigger, the next one is scheduled immediately.

Commands

Command Who Effect
/scare Admin Jump scare yourself with a random image. Optional: /scare <name> to target a specific player.
/scareinfo Admin Shows Loaded Images, seconds until next auto-scare, and image keys.
/reloadscares Admin Reloads images from the data folder.

Note: Admin check uses IsAdmin. Regular players see “No permission.” for admin commands.


Permissions

jumpscare.receive   - Players with this permission can be selected by the auto-jump scare

Admin commands are gated by IsAdmin, not separate permissions.


Dependencies

  • ImageLibrary – required. Without it, JumpScare logs an error and does nothing.

Configuration

{
  "JumpscareIntervalMinutes": 60,
  "JumpscareDisplaySeconds": 3.0,
  "MinPlayersBetweenScares": 5.0,
  "MaxPlayersBetweenScares": 15.0,
  "EnableSounds": true,
  "OnlyAtNight": true,
  "MinPlayersOnline": 2
}

Explanation:

  • JumpscareIntervalMinutesper player: minimum time between two scares on the same player.
  • JumpscareDisplaySeconds – how long the image stays on screen before the UI is removed.
  • MinPlayersBetweenScares / MaxPlayersBetweenScaresglobal random timer window (minutes) until the next auto-trigger. Re-rolled after every trigger.
  • EnableSounds – if false, no scream/howl.
  • OnlyAtNight – if true, scares only between 20:00–06:00 in-game time.
  • MinPlayersOnline – below this, nothing happens.

Config is created/saved on load; defaults are above.


Data & Images

  • Folder: oxide/data/JumpScare/
  • Supported: .png, .jpg, .jpeg
  • File name without extension = key in ImageLibrary (registered automatically).

Tip: Use high-resolution, high-contrast images. Edges/transparency don’t matter thanks to the dark overlay beneath.


load, prank, enjoy 👻