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%}
- send "&f█████████"
- send "&f████&c█&f████"
- send "&f███&c█&0█&c█&f███"
- send "&f██&c█&6█&0█&6█&c█&f██ &eYou have been frozen by a staff member."
- send "&f██&c█&6█&0█&6█&c█&f██ &eIf you disconnect you will be &4&lBANNED&e."
- send "&f█&c█&6█████&c█&f█ &ePlease connect to our Discord. &e(&6/discord&e)"
- send "&c█&6███&0█&6███&c█"
- send "&c█████████"
- send "&f█████████"
- send "&4&m+---------------------------------------------------+"
- send "&cYou may not attack or get attacked by players whilist frozen."
- send "&cYou have 3 minutes to come on our discord,"
- send "&cIf you disconnect, you will be permanently banned."
- send "&cFailure to comply will result in a permanent ban."
- send "&4&m+---------------------------------------------------+"
- 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 staff 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 "&f█████████"
- send "&f████&c█&f████"
- send "&f███&c█&0█&c█&f███"
- send "&f██&c█&6█&0█&6█&c█&f██ &eYou have been frozen by a staff member."
- send "&f██&c█&6█&0█&6█&c█&f██ &eIf you disconnect you will be &4&lBANNED&e."
- send "&f█&c█&6█████&c█&f█ &ePlease connect to our Discord. &e(&6/discord&e)"
- send "&c█&6███&0█&6███&c█"
- send "&c█████████"
- send "&f█████████"
- send "&4&m+---------------------------------------------------+"
- send "&cYou may not attack or get attacked by players whilist frozen."
- send "&cYou have 3 minutes to come on our discord,"
- send "&cIf you disconnect, you will be permanently banned."
- send "&cFailure to comply will result in a permanent ban."
- send "&4&m+---------------------------------------------------+"
- 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 "&f█████████"
- send "&f████&c█&f████"
- send "&f███&c█&0█&c█&f███"
- send "&f██&c█&6█&0█&6█&c█&f██ &eYou have been frozen by a staff member."
- send "&f██&c█&6█&0█&6█&c█&f██ &eIf you disconnect you will be &4&lBANNED&e."
- send "&f█&c█&6█████&c█&f█ &ePlease connect to our Discord. &e(&6/discord&e)"
- send "&c█&6███&0█&6███&c█"
- send "&c█████████"
- send "&f█████████"
- send "&4&m+---------------------------------------------------+"
- send "&cYou may not attack or get attacked by players whilist frozen."
- send "&cYou have 3 minutes to come on our discord,"
- send "&cIf you disconnect, you will be permanently banned."
- send "&cFailure to comply will result in a permanent ban."
- send "&4&m+---------------------------------------------------+"
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[COMMANDS]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
- command /ss [<player>]:
- description: Freeze the player and send them a request to join Discord!
- permission: darkcheat.moderator
- permission message: &8» &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
- make console execute command "/speed walk 1 %arg-1%"
- make console execute command "/speed fly 1 %arg-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██ &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 Discord. &e(&6/discord&e)" to arg 1
- send "&c█&6███&0█&6███&c█" to arg 1
- send "&c█████████" to arg 1
- send "&f█████████" to arg 1
- send "&4&m+-----------------------------------------------------+" to arg 1
- send "&cYou may not attack or get attacked by players whilist frozen." to arg 1
- send "&cYou have 3 minutes to come on our discord," to arg 1
- send "&cIf you disconnect, you will be permanently banned." to arg 1
- send "&cFailure to comply will result in a permanent ban." to arg 1
- send "&4&m+-----------------------------------------------------+" 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%}% times."
- 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██ &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 Discord. &e(&6/discord&e)" to arg 1
- send "&c█&6███&0█&6███&c█" to arg 1
- send "&c█████████" to arg 1
- send "&f█████████" to arg 1
- send "&4&m+---------------------------------------------------+" to arg 1
- send "&cYou may not attack or get attacked by players whilist frozen." to arg 1
- send "&cYou have 3 minutes to come on our discord," to arg 1
- send "&cIf you disconnect, you will be permanently banned." to arg 1
- send "&cFailure to comply will result in a permanent ban." to arg 1
- send "&4&m+---------------------------------------------------+" 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 second:
- 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 /staffmode [<text>]:
- description: Staff menu.
- aliases: /sm, /staffm
- permission: darkcheat.staffmode
- permission message: &7[&c!&7] &cYou do not have access to this command!
- executable by: players
- trigger:
- if arg 1 is not "on" or "off" or "ison" or "reload" or "help":
- send "&cUnknown command, Please try /elytra"
- if arg 1 is not set:
- message "&8&m+-----------------+&4 StaffMode Help &8&m+-----------------+"
- message "&a/staffmode help&e - &aShows this page"
- message "&a/staffmode on &e- &a Activate StaffMode"
- message "&a/staffmode off&e - &aDeActivate StaffMode"
- message "&a/staffmode ison&e - &aTells you if StaffMode is on"
- message "&c/staffmode reload &e-&c Reloads StaffMode elytra plugin"
- message "&8&m+-----------------+&4 StaffMode Help &8&m+-----------------+"
- if arg 1 is "help":
- message "&8&m+-----------------+&4 StaffMode Help &8&m+-----------------+"
- message "&a/staffmode help&e - &aShows this page"
- message "&a/staffmode on &e- &a Activate StaffMode"
- message "&a/staffmode off&e - &aDeActivate StaffMode"
- message "&a/staffmode ison&e - &aTells you if StaffMode is on"
- message "&c/staffmode reload &e-&c Reloads StaffMode elytra plugin"
- message "&8&m+-----------------+&4 StaffMode Help &8&m+-----------------+"
- if arg 1 is "ison":
- 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 player command "/skript reload staffmode"
- 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
- add a clock named "&7&lVanish" to the slot 0 of player
- add a stick 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 blaze rod named "&6&lScreenshare Player" 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
- add a clock named "&7&lVanish" to the slot 0 of player
- add a stick named "&c&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 blaze rod named "&6&lScreenshare Player" 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 stick:
- if {staffmode.%player%} is true:
- cancel event
- make player execute command "/invsee %clicked entity%"
- on right click on a player:
- if player's tool is a blaze rod:
- if {staffmode.%player%} is true:
- cancel event
- make player execute command "/ss %clicked entity%"
- on damage of a player:
- if attacker's tool is a blaze rod:
- if {staffmode.%attacker%} is true:
- cancel event
- make attacker execute command "/ss %victim% 1"
- on right click with a nether star:
- if {staffmode.%player%} is true:
- cancel event
- make player execute command "/staffmode off"
- on damage of a player:
- if attacker's tool is a stick:
- 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!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement