Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on login:
- {Arena} is true:
- wait 2 seconds
- send "&3Use /kit pvp for a PvP kit then run through the PvP sign to enter the Arena"
- command /arena:
- trigger:
- if {Arena} is true:
- clear the player's inventory
- set the player's gamemode to survival
- equip player with iron helmet of unbreaking 10
- equip player with iron chestplate of unbreaking 10
- equip player with iron leggings of unbreaking 10
- equip player with iron boots of unbreaking 10
- give player diamond sword of unbreaking 10
- give player bow of infinity 1 and unbreaking 10
- give player 2 golden apple
- give player 1 arrow
- execute console command "/warp %player% pvp%a random integer between 1 and 10%"
- command /autopvp <text>:
- trigger:
- if arg is "on":
- set {autoPVP.%command sender%} to true
- message "&a&lAutoPVP enabled" to the command sender
- if arg is "off":
- set {autoPVP.%command sender%} to false
- message "&a&lAutoPVP disabled" to the command sender
- on respawn:
- if {Arena} is true:
- {autoPVP.%player%} is true:
- make player execute command "/arena"
- command /pvparena <text>:
- permission: skript.pvparena
- trigger:
- if arg is "on" or "true" or "enable":
- set {Arena} to true
- broadcast "&a&lPVP Arena enabled by &b&l%player%!"
- if arg is "off" or "false" or "disable":
- set {Arena} to false
- broadcast "&c&lPVP Arena disabled by&e&l%player%!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement