BeardAch

Hey you! Tired of those silly, kill x zombies "achievements" other plugins let you make?
Well this is the plugin for you! BeardAch is an achievemnts plugin built the right way.
Designed to be a framework to build upon, BeardAch works on the principle of Triggers and Rewards.
Triggers define the unlock conditions for an achievement, rewards what a player gets.
Want an achievement for killing 30 creepers and 20 skeletons? Easy.
Auto rank up players based on play time? No problem.
Award players an exploration achievement for visiting a temple on the edge of the map? Of course.
Want to reward those who've donated to your server? Done.
With BeardAch, achievements are simple to make, no matter how hard they are for players to achieve.
Dumpling is out!
The newest version of BeardAch has just been released, With it a host of bug fixes, features and additions!Check out Dumpling today! Config
Jenkins (Dev. builds)
@LordFitter
??
Does BeardArc 0.5.2 not work with BeardStat 0.6.2-rc-1??
I'm getting an error where i say (is this up to date?)
Hello Tehbeard, Im starting to be a regular on your plugin comments now!
Right, Now Ive been running your stats plugin for a while, we've gathered some good stats for players, Few questions for Beardach.
I will primarily be using this plugin to upgrade players to a new "rank" using classes I have pre-coded in groupmanager. If I write a new trigger for stats playtime for playing longer than 24 hours, will this auto upgrade players with exiting stats? Or did this plugin need to be running when they passed that stats? Im confused with the markup, I found your achievement-editor.htm which seems like it would make life so much easier, but It seems very alpha! haha The markup it outputs is completly different from the markup shown as an example here http://dev.bukkit.org/bukkit-plugins/beardach/pages/configuration/achievements/
Would I need to "Execute console command" to promote a player to a new rank? I have to use /manuadd <player> <group> manually at present, How do I pass username perameters into the server commands?
Using the achievement-editor.htm triggers section, I presume I need "stat above threshold" for giving out upgrades for playtime, What are the Domain and Category sections for? I presume the statistic section I imput the same statname from the mysql database? Also, could we get a list of what the triggers all do, Whats King of the hill, player team?
@Tehbeard
Thanks for the reply :) I guess I was reading it wrong, I figured that it was the total percentage that affected the lag, but it makes sense that its the ms per tick.
Sorry if this is written somewhere and I've missed, but how do I make achievements based on stats across (using the new system)? For example blocks broken in all worlds.
Thanks again!
@kraftman
The timings you linked don't seem to show BeardAch consuming CPU cycles. The average tick rate is pretty much 20.
Now granted, the check task executes on the main loop. But in your case it's averaging 14ms, not enough to cause lag.
Towny and ontime seem to be chewing alot of cycles though
BeardAch is using a lot of CPU (http://aikar.co/timings.php?url=5889106) is there anything I can do to change that? I kinda expected the recording of the stats to be more intensive than ranking up based on them.
Hey, any chance you can make it give rewards for completing dungeons from the mod templecraft (not TempleCraft- that is the old version)? That would be amazing.
Yes, if you can offer, I also would use as quest system, all such challenges.
@Bl0c
So, using BeardAch as "quest" system?
For an RP server, a citizen gives a "acheviement" to the player. And as soon as it succeeds in the challenge, the citizen gives the reward at the player.
Like this plugin http://dev.bukkit.org/bukkit-mods/quests/, while keeping the benefits of beardstat
@Bl0c
You mean to say, have an achievement trigger when a quest is complete?
Yes, use citizen API for "quest"
@beingben
using the command reward (which executes as a console command)
place <PLAYER> where you want the achievee's name to go in the command.
e.g.
/setgroup <PLAYER> newgroup
@beingben
Add citizens??
Is there another permission plugin that works, other then DroxPerm, cause they are seriously out dated.
It is possible to add Citizens ?
@Diemex
Added sending description to code for next version
@Tehbeard
2.) It was the exempt permission. I was op on my local server and after deopping myself it ran the command and promoted me.
I noticed that if you have the Broadcast setting set to global, that it doesn't send the description to the player. I would like the description to be send to the player also if the mode is set to global.
@Diemex
Couple of things to check.
1) Try the command from the console (replace <PLAYER> with a player to test) to make sure the command works as expected (comm runs the command as the console).
2) What might be happening is that the player has the ach.exempt.* or ach.exempt.[achSlug] permission node, which is used to disable rewards for particular users/groups (usually used to stop admins being "promoted" by getting an achievement to regular player rank)
check for them having ach.exempt.* or ach.exempt.[achSlug] (where [achSlug] is the slug or unique id of the achievement).
Let me know if there's still an issue after these checks.
I'm trying to get BeardAch to work with pex.
So I have put this as reward
The achievement/reward is getting triggered but the player doesn't get promoted.
@noir444
The categories are:
blockcreate : blocks placed
blockdestroy: blocks broken/mined
kills : entities a player has killed
As for block/item names, they are the name of the material from this file (http://jd.bukkit.org/rb/apidocs/org/bukkit/Material.html) with a few changes.
1) all lowercase
2) all _'s are removed
3) If there is metadata for a block (wool color) it is appended as underscore followed by the metadata (e.g. _5)
Examples:
diamord ore blocks mined.
Material name: DIAMOND_ORE
name in beardstat: diamondore
stat : blockdestroy.diamondore
black wool placed.
material name: WOOL
metadata for black wool: 15
name in beardstat: wool_15
blockcreate.wool_15
Entities for kills follows the same formatting, using this (http://jd.bukkit.org/rb/apidocs/org/bukkit/entity/EntityType.html) list.
I am working on getting automatic generation done so that there's an easy lookup table for these things.