This plugin was made to provide a simple way to get lifetime statistics per player on server. This can be possible from the native minecraft statistics library, wich means that your statistics will be secure, data free, just dependent from the survival of your server .
FEATURES
- Lag-free;
- Easy to use;
- Plug and play;
- Highly-well customized API.
- Inside game command;
- Console command;
- Remote console command (using Rcon connection).
INSTALL
Just download and put the file StatsEx-1.0.jar into your plugins folder and then, restart your server.
CONFIGURE
There is no needs to configure this plugin. It is plug and play.
COMMAND
The syntax to use the plugin is very simple. To use variables, you can call this plugin from another, or just use global variables, like @p, @a, etc. With plugins like Skript, there are innumerable possibilities.
Example:
With the command above, you get the total amount of Notch's deaths on server's lifetime.
HOW IT WORKS
As said above, this plugin uses the minecraft statistics library, that is retro and future compatible, since it follows the same sintax across updates. To this, you need to use the minecraft ID referent to specific statistic. Below is a table with it.
Definitions
breakable_item can be one of the following: iron_shovel, iron_pickaxe, iron_axe, flint_and_steel, bow, iron_sword, wooden_sword, wooden_shovel, wooden_pickaxe, wooden_axe, stone_sword, stone_shovel, stone_pickaxe, stone_axe, diamond_sword, diamond_shovel, diamond pickaxe, diamond, axe, golden sword, golden_shovel, golden_pickaxe, golden_axe, wooden_hoe
mob_type can be one of the following: Creeper, Skeleton, Spider, Zombie, Slime, Ghast, PigZombie, Enderman, CaveSpider, Silverfish, Blaze, LavaSlime, Bat, Witch, Endermite, Guardian, Pig, Sheep, Cow, Chicken, Squid, Wolf, MushroomCow, Ozelot, EntityHorse, Rabbit, Villager
PERMISSION
To use this plugin and send commands, you need to have the following permission configured on your permission system:
API
Example of use:
Code (Text):
public static void getStats(String player, String statistic_id) {
StatsExAPI.getStatistic(player, statistic_id);
}
player: the player name
statistic_id: accordingly table above
DONATE
I don't made this plugin for gain anything, except facilities on my server, but if you donate me any amount, I will can buy (someday) a new computer. The mine is dying :s But feel free to use without donating ^_^