A night step by step
Build
In the panel, Night tab:
- Pick the preset.
- Turn on or off anything just for this night: kit, airdrops, target, events, bases, vehicles.
- Set the duration and invite time.
- Start countdown (now) or Schedule (server date and time). Schedules survive restarts.
Invite
Everyone online gets a card with the countdown and the rules.
- Y accepts, N declines. Players change the keys in Settings > Key Bindings > FiveM.
- They can change their mind until the countdown ends.
- Players who join during the countdown also get the invite.
- A beep plays at 3 min, 1 min and 30 s left.
- The admin can press Start now to skip the rest of the countdown.
Entry
When the countdown ends, the list locks. For each participant:
- Gets out of the vehicle.
- The inventory is copied to the database and the copy is checked.
- Only then items leave the inventory.
- Moves to the night’s bucket where they stand. Nobody is teleported.
- Gets the kit, the opening plays and the sky turns red.
Hunger and thirst stay full during the night.
If anything fails on entry, whatever left comes back right away and the player stays out of the night with their items.
During
- Airdrops fall from a cargo plane at fixed points. With hints on, the map shows the rough area. Opening the crate keeps the player still for a few seconds.
- Healing bases raise health slowly. Ammo bases give ammo with E.
- Death: event items stay on the ground (only the owner sees the map point). The wait grows with each death. Respawn on a nearby street, with a few seconds of protection.
- Target: whoever chains kills becomes the target. An area on the map shrinks until it shows the exact point. Taking down the target is worth extra points.
- Surprise events: double points, supply rain, district blackout, base shutdown and radio broadcast.
- Scoreboard and kill feed stay on screen the whole time.
- The admin can pause, resume or end from the panel.
End
When time runs out or the admin ends it:
- Everyone leaves the bucket and the original inventory returns.
- Event vehicles and loot disappear.
- Prizes are paid in the active categories: most kills, longest alive and fewest deaths. Winning more than one pays the sum.
- Participants see the results screen.
Players who were offline get their inventory and prize when they join.
Security
The server:
- checks permission on every panel action;
- checks the death before counting it;
- only counts a kill with both players in the bucket and within
Config.distanciaMaximaKill; - checks distance to open crates, pick up loot and ammo;
- rate-limits requests.
Denied attempts go to the alerta webhook.