1.12.2 Plugin idea.

Discussion in 'Spigot Plugin Development' started by JetskiNetwork, Feb 8, 2020.

  1. I have an idea for a plugin. My idea is that you could run the command: /recents and a list will pop up, 5 per page, of the most recent online players. I feel like this would be easy, but it also seems like the kind of thing to end up being alot harder to develop. I think it could use the OfflinePlayer interface to get everyone's last online time every second or so with "getLastPlayed()" and right after that is done, we could have something to take the output from getLastPlayed() and calculate the time they have been offline for. I forgot to mention we can add booleans to filter the names it doesnt reconize with hasPlayedBefore() and if they are online with isOnline() and then it can do the other things. Sorry if it didnt make sense or if anything was bad or wrong because i am heavily intoxicated on a numerous number of narcotics.