Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- p: &7[&b&lIronyUHC&7]
- command /pvparena <text>:
- usage: /pvparena <enable:disable:toggle>
- permission: skript.op
- trigger:
- if arg 1 is "enable":
- set {pvparena} to true
- message "&cPVPArena Enabled!"
- execute console command "/feature toggle DeathLightning"
- execute console command "/feature toggle PlayerHeads"
- execute console command "/killboard"
- if arg 1 is "disable":
- set {pvparena} to false
- message "&cPVPArena Disabled!"
- execute console command "/feature toggle DeathLightning"
- execute console command "/feature toggle PlayerHeads"
- execute console command "/killboardoff"
- if arg 1 is "toggle":
- if {pvparena} is false:
- set {pvparena} to true
- message "&cPVPArena Enabled!"
- if {pvparena} is true:
- set {pvparena} to false
- message "&cPVPArena Disabled!"
- command /p:
- trigger:
- if {pvparena} is true:
- send "{@p} &eYou entered PvP!" to the player
- heal the player
- clear inventory of player
- execute console command "warp arena%random integer between 1 and 20% %player%"
- give player iron sword
- give player bow
- give player 32 arrows
- give player golden apple
- give player ender pearl
- set the chestplate of player to a iron chestplate
- set the leggings of player to iron leggings
- set the boots of player to iron boots
- set the helmet of player to a iron helmet
- on command "/p":
- player is in world "PVPArena"
- cancel the event
- on command "/p":
- if {pvparena} is false:
- cancel the event
- on damage:
- damage was caused by fall
- victim is a player
- victim is in the world "PVPArena"
- cancel the event
- on death:
- if {pvparena} is true:
- victim is a player
- attacker is a player
- chance of 100%
- give attacker golden apple
- on death:
- if {pvparena} is true:
- clear inventory of player
- on death:
- if {pvparena} is true:
- execute console command "/scoreboard players reset %player%"
- on death:
- if {pvparena} is true:
- set the death message to ""
- on death:
- if {pvparena} is true:
- attacker is a player
- victim is a player
- send "{@p} &eYou killed &b&l%victim%!" to the attacker
- send "{@p} &eYou were killed by &b&l%attacker%!" to the victim
- on death:
- if {pvparena} is true:
- victim is a player
- attacker is a player
- chance of 100%
- give attacker 25 arrows
- on hunger meter change:
- if {pvparena} is true:
- set player's hunger meter to 10
- on death:
- if {pvparena} is true:
- attacker is a player
- if damage was caused by projectile:
- loop items in attacker's inventory:
- if loop-item is a bow of power 0:
- enchant loop-item with power 1
- send "{@p} &bYour bow has upgraded to power 1!" to the attacker
- else if loop-item is a bow of power 1:
- enchant loop-item with power 2
- send "{@p} &bYour bow has upgraded to power 2!" to the attacker
- else if loop-item is a bow of power 2:
- enchant loop-item with power 3
- send "{@p} &bYour bow has upgraded to power 3!" to the attacker
- else if loop-item is a bow of power 3:
- enchant loop-item with power 4
- send "{@p} &bYour bow has upgraded to power 4!" to the attacker
- else if loop-item is a bow of power 4:
- enchant loop-item with power 5
- send "{@p} &bYour bow has upgraded to power 5!" to the attacker
- else if loop-item is a bow of power 5:
- send "{@p} &bYour bow is maxed out!" to the attacker
- else if damage was caused by attack:
- loop items in attacker's inventory:
- if loop-item is a sword of sharpness 0:
- enchant loop-item with sharpness 1
- send "{@p} &bYour sword has upgraded to sharpness 1!" to the attacker
- else if loop-item is a sword of sharpness 1:
- enchant loop-item with sharpness 2
- send "{@p} &bYour sword has upgraded to sharpness 2!" to the attacker
- else if loop-item is a sword of sharpness 2:
- enchant loop-item with sharpness 3
- send "{@p} &bYour sword has upgraded to sharpness 3!" to the attacker
- else if loop-item is a sword of sharpness 3:
- enchant loop-item with sharpness 4
- send "{@p} &bYour sword has upgraded to sharpness 4!" to the attacker
- else if loop-item is a sword of sharpness 4:
- enchant loop-item with sharpness 5
- send "{@p} &bYour sword has upgraded to sharpness 5!" to the attacker
- else if loop-item is a sword of sharpness 5:
- send "{@p} &bYour sword is maxed out!" to the attacker
- else if loop-item is a sword of sharpness 2:
- spawn an unique "horse" horse colored "chestnut" with patterns of "whitefield" at player
- make player ride last spawned unique horse
- send "{@p} &bYou have been given a horse!" to the attacker
- else if loop-item is a sword of sharpness 3:
- equip last spawned unique horse with Diamond Horse Armor
Advertisement
Add Comment
Please, Sign In to add comment