ecoAdventurer
I missed a way to gain ingame currency trough killing creatures and players, for my own server, so i made one myself. Runs trough Vault and will supposedly support a broad amount of Economic systems for bukkit.
Commands
- set or get multiplier value - /ea multiplyer [float value]
- set or get assist ratio - /ea assist [float value]
- set or get mob values - /ea value <mobtype> [float value]
- get current type of reward calculation - /ea type
Permissions
- Permission to change/set multiplyer - ea.multiplyer.set
- Permission to see a printout of the current effecting multiplyer - ea.multiplyer.get
- Permission to change/set assist ratio - ea.assistratio.set
- Permission to see a printout of the current assist ratio - ea.assistratio.get
- Permission to see the printout of mob values - ea.value.get
- Permission to change/set mob values - ea.value.set
Dependencies:
- The Vault Plugin
- A Economic Plugin supported by Vault
Currency Calculation
Mob values can be set in to config file, for a more dynamic mapping. this mod should also be working with custom mobs, just add them to the config file, and they should work
Random number from (0 to (Mob Value * Multiplyer)) + (Mob Value * Multiplyer)
Anticheating
Trough config files anticheating.
as..
- Mob/xp farms
- mob spawners
- Player kills
can be prevented.
i am planning to interface into Towny (and other factional plugins), with this plugin, to prevent getting currency from killing your own factional players, as this would proberly be a good way to earn fast money.
Monitoring
There will be monitoring tools, and ways to save highscores of who gotten the most currency trough killing mobs.
Permission Settings
The plugin will have Permission support, to edit values directly from ingame,
Config files
The config file will be generated in the plugin folder ecoAdventurer/config.yml it can almost be fully managed from commands inside the game, however can also be changed directly in the config file.
-
View User Profile
-
Send Message
Posted Jun 21, 2012Hi droa.
Love the plug in, but it's stopped working for me. I've removed the mods I put on after it, but still the same error.
22/06/2012 1:00:22 AM [SEVERE] Could not pass event EntityDeathEvent to ecoAdventurer 22/06/2012 1:00:22 AM org.bukkit.event.EventException 22/06/2012 1:00:22 AM at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) 22/06/2012 1:00:22 AM at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 22/06/2012 1:00:22 AM at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460) 22/06/2012 1:00:22 AM at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:299) 22/06/2012 1:00:22 AM at net.minecraft.server.EntityChicken.dropDeathLoot(EntityChicken.java:114) 22/06/2012 1:00:22 AM at net.minecraft.server.EntityLiving.die(EntityLiving.java:781) 22/06/2012 1:00:22 AM at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:677) 22/06/2012 1:00:22 AM at net.minecraft.server.EntityAnimal.damageEntity(SourceFile:124) 22/06/2012 1:00:22 AM at net.minecraft.server.EntityArrow.F_(EntityArrow.java:214) 22/06/2012 1:00:22 AM at net.minecraft.server.World.entityJoinedWorld(World.java:1262) 22/06/2012 1:00:22 AM at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:106) 22/06/2012 1:00:22 AM at net.minecraft.server.World.playerJoinedWorld(World.java:1244) 22/06/2012 1:00:22 AM at net.minecraft.server.World.tickEntities(World.java:1151) 22/06/2012 1:00:22 AM at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:558) 22/06/2012 1:00:22 AM at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) 22/06/2012 1:00:22 AM at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 22/06/2012 1:00:22 AM Caused by: java.lang.IllegalArgumentException: n must be positive 22/06/2012 1:00:22 AM at java.util.Random.nextInt(Unknown Source) 22/06/2012 1:00:22 AM at dk.minsk.ecoAdventurer.ecoAdventurer.randomInt(ecoAdventurer.java:94) 22/06/2012 1:00:22 AM at dk.minsk.ecoAdventurer.CreatureKillListener.onMobKill(CreatureKillListener.java:42) 22/06/2012 1:00:22 AM at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 22/06/2012 1:00:22 AM at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 22/06/2012 1:00:22 AM at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 22/06/2012 1:00:22 AM at java.lang.reflect.Method.invoke(Unknown Source) 22/06/2012 1:00:22 AM at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) 22/06/2012 1:00:22 AM ... 15 more
Any ideas? The guys on my server are missing the money rewards.
Thanks. :)