TREATMENT
Exchange your items for others by staying in the area during the allotted time.
event: TREATMENT
name: "Treatment"
time: 300 # Time of treatment
delay: 8000 # Delay to exchange items (in millis)
messages: # Messages section
onStart: "{PREFIX} &7The event &cTreatment &7started at {location}."
onStop: "{PREFIX} &7The event &cTreatment &7stopped."
onFinish: "{PREFIX} &7The event &cTreatment &7finished."
rewards: # Rewards section
- "give {player} diamond 3"
lines: # Lines to appears in title start decount
- "&fEvent: &cTreatment"
- "&f&lยป &fTreat your items"
area: # Cuboid of area
world-name: "world"
first-corner:
x: 750
y: 80
z: 750
second-corner:
x: 755
y: 80
z: 755
animation: # Animation of progressbar
totalBars: 20 # Number of bars
char: "โฐ" # The character that will be multiplied
defaultColor: "ยง7" # The color of progress bar when it's not reached
color: "ยงb" # The color of progress bar when it's reached
items: # Exchange sections
'0':
from: # Item the player must have
material: DIAMOND
amount: 8
to: # Item that the player will have
material: BEDROCK
amount: 1
name: "Better than obsi"
enchantments:
- "DURABILITY:10"
flags:
- "HIDE_ATTRIBUTES"
'1':
from:
material: GRASS
amount: 64
to:
material: DIAMOND
amount: 8
Last updated
Was this helpful?