ModsJava
SimpleCommandMob
Assign custom dynamic loot for every mob killed by players!
⬇ Download on HangarOpen in MCModsHubGet it on Google Play →**SimpleCommandMob**
A lightweight Spigot plugin that revolutionizes mob interactions by executing customizable commands when players kill specific mobs. Key features:
* **Weighted Command System**: Assign probabilities to commands (e.g., 80% common reward, 20% rare) for dynamic loot.
* **Permission Locks**: Restrict mob kills to players with mobs. permissions.
* **Multi-Command Support**: Run console commands, give items, apply effects, or trigger events.
* **Live Configuration**: Edit rewards/messages in **config.yml** and reload instantly with /mobcommands reload.
* **Placeholders**: Use %player%, %mob% for personalized messages.
*Perfect for RPG servers, custom loot tables, or unique gameplay mechanics. Works seamlessly on Spigot/Paper 1.21.4+.*
**###
⚙️ Sample Configuration
```
messages:
no-permission: "&4You can't attack: %mob%!"
reward-message: "&6You got a reward for killing %mob%!"
admin-reload: "&aConfiguration successfully reloaded!"
mobs:
CREEPER:
commands:
"minecraft:give %player% tnt 3": 40 #40% of probability
"minecraft:give %player% gunpowder 10": 30 #30% of probability
"effect give %player% speed 30 2": 20 #20% of probability
"eco take %player% 100": 10 #10% of probability
ENDER_DRAGON:
permission: "mobs.enderdragon" #You need permission to damage the mob
commands:
"minecraft:give %player% dragon_egg 1": 80
"minecraft:give %player% elytra 1": 20
```
**
>If you want to create a video tutorial about my plugin it will be published here ;D<
My Other Plugins:
[SimpleCommandBlocker](https://www.spigotmc.org/resources/simplecommandblocker-recoded-customizable.20589/) | [SimpleMoreSounds](https://www.spigotmc.org/resources/simplemoresounds.122846/)
SimpleCommandMob is a free Minecraft Java mod. Compatible with Minecraft 1.21, 1.21.1, 1.21.2, 1.21.3 and newer. Downloaded 13 times (via Hangar). Download it and open it directly in the game.
Explore more