Skip to content
/ lastLogin Public

Q&D tool to get login times for users for a Minecraft server

Notifications You must be signed in to change notification settings

utoc/lastLogin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

You will need perl modules JSON and DateTime; Use the power of Google to install them

Output looks a little like this:

[minecraft@lolserver] /home/minecraft > lastLogin | sort -nr
2017-05-25 since seen XXX (68753bc2-3884-4615-9350-67898a5497)
2017-05-25 since seen YYY (0a24e315-b895-40d0-b799-f6621cd633)

THIS SCRIPT USES LAST WRITE TIME SO IF YOU FREQUENTLY OVERWRITE YOUR PLAYER DATA FILES, THIS WILL ALWAYS GIVE ERRONIOUS DATA OUT

You'll need to set $filename and $pdata to their proper locations

Licensing here: https://github.com/utoc/Dont-be-a-Jerk This is open source. Give credit where it is due if you decide to modify this script as I have done

If you're unsure of yourself, see the following: https://www.youtube.com/watch?v=eh7lp9umG2I

About

Q&D tool to get login times for users for a Minecraft server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages