Stats & Achievements
This Project is currently abandoned (and probably will forever be). See here for a alternative plugin
2-in-1 Stats and Achievements
This plugin logs various player activity as stats in a MySQL or SQLite database. With the integrated achievement system it is possible to award players when they reached a predefined target.
Features
- Logs block, mob, pvp and miscellaneous player statistics very detailled
- Logs also crafting statistics when spout is installed
- Integrated achievements system
- New database format which is more performant than older databases
- Integrated time delay to reduce server load and the number of SQL queries
- Planned web stats system
- Compatible with every Bukkit version since 1.1-R4
Tools
- You can convert older databases using our utility: http://89.144.25.51:8888/convert.php
- Achievements generator (will be extended soon): http://plugins.maniacraft.de/SaAPlugin/achgen
Requirements
- Vault (Permissions)
- Spout (if you want to get crafting stats)
Commands
- /stats help - General Help
- /stats [<player>] - Shows your stats or stats by <player>.
- /stats block [<player>] <block>[:<data>] - Shows stats for <block>.
- /stats pvp [<player>] [<player2>] - Shows PVP stats.
- /stats mob [<player>] [<mob>] - Shows mob damage stats.
- /achievements help - General Help
- /achievements [<player>] - Shows your obtained achievements or achievements obtained by <player>.
- /achievements list [<page>] - Lists all available achievements.
- /achievements admin add <name> <description> <category> <block> <data> <value> <command> - Adds a new achievement.
- /achievements admin remove <id> - Removes the achievement <id>.
- /achievements admin convert - Convert old achievements.
Achievement Commands
- /give <block>[:<data>] [<amount>] - gives the player the item <block> <data>
- All commands available on your server. Example (Essentials warp): /warp darkroom %player%
Permissions
Permission | Description |
---|---|
stats.show.blocks.own | Show own block stats |
stats.show.blocks.other | Show block stats by others |
stats.show.pvp.own | Show own pvp stats |
stats.show.pvp.other | Show pvp stats by others |
stats.show.mob.own | Show own mob stats |
stats.show.mob.other | Show mob stats by others |
stats.overview.own | Show your overview |
stats.overview.other | Show overview by others |
stats.receive | Log stats at all (for example not for Guests) |
achievements.receive | Gives achievements at all (for example not for Guests) |
achievements.admin.remove | Admin Command Remove |
achievements.admin.add | Admin Command Add |
achievements.admin.convert | Admin Command Convert achievements from old DB |
achievements.list | List all achievements |
achievements.show.own | Show obtained achievements |
achievements.show.other | Show achievements obtained by others |
Config
general: language: en # Language (Available: en/de, other languages can be added in plugins/StatsAndAchievements/lang/) update-delay: 30 # The time interval in seconds how often the stats will be updated in the database (Default and recommended: 30) achievements: true # Activating and deactivating Achievements text_color: '&6' # Color of command texts (1st color) data_color: '&7' # Color of data output (2nd color) debug: false # Debug output (Default and recommended: false) database: type: mysql # Database type, either mysql or sqlite table_prefix: '' # Table prefix to save stats of more than one server in a single database host: localhost # Only MySQL: Database server (Default: localhost) port: 3306 # Only MySQL: Database server port (MySQL default 3306) database: minecraft # Only MySQL: Database name user: root # Only MySQL: Database user password: stats123 # Only MySQL: Database password DisabledWorlds: # In this worlds the stats will be deactivated - disabledworld1 - creative listeners: blockStats: true # Block related stats brewingStats: true # Brewing related stats (maybe bugged) craftingStats: true # Crafting related stats (maybe bugged) enchantingStats: true # Enchanting related stats (maybe bugged) entityStats: true # Entity related stats playerStats: true # Player related stats (Your really should NOT disable this or you'll break everything!) playerMoveStats: true # Player move stats (if you experience lags you should set this to false) vehicleStats: true # Vehicle related stats
Language file formating
{br} - Line break &[0-f] - Color codes (http://img109.imageshack.us/img109/4334/mccolors.png) %[A-Z0-9]% - Internal variables, don't supposed to be translated!
Hello!
I built a brand new plugin that also deals with achievements. It works flawlessly with the latest versions of Minecraft and has many features and customisation possibilities!
Feel free to give it a try:
http://dev.bukkit.org/bukkit-plugins/advanced-achievements/
Regards! ;-)
Hi miss this fantastic plugin :((
Any chance to view it updating to 1.8 Spigot ?
I think that this project has been abandoned, and I cannot seem to get it to work properly no matter what I do.
There is other plugin stats for a website/Server Minecraft 1.7.2 ? (sorry for my english, i'm french)
Thx !
This project has been abandoned
has anyone gotten this plugin working??
What is the deal with the Stats generator at http://plugins.maniacraft.de/SaAPlugin/achgen
Can we get some documentation on using this for generating stats?
I see that it can track movement, can it hook into worldguard to check zone and region? If I want to award some achievement if players go into a secret region for example...
EDIT: After trying it, the console tell me it can't connect to the database. How do I set it right so it can connect? Do I need to install another plugin or something like that to make it work?
Hello =) Repository is down. Is there a possibillity to get the source? lordmampf
@ManiacTwister
I can't seem to make an achievement for total players killed. It works if I specify playerID in the "block" column, but thats only if they kill that player x times. What would i put in the "block" column to allow all players to count? I've tried * % NULL and ''. Nothing seems to trigger with all playerkills. Thanks so much for your help!
Works without any propblems here. (Saaplugin 1.10, Latest Craftbukkit Betabuild, Latest Vault). if yout want me to fix anything you have to describe your errors.
is there any other plugin that can import from this plugin?
@PayEx
same problem here,
please fix :(
It wont work, nothin displays when i type /stats or /achievements or anything like that! You should finish it or let other Users take over for you.. :D
Is it abandoned? I hope it is not.
How do i get play time working? It doesn't display. Also, it doesnt put kills or deaths in mysql or when i do /stats. This plugin is broken.
Can we create permission-based achievements?Or say, player get an achievement when they receive specific permissions, so this plugins can easily works with other plugins.
this shows up on start up and then this and finally this starts spamming.
I found few bugs in the achievements. I have a achievement for Logins. 1 login, 50 logins, 500 logins. But the player unlocks all 3 achievments at the same time.
Another bug: It seems it doesnt update the Chatletters/Chats at all.
Using latest RB and latest plugin version.
did someone manage to make it running ? if so how , any examples please ?