-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
BuffMobs provides a set of in-game commands under the /buffmobs prefix for debugging, inspection, and live reloading.
| Command | Description |
|---|---|
| /buffmobs debug | Print detailed stats for the nearest mob |
| /buffmobs info | Show a summary of the mod's current state |
| /buffmobs presets | List all configured presets and mob mappings |
| /buffmobs reload | Re-apply buffs to all loaded mobs |
All commands require operator permissions (permission level 2) by default in a vanilla server setup.
Player-only command.
Finds the nearest mob within 5 blocks of the player and prints a detailed report:
=== BuffMobs Debug ===
Mob ID: minecraft:skeleton
Mod: minecraft
Dimension: minecraft:overworld
Valid mob: yes
=== Preset ===
Presets enabled: yes
Preset found: yes
Health mult: 2.0
Damage mult: 1.8
Speed mult: 1.1
Atk speed mult: 1.2
Armor addition: 5.0
Toughness addition: 2.0
=== Scaling ===
Day multiplier: 1.2
Dim health mult: 1.0
Dim damage mult: 1.0
=== Stats ===
Health: 28.8 / 40.0 (base: 20.0)
Damage: 4.32 (base: 3.0)
Active effects: 2
effect.minecraft.strength (level 1)
effect.minecraft.speed (level 1)
Use this command to:
- Verify a mob is being buffed correctly
- Check which preset is applied
- See the exact day and dimension multipliers in effect
- Confirm active status effects
Prints a global summary of the mod's current configuration and state:
=== BuffMobs Info ===
Enabled: true
Initialized mobs: 312
Health mult: 1.5
Damage mult: 1.5
Day scaling: true
Presets: false
This is useful for quickly confirming the mod is active and seeing how many mobs have been initialized in the current session.
Lists all configured preset slots and the mobMapping entries:
=== Mob Presets ===
Presets enabled: yes
1. default | HP×1.5 DMG×1.5 SPD×1.0 ASPD×1.0 Arm+5.0 Tough+0.0
2. boss | HP×5.0 DMG×3.0 SPD×1.1 ASPD×1.2 Arm+15.0 Tough+8.0
Mob Mappings:
minecraft:zombie -> default
minecraft:skeleton -> default
minecraft:wither -> boss
Preset slots with empty names are not shown. Invalid mapping entries are flagged.
Re-applies buffs to every mob currently loaded in the dimension where the command is executed. Useful after editing buffmobs.toml without restarting the server.
[BuffMobs] Re-applying buffs...
[BuffMobs] Done. 147 mobs updated.
Note: Reload only affects mobs in the current dimension at the time of execution. Mobs in other dimensions are updated when they next load or when the server restarts.
- Use
/buffmobs debugimmediately after spawning a mob with/summonto verify your config changes applied. - If a mob shows "Valid mob: no" in the debug output, check your Mob Filters configuration — it may be excluded by a blacklist or filter mode.
-
/buffmobs reloadis safe to run on a live server — it uses try/catch per mob so a single failure won't stop the rest from being updated.