Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # EXTRA PVP = By Sweey216_
- #- - - - - -- - - - - ----- - - - - - - - - - - - - - - #
- # KONFIGURACJA #
- options:
- # UPRAWNIENIA
- perm: cagepvp.manage
- perm_message: &4Brak uprawnien.
- # BLOKI
- block: white wool #Blok 1
- x: 1
- y: 60
- z: 1
- #KLATKA
- location-cage: x, y, z
- teleport: yes
- add item slabe: yes
- add item mocne: no
- #- ---- - - - - - - - - - - -- - - - - - - - - - - - - #
- on skript load:
- send "CagePvP > Ladowanie skryptu..." to console
- download "http://pastebin.com/raw/Bf6sq7P3" to "plugins/skript/scripts/%script's name%"
- send "CagePvP > Skrypt wlaczony!"
- command /cage [<text="puste">]:
- trigger:
- if player has permission "{@perm}":
- if arg 1 is "puste":
- send "&8| &3&lCAGE&6&lPVP &8|"
- send "&8| &c/cage utworz &8|"
- send "&8| &c/cage usun &8|"
- send "&8| &3&lCAGE&6&lPVP &8|"
- if arg 1 is "utworz":
- loop 30 times:
- wait a second
- set {_loopPLUS} to loop-number
- set {cblock-%loop-integer%} to {@x}+{_loopPLUS}
- set block at {cblock-%loop-integer%} to {@block}
- add 1 to {_create.time.loop.cage}
- if {_create.time.loop.cage} is 30:
- send "&8• &6Klatka &azostala utworzona"
- clear {_create.time.loop.cage}
- stop
- if arg 1 is "usun":
- loop 30 times:
- wait a second
- delete block at {cblock-%loop-integer%}
- add 1 to {_delete.time.loop.cage}
- if {_delete.time.loop.cage} is 30:
- send "&8• &6Klatka &czostala usunieta"
- clear {_delete.time.loop.cage}
- stop
- if arg 1 is "autor":
- send "&6Autorem skryptu jest &aSweey216_"
- stop
- else:
- send "{@perm_message}"
- stop
- command /cagetp:
- trigger:
- if "{@teleport}" is "yes":
- teleport player to {@location-cage}
- if "{@add item slabe}" is "yes":
- add golden apple to player
- if "{@add item mocne}" is "yes":
- add enchanted golden apple to player
- on damage of player:
- play raw sound "damage.hit1" at attacker
- # P.S: Kocham Klaudie ♥
Add Comment
Please, Sign In to add comment