LastLog
Show listing of last logged in players.
Description
LastLog will list players who last joined your server or joined for the first time. Furthermore, it can display the first and last login of specific players. It comes with a rich set of filters to extract precise date ranges of player joins. Its intended purpose is that server owners and their staff can easily see new players or who joined when. There is no data storage; LastLog utilizes Bukkit player information which is already readily available and presents in an accessible manor. Because said methods are computationally expensive, this plugin is not recommended for larger scale servers.
Links
Commands
/firstlog [pagenumber]
- List the most recent first logins of players/lastlog [pagenumber]
- List the most recent last logins of players/loginfo <playername>
- Display first and last login date of a player
Permissions
lastlog.*
- Get all permission nodeslastlog.lastlog
- Permit use of /lastloglastlog.firstlog
- Permit use of /firstloglastlog.loginfo
- Permit use of /loginfolastlog.notify
- Receive notification when a player joins for the first time
Installation
Copy the LastLog.jar into the plugins folder. Restart Spigot.
Configuration
Except for permissions, none.
Hello, i'm have build the plugin in version 1.1.2 from the git for my community.
This version works for bukkit / spigot 1.10 and 1.11.+
You can download the jar here.
Mr Duhaz.
@chsedv
Still works perfectly in 1.8.8 with no errors.
Author must update to 1.8 bukkit
still seems to work with spigot 1.8, but when a player logs in it generates an error in log:
pastebin
Although this is working well on 1.7.5, I request it be changed to include a feature to send the output to a file instead of the screen.
Appears to still work in 1.6.4...
Just what I needed! Thanks!
I have had over 9000 players log into my server, and I believe this is causing Lastlog to take several minutes to load on startup. Any chance you could move lastlog's startup script into an async task, scheduled a bit after all the plugins have loaded?
@coolo1
Well using this plugin, if you can see the players first log and your server uses essentials and you have the correct permission you can do /seen <name> and it should show you the last world they were in and their last location. :)
Idea! Show players last location as well, so you can see what they have been doing! If you add this, I will get this plugin!
The plugin has been working until recently, now it does not show everyone who has logged on when compared against the server log. I am using bukkit R4.1/#2241.
Is anyone else having the same issue?
@urbels
Exactly; the data are read from the user.dat files on startup and are then updated whenever people join. I would prefer not to store them on my own at all, but Bukkit apparently reads them from disk every time for offline players, so a bit of caching is necessary for a reasonable performance.
What information are you using for those stats? I listed players from 120 days back. Then removed their user.dat files but they are in the list. How to remove from list banned players?
EDIT: nevermind, it is user.dat files. After server restart deleted users gone from list.
@andrewjfaulkner
First of all, sorry for the late reply; I have been on vacation. I like your idea of adding some filters to the functions since flipping through pages can indeed become uncomfortable when you are looking for specific periods of time. Limiting the output to logins that are older or younger than a given date via a command line flag is a feature that i am definitely going to consider for the next update. As far as respecting bans and whitelistings goes, bukkit provides a way to query those and I don't see a reason not to include that option, too. It could depend on how bans are managed by the particular plugin that is in charge of that, however; not sure.
About the customized output: Wouldn't that be covered by the addition of some filter options, or how do you picture that? I really want to keep this plugin without a configuration or a plethora of additional commands. If you need to use a certain set of options regularly and want to abbreviate it, you can propably define a macro via CommandHelper.
What i'm looking for is something that will tell my admins when a player (or players!) has exceeded a set amount of time in last login, i.e hasn't logged in for 2 weeks. Also i find when i use the command it lists banned players. The reason i need the mod is our server is quite fast moving and we have space for 351 players. Obviously this necessitates having to "prune" users who have gone inactive in order to keep the world vibrant. Also is it possible to generate a list of players, but not include users who have been banned or are no longer on the whitelist?
Kind Regards Andrew "Laice" Faulkner
Edit, also as an enchancement (read "not bloat!") I'd like to be able to generate a custom output as a report. For Example, a daily report starting "3 players logged in for the first time in the last 24 hours" and "3 players ("name1","name2","name3") have now exceded the 336 hour last login threshold"
What do you think?
@deleted_8039704
Technically it is no problem at all, but i don't think that IP logging would fit in with the paradigm of this plugin. What I wanted to make was a simple plugin that does nothing but process readily available data into a readable and informative output. Two things I try to avoid is bloating it with additional features and having to maintain a seperate database. Both contradict the addition of IP logging, if I understand your suggestion correctly.
If you need such things, there are way more sophisticated plugins out there providing that functionality. On our server for example, we use McftProfiler and are very satisfied with it.
Is there a way to add IP logging to this? curious
Great plugin, very useful. Thank you.