KillMoney is a plugin, with that you will become money for every Player or Mob kill.
Configuration:
<Player> = killed player
<Killer> = Killer
Commands:
Command
Permission
/killmoney
killmoney.toggle
Statistics:
Metrics:
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
A unique identifier
The server's version of Java
Whether the server is in offline or online mode
The plugin's version
The server's version
The OS version/name and architecture
The core count for the CPU
The number of players online
The Metrics version
If you wish to disable this feature (), you can do so by opt-ing out, which you can do in the config file under "/plugins/PluginMetrics/"
In case you find yourself unable to compile the code, I may be able to send you the compiled .jar file, but I don't know If I'm allowed to post a link here.
I can't use decimals values for the percentages???
[12:54:00] [Server thread/ERROR]: Could not pass event EntityDeathEvent to KillMoney v2.4
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:362) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.EntityLiving.die(EntityLiving.java:801) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.EntityLiving.damageEntity(EntityLiving.java:736) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.EntityMonster.damageEntity(EntityMonster.java:48) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.EntityZombie.damageEntity(EntityZombie.java:164) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.EntitySnowball.a(SourceFile:30) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.EntityProjectile.h(EntityProjectile.java:155) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.World.entityJoinedWorld(World.java:1418) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.World.playerJoinedWorld(World.java:1396) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.World.tickEntities(World.java:1281) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.WorldServer.tickEntities(WorldServer.java:481) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:649) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:258) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
Caused by: java.lang.NumberFormatException: For input string: "0.1"
at java.lang.NumberFormatException.forInputString(Unknown Source) [?:1.7.0_67]
at java.lang.Integer.parseInt(Unknown Source) [?:1.7.0_67]
at java.lang.Integer.parseInt(Unknown Source) [?:1.7.0_67]
at de.daniel0916.KillMoney.KillMoney.HandleMoneyForMob(KillMoney.java:199) [?:?]
at de.daniel0916.KillMoney.Listeners.Entity_Zombie.onEntityDeath(Entity_Zombie.java:24) [?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_67]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_67]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_67]
at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_67]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
... 19 more
Nope, I checked the code and you use: int percent = Integer.parseInt(percentString.replace("%", ""));
Hey, I'm having a bit of trouble with my killing players rewards and penalties. The mob rewards are working smoothly, but the player rewards are not responding. Here is my config: http://pastebin.com/Un9mm2RD
Why do you use so many listeners in your plugin? everytime an entity dies, all events are triggered just to find out that only one is relevant. You can pass the entitytype back to you main plugin and you need only one listener for this
There is a example in the config. Maybe you haven't deleted the config?
Example: 5:2,64_100% This mean: 5:2 = Birch Wooden Planks 64 = Amount of Planks 100% = DropChance
And when you want more than one item drop than add a new line with - (like the line before).
Well I need all mobs for my server. Including neutral mobs. You could always have an config.yml option like this: AggressiveMobsEnable: true or false and NeutralMobsEnable: true or false ! That would really help. And you don't have all Aggressive mobs, you missed out: Zombie Villager,Wither Skeleton and SilverFish !
-
View User Profile
-
Send Message
Posted Mar 10, 2016Hello but can u make a plugin so when I kill a player there money don't go just I get money
-
View User Profile
-
Send Message
Posted Apr 4, 2015@leeo97one
I made a PR for the plugin some time ago, he merged it but never uploaded a new version to bukkit.
You can look and compile at the code by yourself @ https://github.com/daniel0916/KillMoney
In case you find yourself unable to compile the code, I may be able to send you the compiled .jar file, but I don't know If I'm allowed to post a link here.
-
View User Profile
-
Send Message
Posted Feb 18, 2015This project is still active ?
-
View User Profile
-
Send Message
Posted Sep 3, 2014@XXLuigiMario
I will see if all is working and then i will merge it.
-
View User Profile
-
Send Message
Posted Sep 3, 2014@Ikillnukes
I forked the plugin in github to make it work with percentages with decimals. https://github.com/XXLuigiMario/KillMoney
-
View User Profile
-
Send Message
Posted Sep 3, 2014I can't use decimals values for the percentages???
[12:54:00] [Server thread/ERROR]: Could not pass event EntityDeathEvent to KillMoney v2.4 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:362) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.EntityLiving.die(EntityLiving.java:801) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.EntityLiving.damageEntity(EntityLiving.java:736) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.EntityMonster.damageEntity(EntityMonster.java:48) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.EntityZombie.damageEntity(EntityZombie.java:164) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.EntitySnowball.a(SourceFile:30) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.EntityProjectile.h(EntityProjectile.java:155) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.World.entityJoinedWorld(World.java:1418) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.World.playerJoinedWorld(World.java:1396) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.World.tickEntities(World.java:1281) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.WorldServer.tickEntities(WorldServer.java:481) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:649) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:258) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] Caused by: java.lang.NumberFormatException: For input string: "0.1" at java.lang.NumberFormatException.forInputString(Unknown Source) [?:1.7.0_67] at java.lang.Integer.parseInt(Unknown Source) [?:1.7.0_67] at java.lang.Integer.parseInt(Unknown Source) [?:1.7.0_67] at de.daniel0916.KillMoney.KillMoney.HandleMoneyForMob(KillMoney.java:199) [?:?] at de.daniel0916.KillMoney.Listeners.Entity_Zombie.onEntityDeath(Entity_Zombie.java:24) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_67] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_67] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_67] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_67] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] ... 19 more
Nope, I checked the code and you use: int percent = Integer.parseInt(percentString.replace("%", ""));
Why do you use this? Double type is better... *¬*
-
View User Profile
-
Send Message
Posted Aug 8, 2014Add RELOAD command! And Random value money
-
View User Profile
-
Send Message
Posted Jul 3, 2014@h0808811
Comes a error?
-
View User Profile
-
Send Message
Posted Jun 27, 2014Same as scharnhorst no money from killing players, who knows how to fix this?
-
View User Profile
-
Send Message
Posted May 27, 2014@google99
When you kill a people a chat message will be sended. There is also a "showMessage" variable in the config.
-
View User Profile
-
Send Message
Posted May 25, 2014How to enable people to see how much money they made from killing a mob?
-
View User Profile
-
Send Message
Posted Apr 10, 2014Here's a suggestion:
Permission: killmoney.multiplier.X X = any number If a player has the permission, it will multiply the money they get by X.
-
View User Profile
-
Send Message
Posted Mar 25, 2014@Snazzymilo11
Maybe the killed player hasn't enough money? Then you need to edit: KillMoneyWhenPlayerHaveNoMoney: false to KillMoneyWhenPlayerHaveNoMoney: true
-
View User Profile
-
Send Message
Posted Mar 23, 2014Hey, I'm having a bit of trouble with my killing players rewards and penalties. The mob rewards are working smoothly, but the player rewards are not responding. Here is my config: http://pastebin.com/Un9mm2RD
Could you tell me what's wrong ASAP? Thanks!
-
View User Profile
-
Send Message
Posted Mar 17, 2014Why do you use so many listeners in your plugin? everytime an entity dies, all events are triggered just to find out that only one is relevant. You can pass the entitytype back to you main plugin and you need only one listener for this
-
View User Profile
-
Send Message
Posted Mar 15, 2014Thanks for the reply man=)
-
View User Profile
-
Send Message
Posted Mar 15, 2014@Scharnhorst100
There is a example in the config. Maybe you haven't deleted the config? Example: 5:2,64_100% This mean: 5:2 = Birch Wooden Planks 64 = Amount of Planks 100% = DropChance
And when you want more than one item drop than add a new line with - (like the line before).
-
View User Profile
-
Send Message
Posted Mar 13, 2014How is the format for the itemdrops? i didnt notice anything anywhere...can you help me?
-
View User Profile
-
Send Message
Posted Mar 12, 2014@BlackFing85 Zombie Villager should use the money for zombies. Wither Skeleton should use the money for skeletons.
And Silverfish is added...
I will see if a will add neutral mobs.
-
View User Profile
-
Send Message
Posted Mar 12, 2014@daniel0916
Well I need all mobs for my server. Including neutral mobs. You could always have an config.yml option like this: AggressiveMobsEnable: true or false and NeutralMobsEnable: true or false ! That would really help. And you don't have all Aggressive mobs, you missed out: Zombie Villager,Wither Skeleton and SilverFish !