
Spook a player

Spook
Give players an unexpected scare by displaying a custom image across their screen with an optional sound effect.
Spook is a lightweight prank and event tool that lets authorized players target an individual player or everyone online. Each scare randomly selects an image from your configured image list, displays it for a configurable duration, and plays your chosen Rust sound effect.
Features
- Display custom scare images on a player’s screen
- Target players by name or Steam ID
- Admin command to scare everyone online
- Random image selection from a configurable list
- Supports remote image URLs and local image files
- Configurable display duration
- Configurable command cooldown
- Configurable sound effect
- Adjustable image screen position and size
- Separate user and administrator permissions
- Console command support
- Automatic UI cleanup when the plugin unloads
- Image Library integration
Commands
Player Command
| 1 | /spook <PlayerName or SteamID> |
Displays a random configured image and plays the configured sound for the selected player.
Administrator Command
| 1 | /spook all |
Displays a random scare image for every player online.
Console Command
| 1 | spook <PlayerName or SteamID> |
Allows the server console to target a player.
Permissions
| 1 | spook.use |
Allows players to use the standard /spook command.
| 1 | spook.admin |
Allows administrators to bypass the normal cooldown and use /spook all.
Configuration
The configuration allows you to control:
- User permission
- Administrator permission
- Command cooldown
- Image display duration
- Sound effect
- Image URL list
- Image anchor minimum
- Image anchor maximum
The image anchors can be adjusted to display the image across the entire screen or within a smaller section.
Requirements
- Image Library
Spook checks for Image Library when the server starts and unloads itself if the dependency is unavailable.
Great For
- Halloween servers
- Pranking friends
- Admin events
- Horror themed servers
- Surprise announcements
- Custom jump scares
- Community rewards and punishments
Spook.json
| 1 | { |
| 2 | "Settings": { |
| 3 | "PermissionUse": "spook.use", |
| 4 | "PermissionAdmin": "spook.admin", |
| 5 | "cooldownTime": 3600, |
| 6 | "displaySeconds": 10, |
| 7 | "soundFX": "assets/bundled/prefabs/fx/player/beartrap_scream.prefab", |
| 8 | "imagesURL": [], |
| 9 | "anchorMin": "0.0 0.0", |
| 10 | "anchorMax": "1 1" |
| 11 | }, |
| 12 | "Version": { |
| 13 | "Major": 1, |
| 14 | "Minor": 0, |
| 15 | "Patch": 6 |
| 16 | } |
| 17 | } |


Trusted hosting partner. Affordable game servers with solid support and panels.
Visit site ↗