DayZ
Not enough ratings
CDS Player Logout Logger
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
File Size
Posted
Updated
1.440 MB
27 Sep @ 10:19am
27 Sep @ 3:32pm
2 Change Notes ( view )

Subscribe to download
CDS Player Logout Logger

Description

[discord.gg]

ENG
CustomDayZServices - Presents a whole new System of logging players! and a great rewarding and punishment system.

Features
- Capture a player’s SteamID on their first logout.
- Record their in-game name on their next logout (and keep it updated thereafter).
- Track the last date they played on the server.
- Log the exact time and date of their last logout.
- Store the player’s last known position at logout.
- Accumulate total time played (in seconds).

Reward System:
Playtime milestones - Tracks each player’s total time and unlocks configurable tiers (set in seconds for easy testing).
Queued delivery - Rewards are saved and dropped safely near the player on their next login (no mid-drive or mid-fight drops).
Configurable tiers - Per-tier items and custom messages.
Progress tracking - Shows what’s left to earn and logs what’s already claimed (one-time per tier).
Lightweight & live - Fully server-side using a simple JSON “database”; changes apply live with no restart required.

Punishment System:
Live toggle - Flip a player’s punish flag to place them in a fixed 2×2 jail cell instantly—no server restart required.
Fixed location jail - Cell spawns once at an anchor point and does not follow the player and the movement is hard-pinned to prevent escape.
On-screen notice - A clear UI popup informs the player to contact server administration.
Admin control - Toggle on/off at any time; removal clears the cell automatically on disconnect or release.
Safe & server-side - All logic runs server-side with a simple JSON.

Important Note:
Player entries are not created immediately after installing the mod. The JSON “players.json” is generated the first time a player logs out. Until a player has performed their first logout, they will not appear in the database. Their data (name, last position, totals, rewards) is then updated on subsequent logins/logouts.

Example Config Player Sessions:
{ "PlayerSessions": [ { "steam64": "76561199075248024", "Players_IGN": "xXCONNOR23Xx", "Last_login_date": "YYYY-MM-DD", "Last_login_time": "HH-MM-SS", "Last_Known_Possition": [ 4173, 324, 8900 ], "Total_Time_Seconds": 98731, "Reward_Queued": [], "Reward_Left_To_Earn": [ 1800 ], "Reward_Claimed": [ 300, 800 ], "Punish_Player": 1 } ] }

Example Config Reward Config:
{ "Reward_Pools": [ { "Seconds": 300, "Message": "Thanks for playing! A reward has been dropped near you.", "Reward_Items": ["Apple","BandageDressing"] }, { "Seconds": 800, "Message": "Milestone reached! Another reward is nearby.", "Reward_Items": ["Rag","StoneKnife","Canteen"] }, { "Seconds": 1800, "Message": "Veteran bonus unlocked - enjoy your reward!", "Reward_Items": ["Ammo_45ACP","HuntingKnife","Compass"] } ] }

Copyright:
Repack is allowed within SERVERPACKS ONLY under the condition you mention the original mod in your description!.

CustomDayZServices Monitors all steam workshop mods to flag our scripting dont attempt to copy code, reupload as a new mod or not follow the above step.

Copyright xXCONNOR23Xx This item is not authorized for posting as a new mod on Steam, except under the Steam account xXCONNOR23Xx



This mod will be updated regularly based on feedback.
Contact me on Discord for support, custom work, or questions.


DISCORD - CONNORCDS
DISCORD GROUP - https://discord.gg/customdayzservices-tm-789342449708433408