Compatibility
Minecraft: Java Edition
1.20.x
Platforms
Creators
Details
Licensed MIT
Published 2 months ago
- MasterCosmetics
- Trigger-based cosmetics plugin for Paper/Purpur 1.20.6โ1.21.x. It integrates with MythicMobs to execute custom skills in response to in-game events. No GUI โ everything is configured via config.yml. Admins assign cosmetics to players with a command; players can toggle them on and off independently.
- Commands
- /mc list โ shows the cosmetics you have equipped.
- /mc equip <id> โ toggles a cosmetic on or off. Works only if you own the cosmetic.
- /mc unequip <id> โ removes a specific cosmetic.
- /mc unequipall โ removes all active cosmetics at once.
- /mc give <player> <id> (admin) โ assigns a cosmetic to a player. Without this command, the player cannot equip it.
- /mc remove <player> <id> (admin) โ revokes a cosmetic from a player and unequips it if active.
- /mc reload (admin) โ reloads the config without restarting the server.
- Aliases: /mc, /cosm.
- Permissions: mastercosmetics.use for players, mastercosmetics.admin for admins.
- Triggers
- Each cosmetic has a list of triggers that define when the MythicMobs skill is executed. Multiple triggers can be combined on the same cosmetic.
- ALWAYS โ the skill repeats every N ticks continuously while the cosmetic is equipped. Use interval: N to control frequency (20 ticks = 1 second).
- ON_SPAWN โ triggers when the player joins the server or respawns after death.
- ON_DEATH โ triggers when the player dies.
- ON_KILL_PLAYER โ triggers when the player kills another player.
- ON_KILL_MOB โ triggers when the player kills any mob.
- ON_HIT_PLAYER โ triggers every time the player hits another player.
- ON_HIT_MOB โ triggers every time the player hits a mob.
- ON_JUMP โ triggers once per jump.
- ON_FLY_TICK โ triggers every N ticks while the player is flying (elytra or creative flight). Use interval: N.
- ON_WALK โ triggers every N ticks while the player is walking on the ground. Stops when the player stops moving. Use interval: N.
- ON_IDLE โ triggers every N ticks while the player is standing still on the ground. Stops when the player moves. Use interval: N.
- Pet
- Each cosmetic can have a pet: section that spawns a companion mob. The owner can never damage their own pet.
- mob-type โ type of mob to spawn. Use Bukkit EntityType names: PANDA, WOLF, FOX, BEE, COW, etc.
- name โ name displayed above the pet. Supports & color codes and the {player} placeholder (replaced with the ownerโs name).
- scale โ size of the mob. 0.5 = half, 1.0 = normal, 2.0 = double. Requires Paper/Purpur 1.20.5+.
- follow-distance โ distance (in blocks) at which the pet starts moving toward the player.
- immune โ if true, the pet is invulnerable to all damage sources: fire, falls, explosions, attacks from players or mobs.
- move-speed โ movement speed of the pet. Default 0.3. Typical range: 0.15 (slow) โ 0.35 (normal) โ 0.70 (fast).
- always-skill โ MythicMobs skill executed periodically by the pet, independent of player triggers.
- always-interval โ how many ticks between executions of always-skill. Default 40 (2 seconds).
- always-caster โ who executes always-skill. "pet" = effects appear around the pet, "player" = effects appear around the player.
- trigger-skill โ MythicMobs skill executed when one of the defined pet triggers activates.
- trigger-caster โ same as always-caster, but for trigger-skill.
- triggers โ list of triggers that activate trigger-skill on the pet. Uses the same names as player triggers (e.g., ON_KILL_MOB, ON_HIT_PLAYER).
- Database
- By default, data is stored in YAML files at playerdata/<uuid>.yml. To use MySQL, set database.enabled: true in the config and fill in the connection fields.
- database.enabled โ false = YAML files, true = MySQL.
- database.host โ MySQL server address.
- database.port โ port. Default 3306.
- database.name โ database name.
- database.username / database.password โ credentials.
- database.table-prefix โ table prefix. Default mc_. The mc_player_data table is created automatically.
- database.pool-size โ number of simultaneous connections in the pool. Default 5.
- database.connection-timeout โ connection timeout in milliseconds. Default 30000.
- If the MySQL connection fails at startup, the plugin automatically falls back to YAML files without crashing. The MySQL driver is already included in Paper/Purpur 1.20+ โ nothing extra is required.
- General Config
- settings.debug โ if true, logs every executed skill, every applied pet attribute, and every pathfinding attempt. Should be false in production.
- settings.prefix โ chat message prefix. Supports & color codes.
- All messages in the messages: section are customizable and support & color codes and placeholders such as {name}, {player}, {id}, {category}.


