promotional bannermobile promotional banner

OnlineUsers

track online users in a flatfile or MySQL database

File Details

1.8.0

  • R
  • Jun 24, 2014
  • 16.90 KB
  • 1.2K
  • CB 1.7.9-R0.1

File Name

OnlineUsers.jar

Supported Versions

  • CB 1.7.9-R0.1
  • Player UUID is now tracked in database and used as unique key, with the player's name updated at each login in case it has changed, so that time online is properly attached to unique player account rather than (soon to be) non-unique player name.

Note that as a result, the database table from old versions of this plugin will be dropped and recreated with the new unique UUID column added when you first run this version, so all old data will be wiped. Apologies, but I don't have time to work on an update routine just to maintain old data; it would require looking up UUIDs for all existing stored user names, and if run after user names can be changed, could result in various problems like the player name no longer matching an existing player or matching the wrong player.

This update doesn't affect flatfile data whatsoever, as time online isn't tracked for flatfile.