PlayerData

This project is abandoned.

Whether this project is out of date or its author marked it as abandoned, this project is no longer maintained.

If you wish to take this project over, please report it and state your intentions.

PlayerData!

PlayerData - Keep track of your players!

  • Records every login time and IP
  • Allows you to view when a player was last seen and when the player was first seen.
  • List all players who have ever joined your server, in order of last seen, or in order of first seen.
  • See what a player's DisplayName was last
  • User friendly interface to look up usernames. Supply the partial username or displayname of any player (online or offline), and get a list of all possible matches!
  • Optionally find the player's rank, and displays that on user info.

Inactive

I haven't had the time to maintain PlayerData on BukkitDev lately, mostly due to other projects and school. It should still work with the latest bukkit, and I may still maintain the github repo, but I won't be maintaining this bukkit dev page for a while, at least till summer probably.

It should still work, I just can't commit myself to working on this project more right now when I don't have time.


Installation

To install PlayerData, simply download the PlayerData.jar file and put it into your plugin folder! After you restart your server PlayerData will automatically create a new Database containing all players that have ever joined your server.

  • PlayerData v4.0.0 works with 1.4.7, 1.5.1, 1.5.2, 1.6.1 and 1.6.2.
  • Do not download versions before v4.0.0 as they contain crucial bugs.

Commands

  • You can substitute /pd with /playerdata, /pdata, /playerd or /playerdata:playerdata.
  • You can substitute /gu with /getusername, /gusername, /getu or /playerdata:getusername.
  • Format: <Required Parameter> [Optional Parameter] command\aliasforcommand.
Command & AliasesDescription
/gu <Partial Name>Gives you the 10 first found players who have the given name in their username or displayname.
/pd <SubCommand>Base command for PlayerData. Use one of the subcommands below.
/pd help\?Displays command help. Basically this info but with pretty colors.
/pd viewinfo\i <Player>Finds a player who's name contains the given name, and displays all availible info on that player.
/pd list\l [page]Lists all players who have ever joined the server in order of last seen.
/pd listfirst\lf [page]Lists all players who have ever joined this server in order of first join.
/pd iplookup\ip <Player>Displays all different IPs a player has used.
/pd ipreverselookup\ipr <IP>Displays all players who have ever logged in use the given IP.
/pd save-allSaves all PlayerDatas to file. PlayerData automatically does this every shutdown.

For example command output, head over to Command Examples


Permissions

playerdata.*:
Gives access to all PlayerData commands
children: playerdata.help, playerdata.viewinfo, playerdata.list, playerdata.set, playerdata.admin
default: false
playerdata.help:
Allows you to use /pd (Required for all sub commands)
defaults to true
playerdata.viewinfo:
Allows you to use /pd i
defaults to true
children: playerdata.help
playerdata.list:
Allows you to use /pd list
defaults to true
children: playerdata.help
playerdata.admin:
PlayerData Admin. This command allows for use of commands that can erase the whole database. It is recommended to not give this permission to anyone, and only allow this from console.
defaults to false
children: playerdata.help
playerdata.firstjoinlist:
Allows you to list Player Data in order of first join
defaults to true
children: playerdata.help
playerdata.iplookup:
Allows you to look up what IPs a player has used
defaults to false
children: playerdata.help
playerdata.ipreverselookup:
Allows you to look up all Players who have used an IP
defaults to false
children: playerdata.help

Source

PlayerData's source is publicly available on GitHub: Github/PlayerData


Plugin Metrics

PlayerData has PluginMetrics embeded as of v3.1!
PluginMetrics sends anonymous data to mcstats.org on PlayerData's usage!
Click the graph below to see all data gathered.
Plugin Metrics Current Data
We highly recommend not opting out of this data collection, however if you do want to opt out you can change opt-out to true in /plugins/PluginMetrics/config.yml.


TODO

  • Make API documentation
  • Allow for looking through login/logout logs.
  • Create side-plugin that stores a list of nicks that each player has used.

Problems or Comments?

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of daboross daboross Jan 14, 2014 at 19:47 UTC - 0 likes

    @rock2ya: Go

    /pd ip and /pd ipr

    It isn't shown in viewinfo because it should only be available to moderators

  • Avatar of Europia79 Europia79 Dec 01, 2013 at 04:04 UTC - 0 likes
    less *.log | grep -i "Europia79" | grep "logged"
    

    If it doesn't work when 1.7.2 is released the above linux command should be pretty helpful to see if multiple people are logging into one account (you'll see different ips: This means it's one person logging in from different locations, OR different people). ...Of course, you'll need command line access to your server, and not just a control panel.

  • Avatar of rock2ya rock2ya Oct 07, 2013 at 20:11 UTC - 0 likes

    Hi, i've got a question: why isn't the ip shown with the cmd viewinfo? you have written, that it displays all availible info on that player. Ca you add the ip? greetings

  • Avatar of ircopdd ircopdd Jul 09, 2013 at 13:33 UTC - 0 likes

    is work
    thanks

  • Avatar of daboross daboross Jul 07, 2013 at 03:26 UTC - 0 likes

    @ircopdd: Go

    Fixed it in v3.2.7! File should get approved soon!

  • Avatar of daboross daboross Jul 07, 2013 at 02:44 UTC - 0 likes

    @ircopdd: Go

    This could be caused by multiple people logging in under the same username but with different capitalization. For instance if 'Joe' logged in, then someone named 'joe' logged in later, that would mess up PlayerData. I will try to fix it.

    Last edited Jul 07, 2013 by daboross: Edit
  • Avatar of ircopdd ircopdd Jul 07, 2013 at 01:12 UTC - 0 likes

    new player First join game
    and
    Some player join game
    error

    http://dev.bukkit.org/paste/8095/

    x64
    java 1.7.0_21

    Last edited Jul 07, 2013 by ircopdd
  • Avatar of daboross daboross Jul 06, 2013 at 17:08 UTC - 0 likes

    @ircopdd: Go

    I am not sure what is causing this. Does this happen frequently or was this the only time? Looks like an error with apache's xml parser, but I probably caused it in some way.

    I don't know what is causing the: 19:25:39 [SEVERE] ERROR: '' as that isn't PlayerData.

    Can you paste the log with around 20 lines above and below that error?

    Also, what version of java do you have?

    Last edited Jul 06, 2013 by daboross
  • Avatar of ircopdd ircopdd Jul 06, 2013 at 10:54 UTC - 0 likes
    Last edited Jul 06, 2013 by ircopdd
  • Avatar of daboross daboross Jul 06, 2013 at 01:58 UTC - 0 likes

    @donkeyman90: Go

    Going to be making this super soon, but going to release one version before. Just so that I don't have too many changes between versions.

    @donkeyman90: Go

    Uploaded fix for this!

    Last edited Jul 06, 2013 by daboross

Facts

Date created
Apr 28, 2013
Category
Last update
Jul 11, 2013
Development stage
Abandoned
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Downloads
3,069
Recent files
  • R: v4.0.0 for 1.6.2 Jul 11, 2013
  • R: v3.2.8 for 1.6.1 Jul 07, 2013
  • R: v3.2.6 for 1.6.1 Jul 06, 2013
  • R: v3.2.4 for 1.6.1 Jul 02, 2013
  • R: v3.2.2 for CB 1.5.2-R1.0 Jun 21, 2013

Authors