Add custom trades to piglin!
Add custom trades to piglin.
Commands
Permissions
Action List
permission-discount:
permission: "piglin.discount" # Players with this permission receive a discount
discount-rate: 0.5 # 50% discount applied
messages:
prefix: "&8[&aPiglinTrade&8]&r"
no-permission: '%prefix% &cYou don''t have permission to use this command!'
player-only: "&cYou can't use commands from console!"
trade-selected: "%prefix% &aTrade selected! Throw gold to the piglin to proceed!"
trade-gold-requirement: "%prefix% &cYou need %cost% gold but you threw %given%!"
trade-selected-name: "%prefix% &eSelected Trade: &6%trade%"
help-header: "&e----- Piglin Trade Commands -----"
help-reload: "%prefix% &f/%cmd% reload &7- Reloads the plugin"
reload-success: '%prefix% &aSuccessfully reloaded!'
reload-fail: '%prefix% &cA serious error occurred during reloading'
gui:
title: "&8Piglin Trade"
trades:
1:
icon: ENDER_PEARL
name: "&aEnder Pearl"
lore:
- "&7Amount: &f%min% ~ %max%"
- "&7Price: &6%price% Gold"
- ""
- "&eClick to select trade!"
price: 2
reward:
item: ENDER_PEARL
min: 2
max: 4
actions:
- "MSG:&aSuccessfully traded the ender pearl item!"
2:
icon: STRING
name: "&fString"
lore:
- "&7Amount: &f%min% ~ %max%"
- "&7Price: &6%price% Gold"
- ""
- "&eClick to select trade!"
price: 1
reward:
item: STRING
min: 2
max: 6
actions:
- "MSG:&aSuccessfully traded the string item!"
3:
icon: NETHERITE_SCRAP
name: "&cNetherite Scrap"
lore:
- "&7Amount: &f%min% ~ %max%"
- "&7Price: &6%price% Gold"
- ""
- "&eClick to select trade!"
price: 8
reward:
item: NETHERITE_SCRAP
min: 1
max: 1
actions:
- "MSG:&aSuccessfully traded the netherite scrap item!"
For support, please use only resource discussion
Terms of Service
By using this plugin, you agree to the following terms, which may be updated by the author at any time.