Do you want to customize all the trades of Piglins, with IN-game GUI, with commands, effects, items support?
Then Custom Piglins Trade is the plugin you need!
> Effects support.
> You can choose the probability.
> You can choose the material for trade.
> Add custom particle at the end of the trade.
> You can glow the piglin when trade.
> Give multiple items
> If you need more options, i'm here !
> Very active support !
WIKI
Code:
# ----------------------------------
# -
# CustomPiglinsTrades
# -
# By: Ssomar
# -
# ----------------------------------
# -
# WIKI > https://github.com/ssomar1607/CustomPiglinsTrade/wiki
# {PARTICLETYPE} : https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
# {MATERIAL} : https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
# {EFFECTTYPE} : https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
# -
# exemple:
# chance: {1-9999}
# message: "{MESSAGE}"
# particle:
# type: {PARTICLETYPE}
# amount: {1-9999}
# items:
# 1:
# material: {MATERIAL}
# amount: {1-9999}
# #OR
# randomAmount: {1-9999}-{1-9999}
# commands:
# 1:
# command: "{COMMAND}"
# effect:
# type: {EFFECTTYPE}
# duration: {1-9999 in sec}
# amplifier: {1-9999}
material: GOLD_INGOT
delayOfTrade: 3
glowWhenTrade: false
alreadyTrade: "&6&l[CPT] &eThis piglin is already in trade !"
cantDrop: "&6&l[CPT] &eYou cant throw more of 1 &a%material% &enear of Piglin"
results:
1:
chance: 40
particle:
type: HEART
amount: 25
items:
1:
material: GRAVEL
randomAmount: 8-16
2:
chance: 40
particle:
type: HEART
amount: 25
items:
1:
material: SOUL_SAND
randomAmount: 4-16
3:
chance: 40
particle:
type: HEART
amount: 25
items:
1:
material: NETHER_BRICK
randomAmount: 4-16
4:
chance: 40
particle:
type: HEART
amount: 25
items:
1:
material: LEATHER
randomAmount: 4-10
5:
chance: 40
particle:
type: HEART
amount: 25
items:
1:
material: FIRE_CHARGE
randomAmount: 1-5
6:
chance: 40
particle:
type: HEART
amount: 25
items:
1:
material: CRYING_OBSIDIAN
randomAmount: 1-3
7:
chance: 40
particle:
type: HEART
amount: 25
items:
1:
material: OBSIDIAN
amount: 1
8:
chance: 20
particle:
type: HEART
amount: 25
items:
1:
material: STRING
randomAmount: 8-24
9:
chance: 20
particle:
type: HEART
amount: 25
items:
1:
material: QUARTZ
randomAmount: 8-16
10:
chance: 20
particle:
type: HEART
amount: 25
items:
1:
material: GLOWSTONE_DUST
randomAmount: 5-12
11:
chance: 20
particle:
type: HEART
amount: 25
items:
1:
material: ENDER_PEARL
randomAmount: 4-8
12:
chance: 20
particle:
type: HEART
amount: 25
items:
1:
material: MAGMA_CREAM
randomAmount: 2-6
13:
chance: 10
particle:
type: HEART
amount: 25
items:
1:
material: IRON_NUGGET
randomAmount: 9-36
14:
chance: 10
particle:
type: HEART
amount: 25
commands:
1:
command: "give %player% potion{Potion:'minecraft:fire_resistance'} 1"
15:
chance: 10
particle:
type: HEART
amount: 25
commands:
1:
command: "give %player% splash_potion{Potion:'minecraft:fire_resistance'} 1"
16:
chance: 8
particle:
type: HEART
amount: 25
commands:
1:
command: "give %player% iron_boots{Enchantments:[{id:soul_speed,lvl:2}]} 1"
17:
chance: 5
particle:
type: HEART
amount: 25
commands:
1:
command: "give %player% enchanted_book{StoredEnchantments:[{id:soul_speed,lvl:2}]} 1"
Code:
Command /cpt reload:
Permission: ``cpt.commands``
Description: CustomPiglinsTrade reload command
Command /cpt editor:
Permission: ``cpt.commands``
Description: CustomPiglinsTrade editor command
Report any bug in the discussion section or join this Discord not in review pls and give me all your suggestions.
https://discord.gg/7n8wHXu
