Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /mod:
- aliases: h
- permission: staff.rank
- permission message: &cYou are not a staff member!
- trigger:
- if {mod.%player%} is not set:
- set gamemode of player to creative
- clear player's inventory
- wait 1 tick
- send "&8(&4!&8) &eStaff mode has been &aEnabled"
- set slot 0 of player to chest named "&cInvsee"
- set slot 1 of player to paper named "&cStaff Online"
- set slot 8 of player to packed ice named "&cFreeze"
- set slot 7 of player to lead named "&cMount"
- set slot 4 of player to gray dye named "&cVanish&a ON &7(RightClick)"
- set slot 2 of player to firework star named "&cRandom Teleport"
- set {mod.%player%} to true
- stop
- else:
- wait 1 second
- set gamemode of player to survival
- clear player's inventory
- reveal player to all players
- send "&8(&4!&8) &eStaff mode has been &cDisabled"
- delete {mod.%player%}
- stop
- command /vanish-on:
- description: Use this command to be vanished.
- permission: staff.rank
- permission message: &cYou are not a staff member!
- aliases: /invis
- executable by: player
- trigger:
- player has permission "staff.rank"
- make player execute /vanish on
- send "&eVanish &aEnabled" to the player
- set the player's gamemode to creative
- command /vanish-off:
- description: Use this command to be vanished.
- permission: staff.rank
- permission message: &cYou are not a staff member!
- aliases: /vis
- executable by: player
- trigger:
- player has permission "staff.rank"
- make player execute /vanish off
- send "&eVanish &cDisabled" to the player
- on mine:
- if {mod::%player%} is true:
- cancel the event
- on pickup:
- if {mod.%player%} is true:
- cancel the event
- on hunger bar change:
- if {mod.%player%} is true:
- set the player's food level to 10
- on damage:
- if {mod.%victim%} is true:
- cancel event
- if {mod.%attacker%} is true:
- cancel event
- on break:
- if {mod.%player%} is true:
- cancel event
- on build:
- if {mod.%player%} is true:
- cancel event
- on drop:
- if {mod.%player%} is true:
- cancel event
- on command "/v":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/vanish":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/v":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/gm 0":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/gm 1":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/gm 2":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/gmc":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/gma":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/gms":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/gm c":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/gm a":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/gm s":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/gamemode 1":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/gamemode 2":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/gamemode 0":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/gamemode a":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/gamemode c":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/gamemode s":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/clear":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/ci":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/asdunranked":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/asdranked":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/accept <player> [<text>]":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/duel <player> [<text>]":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/asdleave":
- if {mod.%player%} is true:
- cancel event
- send "&c(!) First back of ModMode"
- on command "/tp <player>":
- if {mod.%player%} is true:
- hide player to all players
- on command "/spawn":
- if {mod.%player%} is true:
- clear player's inventory
- teleport player to {spawn}
- reveal player to all players
- delete {modmode.%player%}
- on command "/suicide":
- if {mod.%player%} is true:
- kill the player
- reveal player to all players
- delete {mod.%player%}
- on quit:
- if {mod.%player%} is true:
- delete {mod.%player%}
- set gamemode of player to survival
- clear player's inventory
- reveal player to all players
- stop
- if {god.%player%} is true:
- delete {god.%player%}
- stop
- on place:
- if {mod.%player%} is true:
- cancel event
- stop
- on break:
- if {mod.%player%} is true:
- cancel event
- stop
- on inventory click:
- if {mod.%player%} is true:
- cancel event
- stop
- else:
- stop
- on rightclick on player:
- if player's tool is a wheat:
- if name of player's tool is "&cFreeze":
- if player has permission "staff.rank":
- wait 1 ticks
- execute player command "/Freeze %clicked player%"
- stop
- on right click:
- if player's tool is a gray dye:
- if name of player's tool is "&cVanish&a ON &7(RightClick)":
- if player has permission "staff.rank":
- set slot 8 of player to light green dye named "&4Vanish OFF &7(LeftClick)"
- make player execute command "/vanish-on"
- delete {god.%player%}
- stop
- on left click:
- if player's tool is a light green dye:
- if name of player's tool is "&cVanish OFF &7(LeftClick)":
- if player has permission "staff.rank":
- set slot 4 of player to gray dye named "&aVanish ON &7(RightClick)"
- make player execute command "/vanish-off"
- stop
- on right click on a player:
- if player's tool is a chest:
- if name of player's tool is "&cInvsee":
- if player has permission "staff.rank":
- open the inventory of the clicked entity to the player
- stop
- on right click with firework star:
- if player is holding a firework star named "&cRandom Teleport":
- if player has permission "staff.rank":
- set {_random} to a random player out of all players
- while {_random} is name of player:
- set {_random} to a random player out of all players
- wait 1 tick
- if {_random} is not name of player:
- teleport player 1 behind {_random}
- send "&3Teleported to &9%{_random}%"
- else:
- message "&cYou are not a staff member!"
- on right click:
- if player's tool is a paper:
- if name of player's tool is "&cStaff Online":
- if player has permission "modmode.1":
- wait 5 ticks
- make player execute command "/stafflist"
- stop
- command /stafflist:
- permission: modmode.1
- permission message: &cYou are not a staff member!
- description: Shows online staff
- trigger:
- loop all players:
- loop-player has permission "modmode.1"
- add loop-player to {_online staff::*}
- size of {_online staff::*} is 0:
- message "No staff currently online!"
- else:
- message "&bStaff List&3&m+---&b---&3---&B---&3---&B---&3---&B---&3--+"
- message "&8ยป &3Staff &6ยป &b%{_online staff::*}%"
- message "&3&m+---&b---&3---&B---&3---&B---&3---&B---&3---&B---&3---&B--+"
- on join:
- if player have permission "modmode.1":
- add 1 to {_staffonline::*}
- on quit:
- if player have permission "modmode.1":
- remove 1 from {_staffonline::*}
- on right click with lead:
- if player is holding a lead named "&cMount":
- if player has permission "hcf.staff":
- if entity's target is a player:
- set {_name} to "%target entity%" parsed as a player
- send "&7[&c&lSTAFF&7] &7You now follow &9%{_name}%"
- make player ride {_name}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement