Achievements 2.0
Welcome to Achievements 2.0!
Most of you know Achievements, it's a co-plugin of Stats, using it's logging features to provide serveradmins the possibility to make custom Achievements players can earn. The original plugin was developed by Nidefawl and i have to thank him for his great work! Thanks to sockenklaus, too, for some improvements.
Features
- Give users achievements when they have completed something!
- e.G. Daywalker mined 500 Stone. A message is displayed: "500 Stone? Not bad, but that's not enough". Then he will receive a reward: 1 Diamond Pickaxe.
- NEW Treasurehunt Feature
- NEW Discovery Feature
Possible Rewards
- Everything you can do from the serversonsole, too!
- I removed specified commands like item, money, group
- I'm using native commands instead
- Examples:
- Money: /money give * 500 - gives the player who earned the Achievement 500 Coins
- Item: /give * 1 16 - gives the player who earned the Achievement 16 of Stone
- PEX Permission: /pex user * add <permission> - gives the player who earned the Achievement a specified Permission
Requirements
Installation
- Fresh install
- Put the Achievements.jar inside your plugin folder
- Start the server / Stop the server
- Edit the config file to fit your needs
- Start the server
- Enjoy!
- Update from old Achievements
- Stop your server
- Delete the old Achievements.jar (only the Achievements.jar, NOT the Achievements-directory)
- Put in the new Achievements.jar
- Control the config file to activate/deactivate the new feature
- Start the server
- Enjoy!
Supported Plugins
- CraftIRC 2.0
- Permissions 3, bPermissions, PEX, GroupManager, PermissionsBukkit
- iConomy 4,5,6, BOSEconomy 6 & 7, EssentialsEcon, 3Co, MultiCurrency, MineConomy, eWallet, EconXP
Source
will follow soon
Permissions
- achievements.check
- achievements.view.own
- achievements.view.list
- achievements.discover (requires achievements.check)
- achievements.treasurehunt (requires achievements.check)
Changelog
ToDo
- Feature-Guide
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! ;-)
Plugin is completely broken since the name of the dependency has not been updated to the name of the Stats plugin (it's name is actually Stats 2.0, way to not use version numbers bro).
New Version from Maniac Twister: He made a new Version from Stats & Achievments togheter: http:dev.bukkit.org/server-mods/saaplugin/
I hope he will keep this Plugin up to date ;)
@ursak
mine works
http://forums.bukkit.org/threads/web-webstatistic-for-minecraft-v1-4-9-5-mrplows-any-build.60843/
just place the achievements txt in the achievements-install folder and run that php.
This is the place that converted the achievements flatfile to mysql. Don't know how well it works now thought :P
http://dev.craftland.org/achievements_txt_to_sql.php
The old achivement didnt post it into the mysql, there was a webbased conversion. You cut-paste the achievements on the webpage and they converted it to mysql tables you then cut-&-past yourself to the database to create all.
This plugin is broken since stats 2.0 was updated, dev is awol
Got a problem with this plugin. I have Craftbukkit version git-Bukkit-1.1-R1 Vault installed Stats 2.0 installed Spout snapshot 727 installed (recommanded for CraftBukkit #1820 snapshot)
And I got this error : " Could not load 'plugins/Achievements.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: Stats ..." is there any solution for this plugin to work ?
Thank you for your job.
I've been seeing these two errors a lot:
2012-01-17 09:07:58 [SEVERE] Could not pass event ENTITY_DAMAGE to Achievement java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftArrow cannot be cast to org.bukkit.entity.Player at com.modcrafting.achievement.listener.AchieveEntityListener.onEntityDamageByEntity(AchieveEntityListener.java:27) at com.modcrafting.achievement.listener.AchieveEntityListener.onEntityDamage(AchieveEntityListener.java:92) at org.bukkit.plugin.java.JavaPluginLoader$64.execute(JavaPluginLoader.java:718) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:341) at net.minecraft.server.EntityArrow.y_(EntityArrow.java:202) at net.minecraft.server.World.entityJoinedWorld(World.java:1256) at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:110) at net.minecraft.server.World.playerJoinedWorld(World.java:1238) at net.minecraft.server.World.tickEntities(World.java:1145) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
09:54:44 [SEVERE] Could not pass event ENTITY_DAMAGE to Achievement java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftSpider cannot be cast to org.bukkit.entity.Player at com.modcrafting.achievement.listener.AchieveEntityListener.onEntityDamageByEntity(AchieveEntityListener.java:27) at com.modcrafting.achievement.listener.AchieveEntityListener.onEntityDamage(AchieveEntityListener.java:92) at org.bukkit.plugin.java.JavaPluginLoader$64.execute(JavaPluginLoader.java:718) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:341) at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:597) at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:213) at net.minecraft.server.EntityMonster.d(EntityMonster.java:105) at net.minecraft.server.EntityMonster.a(EntityMonster.java:111) at net.minecraft.server.EntitySpider.a(EntitySpider.java:101) at net.minecraft.server.EntityCreature.m_(EntityCreature.java:70) at net.minecraft.server.EntityLiving.d(EntityLiving.java:944) at net.minecraft.server.EntityMonster.d(EntityMonster.java:27) at net.minecraft.server.EntitySpider.d(EntitySpider.java:26) at net.minecraft.server.EntityLiving.y_(EntityLiving.java:339) at net.minecraft.server.EntityMonster.y_(EntityMonster.java:31) at net.minecraft.server.EntitySpider.y_(EntitySpider.java:30) at net.minecraft.server.World.entityJoinedWorld(World.java:1256) at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:110) at net.minecraft.server.World.playerJoinedWorld(World.java:1238) at net.minecraft.server.World.tickEntities(World.java:1145) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
This is both with spout and without. I am running a dev version of Bukkit (1.1), so that could be the problem.
@Onlyme395
EDIT: I see this is being discussed on the Stats page already.
@Yorkforce
Forgot to mention I have spout installed as well. Build 624.
@Onlyme395
The stats wont work without spout now unfortunately, if you install the spout plugin it works fine, had the same error myself
Quite a few problems, I've noticed. Since this relates to both stats and achievements, I'll post the errors in both.
Achievements won't initialize because it doesn't see the stats folder: http://pastebin.com/eSJY68Qg
Stats won't initialize for some reason: http://pastebin.com/EERKRG9f
Config file under the Stats 2.0 folder: http://pastebin.com/5EYa3myY
I think the new update to Stats 2.0 has caused problems with this, getting this error: (maybe due to the Stats 2.0 folder being called Stats 2.0 instead of Stats?
10.01 19:20:19 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) 10.01 19:20:19 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) 10.01 19:20:19 [Server] INFO at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145) 10.01 19:20:19 [Server] INFO at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52) 10.01 19:20:19 [Server] INFO at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:127) 10.01 19:20:19 [Server] INFO at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:151) 10.01 19:20:19 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136) 10.01 19:20:19 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:215) 10.01 19:20:19 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) 10.01 19:20:19 [Server] INFO org.bukkit.plugin.UnknownDependencyException: Stats 10.01 19:20:19 [Server] SEVERE Could not load 'plugins/Achievements.jar' in folder 'plugins': Stats
Hey man!
I'm still on 0.99 for this plugin and for that I made a webpage allowing people to view their/other's achievements and read the descriptions, with icons and all.
Everyone thinks it's pretty cool, I've started 2 days ago but this is what it looks like now: http://www.tinyurl.com/achievementhiscores
NOTE: Open in Chrome/Opera/Firefox
I'm going to update to your version, and adapt my program to it. If anyone is interested in using this I will post it here :)
Cheers! Martijn
EDIT: Basically I added the following: - Icons for achievements - Grouping them into custom groups, I chose Easy-Medium-Hard-Master - Writing webpages per person from the achievements data (lay-out by html, js and css) - Also a general hiscores page - Easy to add custom data (like my own name with 1 achievement) - Configurable number of minimum achievements (I chose 10) - Easy collecting of any piece of data (like total achievements, number of achievements for a certain person in a specific category ('Hard') etc.)
can someone help me. i want to write achievements but is there any easyer way to make them. i dont understand that TXT file in any way and i dont know what classes ican use like swing or break. thanks in advance
@Patrick_Janson
yeh, it did that to me as well. I dont remember if the orig did it or not.
http://dev.bukkit.org/server-mods/achievement/
I cant get this to work with the sql table... (Empty Table) Shouldn't it copy my textfile into the sql table by itself?
@TerraNetworkOrg
The reason why I'd like the points system added to the plugin, is because it would be a nice to have a point value for in-game comparison. It would be rather annoying for players to have to check their points out of the game, eh?
Edit: Seems like Player Kills are not being awarded. I've double checked the list and stats databases.. they're the same.
@Onlyme395
I'm reading both The Achievementpoints-Feature is part of my Webstatistics Webstatistics for Minecraft I will see, but i think it could be possible.
The idea with Meta-Achievements is nice, i can take a look.