Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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█" to arg 1
- send "&c█&6███&0█&6███&c█" 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█" 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: staff.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 &activated&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!"
- 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
- clear player's level progress
- clear player's level
- set player's gamemode to creative
- add a clock named "&6Random TP" to the slot 0 of player
- add a beacon named "&6Vanish" with lore "&bRight click to vanish from other players." to the slot 1 of player
- add a ice named "&6Freeze" with lore "&bRight click to Freeze the player." to the slot 2 of player
- add a wooden axe named "&6WorldEdit Wand" to the slot 3 of player
- add a compass named "&6Phase" to the slot 7 of player
- add a book named "&6Examine Player" to the slot 8 of player
- send "&7[&c!&7] &7Staff mode is now &activated&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 "&6Random TP" to the slot 0 of player
- add a beacon named "&6Vanish" with lore "&bRight click to vanish." to the slot 1 of player
- add a ice named "&6Freeze" with lore "&bRight click to freeze the player." to the slot 2 of player
- add a wooden axe named "&6WorldEdit Wand" to the slot 3 of player
- add a compass named "&6Phase" to the slot 7 of player
- add a book named "&6Examine Player" 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 beacon:
- if {staffmode.%player%} is true:
- if {vanish.%player%} is not set:
- send "&7[&c!&7] &7You are now in vanish !"
- set {vanish.%player%} to 1
- hide player from all players
- stop trigger
- if {vanish.%player%} = 0:
- send "&7[&c!&7] &7You are now in vanish !"
- 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 book:
- if {staffmode.%player%} is true:
- cancel event
- make player execute command "/invsee %clicked entity%"
- on damage of a player:
- if attacker's tool is a compass:
- if {staffmode.%attacker%} is true:
- cancel event
- make attacker execute command "/push"
- on right click with a clock:
- 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!"
- on right click on a player:
- if player's tool is a ice:
- if {staffmode.%player%} is true:
- cancel event
- make player execute command "/freeze %clicked entity%"
- command /invsee [<player>]:
- permission: invsee.use
- trigger:
- if arg-1 is not set:
- send "could not do that"
- else:
- open the arg-1's inventory for the player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement