Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| OnlinePlayersSQL-v1.9.6 release | 15.46 KB | Jun 14, 2014 | CB 1.7.2-R0.2 | 1,045 | Download |
| OnlinePlayersSQL-v1.9.5 release | 15.42 KB | May 19, 2014 | CB 1.7.2-R0.2 | 193 | Download |
| OnlinePlayersSQL-v1.9.4 release | 15.37 KB | Apr 5, 2014 | CB 1.7.2-R0.2 | 233 | Download |
| OnlinePlayersSQL v1.8.0 release | 12.29 KB | Mar 31, 2013 | CB 1.4.6-R0.3 | 1,802 | Download |
| OnlinePlayersSQL v1.7.0 release | 10.69 KB | Feb 12, 2013 | CB 1.4.6-R0.3 | 882 | Download |
| OnlinePlayersSQL-v1.3 release | 8.86 KB | Sep 19, 2012 | CB 1.3.1-R1.0 | 1,118 | Download |
| OnlinePlayersSQL-v1.2 release | 8.68 KB | Aug 25, 2012 | CB 1.3.1-R1.0 | 890 | Download |
| OnlinePlayersSQL-v1.1 release | 8.68 KB | Jul 29, 2012 | CB 1.2.5-R4.0 | 856 | Download |
| OnlinePlayersSQL-v1.0 release | 30.70 KB | Jul 7, 2012 | CB 1.2.5-R4.0 | 457 | Download |
| OnlinePlayersSQL v0.7 release | 18.72 KB | Mar 25, 2012 | CB 1.2.3-R0.2 | 393 | Download |
| OnlinePlayersSQL v0.6 release | 17.65 KB | Mar 25, 2012 | CB 1.2.3-R0.2 | 239 | Download |
| OnlinePlayersSQL v0.5 release | 16.52 KB | Mar 21, 2012 | CB 1.2.3-R0.2 | 247 | Download |
| OnlinePlayersSQL-v1.9.3 beta | 12.30 KB | Feb 8, 2014 | CB 1.7.2-R0.2 | 212 | Download |
| OnlinePlayersSQL-v1.9.2 beta | 12.31 KB | Feb 8, 2014 | CB 1.7.2-R0.2 | 187 | Download |
| OnlinePlayersSQL-v1.9.1 beta | 12.30 KB | Feb 7, 2014 | CB 1.7.2-R0.2 | 152 | Download |
| OnlinePlayersSQL-v1.9.0 beta | 12.32 KB | Feb 7, 2014 | CB 1.7.2-R0.2 | 141 | Download |
| OnlinePlayersSQL-v1.6.2 beta | 10.45 KB | Jan 25, 2013 | CB 1.4.6-R0.3 | 253 | Download |
| OnlinePlayersSQL-v1.6.1 beta | 10.46 KB | Jan 20, 2013 | CB 1.4.6-R0.3 | 151 | Download |
| OnlinePlayersSQL-v1.6 beta | 11.08 KB | Jan 14, 2013 | CB 1.4.6-R0.3 | 181 | Download |
| OnlinePlayersSQL v1.5 beta | 9.82 KB | Dec 5, 2012 | CB 1.4.5-R0.2 | 331 | Download |
| OnlinePlayersSQL-v1.4 beta | 9.20 KB | Sep 25, 2012 | CB 1.3.1-R1.0 | 384 | Download |
| OnlinePlayersSQL-v0.9 beta | 30.61 KB | Jun 18, 2012 | CB 1.2.5-R4.0 | 419 | Download |
| OnlinePlayersSQL v0.8beta3 beta | 19.59 KB | Apr 12, 2012 | CB 1.2.3-R0.2 | 348 | Download |
| OnlinePlayersSQL v0.8beta2 beta | 19.02 KB | Apr 11, 2012 | CB 1.2.3-R0.2 | 196 | Download |
| OnlinePlayersSQL v0.8beta1 beta | 19.03 KB | Apr 9, 2012 | CB 1.2.5-R1.0 | 177 | Download |
Description
Description
This plugin will update a MySQL database table with a list of players as the join and disconnect from your game.
Originally created for the MCAddictGallery server, it was created so that we could have a live player listing on our website with minimal of fuss.
Currently the plugin tracks the following information:
- Player Name
- Previous World (used for when a player warps from one world to another)
- Current World (the current world the player is in)
- IP Address
- Logon Time (stored as seconds since epoch)
- Players permission group
- Flag to say whether the player is online or not.
Required Plugins to use this one
- Vault
Optional Plugins that provide extra features
- SimplyVanish – Not required, but if you want the players list to not show vanished players, then you will likely want this.
Configuration
config.yml
MySQLServer: localhost MySQLPort: '3306' MySQLUsername: <username for db> MySQLPassword: <password for db> MySQLDatabase: <database to use> MySQLTable: <table to use> showDebug: true|false op_only_resync: true|false
eg.
MySQLServer: localhost MySQLPort: '3306' MySQLUsername: player_tracker MySQLPassword: fred123 MySQLDatabase: player_tracker MySQLTable: online_players showDebug: false op_only_resync: false
This plugin will check to see if the necessary table exists in 'MySQLDatabase' and if it doesn't, it will create it.
showDebug will put debug information in the console allowing you to follow along what the plugin does when a player connects/disconnects.
op_only_resync determins if only ops can use '/onl resync' or not.
An example php file can be found here: http://dev.bukkit.org/server-mods/online-players-sql/pages/example-php-file/
It should work just fine, though you will need to change values where necessary for your mysql logon information.
Information about each function used can naturally be found at the php.net website.
Get 0.05 TON 💎
Download
Add a comment