Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options:
- Version: 1.1
- # (! QUICK NOTE AS WELL FOR THE DIFFERENT STAFF PARTS YOU WILL NEED TO REMOVE THE "#" FOR IT TO WORK !)
- #
- # W E L C O M E T O
- #
- # P I C K A X E L E V E L L I N G
- #
- # C R E A T E D B Y : J A C K | I P A R I S
- #
- # (! Below is the configuration settings you may edit them !)
- Options:
- GUIName: Staff
- # The name of the GUI
- MainGlassColour: white glass
- # The main colour of glass
- SecondGlassColour: gray glass
- # The second colour of glass
- # THIS IS THE STAFF BIT
- Owner1: Bulmsy
- Owner2: CHANGE
- Admin1: THESE
- Admin2: BITS
- Mod1: TO
- Mod2: PLAYER
- Dev1: NAMES
- Dev2: FROM
- Helper1: IN
- Helper2: GAME
- # What you need to do is in the space next to the staff you need to add in the player's IN-GAME name for it to show up
- # (! Please don't edit the settings below unless you know what you are doing !)
- on join:
- if player is "{@Owner1}":
- set {Owner1} to "&a&lONLINE"
- if player is "{@Owner2}":
- set {Owner2} to "&a&lONLINE"
- if player is "{@Admin1}":
- set {Admin1} to "&a&lONLINE"
- if player is "{@Admin2}":
- set {Admin2} to "&a&lONLINE"
- if player is "{@Mod1}":
- set {Mod1} to "&a&lONLINE"
- if player is "{@Mod2}":
- set {Mod2} to "&a&lONLINE"
- if player is "{@Dev1}":
- set {Dev1} to "&a&lONLINE"
- if player is "{@Dev2}":
- set {Dev2} to "&a&lONLINE"
- if player is "{@Helper1}":
- set {Helper1} to "&a&lONLINE"
- if player is "{@Helper2}":
- set {Helper2} to "&a&lONLINE"
- on disconnect:
- if player is "{@Owner1}":
- set {Owner1} to "&c&lOFFLINE"
- if player is "{@Owner2}":
- set {Owner2} to "&c&lOFFLINE"
- if player is "{@Admin1}":
- set {Admin1} to "&c&lOFFLINE"
- if player is "{@Admin2}":
- set {Admin2} to "&c&lOFFLINE"
- if player is "{@Mod1}":
- set {Mod1} to "&c&lOFFLINE"
- if player is "{@Mod2}":
- set {Mod2} to "&c&lOFFLINE"
- if player is "{@Dev1}":
- set {Dev1} to "&c&lOFFLINE"
- if player is "{@Dev2}":
- set {Dev2} to "&c&lOFFLINE"
- if player is "{@Helper1}":
- set {Helper1} to "&c&lOFFLINE"
- if player is "{@Helper2}":
- set {Helper2} to "&c&lOFFLINE"
- command /staff:
- trigger:
- wait 5 ticks
- set {_head1} to "{@Owner1}" parsed as offline player
- set {_head2} to "{@Owner2}" parsed as offline player
- set {_head3} to "{@Admin1}" parsed as offline player
- set {_head4} to "{@Admin2}" parsed as offline player
- set {_head5} to "{@Mod1}" parsed as offline player
- set {_head6} to "{@Mod2}" parsed as offline player
- set {_head7} to "{@Dev1}" parsed as offline player
- set {_head8} to "{@Dev2}" parsed as offline player
- set {_head9} to "{@Helper1}" parsed as offline player
- set {_head10} to "{@Helper2}" parsed as offline player
- open chest with 5 rows named "{@GUIName}" to player
- wait 1 ticks
- format slot 0 of player with {@MainGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 1 of player with {@MainGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 2 of player with {@SecondGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 3 of player with {@SecondGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 4 of player with {@MainGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 5 of player with {@SecondGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 6 of player with {@SecondGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 7 of player with {@MainGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 8 of player with {@MainGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 9 of player with {@MainGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 12 of player with skull of {_head1} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Owner1}||&7Rank &8&l» &bOwner||&7Display &8&l» %{Owner1}%" to be unstealable
- wait 1 tick
- format slot 14 of player with skull of {_head2} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Owner2}||&7Rank &8&l» &bOwner||&7Display &8&l» %{Owner2}%" to be unstealable
- wait 1 tick
- format slot 17 of player with {@MainGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 18 of player with {@SecondGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 19 of player with skull of {_head3} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Admin1}||&7Rank &8&l» &bAdmin||&7Display &8&l» %{Admin1}%" to be unstealable
- wait 1 tick
- format slot 20 of player with skull of {_head4} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Admin2}||&7Rank &8&l» &bAdmin||&7Display &8&l» %{Admin2}%" to be unstealable
- wait 1 tick
- format slot 24 of player with skull of {_head5} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Mod1}||&7Rank &8&l» &bMod||&7Display &8&l» %{Mod1}%" to be unstealable
- wait 1 tick
- format slot 25 of player with skull of {_head6} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Mod2}||&7Rank &8&l» &bMod||&7Display &8&l» %{Mod2}%" to be unstealable
- wait 1 tick
- format slot 26 of player with {@SecondGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 27 of player with {@MainGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 29 of player with skull of {_head7} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Dev1}||&7Rank &8&l» &bDev||&7Display &8&l» %{Dev1}%" to be unstealable
- wait 1 tick
- format slot 30 of player with skull of {_head8} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Dev2}||&7Rank &8&l» &bADev||&7Display &8&l» %{Dev2}%" to be unstealable
- wait 1 tick
- format slot 32 of player with skull of {_head9} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Helper1}||&7Rank &8&l» &bHelper||&7Display &8&l» %{Helper1}%" to be unstealable
- wait 1 tick
- format slot 33 of player with skull of {_head10} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Helper2}||&7Rank &8&l» &bHelper||&7Display &8&l» %{Helper2}%" to be unstealable
- wait 1 tick
- format slot 35 of player with {@MainGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 36 of player with {@MainGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 37 of player with {@MainGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 38 of player with {@SecondGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 39 of player with {@SecondGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 40 of player with {@MainGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 41 of player with {@SecondGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 42 of player with {@SecondGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 43 of player with {@MainGlassColour} named "&a" to be unstealable
- wait 1 tick
- format slot 44 of player with {@MainGlassColour} named "&a" to be unstealable
- command /name:
- trigger:
- send "%displayername%"
- send "%player's displayname%"
- on skript stop:
- delete {moderator::*}
- delete {admin::*}
- delete {player::*}
- delete {owner::*}
- on skript start:
- delete {moderator::*}
- delete {admin::*}
- delete {player::*}
- delete {owner::*}
- on join:
- if player has permission "darkcheat.moderator":
- add player to {moderator::*}
- if player has permission "darkcheat.admin":
- add player to {admin::*}
- if player has permission "darkcheat.player":
- add player to {player::*}
- if player has permission "darkcheat.*":
- add player to {owner::*}
- remove player from {moderator::*}
- remove player from {admin::*}
- remove player from {player::*}
- on kick:
- if player has permission "darkcheat.moderator":
- remove player from {moderator::*}
- if player has permission "darkcheat.admin":
- remove player from {admin::*}
- if player has permission "darkcheat.*":
- remove player from {owner::*}
- if player has permission "darkcheat.player":
- remove player from {player::*}
- if {vanish.%player%} = 1:
- remove invisibility from player
- set {vanish.%player%} to 0
- reveal player to all players
- on quit:
- if player has permission "darkcheat.moderator":
- remove player from {moderator::*}
- if player has permission "darkcheat.admin":
- remove player from {admin::*}
- if player has permission "darkcheat.*":
- remove player from {owner::*}
- if player has permission "darkcheat.player":
- remove player from {player::*}
- if {vanish.%player%} = 1:
- remove invisibility from player
- set {vanish.%player%} to 0
- reveal player to all players
- on pickup:
- if {staffmode.%player%} is true:
- cancel event
- send "&7[&c!&7] &cYou may not pickup items while in Staff Mode."
- on jump:
- if {%player%.ss} is true:
- cancel event
- teleport player to {_ss.coords.%player%}
- on inventory click:
- if {staffmode.%player%} is true:
- cancel event
- send "&7[&c!&7] &cYou may not edit this inventory."
- on damage of a player:
- if {staffmode.%attacker%} is true:
- cancel event
- send "&7[&c!&7] &cYou may not damage this player while in this mode." to attacker
- if {staffmode.%victim%} is true:
- cancel event
- send "&7[&c!&7] &cYou may not damage this player." to attacker
- on build:
- if {staffmode.%player%} is true:
- cancel event
- send "&7[&c!&7] &cYou may not build while in Staff Mode."
- if {%player%.ss} is true:
- cancel event
- send "&7[&c!&7] &cYou are currently frozen by a staff member."
- on break:
- if {staffmode.%player%} is true:
- cancel event
- send "&7[&c!&7] &cYou may not build while in Staff Mode."
- if {%player%.ss} is true:
- cancel event
- send "&7[&c!&7] &cYou are currently frozen by a staff member."
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[COMMANDS]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
- command /list [<text>]:
- description: Detailed list of the players!
- permission: darkcheat.player
- permission message: {servername} &cYou do not have access to this command!
- executable by: players and console
- trigger:
- if arg 1 is not set:
- send "&7Players:" to player
- send "&7%{player::*}%" to player
- send "&7Moderators:" to player
- send "&c%{moderator::*}%" to player
- send "&7Admins:" to player
- send "&c%{admin::*}%" to player
- send "&7Owners:" to player
- send "&b%{owner::*}%" to player
- if arg 1 is "players":
- send "&7Players:" to player
- send "&7%{player::*}%" to player
- if arg 1 is "moderators":
- send "&7Moderators:" to player
- send "&c%{moderator::*}%" to player
- if arg 1 is "admins":
- send "&7Admins:" to player
- send "&c%{admin::*}%" to player
- if arg 1 is "owners":
- send "&7Owners:" to player
- send "&b%{owner::*}%" to player
- command /ss [<player>]:
- description: Freeze the player and send them a request to join TS!
- permission: darkcheat.moderator
- permission message: {servername} &cYou do not have access to this command!
- executable by: players
- aliases: /ss,/screenshare,/freeze
- trigger:
- if arg 1 is not set:
- send "&7[&c!&7] &cError: &7You must enter the name of the player for the command to be executed." to player
- if arg 1 is set:
- if {%arg-1%.ss} is true:
- send "&7[&c!&7] &7%arg-1% &ais no longer frozen!" to player
- send "&7[&c!&7] &aYou are no longer frozen!" to arg 1
- set {%arg-1%.ss} to false
- set the arg-1's walk speed to 1
- delete {_ss.coords.%arg-1%}
- stop trigger
- if {%arg-1%.ss} is not set:
- set {%arg-1%.ss} to true
- add 1 to {frozencounter.%arg-1%}
- send "&7[&c!&7] &cThis player has been frozen %{frozencounter.%arg-1%}% times."
- send "&7[&c!&7] &7%arg-1% &ahas been frozen." to player
- send "&f█████████" to arg 1
- send "&f████&c█&f████" to arg 1
- send "&f███&c█&0█&c█&f███" to arg 1
- send "&f██&c█&6█&0█&6█&c█&f██" to arg 1
- send "&f██&c█&6█&0█&6█&c█&f██ &eYou have been frozen by a staff member." to arg 1
- send "&f██&c█&6█&0█&6█&c█&f██ &eIf you disconnect you will be &4&lBANNED&e." to arg 1
- send "&f█&c█&6█████&c█&f█ &ePlease connect to our TeamSpeak." to arg 1
- send "&c█&6███&0█&6███&c█ &7%{teamspeak}%" to arg 1
- send "&c█████████" to arg 1
- send "&f█████████" to arg 1
- send "&cYou may not attack or get attacked by players whilst frozen." to arg 1
- send "&cYou may not disconnect. If you do, you will be permanently banned." to arg 1
- send "&cYou most likely will be asked to do a screenshare to prove you are not hacking." to arg 1
- send "&cFailure to comply will result in a permanent ban." to arg 1
- set the arg-1's walk speed to 0
- set {_ss.coords.%arg-1%} to arg-1's location
- stop trigger
- if {%arg-1%.ss} is false:
- add 1 to {frozencounter.%arg-1%}
- send "&7[&c!&7] &7%arg-1% &ahas been frozen." to players
- send "&7[&c!&7] &cThis player has been frozen %{frozencounter.%arg-1%}% time"
- send "&f█████████" to arg 1
- send "&f████&c█&f████" to arg 1
- send "&f███&c█&0█&c█&f███" to arg 1
- send "&f██&c█&6█&0█&6█&c█&f██" to arg 1
- send "&f██&c█&6█&0█&6█&c█&f██ &eYou have been frozen by a staff member." to arg 1
- send "&f██&c█&6█&0█&6█&c█&f██ &eIf you disconnect you will be &4&lBANNED&e." to arg 1
- send "&f█&c█&6█████&c█&f█ &ePlease connect to our TeamSpeak." to arg 1
- send "&c█&6███&0█&6███&c█ &7%{teamspeak}%" to arg 1
- send "&c█████████" to arg 1
- send "&f█████████" to arg 1
- send "&cYou may not attack or get attacked by players whilst frozen." to arg 1
- set {%arg-1%.ss} to true
- set the arg-1's walk speed to 0
- set {_ss.coords.%arg-1%} to arg-1's location
- stop trigger
- every 5 second in "world":
- loop all players:
- if {vanish.%loop-player%} = 1:
- hide loop-player from all players
- reveal loop-player to {admin::*}
- reveal loop-player to {moderator::*}
- reveal loop-player to {owner::*}
- command /staff [<text>]:
- description: Staff menu.
- permission: darkcheat.moderator
- permission message: &7[&c%{servername}%&7 &cYou do not have access to this command!
- executable by: players
- trigger:
- if arg 1 is not set:
- if {staffmode.%player%} is true:
- send "&7[&c!&7] &7Staff mode is currently &aactivated&7!"
- if {staffmode.%player%} is false:
- send "&7[&c!&7] &7Staff mode is currently &cdeactivated&7!"
- if {staffmode.%player%} is not set:
- send "&7[&c!&7] &7Staff mode is currently &cdeactivated&7!"
- if arg 1 is "reload":
- if player is op:
- execute console command "/skript reload staff"
- execute console command "/skript reload Players"
- send "&7[&c!&7] &aPlugin reloaded successfully!"
- if arg 1 is "on":
- if {staffmode.%player%} is false:
- send "&7[&c!&7] &7Staff mode is now &aactivated&7!"
- wait 1 tick
- set {staffmode.%player%} to true
- set {save.helm.%player%} to the helmet of the player
- set {save.chestplate.%player%} to the chestplate of the player
- set {save.leggings.%player%} to the leggings of the player
- set {save.boots.%player%} to the boots of the player
- set {save.inv.%player%} to the player's serialized inventory
- set {save.lvls.%player%} to player's level
- set {save.lvls.%player%.progress} to level progress of the player
- send "&7[&c!&7] &7Inventory has been saved. You will now enter staff mode&7!"
- apply invisibility tier 2 to player for 99999 seconds
- send "&7[&c!&7] &7You are now invisible !"
- set {vanish.%player%} to 1
- hide player from all players
- reveal player to {admin::*}
- reveal player to {moderator::*}
- reveal player to {owner::*}
- clear player's inventory
- equip player with chain helmet of protection 1000
- equip player with chain chestplate of protection 1000
- equip player with chain leggings of protection 1000
- equip player with chain boots of protection 1000
- apply night vision 2 to player for 100000 seconds
- clear player's level progress
- clear player's level
- set player's gamemode to creative
- add a clock named "&7&lVanish" to the slot 0 of player
- add a compass named "&7&lInventory See" with lore "&bRight click to see the inventory of a player||&bLeft click to see the armor of a player." to the slot 1 of player
- add a eye of ender named "&7&lRandom TP" with lore "&bRight click to teleport to a random player." to the slot 2 of player
- add a wooden axe named "&6&lWorldEdit Wand" to the slot 3 of player
- add a nether star named "&4&lExit Staff Mode" to the slot 8 of player
- if {staffmode.%player%} is not set:
- send "&7[&c!&7] &7Staff mode is now &aactivated&7!"
- wait 1 tick
- set {staffmode.%player%} to true
- set {save.helm.%player%} to the helmet of the player
- set {save.chestplate.%player%} to the chestplate of the player
- set {save.leggings.%player%} to the leggings of the player
- set {save.boots.%player%} to the boots of the player
- set {save.inv.%player%} to the player's serialized inventory
- set {save.lvls.%player%} to player's level
- set {save.lvls.%player%.progress} to level progress of the player
- send "&7[&c!&7] &7Inventory has been saved. You will now enter staff mode&7!"
- apply invisibility tier 2 to player for 99999 seconds
- send "&7[&c!&7] &7You are now invisible !"
- set {vanish.%player%} to 1
- hide player from all players
- reveal player to {admin::*}
- reveal player to {moderator::*}
- reveal player to {owner::*}
- clear player's inventory
- equip player with chain helmet of protection 1000
- equip player with chain chestplate of protection 1000
- equip player with chain leggings of protection 1000
- equip player with chain boots of protection 1000
- apply night vision 2 to player for 100000 seconds
- clear player's level progress
- clear player's level
- set player's gamemode to creative
- add a clock named "&7&lVanish" to the slot 0 of player
- add a compass named "&7&lInventory See" with lore "&bRight click to see the inventory of a player||&bLeft click to see the armor of a player." to the slot 1 of player
- add a eye of ender named "&7&lRandom TP" with lore "&bRight click to teleport to a random player." to the slot 2 of player
- add a wooden axe named "&6&lWorldEdit Wand" to the slot 3 of player
- add a nether star named "&4&lExit Staff Mode" to the slot 8 of player
- if arg 1 is "off":
- if {staffmode.%player%} is true:
- send "&7[&c!&7] &7Staff mode is now &cdeactivated&7!"
- set {staffmode.%player%} to false
- restore inventory of player from {save.inv.%player%}
- set the helmet of the player to {save.helm.%player%}
- set the chestplate of the player to {save.chestplate.%player%}
- set the leggings of the player to {save.leggings.%player%}
- set the boots of the player to {save.boots.%player%}
- set player's level to {save.lvls.%player%}
- set player's level progress to {save.lvls.%player%.progress}
- reveal player to all players
- remove invisibility from the player
- remove night vision from the player
- set player's gamemode to survival
- else:
- send "&7[&c!&7] &7Staff mode is already &cdeactivated&7!"
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[ITEMS]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
- on right click with a clock:
- if {staffmode.%player%} is true:
- if {vanish.%player%} is not set:
- apply invisibility tier 2 to player for 99999 seconds
- send "&7[&c!&7] &7You are now invisible !"
- set {vanish.%player%} to 1
- hide player from all players
- stop trigger
- if {vanish.%player%} = 0:
- apply invisibility tier 2 to player for 99999 seconds
- send "&7[&c!&7] &7You are now invisible !"
- set {vanish.%player%} to 1
- hide player from all players
- stop trigger
- if {vanish.%player%} = 1:
- remove invisibility from player
- send "&7[&c!&7] &7You are now visible !"
- set {vanish.%player%} to 0
- reveal player to all players
- stop trigger
- on right click on a player:
- if player's tool is a compass:
- if {staffmode.%player%} is true:
- cancel event
- make player execute command "/invsee %clicked entity%"
- on right click with a nether star:
- if {staffmode.%player%} is true:
- cancel event
- make player execute command "/staff off"
- on damage of a player:
- if attacker's tool is a compass:
- if {staffmode.%attacker%} is true:
- cancel event
- make attacker execute command "/invsee %victim% 1"
- on right click with a eye of ender:
- if {staffmode.%player%} is true:
- cancel event
- set {_randomtp} to a random element out of {player::*}
- teleport player to {_randomtp}
- send "&8[&c!&8] &7You have been randomly teleported to &c%{_randomtp}%&7!"
Add Comment
Please, Sign In to add comment