Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /sv:
- permission: sk.staff
- permission message: &6&lFightinq &8&l» &eYou &cdo not &ehave permission to use this command.
- aliases: sm, v, vanish, ev, evanish, staffmode
- trigger:
- set slot 4 of player to a gray dye named "&eToggle Vanish &8&l- &cOff &7(Right-Click)"
- set slot 8 of player to a barrier named "&eLeave Staff Mode &8&l- &7(Right-Click)"
- set slot 7 of player to a sugar named "&eToggle Speed Fly &8&l- &aOn &7(Right-Click)"
- set slot 0 of player to a sign named "&eTeleport To A Random Player &8&l- &7(Right-Click)"
- set slot 3 of player to ice named "&eFreeze A Player &8&l- &7(Right-Click)"
- set slot 5 of player to flint and steel named "&eUnfreeze A Player &8&l- &7(Right-Click)"
- set slot 1 of player to crafting table named "&eToggle Gamemode &aOn &8&l- &7(Right-Click)"
- send "&6&lFightinq &8&l» &eYou are now in &aStaff Mode&e." to player
- hide player from all players
- # CONFIG #
- options:
- PrefixVOn: &eToggle Vanish &8&l- &aOn &7(Right-Click)
- options:
- PrefixVOff: &eToggle Vanish &8&l- &cOff &7(Right-Click)
- options:
- PrefixSMToggle: &eLeave Staff Mode &8&l- &7(Right-Click)
- options:
- PrefixSpeedToggle: &eToggle Speed Fly &8&l- &aOn &7(Right-Click)
- options:
- PrefixSpeedOff: &eToggle Speed Fly &8&l- &cOff &7(Right-Click)
- options:
- PrefixTPRandom: &eTeleport To A Random Player &8&l- &7(Right-Click)
- options:
- PrefixFreeze: &eFreeze A Player &8&l- &7(Right-Click)
- on rightclick with light green dye:
- if player has the permission "sk.staff":
- hide player to all players
- wait 1 ticks
- set tool of player to gray dye named "&eToggle Vanish &8&l- &cOff &7(Right-Click)"
- send "&6&lFightinq &8&l» &eYou are now &avanished&e."
- on rightclick with gray dye:
- if player has the permission "sk.staff":
- reveal player to all players
- wait 1 tick
- set tool of player to light green dye named "&eToggle Vanish &8&l- &aOn &7(Right-Click)"
- send "&6&lFightinq &8&l» &eYou are no longer &cvanished&e."
- on rightclick with barrier:
- if player has the permission "sk.staff":
- wait 1 tick
- execute player command "/minecraft:clear"
- reveal player to all players
- send "&6&lFightinq &8&l» &eYou are no longer in &cStaff Mode&e." to player
- on rightclick with sugar:
- if player has the permission "sk.staff":
- wait 1 tick
- set player's fly speed to 2
- set tool of player to diamond named "&eToggle Speed Fly &8&l- &cOff &7(Right-Click)"
- send "&6&lFightinq &8&l» &eYou are now &aSpeed Flying&e." to player
- on rightclick with diamond:
- if player has the permission "sk.staff":
- wait 1 tick
- reset player's fly speed
- set tool of player to sugar named "&eToggle Speed Fly &8&l- &aOn &7(Right-Click)"
- send "&6&lFightinq &8&l» &eYou are no longer &cSpeed Flying&e." to player
- on rightclick with sign:
- if player has the permission "sk.staff":
- wait 1 tick
- execute player command "/minecraft:tp @r[tag=!Staff]"
- send "&6&lFightinq &8&l» &eTeleporting..." to player
- on rightclick with crafting table:
- if player has the permission "sk.staff":
- wait 1 tick
- execute player command "/minecraft:gamemode c"
- set tool of player to grass named "&eToggle Gamemode &cOff &8&l- &7(Right-Click)"
- send "&6&lFightinq &8&l» &eYou are now in &aGamemode&e." to player
- on rightclick with grass:
- if player has the permission "sk.staff":
- wait 1 tick
- execute player command "/minecraft:gamemode s"
- set tool of player to crafting table named "&eToggle Gamemode &aOn &8&l- &7(Right-Click)"
- send "&6&lFightinq &8&l» &eYou are no longer in &cGamemode&e." to player
- command /freeze [<offline player>]:
- permission: sk.freeze
- permission message: &b
- trigger:
- set {frozen:%arg-1%} to true
- send "&6&lFightinq &8&l» &eYou have frozen &7%arg-1%&e."
- execute console command "/scoreboard players tag %arg-1% add frozen"
- on any movement:
- if {frozen:%player%} is true:
- cancel event
- send "&6&lFightinq &8&l» &eYou have been &cfrozen&e! &4Do NOT Log Out." to player
- send "&eJoin our discord at &7https://discord.gg/UYWFZ7M &efor a screenshare." to player
- on right click on player:
- if player has the permission "sk.freeze":
- if player is holding ice:
- execute player command "/freeze %clicked player%"
- else:
- cancel event
- command /unfreeze [<offline player>]:
- permission: sk.freeze
- permission message: &c
- trigger:
- if {frozen:%arg-1%} is true:
- send "&6&lFightinq &8&l» &eYou have unfrozen &7%arg-1%&e." to player
- set {frozen:%arg-1%} to false
- execute console command "/god %arg-1% off"
- else:
- send "&6&lFightinq &8&l» &eYou cannot unfreeze someone that isn't frozen!" to player
- on right click on player:
- if player has the permission "sk.freeze":
- if player is holding flint_and_steel:
- execute player command "/unfreeze %clicked player%"
- else:
- cancel event
Add Comment
Please, Sign In to add comment