Halloween Event
Halloween Event
Project details
Project: HalloweenEvent
Dev Language: C# (Oxide/uMod)
Plugin Language: English
Author: @RustFlash
Description
Halloween Event runs a lightweight, fast-paced Jack-o’-Lantern shooting event. After a short countdown, each online player gets their own target pair (Scarecrow + Jack-o’-Lantern) spawned in a configurable ring around the player.
Hit Happy pumpkins to score and drop candy; Angry ones yield no points. Entities auto-expire after a short lifetime and are immediately respawned to keep the arena populated.
Features
🎯 Event Flow
- Global countdown, then timed event window.
- Per-player spawns; scoring tracked and top players announced at the end.
- Candy drop on valid hits (configurable item shortname/amount).
🧠 Smart Spawning (Ring)
- Spawns strictly around the player (between
MinDistanceFromPlayerandSpawnRadius). - Progressive search: strict → medium → relaxed → last-resort to always find a ring position (works on terrain, monuments, bases).
♻️ Auto-Respawn
- On destroy or on lifetime timeout, the plugin spawns
RespawnCountOnDestroynew targets for that player.
🛡️ Health Watcher
- Global health check every 2s: cleans up half-broken pairs and triggers respawn, keeping the loop stable.
⚙️ Lightweight
- Event-only build: just the commands you need, minimal logging, no test/debug commands.
Commands
🧾 Chat & Console
| Command | Description | Permission |
|------------------------|------------------------------------|-------------------------|
| /flashhalloweenevent | Start the countdown & event | halloweenevent.use |
| /stophalloweenevent | Stop countdown/event & clean up | halloweenevent.use |
> The same names exist as console commands: flashhalloweenevent, stophalloweenevent.
Permissions
| 1 | halloweenevent.use - Allows starting/stopping the event |
Configuration (excerpt)
| 1 | { |
| 2 | "CountdownMinutes": 3, |
| 3 | "EventDurationSeconds": 60, |
| 4 | |
| 5 | "SpawnRadius": 10.0, |
| 6 | "MinDistanceFromPlayer": 4.0, |
| 7 | |
| 8 | "ScarecrowLifetime": 3.0, |
| 9 | "RespawnCountOnDestroy": 2, |
| 10 | |
| 11 | "HappyJackChance": 0.6, |
| 12 | "JackHeightOnScarecrow": 1.2, |
| 13 | |
| 14 | "CandyItemShortname": "halloween.candy", |
| 15 | "CandyReward": 1, |
| 16 | |
| 17 | "MaxActivePerPlayer": 20, |
| 18 | |
| 19 | "MaxVerticalOffsetUpFromPlayer": 1.5, |
| 20 | "MaxVerticalOffsetDownFromPlayer": 5.0, |
| 21 | |
| 22 | "SampleAttempts": 72, |
| 23 | "AngleSweeps": 2, |
| 24 | "FallbackJitter": 8 |
| 25 | } |
Notes
- Increase
SampleAttempts/AngleSweepsif your map has many dense structures. - Reduce
MinDistanceFromPlayerif players often stand under roofs/overhangs. RespawnCountOnDestroycontrols how many new pairs spawn after a hit and after lifetime expiry.
load, run, enjoy 💝
HalloweenEvent.json
{
"EventDurationSeconds": 60,
"CountdownMinutes": 5,
"SpawnRadius": 15.0,
"MinDistanceFromPlayer": 4.0,
"HappyJackChance": 0.6,
"CandyReward": 1,
"CandyItemShortname": "halloween.candy",
"RespawnCountOnDestroy": 2,
"MaxActiveEntitiesPerPlayer": 20,
"MaxTotalActiveEntities": 200,
"JackHeightOnScarecrow": 1.3,
"MaxVerticalOffsetUpFromPlayer": 1.5,
"MaxVerticalOffsetDownFromPlayer": 5.0,
"MinDistanceBetweenOwnSpawns": 4.0,
"SampleAttempts": 40,
"AngleSweeps": 3,
"FallbackJitterTries": 10,
"EnableNPCScarecrows": true,
"NPCScarecrowLifetime": 15.0,
"NPCScarecrowHealth": 100.0,
"NPCScarecrowSpawnDistance": 2.0,
"NPCScarecrowDropLoot": false,
"EntityHealthCheckInterval": 2.0,
"EntityHealthCheckThreshold": 50
}

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