https://github.com/MagmaZ3637/MTrim
MTrims Is Pocketmine Plugin Can Add Trims To Your Server
https://github.com/MagmaZ3637/MTrim
armor pmmp pmmp-plugin pocketmine trim
Last synced: 3 months ago
JSON representation
MTrims Is Pocketmine Plugin Can Add Trims To Your Server
- Host: GitHub
- URL: https://github.com/MagmaZ3637/MTrim
- Owner: MagmaZ3637
- License: apache-2.0
- Created: 2024-07-04T11:30:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-02T01:32:47.000Z (over 1 year ago)
- Last Synced: 2024-10-09T23:03:09.582Z (over 1 year ago)
- Topics: armor, pmmp, pmmp-plugin, pocketmine, trim
- Language: PHP
- Homepage:
- Size: 2.28 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐งฅ MTrim
A PocketMine-MP plugin that allows players to add trims to their armor using a UI.
## ๐ท Pictures!




## ๐ฎ Features
1. [x] Easily add trims to armor via UI.
2. [x] Compatible with all materials.
3. [x] Supports a variety of trim types.
4. [x] Uses player XP as currency for applying trims.
5. [x] Interact with the Smithing Table to access the trim UI.
## ๐ฅ Installation
1. Download the `.phar` file from poggit.
2. Place the `MTrim.phar` file in the `plugins` folder of your server.
3. 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](https://github.com/jojoe77777/FormAPI)
- [LibTrimArmor](https://github.com/KRUNCHSHooT/LibTrimArmor)
## ๐พ Config
**config.yml**
```yaml
#
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# 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!"
```
## ๐ License
[Apache License 2.0](https://github.com/MagmaZ3637/MTrim/blob/main/LICENSE)