Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage:
- if attacker is player:
- attacker's tool is diamond sword:
- tool of attacker's name is "&3&l&7You&3&2&4Tube &1Spectator":
- cancel event
- make console execute command "/gmsp %victim%"
- send "&9You have been made specator" to victim
- on damage:
- if attacker is player:
- attacker's tool is wooden sword:
- tool of attacker's name is "&3&l&7You&3&2&4Tube &1Kick":
- cancel event
- make console execute command "/kick %victim% Opps... Game over?"
- on damage:
- if attacker is player:
- attacker's tool is iron sword:
- tool of attacker's name is "&3&l&7You&3&2&4Tube &1Warp":
- cancel event
- teleport the victim to {WARP}
- send "Opps... Game over?" to victim
- on damage:
- if attacker is player:
- attacker's tool is golden sword:
- tool of attacker's name is "&3&l&7You&3&2&4Tube &1Temp&4Ban":
- cancel event
- make console execute command "/tempban %victim% 1h Opps... Game Over?"
- send "Opps... Game over?" to victim
- command /ytsword <text>:
- aliases: /yts
- permission: yts
- trigger:
- if arg-1 is "sp":
- send "&9One sowrd &3&l&7You&3&2&4Tube &1Spectator given!" to player
- give player 1 diamond sword of sharpness 50 and knockback 7 named "&3&l&7You&3&2&4Tube &1Spectator" with lore "&7This sword change player's gamomode to spectator"
- if arg-1 is "kick":
- send "&9One sowrd &3&l&7You&3&2&4Tube &3&l&7You&3&2&4Tube &1Kick" to player
- give player 1 wooden sword of sharpness 50 and knockback 7 named "&3&l&7You&3&2&4Tube &1Kick" with lore "&7This sword kicks player"
- if arg-1 is "warp":
- send "&9One sowrd &3&l&7You&3&2&4Tube &3&l&7You&3&2&4Tube &1Warp" to player
- give player 1 iron sword of sharpness 50 and knockback 7 named "&3&l&7You&3&2&4Tube &1Warp" with lore "&7This sword tp player to warp observer"
- if arg-1 is "tempban":
- send "&9One sowrd &3&l&7You&3&2&4Tube &3&l&7You&3&2&4Tube &1Temp&4Ban" to player
- give player 1 golden sword of sharpness 50 and knockback 7 named "&3&l&7You&3&2&4Tube &1Temp&4Ban" with lore "&7This sword tempban player for 1h"
- if arg-1 is "kit":
- send "&9One sowrd &3&l&7You&3&2&4Tube &1Spectator given!" to player
- give player 1 diamond sword of sharpness 50 and knockback 7 named "&3&l&7You&3&2&4Tube &1Spectator" with lore "&7This sword change player's gamomode to spectator"
- send "&9One sowrd &3&l&7You&3&2&4Tube &3&l&7You&3&2&4Tube &1Kick" to player
- give player 1 wooden sword of sharpness 50 and knockback 7 named "&3&l&7You&3&2&4Tube &1Kick" with lore "&7This sword kicks player"
- send "&9One sowrd &3&l&7You&3&2&4Tube &3&l&7You&3&2&4Tube &1Warp" to player
- give player 1 iron sword of sharpness 50 and knockback 7 named "&3&l&7You&3&2&4Tube &1Warp" with lore "&7This sword tp player to warp observer"
- send "&9One sowrd &3&l&7You&3&2&4Tube &3&l&7You&3&2&4Tube &1Temp&4Ban" to player
- give player 1 golden sword of sharpness and knockback 7 named "&3&l&7You&3&2&4Tube &1Temp&4Ban" with lore "&7This sword tempban player for 1h"
- if arg-1 is "event":
- make console execute command "/sudo %player% /expand vert"
- make console execute command "/sudo %player% /walls bedrock"
- make console execute command "/sudo %player% rg define Event"
- make console execute command "/sudo %player% rg flag EVENT exit deny"
- make console execute command "/sudo %player% rg flag EVENT passthrough deny"
- if arg-1 is "go":
- make console execute command "/sudo %player% rg flag EVENT passthrough allow"
- if arg-1 is "setwarp":
- set {WARP} to location of player
- send "&ayts>>&e Warp location set!" to player
- if arg-1 is "sv":
- loop all players:
- make console execute command "/gms %loop-player%"
- if arg-1 is "go":
- make console execute command "/sudo %player% rg remove EVENT"
- if arg-1 is "help":
- send "&e Here is help!" to player
- send "&e /yts sp || give &3&l&7You&3&2&4Tube &1Spectator &esword" to player
- send "&e /yts kick || give &3&l&7You&3&2&4Tube &1Kick &esword" to player
- send "&e /yts warp || give &3&l&7You&3&2&4Tube &1Warp &esword" to player
- send "&e /yts tempban || give &3&l&7You&3&2&4Tube &1Temp&4Ban &esword" to player
- send "&e /yts kit || give all swords" to player
- send "&e /yts event || creates event region on selected area (wand) with bedrock boarders where players cant destroy build or leave, crates bedrock walls" to player
- send "&e /yts go || removes build/destroy restrictions from EVENT region" to player
- send "&e /yts sv || bring all players bacek to survival (if online!)" to player
- send "&e /yts end || removes EVENT region" to player
- send "&e /yts setwarp || Sets where &3&l&7You&3&2&4Tube &1Warp teleports" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement