DayZ
Няма достатъчно оценки
CDS Player Logout Logger
   
Награда
Добавяне към любими
В любими
Премахване от любими
Type: Mod
Размер на файла
Публикуван на
Обновен на
1.440 MB
27 септ. в 10:19
27 септ. в 15:32
2 бележки за промени ( преглед )

Абониране, за да се свали
CDS Player Logout Logger

Описание

[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.json:
{ "PlayerSessions": [ { "steam64": "76561199075248024", Players SteamID "Players_IGN": "xXCONNOR23Xx", Players in game name changes when they also change it. "Last_login_date": "YYYY-MM-DD", Last login date Year, Month, Day "Last_login_time": "HH-MM-SS", Last Login/Logout time Hour, Minutes, Seconds "Last_Known_Position": [ 4173, 324, 8900 ], Players last logout position. "Total_Time_Seconds": 1790, Total accumulated play time in seconds. "Reward_Queued": [], Rewards Earned but not yet claimed due to the safe feature of logging out and then back in to claim items. "Reward_Left_To_Earn": [ 1800 ], Rewards Left to earn when Total_Time_Seconds is reached. "Reward_Claimed": [ 300, 800 ], All rewards that have been dropped to the player already. "Punish_Player": 0 0 = Off / 1 = Default Jail Cell Punish / 2 = Another model type / 3 = A Different variant. Punishment HUD will also show but this does not require a restart also its live edited so what ever you tweak here happens live in game. } ] }

Example Config Reward_Config.json:
{ "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, How long in seconds does the player receive this reward can be days, weeks, months! "Message": "Veteran bonus unlocked - enjoy your reward!", Message to display when target is reached! "Reward_Items": ["Ammo_45ACP","HuntingKnife","Compass"] Item Classnames to drop on player next login! } ] }

Example Config Time_Limit.json:
{ "PlayerTimeTrackingConfig": { "EnableTimeTracking": 0, 0 = OFF / 1 = ON for Max time allowed on server addon "MaxTimeAllowed_Hours": 1, 1-24 Hours UTC time enabled DEFAULT IS 6 HOURS "ResetMode": "UTC_DAY", UTC_DAY IS DEFAULT AND SHOULD NOT BE CHANGED! "CountdownSchedule": [ [b] These are for reminders of countdown markers change to your liking in seconds![/b] 300, 180, 120, 60, 30, 5, 4, 3, 2, 1 ], "KickReason": "Daily time limit reached. Please come back tomorrow!", Kick message before player is removed. "Exempt_Steam64": [], Admins and Mods placed here so they're voided from this addon! "ShowHUDTimer": 1, 0 = Countdown HUD off and Messages / 1 = Countdown HUD and messages on. "Dev_HotReloadRows": 0 THIS IS FOR MY USE IT WILL NOT DO ANYTHING FOR YOU UNLESS I TURN ON FOR LOCAL TESTING. }, "PlayerTrackingDataBase": [ ] Players time tracking goes here Live updated! and Crash Proofed. }

Copyright:
Repacking is allowed within SERVERPACKS ONLY! this does not include opening my PBO and snooping at my SCRIPTING! The condition of repacking is you place the PBO as is in your ServerPack and that you mention the original mod in your steam published serverpacks description! If found using this mod without mentioning the original mod DMCA action will be taken against you with no warning.

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