HauntedDoors
An event that brings more Halloween feeling to your server
Description
HauntedDoors
__Project details__
Project: HauntedDoors
dev language: c# oxide
Plugin language: en
Author: @RustFlash
Description
HauntedDoors spawns spooky “ghosts” when a player opens certain hinged doors. Despite the display description (“double doors”), the code checks both single and double hinged wood/metal/HQM doors. Ghosts spawn with optional sound and visual effects, then despawn after a short duration.
Features
- Random ghost spawn on door open: Triggered by the
OnDoorOpenedhook → checks door type → rollsSpawnChance(default 0.15) before spawning. - Timed despawn: Each ghost is removed after
GhostDurationseconds (default 4). - Effects: Optional sounds and smoke/explosion-style visuals on spawn and despawn.
- Ghost pool: Picks from a list of prefabs (e.g., scarecrow, zombie) with per-ghost spawn/despawn sounds.
- Invulnerable & passive: Ghosts are made effectively indestructible (huge health and protections), AI is disabled, orientation faces the player. They’re also not saved to disk and do not broadcast globally.
- Explosion dampening near ghosts: Reduces/blocks explosion damage around players when ghosts are active (prevents accidental deaths from nearby booms).
- No commands or permissions: Runs automatically; purely event-driven.
Configuration (default)
oxide/config/HauntedDoors.json
json
| 1 | { |
| 2 | "Ghost spawn chance (0.0 - 1.0)": 0.15, |
| 3 | "Ghost visibility duration (seconds)": 4.0, |
| 4 | "Play sound effects": true, |
| 5 | "Show visual effects (smoke/fog)": true |
| 6 | } |
Notes
- Door filter: Triggers on the following door short prefab names:
door.hinged.wood, door.double.hinged.wood, door.hinged.metal, door.double.hinged.metal, door.hinged.toptier, door.double.hinged.toptier.- Ghost types & effects: Prefabs and SFX/VFX are defined in code. You can extend the ghost list and make your own effects pool if you fork the plugin.
- Behavior: Ghosts are invulnerable (very high health/protection), AI off, not persistent, and look toward the player. Explosion damage close to ghosts gets zeroed out for safety.
Config keys explained
Ghost spawn chance (0.0 - 1.0): Probability that opening an allowed door spawns a ghost (0.0 - 1.0).Ghost visibility duration (seconds): Lifetime for spawned ghosts before they vanish.Play sound effects: Toggle audio on spawn/despawn.Show visual effects (smoke/fog): Toggle visual FX on spawn/despawn.
Join my Discord for more cool free plugins
RustFlash Dev Discord
load, run, enjoy 💝
Default configuration
HauntedDoors.json
{
"Ghost spawn chance (0.0 - 1.0)": 0.15,
"Ghost visibility duration (seconds)": 4.0,
"Play sound effects": true,
"Show visual effects (smoke/fog)": true,
"Allow single doors to trigger ghosts": true,
"Allow double doors to trigger ghosts": true
}Sponsored

RCONtrol
Command your Rust server. Live WebRCON console, performance and player monitoring, quick actions, groups and permissions, and plugin management.
Visit site ↗Free
DownloadViews18
Downloads0
Purchases0
Rating★ 0.0
Version1.8.4
PlatformRust
CategoryPlugins
CompatibleOxide
Size9 KB
PublishedOct 3, 2026
UpdatedOct 3, 2026
✓ Reviewed for safety and integrity