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.<MOB_NAME> 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
Code (Text):
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<