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.
@Konsider
No problem, I'm sorry it wasn't clear enough! :)
@vxnick
Wow, spot on, I am indeed :D Thanks for your help!!
@Konsider
You're missing some config options that were introduced in the latest version - see the changelog for what you need to add
@vxnick
http://pastebin.com/dRzmUA6u
Could it be that I am using Spigot? Or I have around 50 plugins, could one of them be conflicting?
@Konsider
Please could you pastebin your config? The current version runs without problems on my 1.6.4 server.
Thanks
I think this needs an update! Nobody has been getting any money for killing mobs since the 1.6.4 update.
@Fedronix
Sorry, I wouldn't know how to do that and I don't really have enough time at the moment to put towards learning anything other than Bukkit
I know its a bit wierd but i wanted to ask if you can make this plugin work on Pixelmon for Trainers and Pokemons
@brianher67
I don't know if there's another plugin that does that already, but it might be better to contact the MobArena developer about that :)
Hey I was thinking if this plugin could connect to Mob Arena? So You can make the reward on Mobs to money instead of items? Or are there already a plugin like that? Anyways thx :)
@AtreyuMarcs
That should be possible - I'll look into it :)
I love this plugin for it's simplicity and none overuse of fluff. I do, however, wish there was one more feature that is the option to have group multipliers. Any chance of this being an option?
@Frosty1717
Sounds like you've formatted your config file incorrectly - could you pastebin and link here please?
I seem to get errors when i kill a mob. I reload with the command and it says the samething in command prompt.
05:11:35 [INFO] Cdawg92 issued server command: /mr reload 05:11:35 [SEVERE] Cannot load plugins\MobRewards\config.yml org.bukkit.configuration.InvalidConfigurationException: mapping values are not a llowed here in "<string>", line 14, column 28: money: 2.0 CAVE_SPIDER: ^
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlCo nfiguration.java:55) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguratio n.java:138) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguratio n.java:105) at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(Yam
@ircopdd
Nice ideas - I'll look at adding those in the next release :)
can you add
mob Rename Features?
like zombie i can set evilzombie
and random rewards
like 0.10.6 rewards
thanks
@Xenoyia
Fair point - v0.2.1 has been uploaded and fixes this :)
Thanks for the feedback!
@vxnick
It's very beneficial in my economy, I was hoping for at most 0.0100 per kill, you really shouldn't enforce a minimum.
@ircopdd The plugin enforces a minimum money amount of 1.0 which is why this isn't working.
If you consider this to be a problem, please let me know, but I don't quite understand how rewarding 0.1 money for the first kill is beneficial to the player.
ZOMBIE:
money: 0.1
no work
0.1 Reward?