UltimatePiglinTrade icon

UltimatePiglinTrade -----

Add custom trades to piglin!



Add custom trades to piglin.

Commands
  • /piglintrade reload - Reloads the plugin
Permissions
  • piglintrade.command.reload - Allows use of the /piglintrade reload command
Action List
  • BROADCAST:message - Send a message to all players on the server
  • CONSOLE_COMMAND:command - Execute a command from the server console
  • MSG:message - Send a private message to a specific player
  • PLAYER_COMMAND:command - Execute a command as if the player ran it themselves
  • SOUND:type:float:float - Play a sound to a player
  • ADD_POTION:type:amplifier:duration - Add a potion effect to the player
Code (YAML):
permission-discount:
  permission
: "piglin.discount"   # Players with this permission receive a discount
  discount-rate
: 0.5               # 50% discount applied

Code (YAML):
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"

Code (YAML):
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.
  • All payments are final and non-refundable.
  • Redistribution or resale of this plugin is prohibited.
  • You are not permitted to modify, decompile, or extract any part of the plugin's source code.
  • Support is provided exclusively to legitimate customers. We cannot offer support for plugins obtained through unauthorized or illegal means.
Resource Information
Author:
----------
Total Downloads: 1
First Release: Dec 8, 2025
Last Update: Dec 8, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings