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)
@zonta_b
Yes. (though these require BeardStat to track statistics like these)
Is this possible to make an achievement if the guy has placed like 1000 obsidian block or walked over 100000 blocks?
@HadrienCubic
Unless your permission plugin is defaulting it to true for regular players as well (people who are not op), then no you do not need to.
@NobMapster
The two main ones are the exemption permissions, to stop staff being demoted by unlocking an achievement.
ach.exempt.SLUG - Do not process rewards for achievement with slug
ach.exempt.* - Do not process rewards for any achievement
There's also beardach.reload for reloading the achievement list, but that defaults to op only.
Edit: Not sure what I did, but the error stopped.. On a separate note, do you have a list of permissions for this laying around somewhere?
Getting an error spammed in console:
http://pastebin.com/7EUBSxwx
I'm assuming I screwed something up adding a new achievement.
http://pastebin.com/H7XWKA3E
Running this on a test server to test it out, so all I have installed is BeardAch and BeardStat
The player is being rewarded the "1 1" over and over, each time this error pops up, when he shouldn't be at all (database says he's only killed one spider)
Thank you very much, but I'm going to have the permissions to false for all the achievements I've done? (ach.exempt.ALL works?)
@HadrienCubic
hi.
The big error at the top is not from BeardAch, it is an error from WorldEdit? A class in there was compiled for Java 7, I assume you are running Java 6. This is not the cause of the problem.
"2013-02-27 20:24:56 [INFO] [BeardAch] HadrienCubic Exempt from achievement rewards." This probably is the cause. Are you a vanilla op? (/op HadrienCubic), It seems that the permission node for exemption is being set to true.
The permission node is: ach.exempt.SLUG, where SLUG is in the case of the achievement you provided, time01 (full node, ach.exempt.time01), this is used to stop rewards being processed, generally on staff members to prevent demotion by achievement :)
What I think is happening here, is that either bukkit has changed how default permission nodes are treated for vanilla Ops (All set to true :S) Or that your permission plugin has set this node to true by default.
Consult your permission plugin's documentation, and set ach.exempt.time01 to false for your group/player, and check to see if the achievement works (you may need to remove the entry from BeardAch's data source to trigger it again for yourself)
Hello, I love your plugin but I have a problem with a command reward on achievements. The command does not work.
My configuration:
My logs:
Thanks you and sorry for my bad english I'm french
@NobMapster
Yes.
Also, shiny new things for 0.5
Does this work with 1.4.7?
Strange behaviour happening this weekend. 1. A couple of players stats / counters reset in BeardStat, yet BeardAch .yml file has it logged fine. 2. This started this evening and I needed to save + hard shut down and reboot entire server to resolve:
2013-02-10 19:36:02 [WARNING] [BeardAch] Task #27 for BeardAch v0.4.6-Fillet [BETA] generated an exception java.lang.NullPointerException at me.tehbeard.BeardAch.achievement.triggers.StatCheckTrigger.checkAchievement(StatCheckTrigger.java:46) at me.tehbeard.BeardAch.achievement.Achievement.checkAchievement(Achievement.java:98) at me.tehbeard.BeardAch.achievement.AchievementManager.checkPlayers(AchievementManager.java:196) at me.tehbeard.BeardAch.BeardAch$4.run(BeardAch.java:301) at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:517) at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:481) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:416) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) 2013-02-10 19:36:02 [SEVERE] Error executing resolve callback with Deferred: {RESOVLED,null} java.lang.NullPointerException 2013-02-10 19:36:03 [SEVERE] Error executing resolve callback with Deferred: {RESOVLED,null} java.lang.NullPointerException
@Tehbeard
You are correct :) BTW, do you take donations?
@Heddiw
Is this being done over RCon?
I love your plugins Tehbeard and have great plans for them, however there's one trigger event missing that I need; currentworld... you have the ability to check for an area in a world but not simply world?
Also, issuing the played command for a specific player, e.g. Tehbeard, at console errors:
[WARNING] Unexpected exception while parsing console command "played Heddiw" org.bukkit.command.CommandException: Unhandled exception executing command 'played' in plugin BeardStat v0.5.0-SNAPSHOT-ASync Ambrosia-git-jenkins-BeardStat-84 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.dispatchCommand(CraftServer.java:563) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.dispatchServerCommand(CraftServer.java:555) at net.minecraft.server.v1_4_R1.MinecraftServer$1.evaluate(MinecraftServer.java:804) at net.minecraft.server.v1_4_R1.MinecraftServer$1.evaluate(MinecraftServer.java:794) at org.bukkit.craftbukkit.v1_4_R1.util.Waitable.run(Waitable.java:24) at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:521) at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:481) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:416) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_4_R1.command.CraftRemoteConsoleCommandSender cannot be cast to org.bukkit.entity.Player at me.tehbeard.BeardStat.commands.playedCommand.onCommand(playedCommand.java:60) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 11 more
Another one D:
Why am i the only one getting all these problems..
http://pastebin.com/W7McZBKe
Updated my BeardStats from 0.48 to 0.5.0 and got new errors
http://pastebin.com/Z1zEdn8q
New error,
2013-01-23 22:20:00 [SEVERE] Could not pass event PlayerMoveEvent to BeardStat v0.4.8-Ice Cream-git-jenkins-BeardStat-43 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:219) at net.minecraft.server.v1_4_6.Packet10Flying.handle(SourceFile:136) at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112) at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NullPointerException at me.tehbeard.BeardStat.listeners.StatPlayerListener.onPlayerMove(StatPlayerListener.java:126) at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 14 more
http://pastebin.com/39B2nEMS - BeardStat
http://pastebin.com/SG0Jfeh5 - BeardAch
@AssRealm
config for beardstat and beardach?
Error!
http://pastebin.com/zNHLNEzK
Just commenting to say that I really love this plugin and would appreciate a web UI a lot. Thanks!