1c7

Untitled

1c7
Sep 30th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.81 KB | None | 0 0
  1. options:
  2. Version: 1.1
  3. PM: &c&lERROR &7You do not have the rank &6sk.essentials&7.
  4.  
  5. on join:
  6. if {rank%player%} is "Admin" or "Moderator":
  7. set {_versioncheck} to text from "https://pastebin.com/raw/thTVULVS"
  8. if {_versioncheck} is not "{@Version}":
  9. send "&e&lWARNING &7You are using an outdated version of &6skEssentials&7! Use the newist version:"
  10. else:
  11. send "&a&lSUCCESS &7You are using the newist version of &6skEssentials&7!"
  12.  
  13.  
  14. # GAMEMODES
  15. command /gmc [<offline player>]:
  16. trigger:
  17. if {rank%player%} is "Admin" or "Moderator":
  18. if arg 1 is not set:
  19. set the player's gamemode to creative
  20. send "&a&lSUCCESS &7Set your gamemode to &6creative&7."
  21. if arg 1 is set:
  22. if arg 1 is online:
  23. send "&a&lSUCCESS &7Set &6%arg-1%&7's gamemode to &6creative&7."
  24. set the arg 1's gamemode to creative
  25. send "&a&lSUCCESS &7Your gamemode has been set to &6creative&7 by an admin!" to arg 1
  26. if arg 1 is set:
  27. if arg 1 is offline:
  28. send "&c&lERROR &7The player &6%arg-1%&7 is not online."
  29. else:
  30. send "&c&lERROR &7You do not have the correct rank."
  31.  
  32. command /gms [<offline player>]:
  33. trigger:
  34. if {rank%player%} is "Admin" or "Moderator":
  35. if arg 1 is not set:
  36. set the player's gamemode to survival
  37. send "&a&lSUCCESS &7Set your gamemode to &6survival&7."
  38. if arg 1 is set:
  39. if arg 1 is online:
  40. send "&a&lSUCCESS &7Set &6%arg-1%&7's gamemode to &6survival&7."
  41. set the arg 1's gamemode to survival
  42. send "&a&lSUCCESS &7Your gamemode has been set to &6survival&7 by an admin!" to arg 1
  43. if arg 1 is set:
  44. if arg 1 is offline:
  45. send "&c&lERROR &7The player &6%arg-1%&7 is not online."
  46. else:
  47. send "&c&lERROR &7You do not have the correct rank."
  48.  
  49. command /gma [<offline player>]:
  50. trigger:
  51. if {rank%player%} is "Admin" or "Moderator":
  52. if arg 1 is not set:
  53. set the player's gamemode to adventure
  54. send "&a&lSUCCESS &7Set your gamemode to &6adventure&7."
  55. if arg 1 is set:
  56. if arg 1 is online:
  57. send "&a&lSUCCESS &7Set &6%arg-1%&7's gamemode to &6adventure&7."
  58. set the arg 1's gamemode to adventure
  59. send "&a&lSUCCESS &7Your gamemode has been set to &6adventure&7 by an admin!" to arg 1
  60. if arg 1 is set:
  61. if arg 1 is offline:
  62. send "&c&lERROR &7The player &6%arg-1%&7 is not online."
  63. else:
  64. send "&c&lERROR &7You do not have the correct rank."
  65.  
  66. command /gmsp [<offline player>]:
  67. trigger:
  68. if {rank%player%} is "Admin" or "Moderator":
  69. if arg 1 is not set:
  70. set the player's gamemode to spectator
  71. send "&a&lSUCCESS &7Set your gamemode to &6spectator&7."
  72. if arg 1 is set:
  73. if arg 1 is online:
  74. send "&a&lSUCCESS &7Set &6%arg-1%&7's gamemode to &6spectator&7."
  75. set the arg 1's gamemode to spectator
  76. send "&a&lSUCCESS &7Your gamemode has been set to &6spectator&7 by an admin!" to arg 1
  77. if arg 1 is set:
  78. if arg 1 is offline:
  79. send "&c&lERROR &7The player &6%arg-1%&7 is not online."
  80. else:
  81. send "&c&lERROR &7You do not have the correct rank."
  82.  
  83. # GENERAL COMMANDS
  84.  
  85. command /ci [<offline player>]:
  86. trigger:
  87. if {rank%player%} is "Admin" or "Moderator":
  88. if arg 1 is not set:
  89. clear the player's inventory
  90. send "&a&lSUCCESS &7Cleared your inventory."
  91. if arg 1 is set:
  92. if arg 1 is online:
  93. send "&a&lSUCCESS &7Cleared &6%arg-1%&7's inventory."
  94. clear arg 1's inventory
  95. send "&a&lSUCCESS &7Your inventory has been cleared by an admin!" to arg 1
  96. if arg 1 is set:
  97. if arg 1 is offline:
  98. send "&c&lERROR &7The player &6%arg-1%&7 is not online."
  99. else:
  100. send "&c&lERROR &7You do not have the correct rank."
  101.  
  102. command /afk [<offline player>]:
  103. trigger:
  104. if {afk::%player%} is false:
  105. set {afk::%player%} to true
  106. send "&a&lSUCCESS &7You have been set as AFK."
  107. broadcast "&7* &6%player% &7is now afk."
  108. else:
  109. set {afk::%player%} to false
  110. send "&a&lSUCCESS &7You have been set as no longer AFK."
  111. broadcast "&7* &6%player% &7is no longer afk."
  112. on any movement:
  113. if {afk::%player%} is true:
  114. set {afk::%player%} to false
  115. send "&a&lSUCCESS &7You have been set as no longer AFK."
  116. broadcast "&7* &6%player% &7is no longer afk."
  117. on chat:
  118. if {afk::%player%} is true:
  119. set {afk::%player%} to false
  120. send "&a&lSUCCESS &7You have been set as no longer AFK."
  121. broadcast "&7* &6%player% &7is no longer afk."
  122. on join:
  123. if {afk::%player%} is not set:
  124. set {afk::%player%} to false
  125.  
  126. command /tp [<offline player>]:
  127. trigger:
  128. if {rank%player%} is "Admin" or "Moderator":
  129. if arg 1 is set:
  130. if arg 1 is online:
  131. teleport player to arg 1
  132. if arg 1 is not online:
  133. send "&c&lERROR &7That player is not online"
  134. if arg 1 is not set:
  135. send "&c&lERROR &7Enter a player."
  136. else:
  137. send "&c&lERROR &7You do not have the correct rank."
Advertisement
Add Comment
Please, Sign In to add comment