Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Version: 1.1
- PM: &c&lERROR &7You do not have the rank &6sk.essentials&7.
- on join:
- if {rank%player%} is "Admin" or "Moderator":
- set {_versioncheck} to text from "https://pastebin.com/raw/thTVULVS"
- if {_versioncheck} is not "{@Version}":
- send "&e&lWARNING &7You are using an outdated version of &6skEssentials&7! Use the newist version:"
- else:
- send "&a&lSUCCESS &7You are using the newist version of &6skEssentials&7!"
- # GAMEMODES
- command /gmc [<offline player>]:
- trigger:
- if {rank%player%} is "Admin" or "Moderator":
- if arg 1 is not set:
- set the player's gamemode to creative
- send "&a&lSUCCESS &7Set your gamemode to &6creative&7."
- if arg 1 is set:
- if arg 1 is online:
- send "&a&lSUCCESS &7Set &6%arg-1%&7's gamemode to &6creative&7."
- set the arg 1's gamemode to creative
- send "&a&lSUCCESS &7Your gamemode has been set to &6creative&7 by an admin!" to arg 1
- if arg 1 is set:
- if arg 1 is offline:
- send "&c&lERROR &7The player &6%arg-1%&7 is not online."
- else:
- send "&c&lERROR &7You do not have the correct rank."
- command /gms [<offline player>]:
- trigger:
- if {rank%player%} is "Admin" or "Moderator":
- if arg 1 is not set:
- set the player's gamemode to survival
- send "&a&lSUCCESS &7Set your gamemode to &6survival&7."
- if arg 1 is set:
- if arg 1 is online:
- send "&a&lSUCCESS &7Set &6%arg-1%&7's gamemode to &6survival&7."
- set the arg 1's gamemode to survival
- send "&a&lSUCCESS &7Your gamemode has been set to &6survival&7 by an admin!" to arg 1
- if arg 1 is set:
- if arg 1 is offline:
- send "&c&lERROR &7The player &6%arg-1%&7 is not online."
- else:
- send "&c&lERROR &7You do not have the correct rank."
- command /gma [<offline player>]:
- trigger:
- if {rank%player%} is "Admin" or "Moderator":
- if arg 1 is not set:
- set the player's gamemode to adventure
- send "&a&lSUCCESS &7Set your gamemode to &6adventure&7."
- if arg 1 is set:
- if arg 1 is online:
- send "&a&lSUCCESS &7Set &6%arg-1%&7's gamemode to &6adventure&7."
- set the arg 1's gamemode to adventure
- send "&a&lSUCCESS &7Your gamemode has been set to &6adventure&7 by an admin!" to arg 1
- if arg 1 is set:
- if arg 1 is offline:
- send "&c&lERROR &7The player &6%arg-1%&7 is not online."
- else:
- send "&c&lERROR &7You do not have the correct rank."
- command /gmsp [<offline player>]:
- trigger:
- if {rank%player%} is "Admin" or "Moderator":
- if arg 1 is not set:
- set the player's gamemode to spectator
- send "&a&lSUCCESS &7Set your gamemode to &6spectator&7."
- if arg 1 is set:
- if arg 1 is online:
- send "&a&lSUCCESS &7Set &6%arg-1%&7's gamemode to &6spectator&7."
- set the arg 1's gamemode to spectator
- send "&a&lSUCCESS &7Your gamemode has been set to &6spectator&7 by an admin!" to arg 1
- if arg 1 is set:
- if arg 1 is offline:
- send "&c&lERROR &7The player &6%arg-1%&7 is not online."
- else:
- send "&c&lERROR &7You do not have the correct rank."
- # GENERAL COMMANDS
- command /ci [<offline player>]:
- trigger:
- if {rank%player%} is "Admin" or "Moderator":
- if arg 1 is not set:
- clear the player's inventory
- send "&a&lSUCCESS &7Cleared your inventory."
- if arg 1 is set:
- if arg 1 is online:
- send "&a&lSUCCESS &7Cleared &6%arg-1%&7's inventory."
- clear arg 1's inventory
- send "&a&lSUCCESS &7Your inventory has been cleared by an admin!" to arg 1
- if arg 1 is set:
- if arg 1 is offline:
- send "&c&lERROR &7The player &6%arg-1%&7 is not online."
- else:
- send "&c&lERROR &7You do not have the correct rank."
- command /afk [<offline player>]:
- trigger:
- if {afk::%player%} is false:
- set {afk::%player%} to true
- send "&a&lSUCCESS &7You have been set as AFK."
- broadcast "&7* &6%player% &7is now afk."
- else:
- set {afk::%player%} to false
- send "&a&lSUCCESS &7You have been set as no longer AFK."
- broadcast "&7* &6%player% &7is no longer afk."
- on any movement:
- if {afk::%player%} is true:
- set {afk::%player%} to false
- send "&a&lSUCCESS &7You have been set as no longer AFK."
- broadcast "&7* &6%player% &7is no longer afk."
- on chat:
- if {afk::%player%} is true:
- set {afk::%player%} to false
- send "&a&lSUCCESS &7You have been set as no longer AFK."
- broadcast "&7* &6%player% &7is no longer afk."
- on join:
- if {afk::%player%} is not set:
- set {afk::%player%} to false
- command /tp [<offline player>]:
- trigger:
- if {rank%player%} is "Admin" or "Moderator":
- if arg 1 is set:
- if arg 1 is online:
- teleport player to arg 1
- if arg 1 is not online:
- send "&c&lERROR &7That player is not online"
- if arg 1 is not set:
- send "&c&lERROR &7Enter a player."
- else:
- send "&c&lERROR &7You do not have the correct rank."
Advertisement
Add Comment
Please, Sign In to add comment