A PocketMine-MP plugin that allows players to add trims to their armor using a UI.
-
Easily add trims to armor via UI.
-
Compatible with all materials.
-
Supports a variety of trim types.
-
Uses player XP as currency for applying trims.
-
Interact with the Smithing Table to access the trim UI.
- Download the
.phar
file from poggit. - Place the
MTrim.phar
file in theplugins
folder of your server. - Restart the server, and the plugin is ready to use!
Command | Description |
---|---|
/trim |
Opens the armor trim UI for customization. |
Permission | Default | Description |
---|---|---|
mtrim.command |
true | Allow player to use the /trim command. |
config.yml
#
# ███╗░░░███╗████████╗██████╗░██╗███╗░░░███╗
# ████╗░████║╚══██╔══╝██╔══██╗██║████╗░████║
# ██╔████╔██║░░░██║░░░██████╔╝██║██╔████╔██║
# ██║╚██╔╝██║░░░██║░░░██╔══██╗██║██║╚██╔╝██║
# ██║░╚═╝░██║░░░██║░░░██║░░██║██║██║░╚═╝░██║
# ╚═╝░░░░░╚═╝░░░╚═╝░░░╚═╝░░╚═╝╚═╝╚═╝░░░░░╚═╝
# Mtrim | Config file | MagmaZ3637
# Formats:
# {player} = player name
# {xp} = player xp
# {prefix} = prefix
# & = §
# The prefix that will appear in every plugin message.
prefix: "&e[ MTrim ] &r"
# The default price for trimming armor (you can change it as needed).
# If you want the price to be free, change it to 0.
price: 3
# The type of message used to notify the player.
# TOAST = small popup above the hotbar.
# MESSAGE = chat message.
message-type: "TOAST"
# FORM AREA
# The title displayed in the armor trim form.
title-form: "Trim Armor"
# Label for selecting the armor trim pattern.
label-pattern: "Choose Trim Pattern"
# Label for selecting the armor trim material.
label-material: "Choose Trim Material"
# MESSAGE AREA
# Message shown when the player tries to trim a non-armor item.
item-is-not-armor: "&cThis item is not an armor!"
# Message shown when the armor trim is successfully applied.
armor-trim-success: "&aArmor trimmed successfully!"
# Message shown when the player does not have enough XP to trim armor.
not-enough-xp: "&cYou don't have enough XP!"