MobRarity is a Paper plugin foundation for configurable mob rarities, named variants, spawn-time tagging, mob levels, effects, and integrations.
.\gradlew.bat buildThe plugin jar is written to build/libs/MobRarity-1.0.0-SNAPSHOT.jar.
- Paper 26.1+.
- Java 25.
- Optional: LandClaims, VaultUnlocked, PlaceholderAPI.
Base command: /mobrarity with aliases /mr and /mobr.
/mobrarity reload: requiresmobrarity.reload; reloads rarity config files./mobrarity validate: requiresmobrarity.validate; checks config without applying changes./mobrarity list tiers: requiresmobrarity.list; lists configured global rarity tiers./mobrarity list variants: requiresmobrarity.list; lists configured mob variant keys./mobrarity list mobs: requiresmobrarity.list; lists mob types with MobRarity profiles./mobrarity inspect: requiresmobrarity.inspect; inspects the targeted living mob./mobrarity debug: requiresmobrarity.debug; reports targeted mob data, configured variants, tier weights, and spawn source settings./mobrarity set TIER VARIANT [level]: requiresmobrarity.set; tags the targeted mob./mobrarity clear: requiresmobrarity.clear; clears data from the targeted mob./mobrarity spawn ENTITY TIER VARIANT [level] [player]: requiresmobrarity.spawn.
mobrarity.admin grants all admin command permissions and the claim-check bypass permission.
mobrarity.admin: defaultop; parent permission for admin commands and bypasses.mobrarity.reload: defaultop; allows/mobrarity reload.mobrarity.validate: defaultop; allows/mobrarity validate.mobrarity.list: defaultop; allows all/mobrarity listcategories.mobrarity.inspect: defaultop; allows/mobrarity inspect.mobrarity.debug: defaultop; allows/mobrarity debug.mobrarity.set: defaultop; allows/mobrarity set.mobrarity.clear: defaultop; allows/mobrarity clear.mobrarity.spawn: defaultop; allows/mobrarity spawn.mobrarity.bypass.claim-check: defaultop; bypasses claim checks for effects.
Configured triggers currently support:
item_dropwithmaterialand numeric or rangedamount, such as2-8.potion_effectwitheffect,duration-ticks,amplifier, and optionaltarget.currency_dropwithamount, paid through VaultUnlocked or Vault.console_commandandplayer_commandwithcommand.xp_dropwithamount.healanddamagewithamountand optionaltarget.knockbackwithstrength, optionaly, and optionaltarget.lightning_effect, which shows lightning without dealing lightning damage.hostile_target, which makes a BukkitMobtarget the triggering player.
MobRarity text supports built-in placeholders before MiniMessage parsing. PlaceholderAPI exposes the same values for the player's targeted rarity mob.
%mobrarity_tier%: tier display text, such asRare.%mobrarity_tier_key%: raw tier key, such asrare.%mobrarity_variant%: variant display text, such asToxic Sheep.%mobrarity_variant_key%: raw variant key, such astoxic_sheep.%mobrarity_level%: mob level.%mobrarity_entity%: mob type, such asSheep.
Tier and variant stats stack when a mob receives MobRarity data.
- Supported stats:
max-health,attack-damage,movement-speed,armor. - Also supported:
armor-toughness,knockback-resistance,follow-range. - Each stat can use
add,multiply, andper-level. - Changing
max-healthalso heals the mob to its new maximum health. - Original stat baselines are stored on the mob so repeated admin assignments do not compound scaling.
/mobrarity clearremoves rarity data and restores stored stat baselines.
Supported triggers include on_shear, on_aura_tick, on_damage, on_tame,
on_breed, on_interact, and player-caused on_death.
When LandClaims exposes LandClaimsApi, MobRarity checks claim access before effects run.
- Any action can set
claim-actioninmobs.ymlto choose the LandClaims flag key. hostile_targetdefaults tomob_griefing.- Other actions default to their action type.
- If LandClaims is not installed, the current fallback policy allows effects to run.