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)
Dev bukkit taking forever to approve
New version 0.4.6 is available on my site
http://www.tehbeard.com/beardach-0-4-6-addons-and-the-future/
Also released is the first add-on for BeardAch, showcasing how developers can extend BeardAch to use their plugins functionality for triggers and rewards
@Tehbeard
I'd be more than happy to test it for you. Since all achievements-plugins and stats-plugins seem to have some bugs in them anyway it will not be any real difference from how I run my server now.
Since the server is just for fun it is ok if it will be buggy as long as it doesnt delete the maps :P
@ridddle
All the code is done, it's mainly a case of finding time to test inbetween university coursework assignments :(
Hey Mr Beard, any updates about it? I’d love to install BeardStats to keep accumulating data for this plugin… but I wonder if you still work on the 1.4 release. :)
Should have a release for the 1.4 beta build of bukkit soon.
Now with automatic help generation, so I can be lazy and you can understand what a trigger does!
@Aecarus
Update to the latest BeardAch (0.4.5). A change was made in BeardStat to allow stats based off of expressions (likesay a stat that is creeper deaths / creeper kills). That error is due to a change in the class, which was fixed in 0.4.5
@datwerd86
There is this http://dev.bukkit.org/server-mods/beardach/pages/configuration/achievements/
But it's fairly out of date, I promise better documentation once my work schedule clears up :)
Hi, I seem to be getting this exception a couple of times every minute with 1 player logged in to the server.
I have a feeling it might just be MC 1.4.x issue or similary a Bukkit issue with the dev version (using the latest dev build). Aside from this, everything seems to be working fine so far!
Thanks. :)
is there a wiki page for this plugin? im kinda unsure where to start setting this up also it seems theres a php web package that displays your achievements on your website, where would i find a download link to that? or must i make it myself?
thanks
I'm a problem, my config is reset when i reboot my server. He say config error...
@Tehbeard
Hi another question, I added an auto_increment ID to ach-map to make it easier to display externally but adding this breaks the command, would it be possible to add this in the next revision? I tried to edit the class file myself and make the change but struggled to recompile, java is not a strong point.
Cheers Ash
@Tehbeard
Thanks for the reply this will be alot easier than inputting by hand everytime.
@pugsx
run /ach-fancy to dump the achievement data from config.yml to the table.
@Tehbeard how is the ach_map table used? as mine only contains 2 achievements(have 4 in total in config) 1 being the default one and 2nd is 1 I believe I added through phpmyadmin.
I was looking for a table to pull the description and name from to use in a php script.
Cheers PugsX
@Tehbeard
Just double checked permissions for the user, yeah it has full rights. That is how it is supposed to be I assume?
I have added the unique index to the fields as suggested. I'll let you know if it fixes it or not.
Hopefully that's all fixed now, thanks for your help.
@apoisonedgift
Hmm. Does the MySQL user account that is used by plugin have full rights for the table?
Also, thanks for dump, it helped me notice the lack of safety in the database design that would have prevented this and instead thrown an error to console, I'll add it to the current dev. build.
If you want to try a quick fix and see if it works, you need to add a UNIQUE INDEX to the player,achievement fields (both of them as a composite index, not seperately).
Head to the structure tab for the achievements table, and follow this: http://i.imgur.com/hcXLq.png
AS ALWAYS, make sure to have a backup of the table before doing this.
@Tehbeard I've removed most of the double-ups, but there's a set of two achievements for the user werewolfx28 in here.
Pastebin
@apoisonedgift
Sorry, been busy with uni past few weeks.
So you're saying the record exists twice in the MYSQL database?
hmmm. That shouldn't be happening.
Can you provide a dump of the table, containing the table structure and data? it is under export in the table view of PHPMyAdmin or using mysqldump if you have shell access (more info here: http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html)
More info... the plugin is giving the players the achievements twice in the MySQL database. Dunno if that helps at all or not.
Well, despite the fact that you don't seem to want to reply to any of my questions... I feel I should still let you know that it is still happening, and it has nothing to do with the server not being shut down properly. It's just occurring randomly. As I asked - it would be great if you could let me know if there is a way force a save of the achievements given out so I could schedule it to avoid this issue.
@Tehbeard No I don't believe so. I always use /stop when shutting it off to update and so on. However, it has crashed once or twice... Unfortunately I don't remember if this was at the same time... but I guess that is possible. Is there a way to force the plugin to save at all so I can schedule it?
Also - repeating an earlier question - is there a way for my users to check their achievements in-game totally? /ach only gives the most recent 5 or 6 unlocked, and I aren't familiar with how to do SQL queries on the server website =( I know that typing /ach 1 gives details about achievement #1 and so on, but a total list?