MobCash
Description
GO TO SPIGOT FOR FURTHER UPDATES!
All updates and plugin support is aviliable only on Spigot.
Click on picture below to get to spigot plugin page:
MobCash lets players earn in game money for killing mobs, it
has an easy to use config that lets you enable what mob you would
like players to earn cash on!
Features
Versions up to 1.11
Awards players for killing mobs
Customizable Messages
Messages can be enabled or disabled
Disable Mob Spawners and Eggs giving Cash
World Support
Uses Vault, the plugin will not function without it
You need other economy plugin as well or the plugin disables itself!
To download Vault click below
_____________
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
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
Known Issues
None!
Configuration:
http://pastebin.com/UMzh41HE
ChangeLog:
v5.2[12/26/2016]
- Fixed infinite money bug
When killed player has less than it should have been taken from him/her, killer got always the same amount. Now he/she gets same amount as killed player. Player gets nothing if killed player has 0 money.
v5.0 [11/19/2016]:
-Updated for 1.11
-Added 1.11 mobs
-Plugin disables itself if there's no economy plugin
v4.0 [8/8/2016]:
- Code changed completely.
- New chat replacing system.
- New economy intergration system.
- Mobcash class renamed to Main.
- Main class is seperated into different sections.
- Each section is in different class file.
- Players can be killed for money (fully customizable).
- Added an easter egg.
- Fixed some bugs.
v3.3 [6/27/2016]:
- Fixed "Could not pass MobKill event" error after player kills a mob..
v3.2 [6/18/2016]:
- Added option to get money by killing players.
- That option can be disabled.
- Plugin checks config version.
- It gives a warning, if config version does not equal plugin config version.
v3.1 [6/15/2016]:
- Updated for 1.10.
- Added Polar Bear.
v3.0:
- Developing given to EonZombiecrafter.
- Updated for 1.9.
- Added 1.8 mobs.
- Added 1.9 mobs.
- Added option to enable/disable message, when a mob is killed.
v2.4:
- Updated for 1.7.4.
v2.3:
- Fixed not reading doubles.
v2.2:
- Added MCStats.
v2.1:
- Fixed error with killing players in v2.0.
- Fixed Error with disabling mob spawners.
v2.0:
Recoded whole plugin! now with:
- better config file
- reload config command
- world support
v1.1:
- Added Horses (1.6.1).
- Added disabling getting cash from egg and spawners.
v1.0:
- First Release!
You should add players too
Dude? Integer ? I cant give players money like: 0.2 or 0.01 Plz fix it.
Can I add range of money like Zombie: 0.0:20.0
Updated from 1.1, thanks for multi-world support. :)
@Orowind
Place your Mob Arena in another world, and disable earning in that world.
Hello ! Can you disable gain from MobArena ? Thanks !
I have this configuration:
Mobcash: Message: 'Acabas de recibir &c&money por matar a un &c&mob' Disable: Mob Spawners: false Spawn Egg: false Breeding: false Natural: false Slime Split: false Worlds: - world - world_nether Mobs: Group Settings: Enabled: false Friendly Mobs: 5 Agressive Mobs: 15 Bosses: 45 Friendly Mobs: Bat: 0.1 Chicken: 0.1 Cow: 0.1 Horse: 0.1 Mushroom Cow: 0.1 Ocelot: 0.1 Pig: 0.1 Sheep: 0.1 Squid: 0.1 Villager: 0.1 Agressive Mobs: Blaze: 0.6 Cave Spider: 0.2 Creeper: 0.6 Enderman: 0.7 Ghast: 0.4 Giant: 1 Iron Golem: 2 Magma Cube: 0.5 Pig Zombie: 0.3 Silver Fish: 0.3 Skeleton: 0.5 Slime: 0.3 Snowman: 0.1 Spider: 0.3 Witch: 2 Wolf: 0.5 Zombie: 0.4 Bosses: Ender Dragon: 1000 Wither: 1500
And not say the message and no gain money when i kill a monster. Why?
Please add negative money :D
I'm having an issue where my server isn't detecting your plugin. I have vault installed and it recognizes that plugin but not yours. Help would be appreciated. :)
@Toby_B The error is fixed in v2.1, left something important out in the code in v2.0. sorry the update is pending at the moment
Getting this error below, also you still get money from spawns and eggs even when disabled. Also tried enabled to see if they were set backwards.
19.07 22:03:03 [Multicraft] Skipped 3 lines due to rate limit (30/s) 19.07 22:03:01 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 19.07 22:03:01 [Server] INFO at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source) 19.07 22:03:01 [Server] INFO at me.Feazes.MobCash.MobKill.playerKill(MobKill.java:27) 19.07 22:03:01 [Server] INFO at me.Feazes.MobCash.EntityName.readEntity(EntityName.java:41) 19.07 22:03:01 [Server] INFO Caused by: java.lang.IllegalArgumentException: Didnt return an entity 19.07 22:03:01 [Server] INFO at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) 19.07 22:03:01 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413) 19.07 22:03:01 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481) 19.07 22:03:01 [Server] INFO at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:239) 19.07 22:03:01 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:592) 19.07 22:03:01 [Server] INFO at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:125) 19.07 22:03:01 [Server] INFO at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) 19.07 22:03:01 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:118) 19.07 22:03:01 [Server] INFO at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:230) 19.07 22:03:01 [Server] INFO at net.minecraft.server.v1_6_R2.Packet7UseEntity.handle(SourceFile:36) 19.07 22:03:01 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:1142) 19.07 22:03:01 [Server] INFO at net.minecraft.server.v1_6_R2.EntityHuman.attack(EntityHuman.java:885) 19.07 22:03:01 [Server] INFO at net.minecraft.server.v1_6_R2.EntityPlayer.damageEntity(EntityPlayer.java:371) 19.07 22:03:01 [Server] INFO at net.minecraft.server.v1_6_R2.EntityHuman.damageEntity(EntityHuman.java:715) 19.07 22:03:01 [Server] INFO at net.minecraft.server.v1_6_R2.EntityLiving.damageEntity(EntityLiving.java:694) 19.07 22:03:01 [Server] INFO at net.minecraft.server.v1_6_R2.EntityPlayer.die(EntityPlayer.java:300) 19.07 22:03:01 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:363) 19.07 22:03:01 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463) 19.07 22:03:01 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478) 19.07 22:03:01 [Server] INFO at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) 19.07 22:03:01 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 19.07 22:03:01 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 19.07 22:03:01 [Server] INFO org.bukkit.event.EventException 19.07 22:03:01 [Server] SEVERE Could not pass event PlayerDeathEvent to Mobcash v2.0 19.07 22:02:04 [Multicraft] Skipped 9 lines due to rate limit (30/s) 19.07 22:02:03 [Server] INFO at me.Feazes.MobCash.MobKill.playerKill(MobKill.java:27) 19.07 22:02:03 [Server] INFO at me.Feazes.MobCash.EntityName.readEntity(EntityName.java:41) 19.07 22:02:03 [Server] INFO Caused by: java.lang.IllegalArgumentException: Didnt return an entity 19.07 22:02:03 [Server] INFO at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) 19.07 22:02:03 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413) 19.07 22:02:03 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481) 19.07 22:02:03 [Server] INFO at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:239) 19.07 22:02:03 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:592) 19.07 22:02:03 [Server] INFO at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:125) 19.07 22:02:03 [Server] INFO at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) 19.07 22:02:03 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:118) 19.07 22:02:03 [Server] INFO at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:230) 19.07 22:02:03 [Server] INFO at net.minecraft.server.v1_6_R2.Packet7UseEntity.handle(SourceFile:36) 19.07 22:02:03 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:1142) 19.07 22:02:03 [Server] INFO at net.minecraft.server.v1_6_R2.EntityHuman.attack(EntityHuman.java:885) 19.07 22:02:03 [Server] INFO at net.minecraft.server.v1_6_R2.EntityPlayer.damageEntity(EntityPlayer.java:371) 19.07 22:02:03 [Server] INFO at net.minecraft.server.v1_6_R2.EntityHuman.damageEntity(EntityHuman.java:715) 19.07 22:02:03 [Server] INFO at net.minecraft.server.v1_6_R2.EntityLiving.damageEntity(EntityLiving.java:694) 19.07 22:02:03 [Server] INFO at net.minecraft.server.v1_6_R2.EntityPlayer.die(EntityPlayer.java:300) 19.07 22:02:03 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:363) 19.07 22:02:03 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463) 19.07 22:02:03 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478) 19.07 22:02:03 [Server] INFO at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) 19.07 22:02:03 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 19.07 22:02:03 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 19.07 22:02:03 [Server] INFO org.bukkit.event.EventException 19.07 22:02:03 [Server] SEVERE Could not pass event PlayerDeathEvent to Mobcash v2.0
Any fix to this error? http://pastie.org/8156313
@Orowind
No crash just severe error. @pyro56808
Yes this is compatible with iConomy
Is the compatible with IConomy? to add money to that account?
Using a spawner item and doing /spawner skeleton and making it night time and a skeleton spawning from the spawner will give you money when you kill the skeletons from it.
Same error, and do you have crash too ?
Getting this error when a player kills another player. http://pastebin.com/6fZHCUPc
Can we have a permission where players get double money?
So I can let donators on my server earn twice as much monies.
@Feazes
Awesome thanks for passing by the server, will update tonight.
@optizac
No problem! whats your server ip would love to come visit!
@Feazes
Uploaded it to clanforge just now, will get to test it tomorrow. Thanks for keeping this mod active and being so responsive. This is a core mod on our server.