Mob Rewards
Mob Rewards allows you to give money to players when they kill mobs. Optionally, you can decrease the amount of money and experience points they receive for subsequent kills.
Commands
There is only one command provided by Mob Rewards: /mr reload
, which reloads the configuration file.
Permissions
mobrewards.reward
- reward players for killing mobsmobrewards.admin.reload
- reload the configuration file
Configuration
log: false global: money_decrease: true exp_decrease: true kill_limit: 5 kill_reset: 30 creative_earnings: false spawner_earnings: true worlds: - world - world_nether - world_the_end messages: reward: "You have earned [REWARD] for [KILL_REASON] this [MOB_TYPE]!" limit: "Kill a different type of mob to continue receiving rewards" kill_reasons: - killing - smiting mobs: BABY_ZOMBIE: names: - "mini zombie" money: 10.0 BLAZE: money: 10.0 CAVE_SPIDER: money: 10.0
The configuration is pretty straightforward - you specify a list of mobs that you want to set rewards for. Any that aren't listed will silently be ignored.
You can globally set whether money and experience decreases for each kill, as well as a kill limit. When a mob is killed, the player receives the amount of money (and Minecraft's default experience) for that mob, with a decrease for each subsequent kill. When the kill limit is reached (or the amount of money reaches zero), the player will see a message indicating that they should kill another type of mob to reset the kill limit. The default configuration doesn't set a kill limit (-1 is considered "infinite"), but it's recommended that you set a limit around 5 or so (depending on how much money you pay per mob kill).
You can globally set kill_reset
, which is used to reset the kill counter for each mob type. For example, you can kill 2 zombies, wait 6 hours and kill a third, and then not receive any money - with the kill reset, if you set this to 30 (seconds), it will set zombie kills to zero if 30 seconds or more has elapsed since the last zombie kill.
You can also set whether players in creative mode should earn money or experience. This defaults to false if not specified in your configuration. Optionally, you can also restrict earnings to specific worlds.
It is also possible to toggle earnings for mobs that originated from a mob spawner. This will only track mobs that were spawned since the server restarted, as the list is wiped on every restart. Note that stopping earnings from mob spawners may lead to players creating dark area spawners instead, which could lead to performance issues.
If you'd like to set different options for specific mobs, you can add the kill limit, money decrease and experience decrease options to the mob's section.
Would this work with Pixelmon Trainers? if so how would you set it up?
@Cronos2212
It works fine on my server :)
@vxnick
Will this plugin work for 1.7.10?
@madtomic
The latest version probably won't, but v0.3.0 does
does this work on cb1.7.2-r0.3?
Hey vxnick, I PMed you about this too... I'm very new to java, but the only thing I wanted to change about your plugin here is so that when it rewards you it's in a different color (like green, or a mix of styles.) But when I recompiled the code, my bukkit server didn't even run the plugin. It just started ignoring it or something. If you could help me out I would appreciate it, and I could help you back.
Thanks!
@HolyDoktor
I'm still active, but haven't had time for Minecraft for a few months
Is this plugin's developer still active? PLEASE TELL ME HE IS!! haha, I love this plugin!
Hey,
I installed this plugin-last night, and withing minutes, my players already found a few loopholes. (One was going to the End and killing endermen. I've now set a strict limit on that!)
So, as someone else posted below, you can easily get tons of money from a mob grinder. I've seen in some other plugins (not fit for my server) a function in which you can turn off rewards if there is a spawner within x radius. This would definitely take care of that problem!
Thanks!
@GoldenEagle1995
This isn't a bug but I'm aware it's not exactly ideal - I'm looking at adding a a cooldown timer which will make this less of a problem.
Thanks for the comment :)
there is a bug i've got donators in my server and they have permissions to change and place spawners and when they use forexample 2 types of mobs they kill one type they get 10$ they kill the other type and they get another 10$ and if they kill the first typeyou still get the 10$ soif you kill different types you get the maximum amount of money
@jpell1221
Works fine on my 1.7 server :-)
Will this work for 1.7.x?
@GatewayCraft
Yep - set `kill_limit` to -1 and it's also worth setting `money_decrease` to false so that players don't end up with miniscule payments after a number of kills.
are you able to to make it unlimited kills so they can kill as many as they want
@weather11guy
Where are you seeing 1.0 money being the minimum? I've just looked at the code and it allows anything greater than 0, so this should already work :)
@weather11guy
That should be easy enough for me to change to 0.1 - there's no real reason it can't be anything greater than 0 :)
I saw this and was like FINALLY!! Been searching for weeks since MobBounty Reloaded is outdated but then I saw ....... 1.0 money is the minimum..... D: I need a minimum of at least .05 money. On my scale 1.0 is waaaaaay too much
@pyrite123
From what I can see, Mo Creatures doesn't run on Bukkit - is that correct? if so, there aren't any plans to support anything other than Bukkit, due to a lack of time I'm afraid
@vxnick
Might there be a way to add support for mods?
For instance if I killed an ogre in Mo Creatures mod I'd like for players to be able to earn money.