MTrim
🧥 MTrim
A PocketMine-MP plugin that allows players to add trims to their armor using a UI.
📷 Pictures!
pictures\1.png
pictures\2.png
pictures\3.png
pictures\4.png
🎮 Features
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.
📥 Installation
-
Download the .phar file from poggit.
-
Place the MTrim.phar file in the plugins folder of your server.
-
Restart the server, and the plugin is ready to use!
🔧 Commands
Command Description
/trim Opens the armor trim UI for customization.
🔑 Permissions
Permission Default Description
mtrim.command true Allow player to use the /trim command.
⚙️ Requirements
-
FormAPI
-
LibTrimArmor
💾 Config
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"
Smithing Table Interaction Configuration
smithing-table: true
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!"
📜 License
Apache License 2.0