DayZ
Not enough ratings
CZ Suicide Timer (Configurable)
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
File Size
Posted
Updated
7.285 KB
15 Aug @ 1:26pm
18 Sep @ 3:43pm
2 Change Notes ( view )

Subscribe to download
CZ Suicide Timer (Configurable)

Description
⏳ CZ Suicide Timer (Configurable)


✅ Core Features:
- Blocks the suicide emote for new spawns until a set time has passed
- Fully configurable via a simple JSON file
- Profile folder integration — config auto-generates on first run
- Works with vanilla and modded weapons that support suicide animations
- Lightweight & server-friendly — minimal script override for maximum compatibility

⚙️ How It Works:
- When a player spawns, their character playtime starts counting in seconds
- If they try to use the suicide emote before the configured time is up:
- The animation is blocked
- The item in their hands can be dropped (optional)
- They receive a customisable warning message
- Once they reach the minimum playtime, suicide works as normal

📂 Config File:
- Generated on first server run at:
`[profile]\\CZSuicideTimer\\Settings.json`

Default settings:
{ "MinPlaytimeSeconds": 300.0, "DropItemOnDeny": true, "LogToServer": true, "DeniedMessage": "You must survive for at least %1 before using suicide." }


Config options:
- MinPlaytimeSeconds – time in seconds before suicide is allowed (300 = 5 mins)
- DropItemOnDeny – true/false; drop held item if suicide is blocked
- LogToServer – true/false; write blocks/approvals to server logs
- DeniedMessage – message shown to player, use %1 for required time (formatted)

🛠️ Full Compatibility:
- Works on vanilla and modded servers
- Uses EmoteSuicide override to avoid conflicts with `EmoteManager`
- Safe to load after other animation/emote mods to ensure this block applies

🔗 Support & Info:
Join the Discord for setup help, suggestions, and future updates


🛠 My Other Mods
🔗 Can Collection
🔗 Expanded Suppressors
🔗 Banned Shirts
🔗 Medical Stims
🔗 Suicide Timer
🔗 Paintball Guns
🔗 Gas Mask Filter Suppressor

✅ REPACKING ALLOWED:
You may repack.
Feel free to open it up and learn from it — just please give credit where you can.