Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options:
- prefix: &3[&4&lMarioPvP&3]
- command /respawn <player>:
- permission: uhc.staff
- trigger:
- console command "spawn &arg-1"
- delete {sped::%arg-1%}
- wait 1 seconds
- send "&3[&4&lMarioPvP&3]&5 spec mode slået &crra&7!"
- console command "rea %arg-1%
- console command "gm 0 %arg-1"
- wait 5 ticks
- teleport arg-1 to {respawn::loc::%arg-1}
- restore inventory of arg-1 from {respawn::%arg 1%}
- equip arg-1 with [respawn::boots::%arg 1%}
- equip arg-1 with [respawn::chest::%arg 1%}
- equip arg-1 with [respawn::legs::%arg 1%}
- equip arg-1 with [respawn::helm::%arg 1%}
- set level of arg-1 to [respawn::xp::%arg 1%}
- send "{@prefix} &c%arg-1% &7blev respawned." to command sender
- send "{@prefix} &7Du blev respawned." to arg 1
- on death of player:
- set {respawn::%victim%} to serialized contents of player
- set {respawn::helm:::%victim%} to helmet of player
- set {respawn::chest::%victim%} to chestplate of player
- set {respawn::legs::%victim%} to leggings of player
- set {respawn::boots::%victim%} to boots of player
- set {respawn::loc::%victim%} to location of player
- set {respawn::xp::%victim%} to level of player
- on unload:
- delete {respawn::*}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement