Playerstats

Playerstats - Track player stats like, IP, Last seen, First seen

Version: v1.9

ALL NEW VERSION OF PLAYERSTATS!!! NOW IT ACTUALLY WORKS!!!

This is a simple plugin designed to track player statistics to help with admin work. It records players individual data and allows it to be called up in game with commands.. It is my first plugin with permissions support that I have released.

Features:

Logs First and Last seen
Logs IP
Logs last position when the player logged out
Logs how many times the player has logged in to the server
Custom first join messages with colour support!! (now also standard MC colours are available)
Tells the user what the error is if the log doesn't have the required information
Uses Bukkit Permissions!!
Simple command structure!
Console support!
/ps info <name> is now /ps report <name>

Commands:

Quote:

/pstats or /playerstats - Commands can be prefixed with either of these, but i will be using /ps in the command description for simplicity. This command just brings up a chat message with the Plugin name, version and author
/pstats ? - Displays in game help.
/pstats firstseen <name> - Displays the first seen data for the player <name>
/pstats lastseen <name> - Displays the last seen data for the player <name>
/pstats seen <name> - Displays the first and last seen data for the player <name>
/pstats seen <name> - Displays the first and last seen data for the player <name>
/pstats ip <name> - Displays the IP address of the player <name>
/pstats lastpos <name> - Displays the last position of the player <name>
/pstats playtime <name> - How long they have actually played (online) on the server.
/pstats activity <name> - Shows as a percentage how active they are (Playtime/Total Time)
/pstats totaltime <name> - Displays the time the player has been on the server (Time from first seen to last seen, not play time)
/pstats flag - Shows the help for the /ps flag <name> command. (what the flags mean)
/pstats flag <name> - Displays the current flag for the player
/pstats logons <name> - Shows how many times the player has logged on
/pstats report <name> - Displays an info sheet with all the data collected of the player. (Players can do this command about themselves without the permission node)
/pstats updatecheck - Checks to see if there is an update.
/pstats update - Updates the plugin (Server must be reloaded to apply the changes) This Command is Vanilla OP + Console only.
/pstats reload - reloads the config

First Join message Macros

Quote:

They support the default minecraft colours. Found here -> http://i.imgur.com/h3CIU.png
Or these ones below.
&AQUA;
&BLACK;
&BLUE;
&DARK_AQUA;
&DARK_BLUE;
&DARK_GRAY;
&DARK_GREEN;
&DARK_PURPLE;
&DARK_RED;
&GOLD;
&GRAY;
&GREEN;
&LIGHT_PURPLE;
&RED;
&WHITE;
&YELLOW;
&PLAYER; (This is where the players name would appear)

Example:
"&b Welcome &RED; &PLAYER; &b to the server"

this would put the players name (Represented by &PLAYER;) in red. with "Welcome" and "to the server" in aqua (&b)

Permissions

Quote:

Permissions are per command.


  • No permission for - /pstats, /playerstats, /pstats ?, /pstats report (on themselves)
  • playerstats.* - All permissions (yes it works i coded it in)
  • playerstats.seen.firstseen - /pstats firstseen
  • playerstats.seen.lastseen - /pstats lastseen
  • playerstats.seen.seen - /pstats seen
  • playerstats.info.ip - /pstats ip
  • playerstats.info.lastpos - /pstats lastpos
  • playerstats.info.totaltime - /pstats totaltime
  • playerstats.info.playtime - /pstats playtime
  • playerstats.info.activity - /pstats activity
  • playerstats.info.flag - /pstats flag
  • playerstats.info.all - /pstats report
  • playerstats.info.logons - /pstats logons
  • playerstats.reload - /pstats reload

Change log
This will be with the latest file to download

Please note that this plugin submits basic data back to my central database with information such as server name and Ip

Future Changes


  • Add Block statistics like; Blocks broken, Placed ect.
  • Fight Statistics.
  • Kills - Mobs (types of mobs), Players, Weapons - Bow, Sword, Axe, pick Other (Will include weapon type i.e. Stone Sword).
  • Deaths - from mobs(Types of mobs), from players. Weapons used to be killed (grouping as above)
  • Fight Stats will also allow for things like Kill/death ratio. Player Skill ect.
  • Allow players to be listed depending on their flag (I.e list of black flagged people to know who has been away for more than 2 months)
  • A command to 'archive' black listed people so that they don't clog up the list, but their details are still there in case they want to log on again

Download

File Name Status Version Downloads Date
Playerstats 1.20.2 Updating 1.20.2 Updating Updating
Playerstats 1.20.1 Updating 1.20.1 Updating Updating
Playerstats 1.20 Updating 1.20 Updating Updating
Playerstats 1.19.2 Updating 1.19.2 Updating Updating
Playerstats 1.19.1 Updating 1.19.1 Updating Updating
Playerstats 1.19 Updating 1.19 Updating Updating
Playerstats 1.18 Updating 1.18 Updating Updating
Playerstats 1.17.1 Updating 1.17.1 Updating Updating
Playerstats Forge Updating Forge Updating Updating
Playerstats Fabric Updating Fabric Updating Updating
Playerstats
Playerstats

Dear youtuber!
Have you a channel youtube and want to bring your Video to quality visitors?
Do you want your video to appear on our website?
Do you want to become partner with us?
Just 3 steps to become our partner:
Step 1: Make video review for mods, addons, plugins, ... which you like
Step 2: Upload this video to youtube and our link to your video description
Step 3: Send the youtube video link via message to http://fb.com/9lifehack or leave a comment in the post. We will add your video in the our post, it will help you have more view.
JOIN to get more youtube view with us!!!!

Related Posts

Smarty Productivity Happiness

9LifeHack.com - make things smart