Project: JumpScare
Dev Language: C# (Oxide/uMod)
Plugin Language: English (some in-game messages mixed)
Author: [@RustFlash]
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.
oxide/data/JumpScare/ are loaded at startup and registered with ImageLibrary. File name = image key.jumpscare.receive) are eligible.MinPlayersBetweenScares and MaxPlayersBetweenScares (in minutes). After each trigger, the next one is scheduled immediately.| 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.
jumpscare.receive - Players with this permission can be selected by the auto-jump scare
Admin commands are gated by IsAdmin, not separate permissions.
{
"JumpscareIntervalMinutes": 60,
"JumpscareDisplaySeconds": 3.0,
"MinPlayersBetweenScares": 5.0,
"MaxPlayersBetweenScares": 15.0,
"EnableSounds": true,
"OnlyAtNight": true,
"MinPlayersOnline": 2
}
Explanation:
JumpscareIntervalMinutes – per player: minimum time between two scares on the same player.JumpscareDisplaySeconds – how long the image stays on screen before the UI is removed.MinPlayersBetweenScares / MaxPlayersBetweenScares – global 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.
oxide/data/JumpScare/.png, .jpg, .jpegTip: Use high-resolution, high-contrast images. Edges/transparency don’t matter thanks to the dark overlay beneath.
load, prank, enjoy 👻