Advertisement
Guest User

Untitled

a guest
Feb 24th, 2020
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 202.96 KB | None | 0 0
  1. # |-> Essentials << # |->> Skript developed by alexisl315 (Lennord)
  2.  
  3. # |-> The skript allows you to have a remake of the Essentials plugin.
  4.  
  5. # |-> Version: 1.15.5
  6.  
  7. # |-> %player% : This is a variable that allows you to put your nickname.
  8. # |-> %arg 1% : This is a variable that allows to put the argument indicate, you can change the number to infinity.
  9. # |-> %message% : This is a variable that can send a message to the game.
  10. # |-> %colored message% : This is a variable that sends a color message to the game.
  11. # |-> %loop-player% : This is a variable that allows you to group all players in the game.
  12. # |-> %player's location% : This is a variable that locates your coordinate.
  13. # |-> %player's world% : This is a variable that locates your position relative to a world.
  14. # |-> %player's level% : This is a variable that can locate your level of XP.
  15. # |-> %player's health% : This is a variable that can locate your life.
  16. # |-> %player's hunger% : This is a variable that can locate your hunger.
  17. # |-> %player's uuid% : This is a variable that can locate your skin.
  18. # |-> %player's gamemode% : This is a variable that locates your gamemode.
  19. # |-> %player's tool% : This is a variable that locates your item you have.
  20. # |-> %seed of player's world% : This is a variable that seed of player world.
  21.  
  22. options:
  23. # >> |- MESSAGE/CONFIG -|
  24.  
  25. Spawncooldown: 5
  26. Spawncooldownuse: true
  27. Teleportspawntodeath: true
  28. Teleportspawntojoin: true
  29.  
  30. Warpcooldown: 5
  31. Warpcooldownuse: true
  32.  
  33. Homecooldown: 5
  34. Homecooldownuse: true
  35.  
  36. Antiafkcooldown: 300
  37. Antiafkcooldownuse: true
  38.  
  39. Backcooldown: 5
  40. Backcooldownuse: true
  41.  
  42. Kitcooldown: 5
  43. Kitcooldownuse: true
  44.  
  45. Messagejoinquit: true
  46. Messagedeath: true
  47.  
  48. Weatherrain: true
  49. Weatherthunder: true
  50.  
  51. Emoticonuse: true
  52.  
  53. Damageall: true
  54.  
  55. Portailcreate: true
  56.  
  57. Maintenancecooldownuse: true
  58. Maintenancecooldown: 10
  59.  
  60. # You can add or remove messages in cooldown auto-message !
  61.  
  62. Cooldownautomessagemsg1: 60
  63. Cooldownautomessagemsg2: 120
  64.  
  65. Automessage: false
  66.  
  67. Clearlagtoentityarrows: true
  68. Clearlagtoentityitemsdropped: true
  69. Clearlagtoentityplayers: true
  70.  
  71. Removemoneytodeath: false
  72. Moneytodeath: 50
  73. Moneytodeathmessage1: &cYou lost
  74. Moneytodeathmessage2: &c€.
  75.  
  76. Nopermission: &cYou don't have permission.
  77. Noplayerconnect: &cThe player is not connected.
  78. Reloadmsg: &cYou have reloaded the plugin.
  79. Worldcreatefinish: &cThe world create is finish.
  80.  
  81. Motdtoserver: &6Welcome to the server%nl%&7Server Minigames/Survival... !
  82.  
  83. Errortoconsoleisnotplayerusecommands: &cYou can not use this command in the server console !
  84.  
  85. Join: &6The player &c%player% &6logged on to the server.
  86. Quit: &6The player &c%player% &6disconnected from the server.
  87. Firstjoin: &dWelcome to &c%player% &don the server !
  88. Death: &6The player &c%player% &6is death.
  89.  
  90. # >> For chat format, you will not be able to put << or >> it does not work.
  91.  
  92. Chatformat: &7%{nick.%player%}% &6: &f%message%
  93. Chatformatcolor: &7%{nick.%player%}% &6: &f%colored message%
  94.  
  95. Nobuild: &cYou could not build !
  96.  
  97. # >> COMMAND MESSAGE = /spawn, /setspawn, /delspawn -|
  98.  
  99. Setspawn: &7You have to place the spawn point !
  100. Nospawnpoint: &cThe spawn is not set !
  101. Spawncooldown1: &7You will be teleporting in
  102. Spawncooldown2: &7seconds !
  103. Spawnteleporting: &7Teleporting...
  104. Teleportspawnisplayer: &6You have been teleported to spawn by &c%player% &6!
  105. Teleportspawnisconsole: &6You have been teleported to spawn by &cConsole &6!
  106.  
  107. Deletespawn: &7You removed the spawn point.
  108.  
  109. # >> COMMAND MESSAGE = /heal, /feed -|
  110.  
  111. Feedtome: &7You have been satiated !
  112. Feedtoplayerisadmin: &6You have satisfied &c%arg 1% &6!
  113. Feedtoplayer: &6You have been satiated by &c%player% &6!
  114. Feedtoplayerconsole: &6You have been satiated by &cConsole &7!
  115.  
  116. Healtome: &7You have been neat !
  117. Healtoplayerisadmin: &6You have sneat &c%arg 1% &6!
  118. Healtoplayer: &6You have been neat by &c%player% &6!
  119. Healtoplayerconsole: &6You have been neat by &cConsole &7!
  120.  
  121. # >> COMMAND MESSAGE = /broadcast -|
  122.  
  123. Broadcast: &f%arg 1%
  124. Broadcastcolor: &f%coloured arg 1%
  125.  
  126. Broadcasttopanel: &f%line 3 of block%
  127.  
  128. # >> COMMAND MESSAGE = /suicide -|
  129.  
  130. Suicide: &c%player% &6is suicide !
  131.  
  132. # >> COMMAND MESSAGE = /clearinventory -|
  133.  
  134. Cleartome: &7You have deleted your inventory!
  135. Cleartoplayerisadmin: &6Your inventory has been deleted by &c%players%&6!
  136. Cleartoplayerisconsole: &6Your inventory has been deleted by &cConsole&6!
  137. Cleartoplayer: &6The player &c%arg 1% &6inventory has been deleted!
  138.  
  139. # >> COMMAND MESSAGE = /fly -|
  140.  
  141. Flytome: &7You can now fly !
  142. Noflytome: &7You can now no longer fly !
  143. Flytoplayer: &6You can now fly by &c%players% &6!
  144. Noflytoplayer: &6You can now no longer fly by &c%players% &6!
  145. Flytoplayerisadmin: &6The player &c%arg-1% &6can now fly !
  146. Noflytoplayerisadmin: &6The player &c%arg-1% &6can no longer fly !
  147. Flytoplayerisconsole: &6You can now fly by &cConsole &6!
  148. Noflytoplayerisconsole: &6You can now no longer fly by &cConsole &6!
  149.  
  150. # >> COMMAND MESSAGE = /me -|
  151.  
  152. Mebroadcast: &f* %player% &6>> &f%arg 1%
  153. Mebroadcastcolor: &f* %player% &6>> &f%coloured arg 1%
  154.  
  155. Mebroadcasttopanel: &f* %player% &6>> &f%line 3 of block%
  156.  
  157. # >> COMMAND MESSAGE = /gamemode -|
  158.  
  159. Gamemodetometosurvival: &7Your game mode has been updated: &cSurvival &7!
  160. Gamemodetometocreative: &7Your game mode has been updated: &cCreative &7!
  161. Gamemodetometoadventure: &7Your game mode has been updated: &cAdventure &7!
  162. Gamemodetometospectator: &7Your game mode has been updated: &cSpectator &7!
  163. Gamemodetoplayertosurvival: &6Your game mode has been updated by &c%players%&6: &cSurvival &7!
  164. Gamemodetoplayertocreative: &6Your game mode has been updated by &c%players%&6: &cCreative &7!
  165. Gamemodetoplayertoadventure: &6Your game mode has been updated by &c%players%&6: &cAdventure &7!
  166. Gamemodetoplayertospectator: &6Your game mode has been updated by &c%players%&6: &cSpectator &7!
  167. Gamemodetoplayerisconsoletosurvival: &6Your game mode has been updated by &cConsole&6: &cSurvival &7!
  168. Gamemodetoplayerisconsoletocreative: &6Your game mode has been updated by &cConsole&6: &cCreative &7!
  169. Gamemodetoplayerisconsoletoadventure: &6Your game mode has been updated by &cConsole&6: &cAdventure &7!
  170. Gamemodetoplayerisconsoletospectator: &6Your game mode has been updated by &cConsole&6: &cSpectator &7!
  171. Gamemodetoplayeradmintosurvival: &6The player game mode &c%arg 2%&6 has been updated: &cSurvival &7!
  172. Gamemodetoplayeradmintocreative: &6The player game mode &c%arg 2%&6 has been updated: &cCreative &7!
  173. Gamemodetoplayeradmintoadventure: &6The player game mode &c%arg 2%&6 has been updated: &cAdventure &7!
  174. Gamemodetoplayeradmintospectator: &6The player game mode &c%arg 2%&6 has been updated: &cSpectator &7!
  175.  
  176. # >> COMMAND MESSAGE = /motd -|
  177.  
  178. # >> You can change, add, remove phrases, sentences are between quotation marks after the wordd "send" !
  179. # >> To add a metter phrase, send at the same height as the other "send" and then enclose between your quotes !
  180. # >> To delete your sentence, remove the word "send" then your sentence that is between the quotation marks !
  181.  
  182. command /motd:
  183. permission: essentials.motd
  184. permission message: {@Nopermission}
  185. aliases: essentials:motd
  186. usage: &cError &6>> &f/motd
  187. trigger:
  188. send "&c_-_-_-_-_-_-_- &c&lMotd &c_-_-_-_-_-_-_-" to player
  189. send "&cWelcome to the server !" to player
  190. send "&c_-_-_-_-_-_-_- &c&lMotd &c_-_-_-_-_-_-_-" to player
  191. if {e-mail.%player%} > 0:
  192. send "&fYou have &c%{e-mail.%player%}% message ! &fEnter &c/mail read &fto see your mail." to player
  193. if {e-mail.%player%} < 0:
  194. send "&7You do not have mail." to player
  195.  
  196. options: # >> Continuation of message configuration !
  197.  
  198. # >> COMMAND MESSAGE = /helpop -|
  199.  
  200. Helpop: &c&l[&cHelpop&c&l] &c%player% &8: %arg 1%
  201.  
  202. # >> COMMAND MESSAGE = /freeze -|
  203.  
  204. Freezetome: &cYou are frozen !
  205. Freezetoplayeradmin: &c%arg 1% &chas been frozen !
  206. Nofreezetome: &cYou are unfrozen !
  207. Nofreezetoplayeradmin: &c%arg 1% &chas been unfrozen !
  208.  
  209. # >> COMMAND MESSAGE = /tp, /tpall, /tphere -|
  210.  
  211. Tpteleporting: &7Teleporting...
  212.  
  213. Tpallteleporting: &7Teleporting...
  214. Tpallteleportingisadmin: &7You have teleport of all players !
  215.  
  216. Tphereteleporting: &7Teleporting...
  217.  
  218. # >> COMMAND MESSAGE = /ignore, /unignore -|
  219.  
  220. Ignore: &7You ignore the player &c%arg 1% &7!
  221. Unignore: &7You do not know the player &c%arg 1% &7!
  222.  
  223. # >> COMMAND MESSAGE = /msg, /reply -|
  224.  
  225. Msgignore: &7You are unaware of this player.
  226.  
  227. Msgformattome: &7[&c%player% &7> %arg 1%] &6: &7%arg 2%
  228. Msgformattoplayer: &7[%player% > &c%arg 1%&7] &6: &7%arg 2%
  229. Msgformatcolortome: &7[&c%player% &7> %arg 1%] &6: &7%coloured arg 2%
  230. Msgformatcolortoplayer: &7[%player% > &c%arg 1%&7] &6: &7%coloured arg 2%
  231.  
  232. Replyformattome: &7[&c%player%&7] &6: &7%arg 1%
  233. Replyformattoplayer: &7[%player%] &6: &7%arg 1%
  234. Replyformatcolortome: &7[&c%player%&7] &6: &7%coloured arg 1%
  235. Replyformatcolortoplayer: &7[%player%] &6: &7%coloured arg 1%
  236.  
  237. # >> COMMAND MESSAGE = /warp, /setwarp, /delwarp, /warps -|
  238.  
  239. Nowarpset: &cThe warp %arg 1% &cdoes not exist !
  240.  
  241. Warpcreate: &7The warp &c%arg 1% &7has been successfully created !
  242. Warpdelete: &7The warp &c%arg 1% &7has been successfully deleted !
  243.  
  244. Warplist: &9Warps: &b%{warplist::*}%
  245. Warpteleporting: &7Teleporting...
  246.  
  247. Warpcooldown1: &7You will be teleporting in
  248. Warpcooldown2: &7seconds.
  249.  
  250. # >> COMMAND MESSAGE = /skull, /enderchest -|
  251.  
  252. Skull: &7You have given yourself a &c%arg 1% &7!
  253.  
  254. Enderchesttome: &7You have opened your enderchest !
  255. Enderchesttoplayer: &7You have opened of player &c%arg 1% &7enderchest !
  256.  
  257. # >> COMMAND MESSAGE = /afk -|
  258.  
  259. Afktome: &c%player% &6is now AFK !
  260. Noafktome: &c%player% &6is no longer AFK !
  261. Afktoplayer: &c%arg 1% &6is now AFK !
  262. Noafktoplayer: &c%arg 1% &6is no longer AFK !
  263. Afktomeisantiafk: &c%loop-player% &6is no longer AFK !
  264.  
  265. Afkkickreason: &cYou've been kick for afk !
  266.  
  267. # >> COMMAND MESSAGE = /night, /day, /time -|
  268.  
  269. Day: &7You set the day !
  270. Night: &7You set the night !
  271.  
  272. # >> COMMAND MESSAGE = /slap -|
  273.  
  274. Slaptome: &6You were slapped by &c%player% &7!
  275. Slaptoplayeradmin: &6The player &c%arg 1% &6has been slapped!
  276.  
  277. # >> COMMAND MESSAGE = /speed -|
  278.  
  279. Speedreset: &7You have removed your speed !
  280. Speedfly: &7You changed your speed !
  281. Speedwalk: &7You changed your speed !
  282.  
  283. # >> COMMAND MESSAGE = /mute, /unmute -|
  284.  
  285. Mutebroadcast: &c%arg 1% &7was silenced by &c%player% &7for &c%number argument% &7seconds !
  286. Unmutebroadcast: &c%player% &7gave the floor to &c%arg 1% &7!
  287. Unmutealready: &c%arg 1% &7already has the floor !
  288. Mute: &7You are silent again &c%{mute.seconds.%player%}% &7seconds !
  289. Unmutebroadcastisconsole: &cConsole &7gave the floor to &c%arg 1% &7!
  290. Mutebroadcastisconsole: &c%arg 1% &7was silenced by &cConsole &7for &c%number argument% &7seconds !
  291.  
  292. # >> COMMAND MESSAGE = /kick, /kickall -|
  293.  
  294. Kickbroadcastisplayer: &c%arg 1% &7has been expelled by &c%player% &7for &c%coloured arg 2%
  295. Kickbroadcastisconsole: &c%arg 1% &7has been expelled by &cConsole &7for &c%coloured arg 2%
  296. Kick: &cKicked for &c%coloured arg 2%
  297.  
  298. Kickall: &cKicked for &c%coloured arg 1%
  299.  
  300. # >> COMMAND MESSAGE = /home, /sethome, /homes, /delhome, /adminhome -|
  301.  
  302. Homeslist: &9Homes: &b%{homename.%player%::*}%
  303.  
  304. Hometeleporting: &7You have been teleported to your home !
  305. Nohome: &cYou do not have a home calling %arg 1% &7!
  306. Homedelete: &7You have deleted home &c%arg 1% &7!
  307. Homecreate: &7You created the home &c%arg 1% &7!
  308. Homealready: &7You already have the home &c%arg 1% &7!
  309. Adminhomereset: &7You have removed the player homes &c%arg 2% &7!
  310. Homecooldown1: &7You will be teleporting in
  311. Homecooldown2: &7seconds !
  312. Adminhomenohome: &cThere is no home calling %arg 3% !
  313. Adminhometeleporting: &6You have been teleported to a player home !
  314. Adminhomedelhome: &6You have removed &c%arg 3% &6for the player home &c%arg 2% &6!
  315. Adminhomesethome: &6You have set &c%arg 3% &6for the player home &c%arg 2% &6!
  316. Adminhomealready: &6Home &c%arg 3% &6already exists !
  317.  
  318. Adminhomehome: &9Homes: &b%{homename.%arg 2%::*}%
  319.  
  320. # >> You can delete or add permission to have numbers of home per homes.
  321. # >> You can add permissions by adding !
  322. #
  323. # if sender has permission "essentials.home.NAMEOFHOME" or "essentials.*":
  324. # if {homes.%player%} = NUMBEROFHOME ":
  325. # message "&7You can not set more than NAMEOFHOME homes!"
  326. # stop
  327.  
  328. command /sethome [<text>]:
  329. permission: essentials.sethome
  330. permission message: {@Nopermission}
  331. aliases: essentials:sethome
  332. executable by: players
  333. usage: &cError &6>> &f/sethome [home]
  334. trigger:
  335. if arg 1 is not set:
  336. send "&cError &6>> &f/sethome [home]"
  337. stop
  338. if arg 1 is set:
  339. if sender has permission "essentials.home.3" or "essentials.*":
  340. if {homes.%player%} = 3:
  341. send "&7You cannot set more than 3 homes!" to player
  342. stop
  343. if sender has permission "essentials.home.6" or "essentials.*":
  344. if {homes.%player%} = 6:
  345. send "&7You cannot set more than 6 homes!" to player
  346. stop
  347. if {home.%player%::%arg 1%} is set:
  348. send "{@Homealready}" to player
  349. if {home.%player%::%arg 1%} is not set:
  350. add 1 to {homes.%player%}
  351. send "{@Homecreate}" to player
  352. set {home.%player%::%arg 1%} to location of player
  353. set {homename.%player%::%arg 1%} to arg 1
  354. stop
  355.  
  356. options: # >> Continuation of message configuration!
  357.  
  358. # >> COMMAND MESSAGE = /nick -|
  359.  
  360. Nickredefine: &7You have redefined the player nickname &c%arg 1% &7!
  361. Nicktoplayeradmin: &7You have changed the nickname of &c%arg 1% &8in &c%coloured arg 2% &7!
  362. Nicktoplayer: &cYour nickname was changed !
  363.  
  364. # >> COMMAND MESSAGE = /money, /eco, /pay -|
  365.  
  366. Moneytome: &7You have &c%{money.%UUID of player%}% &c€ &7!
  367. Moneytoplayer: &7The player &c%arg 1% &7has &c%{money.%UUID of arg 1%}% &c€ &7!
  368.  
  369. Ecogivetoplayeradmin: &6You have to add &c%arg 3% &c€ &6to player &c%arg 2% &6!
  370. Ecogivetome: &c%player% &6you to add &c%arg 3% &c€ &6!
  371. Ecoremovetoplayeradmin: &6You have removed &c%arg 3% &c€ &6to player &c%arg 2% &7!
  372. Ecoremovetome: &c%player% &6has you removed %arg 3% &c€ &6!
  373. Ecoremovenomoneytome: &c%arg-2% does not have enough money !
  374. Ecosettoplayeradmin: &6You have to set &c%arg 3% &c€ &6to player &c%arg 2% &6!
  375. Ecosettome: &c%player% &6has set your money on &c%arg 3% &c€ &6!
  376.  
  377. Paynomoney: &cYou do not have enough money !
  378. Paynonumberpositive: &cYou can not put negative number !
  379. Paytome: &7You have sent &c%arg 2% &c€ &7to player &c%arg 1% &7!
  380. Paytoplayer: &c%player% &7you to send &c%arg 2% &c€ &7!
  381.  
  382. # >> COMMAND MESSAGE = /god -|
  383.  
  384. Godtome: &7You have activated your god mode !
  385. Nogodtome: &7You have disabled your god mode !
  386. Godtoplayer: &c%player% &6has activated your god mode !
  387. Nogodtoplayer: &c%player% &6has disabled your god mode !
  388. Godtoplayeradmin: &6The god mode of the &c%arg 1% &6player has been activated !
  389. Nogodtoplayeradmin: &6The god mode of the &c%arg 1% &6player has been disabled !
  390.  
  391. # >> COMMAND MESSAGE = /seen -|
  392.  
  393. Noplayerseen: &cYou have not defined the player to check !
  394. Seen: &7IP of &c%arg 1% &7: &c%{ip.%arg 1%}%
  395.  
  396. # >> COMMAND MESSAGE = /near -|
  397.  
  398. Near: &c%loop-value% &7is at &c(%{_locs::%{_m}%}%&cm) &7!
  399. Nearnoplayer: &cNo player in the vicinity !
  400.  
  401. # >> COMMAND MESSAGE = /getpos -|
  402.  
  403. Getpostome: &7%player%&6: &c%player's location% &c!
  404. Getpostoplayer: &7%arg 1%&6: &c%arg 1's location% &c!
  405.  
  406. # >> COMMAND MESSAGE = /list -|
  407.  
  408. list: &7Player(s) online&6: &c%{_list::*}% &c!
  409.  
  410. # >> COMMAND MESSAGE = /list -|
  411.  
  412. Backteleporting: &7Teleporting...
  413. Nobackpoint: &cYou have no back point for the return !
  414. Backcooldown1: &7You will be teleporting in
  415. Backcooldown2: &7seconds !
  416.  
  417. # >> COMMAND MESSAGE = /xp -|
  418.  
  419. Expshowtome: &7%player%&6: &c%player's level% &c!
  420. Expshowtoplayeradmin: &7%arg 2%&6: &c%level of arg 2% &c!
  421. Expsettoplayeradmin: &6The player's level bar &c%arg 2% &6has been changed !
  422. Expsettoplayer: &7Your level bar has been modified !
  423. Expgivetoplayeradmin: &6The player's level bar &c%arg 2% &6has been changed !
  424. Expgivetoplayer: &7Your level bar has been modified !
  425. Expremovetoplayeradmin: &6The player's level bar &c%arg 2% &6has been changed !
  426. Expremovetoplayer: &7Your level bar has been modified !
  427.  
  428. # >> COMMAND MESSAGE = /break, /antioch -|
  429.  
  430. Break: &cYou broke a block !
  431. Antioch: &cYou have launched a tnt !
  432.  
  433. # >> COMMAND MESSAGE = /seen -|
  434.  
  435. Seenyes: &cYes
  436. Seenno: &cNo
  437.  
  438. # You can change messages !
  439.  
  440. command /seen [<player>]:
  441. permission: essentials.seen
  442. permission message: {@Nopermission}
  443. aliases: essentials:seen
  444. executable by: players
  445. usage: &cError &6>> &f/seen [player]
  446. trigger:
  447. if arg 1 is not set:
  448. if {afk.%player%} is set:
  449. set {_afk} to "{@Seenyes}"
  450. else:
  451. set {_afk} to "{@Seenno}"
  452. if {essentials.god.%player%} is true:
  453. set {_god} to "{@Seenyes}"
  454. else:
  455. set {_god} to "{@Seenno}"
  456. if {mute.%arg-1%} is true:
  457. set {_mute} to "{@Seenyes}"
  458. else:
  459. set {_mute} to "{@Seenno}"
  460. if {banplayer.%player%} is true:
  461. set {_ban} to "{@Seenyes}"
  462. else:
  463. set {_ban} to "{@Seenno}"
  464. if {freeze.%player%.frozen.gm} is true:
  465. set {_freeze} to "{@Seenyes}"
  466. else:
  467. set {_freeze} to "{@Seenno}"
  468. if {vanish.%player%} is set:
  469. set {_vanish} to "{@Seenyes}"
  470. else:
  471. set {_vanish} to "{@Seenno}"
  472. send "&7-_-_-_-_-_-_-_ &c%player% &7-_-_-_-_-_-_-_" to player
  473. send "&7IP&6: &c%{ip.%player%}%" to player
  474. send "&7UUID&6: &c%player's uuid%" to player
  475. send "&7God mode&6: &c%{_god}%" to player
  476. send "&7Afk&6: &c%{_afk}%" to player
  477. send "&7Vanish&6: &c%{_vanish}%" to player
  478. send "&7Money&6: &c%{money.%UUID of player%}% &c€" to player
  479. send "&7Gamemode&6: &c%player's gamemode%" to player
  480. send "&7Freeze: &c%{_freeze}%" to player
  481. send "&7Mute&6: &c%{_mute}%" to player
  482. send "&7Ban&6: &c%{_ban}%" to player
  483. send "&7Coords&6: &c%player's location%" to player
  484. send "&7World&6: &c%player's world%" to player
  485. send "&7Exp&6: &c%player's level%" to player
  486. send "&7Health&6: &c%player's health%&c/10" to player
  487. send "&7Hunger&6: &c%player's hunger%&c/10" to player
  488. send "&7Seed world&6: &c%seed of player's world%" to player
  489. stop
  490. if arg 1 is online:
  491. if sender has permission "essentials.seen.others" or "essentials.*":
  492. if {afk.%argument 1%} is set:
  493. set {_afk} to "{@Seenyes}"
  494. else:
  495. set {_afk} to "{@Seenno}"
  496. if {essentials.god.%arg 1%} is true:
  497. set {_god} to "{@Seenyes}"
  498. else:
  499. set {_god} to "{@Seenno}"
  500. if {mute.%arg-1%} is true:
  501. set {_mute} to "{@Seenyes}"
  502. else:
  503. set {_mute} to "{@Seenno}"
  504. if {banplayer.%arg-1%} is true:
  505. set {_ban} to "{@Seenyes}"
  506. else:
  507. set {_ban} to "{@Seenno}"
  508. if {freeze.%argument%.frozen.gm} is true:
  509. set {_freeze} to "{@Seenyes}"
  510. else:
  511. set {_freeze} to "{@Seenno}"
  512. if {vanish.%arg 1%} is set:
  513. set {_vanish} to "{@Seenyes}"
  514. else:
  515. set {_vanish} to "{@Seenno}"
  516. send "&7-_-_-_-_-_-_-_ &c%arg 1% &7-_-_-_-_-_-_-_" to player
  517. send "&7IP&6: &c%{ip.%arg 1%}%" to player
  518. send "&7UUID&6: &c%arg 1's uuid%" to player
  519. send "&7God mode&6: &c%{_god}%" to player
  520. send "&7Afk&6: &c%{_afk}%" to player
  521. send "&7Vanish&6: &c%{_vanish}%" to player
  522. send "&7Money&6: &c%{money.%UUID of arg 1%}% &c€" to player
  523. send "&7Gamemode&6: &c%arg 1's gamemode%" to player
  524. send "&7Freeze: &c%{_freeze}%" to player
  525. send "&7Mute&6: &c%{_mute}%" to player
  526. send "&7Ban&6: &c%{_ban}%" to player
  527. send "&7Coords&6: &c%arg 1's location%" to player
  528. send "&7World&6: &c%arg 1's world%" to player
  529. send "&7Exp&6: &c%arg 1's level%" to player
  530. send "&7Health&6: &c%arg 1's health%&c/10" to player
  531. send "&7Hunger&6: &c%arg 1's hunger%&c/10" to player
  532. send "&7Seed world&6: &c%seed of arg 1's world%" to player
  533. stop
  534. if sender doesn't have permission "essentials.seen.others" or "essentials.*":
  535. send "{@Nopermission}" to player
  536. stop
  537.  
  538. options: # >> Continuation of message configuration !
  539.  
  540. # >> COMMAND MESSAGE = /workbench -|
  541.  
  542. Workbench: &7You have opened your workbench !
  543.  
  544. # >> COMMAND MESSAGE = /banip, /ban -|
  545.  
  546. Banipreasondefault: &cThe Ban Hammer has Spoken !
  547. Banip: &c%arg 1% &6has been IP-banned for
  548.  
  549. Banreasondefault: &cThe Ban Hammer has Spoken !
  550. Ban: &c%arg 1% &6has been banned for
  551.  
  552. Banalready: &cYou have already banned the player &c%arg 1% &c!
  553. Banipalready: &cYou have already banned [IP] from the player &c%arg 1% &c!
  554.  
  555. # >> COMMAND MESSAGE = /unban, /unbanip -|
  556.  
  557. Unban: &c%arg 1% &6was unbanned by &c%player% &6!
  558. Unbanip: &c%arg 1% &6was IP-unbanned by &c%player% &6!
  559. Unbantoconsole: &c%arg 1% &6was unbanned by &cConsole &6!
  560. Unbaniptoconsole: &c%arg 1% &6was IP-unbanned by &cConsole &6!
  561.  
  562. Unbanalready: &cYou already have unbanned for the player &c%arg 1% &c!
  563. Unbanipalready: &cYou already have an unbanned [IP] of player &c%arg 1% &c!
  564.  
  565. # >> COMMAND MESSAGE = /unlimited -|
  566.  
  567. Unlimitedenabletome: &6You have &cenabled &6the unlimited placing of blocks !
  568. Unlimiteddisabletome: &6You have &cdisabled &6the unlimited placing of blocks !
  569. Unlimitedenabletoplayeradmin: &6The unlimited placing of blocks has been enabled for &c%arg 1% &6!
  570. Unlimiteddisabletoplayeradmin: &6The unlimited placing of blocks has been disable for &c%arg 1% &6!
  571.  
  572. # >> COMMAND MESSAGE = /burn -|
  573.  
  574. Burntome: &6You have been burned by the player &c%player% &6!
  575. Burntoplayeradmin: &6You burned the player &c%arg 1% &6!
  576.  
  577. # >> COMMAND MESSAGE = /depth -|
  578.  
  579. Depthtome: &7You are &c%altitude of the player% &7blocks above bedrock !
  580. Depthtoplayeradmin: &c%arg 1% &7is &c%altitude of arg 1% &7blocks above bedrock !
  581.  
  582. # >> COMMAND MESSAGE = /ext -|
  583.  
  584. Exttome: &7You are no longer on fire !
  585. Exttoplayerme: &6You are no longer on fire by &c%player% &6!
  586. Exttoplayeradmin: &c%arg 1% &6is no longer on fire !
  587.  
  588. # >> COMMAND MESSAGE = /enchant -|
  589.  
  590. Enchanttoair: &cYou cannot enchant air !
  591. Enchant: &7Your item has been enchanted with &c%arg 1% &7!
  592.  
  593. # >> COMMAND MESSAGE = /fireball -|
  594.  
  595. Fireball: &cYou have launched a fireball !
  596.  
  597. # >> COMMAND MESSAGE = /tree, /bigtree -|
  598.  
  599. Tree: &7A tree has been grown above the block you are looking at !
  600.  
  601. # >> COMMAND MESSAGE = /deljail, /jail, /setjail, /jail -|
  602.  
  603. Deljailremove: &7Jail &c%arg 1% &7has been removed !
  604. Deljailnojail: &c%arg 1% &cis not a jail !
  605.  
  606. Jails: &7The current jails are&6: &c%{_jl::*}%
  607.  
  608. Setjailcreate: &7Jail &c%arg 1% &7has been set !
  609. Setjailalready: &cThe jail %arg 1% &calready exists !
  610.  
  611. Nojailplayeradmin: &c%arg 1% &7is no longer jailed !
  612. Jailplayeradmin: &c%arg 1% &7is now jailed !
  613. Nojailplayer: &cYou are no longer jailed by &c%player% &c!
  614. Jailplayer: &cYou are now jailed by &c%player% &c!
  615. Nojail: &c%arg 2% is not a jail !
  616.  
  617. Jailchat: &cYou cannot speak while in jail !
  618.  
  619. # >> COMMAND MESSAGE = /compass -|
  620.  
  621. Compasstome: &7Orientation: &c%player's facing% &7(&c%player's yaw% &cdegrees&7) !
  622. Compasstoplayer: &7Orientation of %arg 1%: &c%arg 1's facing% &7(&c%arg 1's yaw% &cdegrees&7) !
  623.  
  624. # >> COMMAND MESSAGE = /tpa, /tpaccept, /tpdeny, /tpo, /tpohere -|
  625.  
  626. Tpacooldownteleportuse: true
  627. Tpacooldownteleportinseconds: 10
  628.  
  629. Notpa: &cYou have no pending teleport requests !
  630. Tpa: &7You have a player request% player%, made &c/tpaccept &7or &c/tpdeny &7!
  631. Tpasendtoplayer: &7Teleport request sent to &c%arg 1% &7!
  632. Tpasendtoplayer2: &7Teleportation request for &c%player% &7!
  633. Tpaccept: &7Teleport request accepted !
  634. Tpacceptteleporting: &7Teleporting...
  635. Tpdeny: &7Teleport request deny !
  636.  
  637. Tpoteleporting: &7Teleporting...
  638. Tpoplayeradmin: &7Teleportation of &c%arg 1% &7towards &c%arg 2% &7!
  639.  
  640. Tpohereteleporting: &7Teleporting...
  641.  
  642. # >> MESSAGE CONSOLE LOADING -|
  643.  
  644. Loading: &7[Essentials] &6|-> &8Loading finish !
  645.  
  646. # >> COMMAND MESSAGE = /spawnmob -|
  647.  
  648. Spawnmob: &7You made spawn &c%arg 2% %arg 1% &7!
  649.  
  650. # >> COMMAND MESSAGE = /sudo -|
  651.  
  652. Sudo: &7You did well execute the command &c%arg 2% &7at &c%arg 1% &7!
  653.  
  654. # >> COMMAND MESSAGE = /repair -|
  655.  
  656. Repairtome: &7You have successfully repaired your: &c%player's tool% &7!
  657. Repairalltome: &7You have successfully repaired all your stuff !
  658. Repairalltoplayeradmin: &7You have successfully repaired the player's stuff &c%arg 2% &7!
  659. Repairalltoplayer: &7Your stuff has been repaired by &c%player% &7!
  660.  
  661. # >> COMMAND MESSAGE = /powertool -|
  662.  
  663. Powertooltoremove: &7All orders have been removed from &c%player's tool% &7!
  664. Powertool: &7Order &c%arg 1% &7assigned to &c%player's tool% &7!
  665.  
  666. # >> COMMAND MESSAGE = /mail -|
  667.  
  668. Mailread: &7To mark your mail as read, type &c/mail clear &7!
  669. Mailclear: &7All your e-mails have been deleted !
  670. Mailsendtoplayer: &c%player% &7sent you an e-mail !
  671. Mailsendtome: &7You sent the e-mail to the player &c%player% &7!
  672. Nomail: &7You do not have mail !
  673.  
  674. # >> COMMAND MESSAGE = /createkit, /deletekit, /kit, /kits -|
  675.  
  676. # ! >> To have a kit, you have to have the inventory empty ! << ! #
  677.  
  678. Createkit: &7The kit &c%arg 1% &7has been successfully created !
  679. Createkitalready: &cThe &c%arg 1% &ckit has already been created !
  680.  
  681. Deletekit: &7The kit &c%arg 1% &7has been successfully deleted !
  682. Deletekitalready: &cThe &c%arg 1% &ckit has already been removed !
  683.  
  684. kit: &7You have taken the kit &c%arg 1% &7!
  685. Nokit: &cThe kit &c%arg 1% &cdoes not exist !
  686.  
  687. Kitcooldown1: &7You will be teleporting in
  688. Kitcooldown2: &7seconds.
  689.  
  690. Kits: &9Kits: &b%{kit::*}%
  691.  
  692. # >> COMMAND MESSAGE = SIGN COMMANDS -|
  693.  
  694. Signcommands: &7You have to create a sign with a command !
  695.  
  696. Signwarpnowarp: &cYou are no warp !
  697. Signkitnokit: &cYou are no kit !
  698.  
  699. # >> COMMAND MESSAGE = OPEN TRASH COMMANDS -|
  700.  
  701. Trashname: &0&lTrash
  702. Trash: &7You opened the trash !
  703.  
  704. Trashnumberchest: 6
  705.  
  706. # >> COMMAND MESSAGE = DROP PERMISSION -|
  707.  
  708. Nodrop: &cYou do not have permission to drop an item !
  709.  
  710. # >> COMMAND MESSAGE = /vanish -|
  711.  
  712. Vanishtome: &7You are &cVanish &7!
  713. Novanishtome: &7You are no longer &cVanish &7!
  714. Vanishtoplayer: &7You are &cVanish &7!
  715. Novanishtoplayer: &7You are no longer &cVanish &7!
  716. Vanishtoplayeradmin: &6The player &c%arg 1% &6is now in vanish !
  717. Novanishtoplayeradmin: &6The player &c%arg 1% &6is no longer vanish !
  718.  
  719. # >> COMMAND MESSAGE = /hat -|
  720.  
  721. Hattome: &7You put a block that you have in your hand !
  722. Hattoplayer: &7Your hat was put by the player &c%player% &7!
  723. Hattoplayeradmin: &6You put a block block that you have in the hand to the player &c%arg 2% &6!
  724. Nohat: &7You do not have a hat !
  725. Hattoair: &cYou do not have a block or object as a hat !
  726.  
  727. # >> COMMAND MESSAGE = /weather -|
  728.  
  729. Weathertoclear: &7You suppressed rain or thunder !
  730. Weathertosun: &7You put the sun !
  731. Weathertorain: &7You put the rain !
  732. Weathertothunder: &7You put the thunder !
  733.  
  734. # >> COMMAND MESSAGE = /chat -|
  735.  
  736. Chatclear: &cThe broadcast has been deleted !
  737.  
  738. # >> COMMAND MESSAGE/CONFIG = BLOCK COMMAND -|
  739.  
  740. # You can change block command !
  741.  
  742. on command "/pl":
  743. if sender doesn't have permission "essentials.blockcommand.bypass" or "essentials.*":
  744. send "{@Nopermission}" to player
  745. cancel event
  746. stop
  747. if sender has permission "essentials.blockcommand.bypass" or "essentials.*":
  748. stop
  749.  
  750. on command "/plugins":
  751. if sender doesn't have permission "essentials.blockcommand.bypass" or "essentials.*":
  752. send "{@Nopermission}" to player
  753. cancel event
  754. stop
  755. if sender has permission "essentials.blockcommand.bypass" or "essentials.*":
  756. stop
  757.  
  758. on command "/?":
  759. if sender doesn't have permission "essentials.blockcommand.bypass" or "essentials.*":
  760. send "{@Nopermission}" to player
  761. cancel event
  762. stop
  763. if sender has permission "essentials.blockcommand.bypass" or "essentials.*":
  764. stop
  765.  
  766. on command "/ver":
  767. if sender doesn't have permission "essentials.blockcommand.bypass" or "essentials.*":
  768. send "{@Nopermission}" to player
  769. cancel event
  770. stop
  771. if sender has permission "essentials.blockcommand.bypass" or "essentials.*":
  772. stop
  773.  
  774. on command "/version":
  775. if sender doesn't have permission "essentials.blockcommand.bypass" or "essentials.*":
  776. send "{@Nopermission}" to player
  777. cancel event
  778. stop
  779. if sender has permission "essentials.blockcommand.bypass" or "essentials.*":
  780. stop
  781.  
  782. on command "/a":
  783. if sender doesn't have permission "essentials.blockcommand.bypass" or "essentials.*":
  784. send "{@Nopermission}" to player
  785. cancel event
  786. stop
  787. if sender has permission "essentials.blockcommand.bypass" or "essentials.*":
  788. stop
  789.  
  790. on command "/about":
  791. if sender doesn't have permission "essentials.blockcommand.bypass" or "essentials.*":
  792. send "{@Nopermission}" to player
  793. cancel event
  794. stop
  795. if sender has permission "essentials.blockcommand.bypass" or "essentials.*":
  796. stop
  797.  
  798. on command "/bukkit:about":
  799. if sender doesn't have permission "essentials.blockcommand.bypass" or "essentials.*":
  800. send "{@Nopermission}" to player
  801. cancel event
  802. stop
  803. if sender has permission "essentials.blockcommand.bypass" or "essentials.*":
  804. stop
  805.  
  806. on command "/bukkit:?":
  807. if sender doesn't have permission "essentials.blockcommand.bypass" or "essentials.*":
  808. send "{@Nopermission}" to player
  809. cancel event
  810. stop
  811. if sender has permission "essentials.blockcommand.bypass" or "essentials.*":
  812. stop
  813.  
  814. on command "/bukkit:ver":
  815. if sender doesn't have permission "essentials.blockcommand.bypass" or "essentials.*":
  816. send "{@Nopermission}" to player
  817. cancel event
  818. stop
  819. if sender has permission "essentials.blockcommand.bypass" or "essentials.*":
  820. stop
  821.  
  822. on command "/bukkit":
  823. if sender doesn't have permission "essentials.blockcommand.bypass" or "essentials.*":
  824. send "{@Nopermission}" to player
  825. cancel event
  826. stop
  827. if sender has permission "essentials.blockcommand.bypass" or "essentials.*":
  828. stop
  829.  
  830. on command "/icanhasbukkit":
  831. if sender doesn't have permission "essentials.blockcommand.bypass" or "essentials.*":
  832. send "{@Nopermission}" to player
  833. cancel event
  834. stop
  835. if sender has permission "essentials.blockcommand.bypass" or "essentials.*":
  836. stop
  837.  
  838. on command "/bukkit:plugins":
  839. if sender doesn't have permission "essentials.blockcommand.bypass" or "essentials.*":
  840. send "{@Nopermission}" to player
  841. cancel event
  842. stop
  843. if sender has permission "essentials.blockcommand.bypass" or "essentials.*":
  844. stop
  845.  
  846. on command "/bukkit:version":
  847. if sender doesn't have permission "essentials.blockcommand.bypass" or "essentials.*":
  848. send "{@Nopermission}" to player
  849. cancel event
  850. stop
  851. if sender has permission "essentials.blockcommand.bypass" or "essentials.*":
  852. stop
  853.  
  854. on command "/bukkit:pl":
  855. if sender doesn't have permission "essentials.blockcommand.bypass" or "essentials.*":
  856. send "{@Nopermission}" to player
  857. cancel event
  858. stop
  859. if sender has permission "essentials.blockcommand.bypass" or "essentials.*":
  860. stop
  861.  
  862. on command "/bukkit:a":
  863. if sender doesn't have permission "essentials.blockcommand.bypass" or "essentials.*":
  864. send "{@Nopermission}" to player
  865. cancel event
  866. stop
  867. if sender has permission "essentials.blockcommand.bypass" or "essentials.*":
  868. stop
  869.  
  870. on command "/bukkit:help":
  871. if sender doesn't have permission "essentials.blockcommand.bypass":
  872. send "{@Nopermission}" to player
  873. cancel event
  874. stop
  875. if sender has permission "essentials.blockcommand.bypass":
  876. stop
  877.  
  878. options: # >> Continuation of message configuration !
  879.  
  880. # >> COMMAND MESSAGE = /invsee -|
  881.  
  882. Invsee: &6You have opened inventory of &c%arg 1% &6!
  883.  
  884. # >> COMMAND MESSAGE = /lag -|
  885.  
  886. Clearlagentityarrows: &7You have clear &c%{_count}% &7entity arrows !
  887. Clearlagentityitemsdropped: &7You have clear &c%{_count}% &7entity dropped !
  888. Clearlagentityplayers: &7You have clear &c%{_count}% &7entity players !
  889.  
  890.  
  891. # >> COMMAND MESSAGE/CONFIG = AUTO MESSAGE -|
  892.  
  893. # >> You can add or delete messages by following the following:
  894.  
  895. #
  896. # every {@CooldownautomessagemsgNUMBER-FOR-MESSAGE} seconds:
  897. # if {@Automessage} is true:
  898. # broadcast "NAME OF MESSAGE..."
  899. # if {@Automessage} is false:
  900. # stop
  901.  
  902. every {@Cooldownautomessagemsg1} seconds:
  903. if {@Automessage} is true:
  904. broadcast "&7[&eBroadcast&7] &fHello the server !"
  905. if {@Automessage} is false:
  906. stop
  907.  
  908. options: # >> Continuation of message configuration !
  909.  
  910. # >> COMMAND MESSAGE = /maintenance -|
  911.  
  912. Maintenanceenablejoin: &cThe server is in maintenance !
  913. Maintenancekick: &cYou have been kicked from the server !
  914. Maintenancecooldown1: &cThe server will have a
  915. Maintenancecooldown2: &cseconds !
  916. Maintenanceenable: &cServer maintenance has been disabled !
  917. Maintenancealreadyenable: &6Server maintenance is already enabled !
  918. Maintenancealreadydisable: &6Server maintenance is already disabled !
  919.  
  920. # >> COMMAND MESSAGE = /seed -|
  921.  
  922. Seed: &7Seed: &6%seed of player's world% &7!
  923.  
  924. # >> COMMAND MESSAGE = /pvp -|
  925.  
  926. Pvptoenable: &7Pvp is enabled !
  927. Pvptodisable: &7Pvp is disable !
  928. Pvptoalreadyenable: &cPvp is already enabled !
  929. Pvptoalreadydisable: &cPvp is already disable !
  930.  
  931. # >> COMMAND MESSAGE = /thor -|
  932.  
  933. Thor: &7You have invoked a flash !
  934.  
  935. # >> COMMAND MESSAGE = /nuke -|
  936.  
  937. Nuke: &7You have invoked a tnt !
  938. Nukefallingtonumbersmeters: 10
  939.  
  940. # >> COMMAND MESSAGE = /fakebroadcastmessage (/fbm) -|
  941.  
  942. Fakebroadcastmessagetoop: &6The player &c%arg 2% &6as been put in op mode of the server !
  943. Fakebroadcastmessagetodeop: &6The player &c%arg 2% &6as been put in deop mode of the server !
  944. Fakebroadcastmessagetoplayerjoiningame: &6The player &c%arg 2% &6just connected to the server !
  945. Fakebroadcastmessagetoplayerfirstjoin: &6The player &c%arg 2% &6Just login for the first time !
  946.  
  947. # >> COMMAND MESSAGE = /bedteleport -|
  948.  
  949. Bedteleportteleporting: &7Teleporting...
  950. Bedteleportnotbedexisttome: &cYou do not have a bed !
  951. Bedteleportnotbedexisttoplayer: &cThe player &c%arg 1% &cdoes not have a bed !
  952. Bedteleportnotbedexisttoplayertopanel: &cThe player &c%line 3 of block% &cdoes not have a bed !
  953.  
  954. # >> COMMAND MESSAGE = /chunk -|
  955.  
  956. Slimechunktome: &7The chunk of location of player is a slime chunk !
  957. Slimechunktoplayeradmin: &7The chunk of location of &c%arg 1% &7is a slime chunk !
  958. Slimenochunktome: &7The chunk of location of player is not a slime chunk !
  959. Slimenochunktoplayeradmin: &7The chunk of location of &c%arg 1% &7is not a slime chunk !
  960.  
  961. # >> COMMAND MESSAGE = /op, /deop -|
  962.  
  963. Optoplayertome: &7You put operator the player &c%arg 1% &7!
  964. Optoplayertoplayer: &7You have been put operator by the player &c%player% &7!
  965. Optoconsoletoplayer: &7You have been put operator by the &cConsole &7!
  966. Optoconsole: &7You put operator the player &c%arg 1% &7!
  967. Optoalready: &7You already put operator the player &c%arg 1% &7!
  968.  
  969. Deoptoplayertome: &7You have removed the &c%arg 1% &7operator !
  970. Deoptoplayertoplayer: &7You have been put deoperator by the player &c%player% &7!
  971. Deoptoconsoletoplayer: &7You have been put deoperator by the &cConsole &7!
  972. Deoptoconsole: &7You have removed the &c%arg 1% &7operator !
  973. Deoptoalready: &7You already put deoperator the player &c%arg 1% &7!
  974.  
  975. # ___ ______ ______ ______ ______ ______ ______ ______ ______ ___ #
  976. # __)(__ __)(__ __)(__ __)(__ __)(__ __)(__ __)(__ __)(__ __)(__ #
  977. # (______)(______)(______)(______)(______)(______)(______)(______)(______) #
  978. #
  979. # THE CODE
  980. # ___ ______ ______ ______ ______ ______ ______ ______ ______ ___ #
  981. # __)(__ __)(__ __)(__ __)(__ __)(__ __)(__ __)(__ __)(__ __)(__ #
  982. # (______)(______)(______)(______)(______)(______)(______)(______)(______) #
  983.  
  984. on sign change:
  985. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.fly" or "essentials.*":
  986. if line 1 is "[Essentials]":
  987. if line 2 is "Fly":
  988. set line 1 of block to ""
  989. set line 2 of block to "&1[Fly]"
  990. send "{@Signcommands}" to player
  991. stop
  992. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.fly" or "essentials.*":
  993. stop
  994.  
  995. on right click on sign:
  996. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.fly" or "essentials.*":
  997. if line 2 of block is "&1[Fly]":
  998. if {fly.%player%} is not set:
  999. send "{@Flytome}" to player
  1000. set player's flight mode to true
  1001. set {fly.%player%} to true
  1002. stop
  1003. if {fly.%player%} is set:
  1004. send "{@Noflytome}" to player
  1005. set player's flight mode to false
  1006. delete {fly.%player%}
  1007. stop
  1008. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.fly" or "essentials.*":
  1009. stop
  1010.  
  1011. on sign change:
  1012. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.bedteleport" or "essentials.*":
  1013. if line 1 is "[Essentials]":
  1014. if line 2 is "Bedteleport":
  1015. set line 1 of block to ""
  1016. set line 2 of block to "&1[Bedteleport]"
  1017. send "{@Signcommands}" to player
  1018. stop
  1019. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.bedteleport" or "essentials.*":
  1020. stop
  1021.  
  1022. on right click on sign:
  1023. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.bedteleport" or "essentials.*":
  1024. if line 2 of block is "&1[Bedteleport]":
  1025. if bed of player exists:
  1026. teleport player to bed of player
  1027. send "{@Bedteleportteleporting}" to player
  1028. stop
  1029. if bed of player is not set:
  1030. send "{@Bedteleportnotbedexisttoplayertopanel}" to player
  1031. stop
  1032. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.bedteleport" or "essentials.*":
  1033. stop
  1034.  
  1035. command /op [<offline player>]:
  1036. permission: essentials.op
  1037. executable by: players, console
  1038. permission message: {@Nopermission}
  1039. usage: &cError &6>> &f/op [player]
  1040. aliases: essentials:op, operator, essentials:operator
  1041. trigger:
  1042. if sender is a player:
  1043. if {essentials.op.%arg 1%} is not set:
  1044. if arg 1 is not set:
  1045. send "&cError &6>> &f/op [player]" to player
  1046. stop
  1047. if arg 1 is set:
  1048. send "{@Optoplayertome}" to player
  1049. send "{@Optoplayertoplayer}" to arg 1
  1050. set {essentials.op.%arg 1%} to true
  1051. op the arg 1
  1052. stop
  1053. if {essentials.op.%arg 1%} is true:
  1054. if arg 1 is not set:
  1055. send "&cError &6>> &f/op [player]" to player
  1056. stop
  1057. if arg 1 is set:
  1058. send "{@Optoalready}" to player
  1059. stop
  1060. if sender is console:
  1061. if {essentials.op.%arg 1%} is not set:
  1062. if arg 1 is not set:
  1063. send "&cError &6>> &f/op [player]" to console
  1064. stop
  1065. if arg 1 is set:
  1066. send "{@Optoconsole}" to console
  1067. send "{@Optoconsoletoplayer}" to arg 1
  1068. set {essentials.op.%arg 1%} to true
  1069. op the arg 1
  1070. stop
  1071. if {essentials.op.%arg 1%} is true:
  1072. if arg 1 is not set:
  1073. send "&cError &6>> &f/op [player]" to player
  1074. stop
  1075. if arg 1 is set:
  1076. send "{@Optoalready}" to player
  1077. stop
  1078.  
  1079. command /deop [<offline player>]:
  1080. permission: essentials.deop
  1081. executable by: players, console
  1082. permission message: {@Nopermission}
  1083. usage: &cError &6>> &f/deop [player]
  1084. aliases: essentials:deop, deoperator, essentials:deoperator
  1085. trigger:
  1086. if sender is a player:
  1087. if {essentials.op.%arg 1%} is true:
  1088. if arg 1 is not set:
  1089. send "&cError &6>> &f/deop [player]" to player
  1090. stop
  1091. if arg 1 is set:
  1092. send "{@Deoptoplayertome}" to player
  1093. send "{@Deoptoplayertoplayer}" to arg 1
  1094. delete {essentials.op.%arg 1%}
  1095. deop the arg 1
  1096. stop
  1097. if {essentials.op.%arg 1%} is not set:
  1098. if arg 1 is not set:
  1099. send "&cError &6>> &f/deop [player]" to player
  1100. stop
  1101. if arg 1 is set:
  1102. send "{@Deoptoalready}" to player
  1103. stop
  1104. if sender is console:
  1105. if {essentials.op.%arg 1%} is true:
  1106. if arg 1 is not set:
  1107. send "&cError &6>> &f/deop [player]" to console
  1108. stop
  1109. if arg 1 is set:
  1110. send "{@Deoptoconsole}" to console
  1111. send "{@Deoptoconsoletoplayer}" to arg 1
  1112. delete {essentials.op.%arg 1%}
  1113. deop the arg 1
  1114. stop
  1115. if {essentials.op.%arg 1%} is not set:
  1116. if arg 1 is not set:
  1117. send "&cError &6>> &f/deop [player]" to player
  1118. stop
  1119. if arg 1 is set:
  1120. send "{@Deoptoalready}" to player
  1121. stop
  1122.  
  1123. command /chunkslime [<offline player>]:
  1124. permission: essentials.chunkslime
  1125. executable by: players, console
  1126. permission message: {@Nopermission}
  1127. usage: &cError &6>> &f/chunkslime [player]
  1128. aliases: essentials:chunkslime
  1129. trigger:
  1130. if sender is a player:
  1131. if arg 1 is not set:
  1132. if chunk at player is a slime chunk:
  1133. send "{@Slimechunktome}" to player
  1134. stop
  1135. if chunk at player is not a slime chunk:
  1136. send "{@Slimenochunktome}" to player
  1137. stop
  1138. if arg 1 is offline:
  1139. send "&cError &6>> &f/chunkslime [player]" to player
  1140. stop
  1141. if arg 1 is online:
  1142. if sender has permission "essentials.chunkslime.others" or "essentials.*":
  1143. if chunk at arg 1 is a slime chunk:
  1144. send "{@Slimechunktoplayeradmin}" to player
  1145. stop
  1146. if chunk at arg 1 is not a slime chunk:
  1147. send "{@Slimenochunktoplayeradmin}" to player
  1148. stop
  1149. if sender doesn't have permission "essentials.chunkslime.others" or "essentials.*":
  1150. send "{@Nopermission}" to player
  1151. stop
  1152. if sender is console:
  1153. send "{@Errortoconsoleisnotplayerusecommands}" to console
  1154. stop
  1155.  
  1156. on world init:
  1157. send "{@Worldcreatefinish}" to console
  1158. stop
  1159.  
  1160. command /bedteleport [<offline player>]:
  1161. permission: essentials.bedteleport
  1162. executable by: players, console
  1163. permission message: {@Nopermission}
  1164. usage: &cError &6>> &f/bt [player]
  1165. aliases: essentials:bedteleport, bt, essentials:bt
  1166. trigger:
  1167. if sender is a player:
  1168. if arg 1 is not set:
  1169. if bed of player exists:
  1170. teleport player to bed of player
  1171. send "{@Bedteleportteleporting}" to player
  1172. stop
  1173. if bed of player is not set:
  1174. send "{@Bedteleportnotbedexisttome}" to player
  1175. stop
  1176. if arg 1 is set:
  1177. if sender has permission "essentials.bedteleport.others" or "essentials.*":
  1178. if bed of arg 1 exists:
  1179. teleport player to bed of arg 1
  1180. send "{@Bedteleportteleporting}" to player
  1181. stop
  1182. if bed of arg 1 is not set:
  1183. send "{@Bedteleportnotbedexisttoplayer}" to player
  1184. stop
  1185. if sender doesn't have permission "essentials.bedteleport.others" or "essentials.*":
  1186. send "{@Nopermission}" to player
  1187. stop
  1188. if sender is console:
  1189. send "{@Errortoconsoleisnotplayerusecommands}" to console
  1190. stop
  1191.  
  1192. on rightclick with fishing rod:
  1193. if player has permission "essentials.grapple" or "essentials.*":
  1194. if {grapple.%player%.use} is not set:
  1195. set {grapple.%player%.use} to true
  1196. stop
  1197. if {grapple.%player%.use} is true:
  1198. teleport player to target block
  1199. delete {grapple.%player%.use}
  1200. stop
  1201. if player doesn't have permission "essentials.grapple" or "essentials.*":
  1202. stop
  1203.  
  1204. command /fakebroadcastmessage [<text>] [<offline player>]:
  1205. permission: essentials.fakebroadcastmessage
  1206. executable by: players, console
  1207. permission message: {@Nopermission}
  1208. usage: &cError &6>> &f/fbm [fake message/list] [player]
  1209. aliases: essentials:fakebroadcastmessage, essentials:fbm, fbm
  1210. trigger:
  1211. if sender is a player:
  1212. if arg 1 is not set:
  1213. send "&cError &6>> &f/fbm [fake message/list] [player]" to player
  1214. stop
  1215. if arg 1 is not "list" or "op" or "deop" or "playerisconnected" or "firstjoin":
  1216. send "&cError &6>> &f/fbm [fake message/list] [player]" to player
  1217. stop
  1218. if arg 1 is "list":
  1219. if arg 2 is not set:
  1220. if sender has permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.list" or "essentials.*":
  1221. send "&7List of fake message&6: &7OP/DEOP/PLAYERISCONNECTED/FIRSTJOIN" to player
  1222. stop
  1223. if sender doesn't have permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.list" or "essentials.*":
  1224. send "{@Nopermission}" to player
  1225. stop
  1226. if arg 2 is set:
  1227. if sender has permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.list" or "essentials.*":
  1228. send "&cError &6>> &f/fbm [fake message/list] [player]" to player
  1229. stop
  1230. if sender doesn't have permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.list" or "essentials.*":
  1231. send "{@Nopermission}" to player
  1232. stop
  1233. if arg 1 is "op":
  1234. if arg 2 is not set:
  1235. if sender has permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.op" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1236. send "&cError &6>> &f/fbm [fake message/list] [player]" to player
  1237. stop
  1238. if sender doesn't have permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.op" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1239. send "{@Nopermission}" to player
  1240. stop
  1241. if arg 2 is online:
  1242. if sender has permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.op" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1243. broadcast "{@Fakebroadcastmessagetoop}"
  1244. stop
  1245. if sender doesn't have permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.op" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1246. send "{@Nopermission}" to player
  1247. stop
  1248. if arg 2 is offline:
  1249. if sender has permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.op" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1250. send "{@Noplayerconnect}" to player
  1251. stop
  1252. if sender doesn't have permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.op" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1253. send "{@Nopermission}" to player
  1254. stop
  1255. if arg 1 is "deop":
  1256. if arg 2 is not set:
  1257. if sender has permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.deop" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1258. send "&cError &6>> &f/fbm [fake message/list] [player]" to player
  1259. stop
  1260. if sender doesn't have permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.deop" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1261. send "{@Nopermission}" to player
  1262. stop
  1263. if arg 2 is online:
  1264. if sender has permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.deop" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1265. broadcast "{@Fakebroadcastmessagetodeop}"
  1266. stop
  1267. if sender doesn't have permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.deop" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1268. send "{@Nopermission}" to player
  1269. stop
  1270. if arg 2 is offline:
  1271. if sender has permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.deop" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1272. send "{@Noplayerconnect}" to player
  1273. stop
  1274. if sender doesn't have permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.deop" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1275. send "{@Nopermission}" to player
  1276. stop
  1277. if arg 1 is "playerisconnected":
  1278. if arg 2 is not set:
  1279. if sender has permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.playerisconnected" or "essentials.*":
  1280. send "&cError &6>> &f/fbm [fake message/list] [player]" to player
  1281. stop
  1282. if sender doesn't have permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.playerisconnected" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1283. send "{@Nopermission}" to player
  1284. stop
  1285. if arg 2 is online:
  1286. if sender has permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.playerisconnected" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1287. broadcast "{@Fakebroadcastmessagetoplayerjoiningame}"
  1288. stop
  1289. if sender doesn't have permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.playerisconnected" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1290. send "{@Nopermission}" to player
  1291. stop
  1292. if arg 2 is offline:
  1293. if sender has permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.playerisconnected" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1294. send "{@Noplayerconnect}" to player
  1295. stop
  1296. if sender doesn't have permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.playerisconnected" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1297. send "{@Nopermission}" to player
  1298. stop
  1299. if arg 1 is "firstjoin":
  1300. if arg 2 is not set:
  1301. if sender has permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.firstjoin" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1302. send "&cError &6>> &f/fbm [fake message/list] [player]" to player
  1303. stop
  1304. if sender doesn't have permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.firstjoin" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1305. send "{@Nopermission}" to player
  1306. stop
  1307. if arg 2 is online:
  1308. if sender has permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.firstjoin" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1309. broadcast "{@Fakebroadcastmessagetoplayerfirstjoin}"
  1310. stop
  1311. if sender doesn't have permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.firstjoin" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1312. send "{@Nopermission}" to player
  1313. stop
  1314. if arg 2 is offline:
  1315. if sender has permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.firstjoin" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1316. send "{@Noplayerconnect}" to player
  1317. stop
  1318. if sender doesn't have permission "essentials.fakebroadcastmessage.*" or "essentials.fakebroadcastmessage.fakes.firstjoin" or "essentials.fakebroadcastmessage.fakes.*" or "essentials.*":
  1319. send "{@Nopermission}" to player
  1320. stop
  1321. if sender is console:
  1322. if arg 1 is "list":
  1323. send "&7List of fake message&6: &7OP/DEOP/PLAYERISCONNECTED/FIRSTJOIN" to console
  1324. stop
  1325. if arg 1 is not set:
  1326. send "&cError &6>> &f/fbm [fake message/list] [player]" to console
  1327. stop
  1328. if arg 1 is not "list" or "op" or "deop" or "playerisconnected" or "firstjoin":
  1329. send "&cError &6>> &f/fbm [fake message/list] [player]" to console
  1330. stop
  1331. if arg 1 is "list":
  1332. if arg 2 is not set:
  1333. send "&7List of fake message&6: &7OP/DEOP" to console
  1334. stop
  1335. if arg 2 is set:
  1336. send "&cError &6>> &f/fbm [fake message/list] [player]" to console
  1337. stop
  1338. if arg 1 is "op":
  1339. if arg 2 is not set:
  1340. send "&cError &6>> &f/fbm [fake message/list] [player]" to console
  1341. stop
  1342. if arg 2 is online:
  1343. broadcast "{@Fakebroadcastmessagetoop}"
  1344. stop
  1345. if arg 2 is offline:
  1346. send "{@Noplayerconnect}" to console
  1347. stop
  1348. if arg 1 is "deop":
  1349. if arg 2 is not set:
  1350. send "&cError &6>> &f/fbm [fake message/list] [player]" to console
  1351. stop
  1352. if arg 2 is online:
  1353. broadcast "{@Fakebroadcastmessagetodeop}"
  1354. stop
  1355. if arg 2 is offline:
  1356. send "{@Noplayerconnect}" to console
  1357. stop
  1358. if arg 1 is "playerisconnected":
  1359. if arg 2 is not set:
  1360. send "&cError &6>> &f/fbm [fake message/list] [player]" to console
  1361. stop
  1362. if arg 2 is online:
  1363. broadcast "{@Fakebroadcastmessagetoplayerjoiningame}"
  1364. stop
  1365. if arg 2 is offline:
  1366. send "{@Noplayerconnect}" to console
  1367. stop
  1368. if arg 1 is "firstjoin":
  1369. if arg 2 is not set:
  1370. send "&cError &6>> &f/fbm [fake message/list] [player]" to console
  1371. stop
  1372. if arg 2 is online:
  1373. broadcast "{@Fakebroadcastmessagetoplayerfirstjoin}"
  1374. stop
  1375. if arg 2 is offline:
  1376. send "{@Noplayerconnect}" to console
  1377. stop
  1378.  
  1379. on sign change:
  1380. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.seed" or "essentials.*":
  1381. if line 1 is "[Essentials]":
  1382. if line 2 is "Seed":
  1383. set line 1 of block to ""
  1384. set line 2 of block to "&1[Seed]"
  1385. send "{@Signcommands}" to player
  1386. stop
  1387. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.seed" or "essentials.*":
  1388. stop
  1389.  
  1390. on right click on sign:
  1391. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.seed" or "essentials.*":
  1392. if line 2 of block is "&1[Seed]":
  1393. send "{@Seed}" to player
  1394. stop
  1395. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.seed" or "essentials.*":
  1396. stop
  1397.  
  1398. command /nuke:
  1399. permission: essentials.nuke
  1400. executable by: players, console
  1401. permission message: {@Nopermission}
  1402. usage: &cError &6>> &f/nuke
  1403. aliases: essentials:nuke
  1404. trigger:
  1405. if sender is a player:
  1406. send "{@Nuke}" to player
  1407. spawn a falling tnt {@Nukefallingtonumbersmeters} meters above the event-block
  1408. stop
  1409. if sender is console:
  1410. send "{@Errortoconsoleisnotplayerusecommands}" to console
  1411. stop
  1412.  
  1413. command /thor:
  1414. permission: essentials.thor
  1415. executable by: players, console
  1416. permission message: {@Nopermission}
  1417. usage: &cError &6>> &f/thor
  1418. aliases: essentials:thor
  1419. trigger:
  1420. if sender is a player:
  1421. send "{@Thor}" to player
  1422. strike lightning at the targeted block
  1423. stop
  1424. if sender is console:
  1425. send "{@Errortoconsoleisnotplayerusecommands}" to console
  1426. stop
  1427.  
  1428. command /pvp [<text>]:
  1429. permission: essentials.pvp
  1430. executable by: players, console
  1431. permission message: {@Nopermission}
  1432. usage: &cError &6>> &f/pvp [enable/disable | on/off]
  1433. aliases: essentials:pvp
  1434. trigger:
  1435. if sender is a player:
  1436. if arg 1 is not set:
  1437. send "&cError &6>> &f/pvp [enable/disable | on/off]" to player
  1438. stop
  1439. if arg 1 is not "enable" or "on" or "disable" or "off":
  1440. send "&cError &6>> &f/pvp [enable/disable | on/off]" to player
  1441. stop
  1442. if arg 1 is "enable" or "on":
  1443. if sender has permission "essentials.pvp.*" or "essentials.pvp.enable" or "essentials.*":
  1444. if {pvp.enable} is not set:
  1445. send "{@Pvptoenable}" to player
  1446. enable PvP in the event-world
  1447. set {pvp.enable} to true
  1448. stop
  1449. if {pvp.enable} is true:
  1450. send "{@Pvptoalreadyenable}" to player
  1451. stop
  1452. if sender doesn't have permission "essentials.pvp.*" or "essentials.pvp.enable" or "essentials.*":
  1453. send "{@Nopermission}" to player
  1454. stop
  1455. if arg 1 is "disable" or "off":
  1456. if sender has permission "essentials.pvp.*" or "essentials.pvp.disable" or "essentials.*":
  1457. if {pvp.enable} is true:
  1458. send "{@Pvptodisable}" to player
  1459. disable PvP in the event-world
  1460. delete {pvp.enable}
  1461. stop
  1462. if {pvp.enable} is not set:
  1463. send "{@Pvptoalreadydisable}" to player
  1464. stop
  1465. if sender doesn't have permission "essentials.pvp.*" or "essentials.pvp.disable" or "essentials.*":
  1466. send "{@Nopermission}" to player
  1467. stop
  1468. if sender is console:
  1469. send "{@Errortoconsoleisnotplayerusecommands}" to console
  1470. stop
  1471.  
  1472. command /seed:
  1473. permission: essentials.seed
  1474. executable by: players, console
  1475. permission message: {@Nopermission}
  1476. usage: &cError &6>> &f/seed
  1477. aliases: essentials:seed
  1478. trigger:
  1479. if sender is a player:
  1480. send "{@Seed}" to player
  1481. stop
  1482. if sender is console:
  1483. send "{@Errortoconsoleisnotplayerusecommands}" to console
  1484. stop
  1485.  
  1486. on server list ping:
  1487. set the motd to "{@Motdtoserver}"
  1488. stop
  1489.  
  1490. command /lag [<text>]:
  1491. permission: essentials.lag
  1492. executable by: players, console
  1493. permission message: {@Nopermission}
  1494. usage: &cError &6>> &f/lag [clear]
  1495. aliases: essentials:lag
  1496. trigger:
  1497. if sender is a player:
  1498. if arg 1 is not set:
  1499. send "&cError &6>> &f/lag [clear]" to player
  1500. stop
  1501. if arg 1 is not "clear":
  1502. send "&cError &6>> &f/lag [clear]" to player
  1503. stop
  1504. if arg 1 is "clear":
  1505. if sender has permission "essentials.lag.*" or "essentials.lag.clear" or "essentials.*":
  1506. clear {_count}
  1507. if {_count} is not set:
  1508. set {_count} to 0
  1509. if {@Clearlagtoentityarrows} is true:
  1510. loop entities:
  1511. loop-entity is arrows
  1512. clear loop-entity
  1513. add 1 to {_count}
  1514. send "{@Clearlagentityarrows}" to player
  1515. if {@Clearlagtoentityitemsdropped} is true:
  1516. loop entities:
  1517. loop-entity is a dropped item
  1518. clear loop-entity
  1519. add 1 to {_count}
  1520. send "{@Clearlagentityitemsdropped}" to player
  1521. if {@Clearlagtoentityitemsdropped} is false:
  1522. stop
  1523. if {@Clearlagtoentityplayers} is false:
  1524. stop
  1525. if sender doesn't have permission "essentials.lag.*" or "essentials.lag.clear" or "essentials.*":
  1526. send "{@Nopermission}" to player
  1527. stop
  1528. if sender is console:
  1529. send "{@Errortoconsoleisnotplayerusecommands}" to console
  1530. stop
  1531.  
  1532. command /chat [<text>]:
  1533. permission: essentials.chat
  1534. executable by: players, console
  1535. permission message: {@Nopermission}
  1536. usage: &cError &6>> &f/chat [clear]
  1537. aliases: essentials:chat
  1538. trigger:
  1539. if sender is a player:
  1540. if arg 1 is not set:
  1541. send "&cError &6>> &f/chat [clear]" to player
  1542. stop
  1543. if arg 1 is not "clear":
  1544. send "&cError &6>> &f/chat [clear]" to player
  1545. stop
  1546. if arg 1 is "clear":
  1547. if sender has permission "essentials.chat.*" or "essentials.chat.clear" or "essentials.*":
  1548. loop 300 times:
  1549. broadcast ""
  1550. broadcast "{@Chatclear}"
  1551. stop
  1552. if sender doesn't have permission "essentials.chat.*" or "essentials.chat.clear" or "essentials.*":
  1553. send "{@Nopermission}" to player
  1554. stop
  1555. if sender is console:
  1556. send "{@Errortoconsoleisnotplayerusecommands}" to console
  1557. stop
  1558.  
  1559. on sign change:
  1560. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.me" or "essentials.*":
  1561. if line 1 is "[Essentials]":
  1562. if line 2 is "Me":
  1563. set line 1 of block to ""
  1564. set line 2 of block to "&1[Me]"
  1565. set line 3 of block to line 3
  1566. send "{@Signcommands}"
  1567. stop
  1568. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.me" or "essentials.*":
  1569. stop
  1570.  
  1571. on right click on sign:
  1572. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.broadcast" or "essentials.*":
  1573. if line 2 of block is "&1[Broadcast]":
  1574. if line 3 of block is line 3:
  1575. broadcast "{@Broadcasttopanel}"
  1576. stop
  1577. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.broadcast" or "essentials.*":
  1578. stop
  1579.  
  1580. on sign change:
  1581. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.broadcast" or "essentials.*":
  1582. if line 1 is "[Essentials]":
  1583. if line 2 is "Broadcast":
  1584. set line 1 of block to ""
  1585. set line 2 of block to "&1[Broadcast]"
  1586. set line 3 of block to line 3
  1587. send "{@Signcommands}"
  1588. stop
  1589. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.broadcast" or "essentials.*":
  1590. stop
  1591.  
  1592. on right click on sign:
  1593. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.me" or "essentials.*":
  1594. if line 2 of block is "&1[Me]":
  1595. if line 3 of block is line 3:
  1596. broadcast "{@Mebroadcasttopanel}"
  1597. stop
  1598. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.me" or "essentials.*":
  1599. stop
  1600.  
  1601. on sign change:
  1602. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.list" or "essentials.*":
  1603. if line 1 is "[Essentials]":
  1604. if line 2 is "List":
  1605. set line 1 of block to ""
  1606. set line 2 of block to "&1[List]"
  1607. send "{@Signcommands}" to player
  1608. stop
  1609. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.list" or "essentials.*":
  1610. stop
  1611.  
  1612. on right click on sign:
  1613. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.list" or "essentials.*":
  1614. if line 2 of block is "&1[List]":
  1615. loop all players:
  1616. add loop-player to {_list::*}
  1617. set {_list} to "%{_list::*}%"
  1618. send "{@list}" to player
  1619. stop
  1620. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.list" or "essentials.*":
  1621. stop
  1622.  
  1623. on sign change:
  1624. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.motd" or "essentials.*":
  1625. if line 1 is "[Essentials]":
  1626. if line 2 is "Motd":
  1627. set line 1 of block to ""
  1628. set line 2 of block to "&1[Motd]"
  1629. send "{@Signcommands}" to player
  1630. stop
  1631. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.motd" or "essentials.*":
  1632. stop
  1633.  
  1634. on right click on sign:
  1635. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.motd" or "essentials.*":
  1636. if line 2 of block is "&1[Motd]":
  1637. make player execute command "/motd"
  1638. stop
  1639. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.motd" or "essentials.*":
  1640. stop
  1641.  
  1642. on sign change:
  1643. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.homes" or "essentials.*":
  1644. if line 1 is "[Essentials]":
  1645. if line 2 is "Homes":
  1646. set line 1 of block to ""
  1647. set line 2 of block to "&1[Homes]"
  1648. send "{@Signcommands}" to player
  1649. stop
  1650. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.homes" or "essentials.*":
  1651. stop
  1652.  
  1653. on right click on sign:
  1654. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.homes" or "essentials.*":
  1655. if line 2 of block is "&1[Homes]":
  1656. send "{@Homeslist}" to player
  1657. stop
  1658. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.homes" or "essentials.*":
  1659. stop
  1660.  
  1661. on sign change:
  1662. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.warps" or "essentials.*":
  1663. if line 1 is "[Essentials]":
  1664. if line 2 is "Warps":
  1665. set line 1 of block to ""
  1666. set line 2 of block to "&1[Warps]"
  1667. send "{@Signcommands}" to player
  1668. stop
  1669. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.warps" or "essentials.*":
  1670. stop
  1671.  
  1672. on right click on sign:
  1673. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.warps" or "essentials.*":
  1674. if line 2 of block is "&1[warps]":
  1675. send "{@Warplist}" to player
  1676. stop
  1677. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.warps" or "essentials.*":
  1678. stop
  1679.  
  1680. command /maintenance [<text>]:
  1681. permission: essentials.maintenance
  1682. permission message: {@Nopermission}
  1683. executable by: players, console
  1684. usage: &cError &6>> &f/maintenance [enable/diable | on/off]
  1685. trigger:
  1686. if sender is a player:
  1687. if arg-1 is not set:
  1688. send "&cError &6>> &fmaintenance [enable/diable | on/off]" to player
  1689. stop
  1690. if arg-1 is not "enable" or "disable":
  1691. send "&cError &6>> &fmaintenance [enable/diable | on/off]" to player
  1692. stop
  1693. if arg-1 is "enable" or "on":
  1694. if player has permission "essentials.maintenance.enable" or "essentials.maintenance.*" or "essentials.*":
  1695. if {Essentialsmaintenance.enable} is false:
  1696. if {@Maintenancecooldownuse} is true:
  1697. loop all players:
  1698. broadcast "{@Maintenancecooldown1} {@Maintenancecooldown} {@Maintenancecooldown2}"
  1699. set {Essentialsmaintenance.enable} to true
  1700. wait {@Maintenancecooldown} seconds
  1701. kick players due to "{@Maintenancekick}"
  1702. stop
  1703. if {@Maintenancecooldownuse} is false:
  1704. loop all players:
  1705. set {Essentialsmaintenance.enable} to true
  1706. kick players due to "{@Maintenancekick}"
  1707. stop
  1708. if {Essentialsmaintenance.enable} is true:
  1709. send "{@Maintenancealreadyenable}"
  1710. stop
  1711. if arg-1 is "disable" or "off":
  1712. if player has permission "essentials.maintenance.disable" or "essentials.maintenance.*" or "essentials.*":
  1713. if {Essentialsmaintenance.enable} is true:
  1714. loop all players:
  1715. set {Essentialsmaintenance.enable} to false
  1716. send "{@Maintenanceenable}" to player
  1717. stop
  1718. if {Essentialsmaintenance.enable} is false:
  1719. send "{@Maintenancealreadydisable}" to player
  1720. stop
  1721. if sender is console:
  1722. send "{@Errortoconsoleisnotplayerusecommands}" to console
  1723. stop
  1724.  
  1725. on connect:
  1726. if {Essentialsmaintenance.enable} is true:
  1727. if player doesn't have permission "essentials.maintenance.bypass" or "essentials.maintenance.*" or "essentials.*":
  1728. kick player due to "{@Maintenanceenablejoin}"
  1729. if player has permission "essentials.maintenance.bypass" or "essentials.maintenance.*" or "essentials.*":
  1730. stop
  1731. if {Essentialsmaintenance.enable} is false:
  1732. stop
  1733.  
  1734. on load:
  1735. set {Essentialsmaintenance.enable} to false
  1736. stop
  1737.  
  1738. command /invsee [<player>]:
  1739. permission: essentials.invsee
  1740. executable by: players, console
  1741. permission message: {@Nopermission}
  1742. usage: &cError &6>> &f/invsee [player]
  1743. aliases: essentials:invsee
  1744. trigger:
  1745. if sender is a player:
  1746. if arg 1 is not set:
  1747. send "&cError &6>> &f/invsee [player]" to player
  1748. stop
  1749. if arg 1 is set:
  1750. send "{@Invsee}" to player
  1751. open arg 1's inventory to player
  1752. stop
  1753. if sender is console:
  1754. send "{@Errortoconsoleisnotplayerusecommands}" to console
  1755. stop
  1756.  
  1757. on portal create:
  1758. if {@Portailcreate} is false:
  1759. cancel event
  1760. stop
  1761. if {@Portailcreate} is true:
  1762. stop
  1763.  
  1764. on death:
  1765. if {@Removemoneytodeath} is true:
  1766. remove {@Moneytodeath} from {money.%UUID of player%}
  1767. send "{@Moneytodeathmessage1} {@Moneytodeath} {@Moneytodeathmessage2}" to player
  1768. stop
  1769. if {@Removemoneytodeath} is false:
  1770. stop
  1771.  
  1772. on sign change:
  1773. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.serverbungeecord" or "essentials.*":
  1774. if line 1 is "[Essentials]":
  1775. if line 2 is "Bungeecord":
  1776. set line 1 of block to ""
  1777. set line 2 of block to "&1[Server]"
  1778. set line 3 of block to line 3
  1779. send "{@Signcommands}" to player
  1780. stop
  1781. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.serverbungeecord" or "essentials.*":
  1782. stop
  1783.  
  1784. on right click on sign:
  1785. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.serverbungeecord" or "essentials.*":
  1786. if line 2 of block is "&1[Server]":
  1787. if line 3 of block is line 3:
  1788. connect player to line 3 of block
  1789. stop
  1790. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.serverbungeecord" or "essentials.*":
  1791. stop
  1792.  
  1793. on damage:
  1794. if {@Damageall} is true:
  1795. stop
  1796. if {@Damageall} is false:
  1797. cancel event
  1798. stop
  1799.  
  1800. on chat:
  1801. if {@Emoticonuse} is true:
  1802. if sender has permission "essentials.emoticon.{life1}" or "essentials.*":
  1803. replace all "{life1}" in message with "❤"
  1804. stop
  1805. if sender doesn't have permission "essentials.emoticon.*" or "essentials.emoticon.{life1}" or "essentials.*":
  1806. stop
  1807. if {@Emoticonuse} is false:
  1808. stop
  1809.  
  1810. on chat:
  1811. if {@Emoticonuse} is true:
  1812. if sender has permission "essentials.emoticon.{life2}" or "essentials.*":
  1813. replace all "{life2}" in message with "♥"
  1814. stop
  1815. if sender doesn't have permission "essentials.emoticon.*" or "essentials.emoticon.{life2}" or "essentials.*":
  1816. stop
  1817. if {@Emoticonuse} is false:
  1818. stop
  1819.  
  1820. on chat:
  1821. if {@Emoticonuse} is true:
  1822. if sender has permission "essentials.emoticon.{life3}" or "essentials.*":
  1823. replace all "{life3}" in message with "❥"
  1824. stop
  1825. if sender doesn't have permission "essentials.emoticon.*" or "essentials.emoticon.{life3}" or "essentials.*":
  1826. stop
  1827. if {@Emoticonuse} is false:
  1828. stop
  1829.  
  1830. on chat:
  1831. if {@Emoticonuse} is true:
  1832. if sender has permission "essentials.emoticon.*" or "essentials.emoticon.{correct}" or "essentials.*":
  1833. replace all "{correct}" in message with "✔"
  1834. stop
  1835. if sender doesn't have permission "essentials.emoticon.*" or "essentials.emoticon.{correct}" or "essentials.*":
  1836. stop
  1837. if {@Emoticonuse} is false:
  1838. stop
  1839.  
  1840. on chat:
  1841. if {@Emoticonuse} is true:
  1842. if sender has permission "essentials.emoticon.*" or "essentials.emoticon.{incorrect1}" or "essentials.*":
  1843. replace all "{incorrect1}" in message with "✘"
  1844. stop
  1845. if sender doesn't have permission "essentials.emoticon.*" or "essentials.emoticon.{incorrect1}" or "essentials.*":
  1846. stop
  1847. if {@Emoticonuse} is false:
  1848. stop
  1849.  
  1850. on chat:
  1851. if {@Emoticonuse} is true:
  1852. if sender has permission "essentials.emoticon.*" or "essentials.emoticon.{incorrect2}" or "essentials.*":
  1853. replace all "{incorrect2}" in message with "✗"
  1854. stop
  1855. if sender doesn't have permission "essentials.emoticon.*" or "essentials.emoticon.{incorrect2}" or "essentials.*":
  1856. stop
  1857. if {@Emoticonuse} is false:
  1858. stop
  1859.  
  1860. on chat:
  1861. if {@Emoticonuse} is true:
  1862. if sender has permission "essentials.emoticon.*" or "essentials.emoticon.{incorrect3}" or "essentials.*":
  1863. replace all "{incorrect3}" in message with "✕"
  1864. stop
  1865. if sender doesn't have permission "essentials.emoticon.*" or "essentials.emoticon.{incorrect3}" or "essentials.*":
  1866. stop
  1867. if {@Emoticonuse} is false:
  1868. stop
  1869.  
  1870. on chat:
  1871. if {@Emoticonuse} is true:
  1872. if sender has permission "essentials.emoticon.*" or "essentials.emoticon.{plane}" or "essentials.*":
  1873. replace all "{plane}" in message with "✈"
  1874. stop
  1875. if sender doesn't have permission "essentials.emoticon.*" or "essentials.emoticon.{plane}" or "essentials.*":
  1876. stop
  1877. if {@Emoticonuse} is false:
  1878. stop
  1879.  
  1880. on chat:
  1881. if {@Emoticonuse} is true:
  1882. if sender has permission "essentials.emoticon.*" or "essentials.emoticon.{music1}" or "essentials.*":
  1883. replace all "{music1}" in message with "♪"
  1884. stop
  1885. if sender doesn't have permission "essentials.emoticon.*" or "essentials.emoticon.{music1}" or "essentials.*":
  1886. stop
  1887. if {@Emoticonuse} is false:
  1888. stop
  1889.  
  1890. on chat:
  1891. if {@Emoticonuse} is true:
  1892. if sender has permission "essentials.emoticon.*" or "essentials.emoticon.{music2}" or "essentials.*":
  1893. replace all "{music2}" in message with "♫"
  1894. stop
  1895. if sender doesn't have permission "essentials.emoticon.*" or "essentials.emoticon.{music2}" or "essentials.*":
  1896. stop
  1897. if {@Emoticonuse} is false:
  1898. stop
  1899.  
  1900. on chat:
  1901. if {@Emoticonuse} is true:
  1902. if sender has permission "essentials.emoticon.*" or "essentials.emoticon.{king1}" or "essentials.*":
  1903. replace all "{king1}" in message with "♛"
  1904. stop
  1905. if sender doesn't have permission "essentials.emoticon.*" or "essentials.emoticon.{king1}" or "essentials.*":
  1906. stop
  1907. if {@Emoticonuse} is false:
  1908. stop
  1909.  
  1910. on chat:
  1911. if {@Emoticonuse} is true:
  1912. if sender has permission "essentials.emoticon.*" or "essentials.emoticon.{king2}" or "essentials.*":
  1913. replace all "{king2}" in message with "♕"
  1914. stop
  1915. if sender doesn't have permission "essentials.emoticon.*" or "essentials.emoticon.{king2}" or "essentials.*":
  1916. stop
  1917. if {@Emoticonuse} is false:
  1918. stop
  1919.  
  1920. on chat:
  1921. if {@Emoticonuse} is true:
  1922. if sender has permission "essentials.emoticon.*" or "essentials.emoticon.{king3}" or "essentials.*":
  1923. replace all "{king3}" in message with "♚"
  1924. stop
  1925. if sender doesn't have permission "essentials.emoticon.*" or "essentials.emoticon.{king3}" or "essentials.*":
  1926. stop
  1927. if {@Emoticonuse} is false:
  1928. stop
  1929.  
  1930. on chat:
  1931. if {@Emoticonuse} is true:
  1932. if sender has permission "essentials.emoticon.*" or "essentials.emoticon.{phone}" or "essentials.*":
  1933. replace all "{phone}" in message with "☎"
  1934. stop
  1935. if sender doesn't have permission "essentials.emoticon.*" or "essentials.emoticon.{phone}" or "essentials.*":
  1936. stop
  1937. if {@Emoticonuse} is false:
  1938. stop
  1939.  
  1940. on chat:
  1941. if {@Emoticonuse} is true:
  1942. if sender has permission "essentials.emoticon.*" or "essentials.emoticon.{star1}" or "essentials.*":
  1943. replace all "{star1}" in message with "★"
  1944. stop
  1945. if sender doesn't have permission "essentials.emoticon.*" or "essentials.emoticon.{star1}" or "essentials.*":
  1946. stop
  1947. if {@Emoticonuse} is false:
  1948. stop
  1949.  
  1950. on chat:
  1951. if {@Emoticonuse} is true:
  1952. if sender has permission "essentials.emoticon.*" or "essentials.emoticon.{star2}" or "essentials.*":
  1953. replace all "{star2}" in message with "☆"
  1954. stop
  1955. if sender doesn't have permission "essentials.emoticon.*" or "essentials.emoticon.{star2}" or "essentials.*":
  1956. stop
  1957. if {@Emoticonuse} is false:
  1958. stop
  1959.  
  1960. on chat:
  1961. if {@Emoticonuse} is true:
  1962. if sender has permission "essentials.emoticon.*" or "essentials.emoticon.{star3}" or "essentials.*":
  1963. replace all "{star3}" in message with "✮"
  1964. stop
  1965. if sender doesn't have permission "essentials.emoticon.*" or "essentials.emoticon.{star3}" or "essentials.*":
  1966. stop
  1967. if {@Emoticonuse} is false:
  1968. stop
  1969.  
  1970. on chat:
  1971. if {@Emoticonuse} is true:
  1972. if sender has permission "essentials.emoticon.*" or "essentials.emoticon.{sun1}" or "essentials.*":
  1973. replace all "{sun1}" in message with "☼"
  1974. stop
  1975. if sender doesn't have permission "essentials.emoticon.*" or "essentials.emoticon.{sun1}" or "essentials.*":
  1976. stop
  1977. if {@Emoticonuse} is false:
  1978. stop
  1979.  
  1980. on chat:
  1981. if {@Emoticonuse} is true:
  1982. if sender has permission "essentials.emoticon.*" or "essentials.emoticon.{sun2}" or "essentials.*":
  1983. replace all "{sun2}" in message with "☀"
  1984. stop
  1985. if sender doesn't have permission "essentials.emoticon.*" or "essentials.emoticon.{sun2}" or "essentials.*":
  1986. stop
  1987. if {@Emoticonuse} is false:
  1988. stop
  1989.  
  1990. on sign change:
  1991. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.workbench" or "essentials.*":
  1992. if line 1 is "[Essentials]":
  1993. if line 2 is "Workbench":
  1994. set line 1 of block to ""
  1995. set line 2 of block to "&1[Workbench]"
  1996. send "{@Signcommands}" to player
  1997. stop
  1998. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.workbench" or "essentials.*":
  1999. stop
  2000.  
  2001. on right click on sign:
  2002. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.workbench" or "essentials.*":
  2003. if line 2 of block is "&1[Workbench]":
  2004. open workbench inventory to the player
  2005. send "{@Workbench}" to player
  2006. stop
  2007. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.workbench" or "essentials.*":
  2008. stop
  2009.  
  2010. command /weather [<text>]:
  2011. permission: essentials.weather
  2012. executable by: players, console
  2013. permission message: {@Nopermission}
  2014. usage: &cError &6>> &f/weather [sun/rain/thunder/clear]
  2015. aliases: essentials:weather, essentials:toggledownfall, toggledownfall
  2016. trigger:
  2017. if sender is a player:
  2018. if arg 1 is not set:
  2019. send "&cError &6>> &f/weather [sun/rain/thunder/clear]" to player
  2020. stop
  2021. if arg 1 is not "sun" or "clear" or "thunder" or "rain":
  2022. send "&cError &6>> &f/weather [sun/rain/thunder/clear]" to player
  2023. stop
  2024. if arg 1 is "clear":
  2025. if sender has permission "essentials.weather.*" or "essentials.weather.clear" or "essentials.*":
  2026. set weather to sunny
  2027. send "{@Weathertoclear}" to player
  2028. stop
  2029. if sender doesn't have permission "essentials.weather.*" or "essentials.weather.clear" or "essentials.*":
  2030. send "{@Nopermission}" to player
  2031. stop
  2032. if arg 1 is "sun":
  2033. if sender has permission "essentials.weather.*" or "essentials.weather.sun" or "essentials.*":
  2034. set weather to sunny
  2035. send "{@Weathertosun}" to player
  2036. stop
  2037. if sender doesn't have permission "essentials.weather.*" or "essentials.weather.sun" or "essentials.*":
  2038. send "{@Nopermission}" to player
  2039. stop
  2040. if arg 1 is "rain":
  2041. if sender has permission "essentials.weather.*" or "essentials.weather.rain" or "essentials.*":
  2042. set weather to rain
  2043. send "{@Weathertorain}" to player
  2044. stop
  2045. if sender doesn't have permission "essentials.weather.*" or "essentials.weather.rain" or "essentials.*":
  2046. send "{@Nopermission}" to player
  2047. stop
  2048. if arg 1 is "thunder":
  2049. if sender has permission "essentials.weather.*" or "essentials.weather.thunder" or "essentials.*":
  2050. set weather to thunder
  2051. send "{@Weathertothunder}" to player
  2052. stop
  2053. if sender doesn't have permission "essentials.weather.*" or "essentials.weather.thunder" or "essentials.*":
  2054. send "{@Nopermission}" to player
  2055. stop
  2056. if sender is console:
  2057. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2058. stop
  2059.  
  2060. on weather change to rain:
  2061. if {@Weatherrain} is false:
  2062. cancel event
  2063. stop
  2064. if {@Weatherrain} is true:
  2065. stop
  2066.  
  2067. on weather change to thunder:
  2068. if {@Weatherthunder} is false:
  2069. cancel event
  2070. stop
  2071. if {@Weatherthunder} is true:
  2072. stop
  2073.  
  2074. command /hat [<text>] [<offline player>]:
  2075. permission: essentials.hat
  2076. executable by: players, console
  2077. permission message: {@Nopermission}
  2078. usage: &cError &6>> &f/hat [player]
  2079. aliases: essentials:hat
  2080. trigger:
  2081. if sender is a player:
  2082. if arg 1 is not set:
  2083. send "&cError &6>> &f/hat off/Disable [player]" to player
  2084. stop
  2085. if tool is air:
  2086. send "{@Hattoair}" to player
  2087. stop
  2088. if arg 1 is "off":
  2089. if arg 2 is not set:
  2090. set player's helmet to air
  2091. set {hat.%player%} to false
  2092. send "{@Nohat}" to player
  2093. stop
  2094. if sender has permission "essentials.hat.others" or "essentials.*":
  2095. if arg 2 is online:
  2096. set arg 2's helmet to air
  2097. send "{@Hattoplayer}" to arg 2
  2098. set {hat.%arg 2%} to false
  2099. send "{@Hattoplayeradmin}" to player
  2100. stop
  2101. if arg 2 is offline:
  2102. send "{@Noplayerconnect}" to player
  2103. stop
  2104. if sender doesn't have permission "essentials.hat.others" or "essentials.*":
  2105. send "{@Nopermission}" to player
  2106. stop
  2107. if arg 1 is not "off" or "disable":
  2108. if arg 2 is not set:
  2109. set player's helmet to player's tool
  2110. set {hat.%player%} to true
  2111. send "{@Hattome}" to player
  2112. stop
  2113. if sender has permission "essentials.hat.others" or "essentials.*":
  2114. if arg 2 is online:
  2115. set arg 2's helmet to player's tool
  2116. set {hat.%arg 2%} to true
  2117. send "{@Hattoplayer}" to arg 2
  2118. send "{@Hattoplayeradmin}" to player
  2119. stop
  2120. if arg 2 is offline:
  2121. send "{@Noplayerconnect}" to player
  2122. stop
  2123. if sender doesn't have permission "essentials.hat.others" or "essentials.*":
  2124. send "{@Nopermission}" to player
  2125. stop
  2126. if sender doesn't have permission "essentials.vanish.others" or "essentials.*":
  2127. send "{@Nopermission}" to player
  2128. stop
  2129. if sender is console:
  2130. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2131. stop
  2132.  
  2133.  
  2134. on join:
  2135. if {hat.%player%} is true:
  2136. set player's helmet to air
  2137. set {hat.%player%} to false
  2138. stop
  2139. if {hat.%player%} is false:
  2140. stop
  2141.  
  2142. command /vanish [<offline player>]:
  2143. permission: essentials.vanish
  2144. executable by: players, console
  2145. permission message: {@Nopermission}
  2146. usage: &cError &6>> &f/vanish [player]
  2147. aliases: essentials:vanish
  2148. trigger:
  2149. if sender is a player:
  2150. if arg 1 is not set:
  2151. if {vanish.%player%} is not set:
  2152. execute console command "/effect %player% invisibility 99999 255 false"
  2153. send "{@Vanishtome}"
  2154. set {vanish.%player%} to true
  2155. stop
  2156. if {vanish.%player%} is set:
  2157. execute console command "/effect %player% clear"
  2158. send "{@Novanishtome}"
  2159. delete {vanish.%player%}
  2160. stop
  2161. if sender has permission "essentials.vanish.others" or "essentials.*":
  2162. if arg 1 is online:
  2163. if {vanish.%arg 1%} is not set:
  2164. execute console command "/effect %arg 1% invisibility 99999 255 false"
  2165. send "{@Vanishtoplayer}" to arg 1
  2166. send "{@Vanishtoplayeradmin}" to player
  2167. set {vanish.%arg 1%} to true
  2168. stop
  2169. if {vanish.%arg 1%} is set:
  2170. execute console command "/effect %arg 1% clear"
  2171. stop
  2172. send "{@Novanishtoplayer}" to arg 1
  2173. send "{@Novanishtoplayeradmin}" to player
  2174. delete {vanish.%arg 1%}
  2175. stop
  2176. if arg 1 is offline:
  2177. send "{@Noplayerconnect}" to player
  2178. stop
  2179. if sender doesn't have permission "essentials.vanish.others" or "essentials.*":
  2180. send "{@Nopermission}" to player
  2181. stop
  2182. if sender is console:
  2183. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2184. stop
  2185.  
  2186. on join:
  2187. execute console command "/gamerule sendCommandFeedback false"
  2188. execute console command "/effect %player% clear"
  2189. stop
  2190.  
  2191. on join:
  2192. if {vanish.%player%} is set:
  2193. delete {vanish.%player%}
  2194. stop
  2195.  
  2196. on quit:
  2197. if {vanish.%player%} is set:
  2198. delete {vanish.%player%}
  2199. stop
  2200.  
  2201. on sign change:
  2202. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.night" or "essentials.*":
  2203. if line 1 is "[Essentials]":
  2204. if line 2 is "Night":
  2205. set line 1 of block to ""
  2206. set line 2 of block to "&1[Night]"
  2207. send "{@Signcommands}" to player
  2208. stop
  2209. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.night" or "essentials.*":
  2210. stop
  2211.  
  2212. on right click on sign:
  2213. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.night" or "essentials.*":
  2214. if line 2 of block is "&1[Night]":
  2215. set time to 20:00
  2216. send "{@Night}" to player
  2217. stop
  2218. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.night" or "essentials.*":
  2219. stop
  2220.  
  2221. on sign change:
  2222. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.day" or "essentials.*":
  2223. if line 1 is "[Essentials]":
  2224. if line 2 is "Day":
  2225. set line 1 of block to ""
  2226. set line 2 of block to "&1[Day]"
  2227. send "{@Signcommands}" to player
  2228. stop
  2229. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.day" or "essentials.*":
  2230. stop
  2231.  
  2232. on right click on sign:
  2233. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.day" or "essentials.*":
  2234. if line 2 of block is "&1[Day]":
  2235. set time to 6:00
  2236. send "{@Day}" to player
  2237. stop
  2238. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.day" or "essentials.*":
  2239. stop
  2240.  
  2241. on sign change:
  2242. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.balance" or "essentials.*":
  2243. if line 1 is "[Essentials]":
  2244. if line 2 is "Balance":
  2245. set line 1 of block to ""
  2246. set line 2 of block to "&1[Balance]"
  2247. send "{@Signcommands}" to player
  2248. stop
  2249. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.balance" or "essentials.*":
  2250. stop
  2251.  
  2252. on right click on sign:
  2253. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.balance" or "essentials.*":
  2254. if line 2 of block is "&1[Balance]":
  2255. send "{@Moneytome}" to player
  2256. stop
  2257. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.balance" or "essentials.*":
  2258. stop
  2259.  
  2260. on sign change:
  2261. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.heal" or "essentials.*":
  2262. if line 1 is "[Essentials]":
  2263. if line 2 is "Heal":
  2264. set line 1 of block to ""
  2265. set line 2 of block to "&1[Heal]"
  2266. send "{@Signcommands}" to player
  2267. stop
  2268. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign..createheal" or "essentials.*":
  2269. stop
  2270.  
  2271. on right click on sign:
  2272. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.heal" or "essentials.*":
  2273. if line 2 of block is "&1[Heal]":
  2274. send "{@Healtome}" to player
  2275. heal player
  2276. stop
  2277. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.heal" or "essentials.*":
  2278. stop
  2279.  
  2280. on sign change:
  2281. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.feed" or "essentials.*":
  2282. if line 1 is "[Essentials]":
  2283. if line 2 is "Feed":
  2284. set line 1 of block to ""
  2285. set line 2 of block to "&1[Feed]"
  2286. send "{@Signcommands}" to player
  2287. stop
  2288. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.feed" or "essentials.*":
  2289. stop
  2290.  
  2291. on right click on sign:
  2292. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.feed" or "essentials.*":
  2293. if line 2 of block is "&1[Feed]":
  2294. send "{@Feedtome}" to player
  2295. set hunger bar to 10
  2296. stop
  2297. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.feed" or "essentials.*":
  2298. stop
  2299.  
  2300. on drop:
  2301. if player has permission "essentials.drop" or "essentials.*":
  2302. stop
  2303. if player doesn't have permission "essentials.drop" or "essentials.*":
  2304. cancel event
  2305. send "{@Nodrop}" to player
  2306. stop
  2307.  
  2308. on sign change:
  2309. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.trash" or "essentials.*":
  2310. if line 1 is "[Essentials]":
  2311. if line 2 is "Trash":
  2312. set line 1 of block to ""
  2313. set line 2 of block to "&1[Trash]"
  2314. send "{@Signcommands}" to player
  2315. stop
  2316. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.trash" or "essentials.*":
  2317. stop
  2318.  
  2319. on right click on sign:
  2320. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.trash" or "essentials.*":
  2321. if line 2 of block is "&1[Trash]":
  2322. wait 2 ticks
  2323. open chest with {@Trashnumberchest} rows named "{@Trashname}" to player
  2324. send "{@Trash}" to player
  2325. stop
  2326. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.trash" or "essentials.*":
  2327. stop
  2328.  
  2329. command /trash:
  2330. permission: essentials.trash
  2331. executable by: players, console
  2332. permission message: {@Nopermission}
  2333. usage: &cError &6>> &f/trash
  2334. aliases: essentials:trash, essentials:bin, bin
  2335. trigger:
  2336. if sender is a player:
  2337. wait 2 ticks
  2338. open chest with {@Trashnumberchest} rows named "{@Trashname}" to player
  2339. send "{@Trash}" to player
  2340. stop
  2341. if sender is console:
  2342. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2343. stop
  2344.  
  2345. on sign change:
  2346. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.kit" or "essentials.*":
  2347. if line 1 is "[Essentials]":
  2348. if line 2 is "Kit":
  2349. if {kit.%player%::%line 3%} is set:
  2350. set line 1 of block to ""
  2351. set line 2 of block to "&1[Kit]"
  2352. set line 3 of block to line 3
  2353. send "{@Signcommands}"
  2354. if {kit.%player%::%line 3%} is not set:
  2355. send "{@Signkitnokit}" to player
  2356. stop
  2357. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.kit" or "essentials.*":
  2358. stop
  2359.  
  2360. on right click on sign:
  2361. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.kit" or "essentials.*":
  2362. if line 2 of block is "&1[Kit]":
  2363. if {kit.%player%::%line 3%} is set:
  2364. make player execute command "/kit %line 3%"
  2365. stop
  2366. if {kit.%player%::%line 3%} is not set:
  2367. send "{@Signkitnokit}" to player
  2368. stop
  2369. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.kit" or "essentials.*":
  2370. stop
  2371.  
  2372. command /createkit [<text>]:
  2373. permission: essentials.createkit
  2374. executable by: players, console
  2375. permission message: {@Nopermission}
  2376. usage: &cError &6>> &f/createkit [kit]
  2377. aliases: essentials:createkit
  2378. trigger:
  2379. if sender is a player:
  2380. if arg 1 is set:
  2381. if {kit.%player%::%arg 1%} is not set:
  2382. set {_count} to 0
  2383. loop 36 times:
  2384. set {inv.%player%.%{_count}%.%arg 1%} to slot {_count} of player's inventory
  2385. add 1 to {_count}
  2386. set {helmet.%arg 1%.kit.%player%} to the player's helmet
  2387. set {chestplate.%arg 1%.kit.%player%} to the player's chestplate
  2388. set {legs.%arg 1%.kit.%player%} to the player's legs
  2389. set {boot.%arg 1%.kit.%player%} to the player's boot
  2390. send "{@Createkit}" to player
  2391. set {kit.%player%::%arg 1%} to true
  2392. add arg 1 to {kit::*}
  2393. stop
  2394. if {kit.%player%::%arg 1%} is true:
  2395. send "{@Createkitalready}" to player
  2396. stop
  2397. if arg 1 is not set:
  2398. send "&cError &6>> &f/createkit [kit]" to player
  2399. stop
  2400. if sender is console:
  2401. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2402. stop
  2403.  
  2404. command /deletekit [<text>]:
  2405. permission: essentials.deletekit
  2406. executable by: players, console
  2407. permission message: {@Nopermission}
  2408. usage: &cError &6>> &f/deletekit [kit]
  2409. aliases: essentials:deletekit
  2410. trigger:
  2411. if sender is a player:
  2412. if arg 1 is set:
  2413. if {kit.%player%::%arg 1%} is set:
  2414. delete {helmet.%arg 1%.kit.%player%}
  2415. delete {chestplate.%arg 1%.kit.%player%}
  2416. delete {legs.%arg 1%.kit.%player%}
  2417. delete {boot.%arg 1%.kit.%player%}
  2418. delete {inv.%arg 1%.kit.%player%}
  2419. delete {kit.%player%::%arg 1%}
  2420. remove arg 1 from {kit::*}
  2421. send "{@Deletekit}" to player
  2422. stop
  2423. if {kit.%player%::%arg 1%} is not set:
  2424. send "{@Deletekitalready}" to player
  2425. stop
  2426. if arg 1 is not set:
  2427. send "&cError &6>> &f/deletekit [kit]" to player
  2428. stop
  2429. if sender is console:
  2430. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2431. stop
  2432.  
  2433. command /kit [<text>]:
  2434. permission: essentials.kit
  2435. permission message: {@Nopermission}
  2436. executable by: players, console
  2437. usage: &cError &6>> &f/kit [kit]
  2438. aliases: essentials:kit
  2439. trigger:
  2440. if sender is a player:
  2441. if arg 1 is set:
  2442. if sender has permission "essentials.kit.%arg 1%" or "essentials.*":
  2443. if sender has permission "essentials.kit.bypass" or "essentials.*":
  2444. if {kit.%player%::%arg 1%} is set:
  2445. loop 36 times:
  2446. set slot {_count} of player's inventory to {inv.%player%.%{_count}%.%arg 1%}
  2447. add 1 to {_count}
  2448. set the player's helmet to {helmet.%arg 1%.kit.%player%}
  2449. set the player's chestplate to {chestplate.%arg 1%.savestuff.%player%}
  2450. set the player's leggings to {legs.%arg 1%.kit.%player%}
  2451. set the player's boots to {boot.%arg 1%.kit.%player%}
  2452. send "{@kit}" to player
  2453. stop
  2454. if {kit.%player%::%arg 1%} is not set:
  2455. send "{@Nokit}" to player
  2456. stop
  2457. if {kit.%player%::%arg 1%} is set:
  2458. loop 36 times:
  2459. set slot {_count} of player's inventory to {inv.%player%.%{_count}%.%arg 1%}
  2460. add 1 to {_count}
  2461. set the player's helmet to {helmet.%arg 1%.kit.%player%}
  2462. set the player's chestplate to {chestplate.%arg 1%.savestuff.%player%}
  2463. set the player's leggings to {legs.%arg 1%.kit.%player%}
  2464. set the player's boots to {boot.%arg 1%.kit.%player%}
  2465. send "{@kit}" to player
  2466. stop
  2467. if {kit.%player%::%arg 1%} is not set:
  2468. send "{@Nokit}" to player
  2469. stop
  2470. if sender doesn't have permission "essentials.kit.bypass" or "essentials.*":
  2471. if {@Kitcooldownuse} is true:
  2472. if {kit.%player%::%arg 1%} is set:
  2473. loop 36 times:
  2474. send "{@Kitcooldown1} {@Kitcooldown} {@Kitcooldown2}" to player
  2475. wait {@Kitcooldown} seconds
  2476. set slot {_count} of player's inventory to {inv.%player%.%{_count}%.%arg 1%}
  2477. add 1 to {_count}
  2478. set the player's helmet to {helmet.%arg 1%.kit.%player%}
  2479. set the player's chestplate to {chestplate.%arg 1%.savestuff.%player%}
  2480. set the player's leggings to {legs.%arg 1%.kit.%player%}
  2481. set the player's boots to {boot.%arg 1%.kit.%player%}
  2482. send "{@kit}" to player
  2483. stop
  2484. if {kit.%player%::%arg 1%} is not set:
  2485. send "{@Nokit}" to player
  2486. stop
  2487. if {@Kitcooldownuse} is false:
  2488. if {kit.%player%::%arg 1%} is set:
  2489. loop 36 times:
  2490. set slot {_count} of player's inventory to {inv.%player%.%{_count}%.%arg 1%}
  2491. add 1 to {_count}
  2492. set the player's helmet to {helmet.%arg 1%.kit.%player%}
  2493. set the player's chestplate to {chestplate.%arg 1%.savestuff.%player%}
  2494. set the player's leggings to {legs.%arg 1%.kit.%player%}
  2495. set the player's boots to {boot.%arg 1%.kit.%player%}
  2496. send "{@kit}" to player
  2497. stop
  2498. if {kit.%player%::%arg 1%} is not set:
  2499. send "{@Nokit}" to player
  2500. stop
  2501. if sender doesn't have permission "essentials.kit.%arg 1%" or "essentials.*":
  2502. send "{@Nopermission}" to player
  2503. stop
  2504. if arg 1 is not set:
  2505. send "&cError &6>> &f/kit [kit]" to player
  2506. stop
  2507. if sender is console:
  2508. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2509. stop
  2510.  
  2511. command /kits:
  2512. permission: essentials.kits
  2513. permission message: {@Nopermission}
  2514. usage: &cError &6>> &f/kits
  2515. aliases: essentials:kits
  2516. executable by: players, console
  2517. trigger:
  2518. if sender is a player:
  2519. send "{@Kits}" to player
  2520. stop
  2521. if sender is console:
  2522. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2523. stop
  2524.  
  2525. on sign change:
  2526. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.mail" or "essentials.*":
  2527. if line 1 is "[Essentials]":
  2528. if line 2 is "Mail":
  2529. set line 1 of block to ""
  2530. set line 2 of block to "&1[Mail]"
  2531. send "{@Signcommands}"
  2532. stop
  2533. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.mail" or "essentials.*":
  2534. stop
  2535.  
  2536. on right click on sign:
  2537. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.mail" or "essentials.*":
  2538. if line 2 of block is "&1[Mail]":
  2539. set {_count} to 0
  2540. loop {e-mail.%player%} times:
  2541. add 1 to {_count}
  2542. send "%{e-mail.message.%{_count}%}%"
  2543. send "{@Mailread}"
  2544. stop
  2545. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.mail" or "essentials.*":
  2546. stop
  2547.  
  2548. command /mail [<text>] [<offline player>] [<text>]:
  2549. permission: essentials.mail
  2550. executable by: players, console
  2551. permission message: {@Nopermission}
  2552. usage: &cError &6>> &f/mail [read/clear/send] [player] [text]
  2553. aliases: essentials:mail
  2554. trigger:
  2555. if sender is a player:
  2556. if arg 1 is not set:
  2557. send "&cError &6>> &f/mail [read/clear/send] [player] [text]" to player
  2558. stop
  2559. if arg 1 is not "read" or "clear" or "send":
  2560. send "&cError &6>> &f/mail [read/clear/send] [player] [text]" to player
  2561. stop
  2562. if arg 1 is "read":
  2563. if sender doesn't have permission "essentials.mail.read" or "essentials.mail.*" or "essentials.*":
  2564. send "{@Nopermission}" to player
  2565. stop
  2566. if sender has permission "essentials.mail.read" or "essentials.mail.*" or "essentials.*":
  2567. set {_count} to 0
  2568. loop {e-mail.%player%} times:
  2569. add 1 to {_count}
  2570. send "%{e-mail.message.%{_count}%}%"
  2571. send "{@Mailread}"
  2572. stop
  2573. if arg 1 is "clear":
  2574. if sender doesn't have permission "essentials.mail.clear" or "essentials.mail.*" or "essentials.*":
  2575. send "{@Nopermission}" to player
  2576. stop
  2577. if sender has permission "essentials.mail.clear" or "essentials.mail.*" or "essentials.*":
  2578. if {e-mail.%player%} > 0:
  2579. set {_count} to 0
  2580. loop {e-mail.%player%} times:
  2581. add 1 to {_count}
  2582. clear {e-mail.message.%{_count}%}
  2583. delete {e-mail.message.%{_count}%}
  2584. set {e-mail.%player%} to 0
  2585. send "{@Mailclear}" to player
  2586. stop
  2587. else:
  2588. send "{@Nomail}" to player
  2589. stop
  2590. if arg 1 is "send":
  2591. if arg 2 is set:
  2592. if arg 3 is set:
  2593. if sender doesn't have permission "essentials.mail.send" or "essentials.mail.*" or "essentials.*":
  2594. send "{@Nopermission}" to player
  2595. if sender has permission "essentials.mail.send" or "essentials.mail.*" or "essentials.*":
  2596. send "{@Mailsendtoplayer}" to arg 2
  2597. send "{@Mailsendtome}" to player
  2598. add 1 to {e-mail.%arg 2%}
  2599. set {e-mail.message.%{e-mail.%arg 2%}%} to "&c%player% &7>> &c%arg 3%"
  2600. stop
  2601. if arg 3 is not set:
  2602. send "&cError &6>> &f/mail [read/clear/send] [player] [text]" to player
  2603. stop
  2604. if arg 2 is not set:
  2605. send "&cError &6>> &f/mail [read/clear/send] [player] [text]" to player
  2606. stop
  2607. if sender is console:
  2608. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2609. stop
  2610.  
  2611. command /powertool [<text>]:
  2612. permission: essentials.powertool
  2613. executable by: players, console
  2614. permission message: {@Nopermission}
  2615. usage: &cError &6>> &f/powertool [command]
  2616. aliases: essentials:powertool
  2617. trigger:
  2618. if sender is a player:
  2619. if arg 1 is not set:
  2620. clear {powertool::%player's uuid%::%player's tool%}
  2621. set {_tool} to player's tool
  2622. set tool of player to 1 of player's tool
  2623. send "{@Powertooltoremove}" to player
  2624. set player's tool to {_tool}
  2625. stop
  2626. if arg 1 is set:
  2627. set {powertool::%player's uuid%::%player's tool%} to arg 1
  2628. send "{@Powertool}" to player
  2629. stop
  2630. if sender is console:
  2631. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2632. stop
  2633.  
  2634. on click:
  2635. if {powertool::%player's uuid%::%player's tool%} is set:
  2636. cancel event
  2637. make player execute command "%{powertool::%player's uuid%::%player's tool%}%"
  2638. stop
  2639.  
  2640. command /repair [<text>] [<offline player>]:
  2641. permission: essentials.repair
  2642. executable by: players, console
  2643. permission message: {@Nopermission}
  2644. usage: &cError &6>> &f/repair [all] [player]
  2645. aliases: essentials:repair
  2646. trigger:
  2647. if sender is a player:
  2648. if arg 1 is not set:
  2649. repair player's tool
  2650. send "{@Repairtome}" to player
  2651. stop
  2652. if arg 1 is "all":
  2653. if arg 2 is not set:
  2654. send "{@Repairalltome}" to player
  2655. repair slot 0 of player
  2656. repair slot 1 of player
  2657. repair slot 2 of player
  2658. repair slot 3 of player
  2659. repair slot 4 of player
  2660. repair slot 5 of player
  2661. repair slot 6 of player
  2662. repair slot 7 of player
  2663. repair slot 8 of player
  2664. repair slot 9 of player
  2665. repair slot 10 of player
  2666. repair slot 11 of player
  2667. repair slot 12 of player
  2668. repair slot 13 of player
  2669. repair slot 14 of player
  2670. repair slot 15 of player
  2671. repair slot 16 of player
  2672. repair slot 17 of player
  2673. repair slot 18 of player
  2674. repair slot 19 of player
  2675. repair slot 20 of player
  2676. repair slot 21 of player
  2677. repair slot 22 of player
  2678. repair slot 23 of player
  2679. repair slot 24 of player
  2680. repair slot 25 of player
  2681. repair slot 26 of player
  2682. repair slot 27 of player
  2683. repair slot 28 of player
  2684. repair slot 29 of player
  2685. repair slot 30 of player
  2686. repair slot 31 of player
  2687. repair slot 32 of player
  2688. repair slot 33 of player
  2689. repair slot 34 of player
  2690. repair slot 35 of player
  2691. repair helmet slot of player
  2692. repair chestplate slot of player
  2693. repair leggings slot of player
  2694. repair boots slot of player
  2695. stop
  2696. if arg 2 is online:
  2697. if sender has permission "essentials.repair.others" or "essentials.*":
  2698. send "{@Repairalltoplayeradmin}" to player
  2699. send "{@Repairalltoplayer}" to arg 2
  2700. repair slot 0 of arg 2
  2701. repair slot 1 of arg 2
  2702. repair slot 2 of arg 2
  2703. repair slot 3 of arg 2
  2704. repair slot 4 of arg 2
  2705. repair slot 5 of arg 2
  2706. repair slot 6 of arg 2
  2707. repair slot 7 of arg 2
  2708. repair slot 8 of arg 2
  2709. repair slot 9 of arg 2
  2710. repair slot 10 of arg 2
  2711. repair slot 11 of arg 2
  2712. repair slot 12 of arg 2
  2713. repair slot 13 of arg 2
  2714. repair slot 14 of arg 2
  2715. repair slot 15 of arg 2
  2716. repair slot 16 of arg 2
  2717. repair slot 17 of arg 2
  2718. repair slot 18 of arg 2
  2719. repair slot 19 of arg 2
  2720. repair slot 20 of arg 2
  2721. repair slot 21 of arg 2
  2722. repair slot 22 of arg 2
  2723. repair slot 23 of arg 2
  2724. repair slot 24 of arg 2
  2725. repair slot 25 of arg 2
  2726. repair slot 26 of arg 2
  2727. repair slot 27 of arg 2
  2728. repair slot 28 of arg 2
  2729. repair slot 29 of arg 2
  2730. repair slot 30 of arg 2
  2731. repair slot 31 of arg 2
  2732. repair slot 32 of arg 2
  2733. repair slot 33 of arg 2
  2734. repair slot 34 of arg 2
  2735. repair slot 35 of arg 2
  2736. repair helmet slot of arg 2
  2737. repair chestplate slot of arg 2
  2738. repair leggings slot of arg 2
  2739. repair boots slot of arg 2
  2740. stop
  2741. if sender doesn't have permission "essentials.repair.others" or "essentials.*":
  2742. send "{@Nopermission}" to player
  2743. stop
  2744. if arg 2 is offline:
  2745. send "{@Noplayerconnect}" to player
  2746. stop
  2747. if sender is console:
  2748. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2749. stop
  2750.  
  2751. command /sudo [<offline player>] [<text>]:
  2752. permission: essentials.sudo
  2753. executable by: players, console
  2754. permission message: {@Nopermission}
  2755. usage: &cError &6>> &f/sudo [player] [command]
  2756. aliases: essentials:sudo
  2757. trigger:
  2758. if sender is a player:
  2759. if arg 1 is online:
  2760. if arg 2 is set:
  2761. execute arg 1 command arg 2
  2762. send "{@Sudo}" to player
  2763. stop
  2764. if arg 2 is not set:
  2765. send "&cError &6>> &f/sudo [player] [commands]" to player
  2766. stop
  2767. if arg 1 is not set:
  2768. send "&cError &6>> &f/sudo [player] [commands]" to player
  2769. stop
  2770. if arg 1 is offline:
  2771. send "{@Noplayerconnect}" to player
  2772. stop
  2773. if sender is console:
  2774. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2775. stop
  2776.  
  2777. command /spawnmob [<entity types>] [<number>]:
  2778. permission: essentials.spawnmob
  2779. executable by: players, console
  2780. permission message: {@Nopermission}
  2781. usage: &cError &6>> &f/spawnmob [entity] [number]
  2782. aliases: essentials:spawnmob
  2783. trigger:
  2784. if sender is a player:
  2785. if arg 1 is set:
  2786. if arg 2 is not set:
  2787. send "&cError &6>> &f/spawnmob [entity] [number]" to player
  2788. stop
  2789. if arg 2 is set:
  2790. spawn arg 2 of arg 1 at the player
  2791. send "{@Spawnmob}" to player
  2792. stop
  2793. if arg 1 is not set:
  2794. send "&cError &6>> &f/spawnmob [entity] [number]" to player
  2795. stop
  2796. if sender is console:
  2797. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2798. stop
  2799.  
  2800. on load:
  2801. send "{@Loading}" to console
  2802. stop
  2803.  
  2804. command /tpohere [<offline player>]:
  2805. permission: essentials.tpohere
  2806. executable by: players, console
  2807. permission message: {@Nopermission}
  2808. usage: &cError &6>> &f/tpohere [player]
  2809. aliases: essentials:tpohere
  2810. trigger:
  2811. if sender is a player:
  2812. send "{@Tpohereteleporting}" to player
  2813. teleport player to arg 1
  2814. stop
  2815. if sender is console:
  2816. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2817. stop
  2818.  
  2819. command /tpo [<offline player>] [<offline player>]:
  2820. permission: essentials.tpo
  2821. executable by: players, console
  2822. permission message: {@Nopermission}
  2823. usage: &cError &6>> &f/tpo [player] [player]
  2824. aliases: essentials:tpo
  2825. trigger:
  2826. if sender is a player:
  2827. if arg 1 is not set:
  2828. send "&cError &6>> &f/tpo [player] [player]" to player
  2829. stop
  2830. if arg 1 is online:
  2831. if arg 2 is online:
  2832. teleport arg 1 to arg 2
  2833. send "{@Tpoplayeradmin}" to player
  2834. send "{@Tpoteleporting}" to arg 1
  2835. stop
  2836. if arg 2 is offline:
  2837. send "{@Noplayerconnect}" to player
  2838. stop
  2839. if arg 2 is not set:
  2840. send "&cError &6>> &f/tpo [player] [player]" to player
  2841. stop
  2842. if sender is console:
  2843. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2844. stop
  2845.  
  2846. command /jump:
  2847. permission: essentials.jump
  2848. executable by: players, console
  2849. permission message: {@Nopermission}
  2850. usage: &cError &6>> &f/jump
  2851. aliases: essentials:jump
  2852. trigger:
  2853. if sender is a player:
  2854. teleport player to target block
  2855. stop
  2856. if sender is console:
  2857. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2858. stop
  2859.  
  2860. command /compass [<offline player>]:
  2861. permission: essentials.compass
  2862. executable by: players, console
  2863. permission message: {@Nopermission}
  2864. usage: &cError &6>> &f/compass [player]
  2865. aliases: essentials:compass , essentials:direction, direction
  2866. trigger:
  2867. if sender is a player:
  2868. if arg 1 is not set:
  2869. send "{@Compasstome}" to player
  2870. stop
  2871. if arg 1 is set:
  2872. send "{@Compasstoplayer}" to player
  2873. stop
  2874. if sender is console:
  2875. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2876. stop
  2877.  
  2878. command /togglejail [<offline player>] [<text>]:
  2879. permission: essentials.jail
  2880. executable by: players, console
  2881. permission message: {@Nopermission}
  2882. usage: &cError &6>> &f/jail [player] [jail]
  2883. aliases: essentials:tjail, essentials:unjail, essentials:jail, tjail, unjail, jail
  2884. trigger:
  2885. if sender is a player:
  2886. if arg 1 is not set:
  2887. send "&cError &6>> &f/jail [player] [jail]" to player
  2888. stop
  2889. if arg 1 is set:
  2890. if arg 2 is not set:
  2891. if {in.jail::%uuid of arg 1%} is set:
  2892. teleport arg 1 to {beforejail::%uuid of arg 1%}
  2893. clear {beforejail::%uuid of arg 1%}
  2894. clear {in.jail::%uuid of arg 1%}
  2895. send "{@Nojailplayer}" to arg 1
  2896. send "{@Nojailplayeradmin}" to player
  2897. stop
  2898. if {in.jail::%uuid of arg 1%} is not set:
  2899. send "&cError &6>> &f/jail [player] [jail]" to player
  2900. stop
  2901. if arg 2 is set:
  2902. if {jails::%arg 2%} is set:
  2903. set {beforejail::%uuid of arg 1%} to location of arg 1
  2904. teleport arg 1 to {jails::%arg 2%}
  2905. set {in.jail::%uuid of arg 1%} to 1
  2906. send "{@Jailplayer}" to arg 1
  2907. send "{@Jailplayeradmin}" to player
  2908. stop
  2909. if {jails::%arg 2%} is not set:
  2910. send "{@Nojail}" to player
  2911. stop
  2912. if sender is console:
  2913. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2914. stop
  2915.  
  2916. on drop:
  2917. if {in.jail::%uuid of player%} is set:
  2918. cancel the event
  2919. stop
  2920. stop
  2921.  
  2922. on click:
  2923. if {in.jail::%uuid of player%} is set:
  2924. cancel the event
  2925. stop
  2926. stop
  2927. on teleport:
  2928. if {in.jail::%uuid of player%} is set:
  2929. cancel the event
  2930. stop
  2931.  
  2932. on mine:
  2933. if {in.jail::%uuid of player%} is set:
  2934. cancel the event
  2935. stop
  2936.  
  2937. on any movement:
  2938. if {in.jail::%uuid of player%} is set:
  2939. cancel the event
  2940. stop
  2941.  
  2942. on damage:
  2943. if {in.jail::%uuid of attacker%} is set:
  2944. cancel the event
  2945. stop
  2946. else if {in.jail::%uuid of victim%} is set:
  2947. cancel the event
  2948. stop
  2949.  
  2950. command /setjail [<text>]:
  2951. permission: essentials.setjail
  2952. executable by: players, console
  2953. permission message: {@Nopermission}
  2954. usage: &cError &6>> &f/setjail [jail]
  2955. aliases: essentials:setjail, essentials:createjail, createjail
  2956. trigger:
  2957. if sender is a player:
  2958. if arg 1 is not set:
  2959. send "&cError &6>> &f/setjail [jail]" to player
  2960. stop
  2961. if arg 1 is set:
  2962. if {jails::%arg 1%} is not set:
  2963. set {jails::%arg 1%} to location of player
  2964. send "{@Setjailcreate}" to player
  2965. stop
  2966. if {jails::%arg 1%} is set:
  2967. send "{@Setjailalready}" to player
  2968. stop
  2969. if sender is console:
  2970. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2971. stop
  2972.  
  2973. command /jails:
  2974. permission: essentials.jails
  2975. executable by: players, console
  2976. permission message: {@Nopermission}
  2977. usage: &cError &6>> &f/jails
  2978. aliases: essentials:jails
  2979. trigger:
  2980. if sender is a player:
  2981. loop {jails::*}:
  2982. add loop-index to {_jl::*}
  2983. send "{@Jails}" to player
  2984. stop
  2985. if sender is console:
  2986. send "{@Errortoconsoleisnotplayerusecommands}" to console
  2987. stop
  2988.  
  2989. command /deljail [<text>]:
  2990. permission: essentials.deljail
  2991. executable by: players, console
  2992. permission message: {@Nopermission}
  2993. usage: &cError &6>> &f/deljail [Jail]
  2994. aliases: essentials:deljail, essentials:remjail, essentials:rmjail , remjail, rmjail
  2995. trigger:
  2996. if sender is a player:
  2997. if arg 1 is not set:
  2998. send "&cError &6>> &f/deljail [Jail]" to player
  2999. stop
  3000. if arg 1 is set:
  3001. loop {jails::*}:
  3002. if {jails::%arg 1%} is set:
  3003. clear {jails::%arg 1%}
  3004. send "{@Deljailremove}" to player
  3005. stop
  3006. if {jails::%arg 1%} is not set:
  3007. send "{@Deljailnojail}" to player
  3008. stop
  3009. if sender is console:
  3010. send "{@Errortoconsoleisnotplayerusecommands}" to console
  3011. stop
  3012.  
  3013. command /tree [<text>]:
  3014. permission: essentials.tree
  3015. executable by: players, console
  3016. permission message: {@Nopermission}
  3017. usage: &cError &6>> &f/tree [Jungle/Oak/Spruce/Acacia/Birch/Darkwood]
  3018. aliases: essentials:tree
  3019. trigger:
  3020. if sender is a player:
  3021. if arg 1 is "jungle":
  3022. grow tree of type any jungle tree above the targeted block
  3023. send "{@Tree}" to player
  3024. stop
  3025. if arg 1 is "oak":
  3026. grow oak above the targeted block
  3027. send "{@Tree}" to player
  3028. stop
  3029. if arg 1 is "spruce":
  3030. grow spruce above the targeted block
  3031. send "{@Tree}" to player
  3032. stop
  3033. if arg 1 is "acacia":
  3034. grow acacia above the targeted block
  3035. send "{@Tree}" to player
  3036. stop
  3037. if arg 1 is "birch":
  3038. grow birch above the targeted block
  3039. send "{@Tree}" to player
  3040. stop
  3041. if arg 1 is "darkwood":
  3042. grow dark oak above the targeted block
  3043. send "{@Tree}" to player
  3044. stop
  3045. if arg 1 is not "oak" or "jungle" or "spruce" or "acacia" or "birch" or "darkwood":
  3046. send "&cError &6>> &f/tree [Jungle/Oak/Spruce/Acacia/Birch/Darkwood]" to player
  3047. stop
  3048. if arg 1 is not set:
  3049. send "&cError &6>> &f/tree [Jungle/Oak/Spruce/Acacia/Birch/Darkwood]" to player
  3050. stop
  3051. if sender is console:
  3052. send "{@Errortoconsoleisnotplayerusecommands}" to console
  3053. stop
  3054.  
  3055. command /tpa [<offline player>]:
  3056. permission: essentials.tpa
  3057. executable by: players, console
  3058. permission message: {@Nopermission}
  3059. usage: &cError &6>> &f/tpa [player]
  3060. aliases: essentials:tpa
  3061. trigger:
  3062. if sender is a player:
  3063. if arg 1 is online:
  3064. set {tpa.%arg 1%} to player
  3065. send "{@Tpasendtoplayer}" to player
  3066. send "{@Tpasendtoplayer2}" to arg 1
  3067. send "{@Tpa}" to arg 1
  3068. stop
  3069. if arg 1 is offline:
  3070. send "{@Noplayerconnect}" to player
  3071. stop
  3072. if arg 1 is not set:
  3073. send "&cError &6>> &f/tpa [player]" to player
  3074. stop
  3075. if sender is console:
  3076. send "{@Errortoconsoleisnotplayerusecommands}" to console
  3077. stop
  3078.  
  3079. command /tpaccept:
  3080. permission: essentials.tpdeny
  3081. executable by: players, console
  3082. permission message: {@Nopermission}
  3083. usage: &cError &6>> &f/tpaccept
  3084. aliases: tpyes, essentials:tpaccept, essentials:tpyes
  3085. trigger:
  3086. if sender is a player:
  3087. if {tpa.%player%} is set:
  3088. if {@Tpacooldownteleportuse} is false:
  3089. send "{@Tpaccept}" to player
  3090. send "{@Tpaccept}" to {tpa.%player%}
  3091. send "{@Tpacceptteleporting}" to {tpa.%player%}
  3092. teleport {tpa.%player%} to player
  3093. wait 1 tick
  3094. delete {tpa.%player%}
  3095. stop
  3096. if {@Tpacooldownteleportuse} is true:
  3097. send "{@Tpaccept}" to player
  3098. send "{@Tpaccept}" to {tpa.%player%}
  3099. wait {@Tpacooldownteleportinseconds} seconds
  3100. teleport {tpa.%player%} to player
  3101. send "{@Tpacceptteleporting}" to {tpa.%player%}
  3102. wait 1 tick
  3103. delete {tpa.%player%}
  3104. stop
  3105. if {tpa.%player%} is not set:
  3106. send "{@Notpa}" to player
  3107. stop
  3108. if sender is console:
  3109. send "{@Errortoconsoleisnotplayerusecommands}" to console
  3110. stop
  3111.  
  3112. command /tpdeny:
  3113. permission: essentials.tpdeny
  3114. executable by: players, console
  3115. permission message: {@Nopermission}
  3116. usage: &cError &6>> &f/tpaccept
  3117. aliases: tpno, essentials:tpdeny, essentials:tpno
  3118. trigger:
  3119. if sender is a player:
  3120. if {tpa.%player%} is set:
  3121. send "{@Tpdeny}" to player
  3122. send "{@Tpdeny}" to {tpa.%player%}
  3123. delete {tpa.%player%}
  3124. stop
  3125. if {tpa.%player%} is not set:
  3126. send "{@Notpa}" to player
  3127. stop
  3128. if sender is console:
  3129. send "{@Errortoconsoleisnotplayerusecommands}" to console
  3130. stop
  3131.  
  3132. on sign change:
  3133. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.warp" or "essentials.*":
  3134. if line 1 is "[Essentials]":
  3135. if line 2 is "Warp":
  3136. if {warp.%line 3%.location} is set:
  3137. set line 1 of block to ""
  3138. set line 2 of block to "&1[Warp]"
  3139. set line 3 of block to line 3
  3140. send "{@Signcommands}" to player
  3141. stop
  3142. if {warp.%line 3%.location} is not set:
  3143. send "{@Signwarpnowarp}" to player
  3144. stop
  3145. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.warp" or "essentials.*":
  3146. stop
  3147.  
  3148. on right click on sign:
  3149. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.warp" or "essentials.*":
  3150. if line 2 of block is "&1[Warp]":
  3151. if {warp.%line 3%.location} is set:
  3152. set {back::%uuid of player%} to location of player
  3153. teleport player to {warp.%line 3%.location}
  3154. send "{@Warpteleporting}" to player
  3155. stop
  3156. if {warp.%line 3%.location} is not set:
  3157. send "{@Signwarpnowarp}" to player
  3158. stop
  3159. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.warp" or "essentials.*":
  3160. stop
  3161.  
  3162. on sign change:
  3163. if sender has permission "essentials.sign.*" or "essentials.sign.create.gamemode.*" or "essentials.sign.create.*" or "essentials.sign.create.gamemode.creative" or "essentials.*":
  3164. if line 1 is "[Essentials]":
  3165. if line 2 is "Gamemode":
  3166. if line 3 is "Creatif" or "1":
  3167. set line 1 of block to ""
  3168. set line 2 of block to "&1[Gamemode]"
  3169. set line 3 of block to "Creatif"
  3170. send "{@Signcommands}" to player
  3171. stop
  3172. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.gamemode.*" or "essentials.sign.create.*" or "essentials.sign.create.gamemode.creative" or "essentials.*":
  3173. stop
  3174.  
  3175. on sign change:
  3176. if sender has permission "essentials.sign.*" or "essentials.sign.create.gamemode.*" or "essentials.sign.create.*" or "essentials.sign.create.gamemode.survival" or "essentials.*":
  3177. if line 1 is "[Essentials]":
  3178. if line 2 is "Gamemode":
  3179. if line 3 is "Survival" or "0":
  3180. set line 1 of block to ""
  3181. set line 2 of block to "&1[Gamemode]"
  3182. set line 3 of block to "Survival"
  3183. send "{@Signcommands}" to player
  3184. stop
  3185. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.gamemode.*" or "essentials.sign.create.*" or "essentials.sign.create.gamemode.survival" or "essentials.*":
  3186. stop
  3187.  
  3188. on sign change:
  3189. if sender has permission "essentials.sign.*" or "essentials.sign.create.gamemode.*" or "essentials.sign.create.*" or "essentials.sign.create.gamemode.adventure" or "essentials.*":
  3190. if line 1 is "[Essentials]":
  3191. if line 2 is "Gamemode":
  3192. if line 3 is "Adventure" or "2":
  3193. set line 1 of block to ""
  3194. set line 2 of block to "&1[Gamemode]"
  3195. set line 3 of block to "Adventure"
  3196. send "{@Signcommands}" to player
  3197. stop
  3198. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.gamemode.*" or "essentials.sign.create.*" or "essentials.sign.create.gamemode.adventure" or "essentials.*":
  3199. stop
  3200.  
  3201. on sign change:
  3202. if sender has permission "essentials.sign.*" or "essentials.sign.create.gamemode.*" or "essentials.sign.create.*" or "essentials.sign.create.gamemode.spectator" or "essentials.*":
  3203. if line 1 is "[Essentials]":
  3204. if line 2 is "Gamemode":
  3205. if line 3 is "Spectator" or "3":
  3206. set line 1 of block to ""
  3207. set line 2 of block to "&1[Gamemode]"
  3208. set line 3 of block to "Spectator"
  3209. send "{@Signcommands}" to player
  3210. stop
  3211. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.gamemode.*" or "essentials.sign.create.*" or "essentials.sign.create.gamemode.spectator" or "essentials.*":
  3212. stop
  3213.  
  3214. on right click on sign:
  3215. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.gamemode.*" or "essentials.sign.use.gamemode.creative" or "essentials.*":
  3216. if line 2 of block is "&1[Gamemode]":
  3217. if line 3 of block is "Creative":
  3218. set the gamemode of the player to creative
  3219. send "{@Gamemodetometocreative}" to player
  3220. stop
  3221. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.gamemode.*" or "essentials.sign.use.gamemode.creative" or "essentials.*":
  3222. stop
  3223.  
  3224. on right click on sign:
  3225. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.gamemode.*" or "essentials.sign.use.gamemode.survival" or "essentials.*":
  3226. if line 2 of block is "&1[Gamemode]":
  3227. if line 3 of block is "Survival":
  3228. set the gamemode of the player to survival
  3229. send "{@Gamemodetometosurvival}" to player
  3230. stop
  3231. stop
  3232. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.gamemode.*" or "essentials.sign.use.gamemode.survival" or "essentials.*":
  3233. stop
  3234.  
  3235. on right click on sign:
  3236. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.gamemode.*" or "essentials.sign.use.gamemode.adventure" or "essentials.*":
  3237. if line 2 of block is "&1[Gamemode]":
  3238. if line 3 of block is "Adventure":
  3239. set the gamemode of the player to adventure
  3240. send "{@Gamemodetometoadventure}" to player
  3241. stop
  3242. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.gamemode.*" or "essentials.sign.use.gamemode.adventure" or "essentials.*":
  3243. stop
  3244.  
  3245. on right click on sign:
  3246. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.gamemode.*" or "essentials.sign.use.gamemode.spectator" or "essentials.*":
  3247. if line 2 of block is "&1[Gamemode]":
  3248. if line 3 of block is "Spectator":
  3249. set the gamemode of the player to spectator
  3250. send "{@Gamemodetometospectator}" to player
  3251. stop
  3252. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.gamemode.*" or "essentials.sign.use.gamemode.spectator" or "essentials.*":
  3253. stop
  3254.  
  3255. on sign change:
  3256. if sender has permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.spawn" or "essentials.*":
  3257. if line 1 is "[Essentials]":
  3258. if line 2 is "Spawn":
  3259. set line 1 of block to ""
  3260. set line 2 of block to "&1[Spawn]"
  3261. send "{@Signcommands}" to player
  3262. stop
  3263. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.create.*" or "essentials.sign.create.spawn" or "essentials.*":
  3264. stop
  3265.  
  3266. on right click on sign:
  3267. if sender has permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.spawn" or "essentials.*":
  3268. if line 2 of block is "&1[Spawn]":
  3269. if {@Spawncooldownuse} is true:
  3270. send "{@Spawncooldown1} {@Spawncooldown} {@Spawncooldown2}" to player
  3271. wait {@Spawncooldown} seconds
  3272. set {back::%uuid of player%} to location of player
  3273. teleport player to {spawn}
  3274. send "{@Spawnteleporting}" to player
  3275. stop
  3276. if {@Spawncooldownuse} is false:
  3277. set {back::%uuid of player%} to location of player
  3278. teleport player to {spawn}
  3279. send "{@Spawnteleporting}" to player
  3280. stop
  3281. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.use.*" or "essentials.sign.use.spawn" or "essentials.*":
  3282. stop
  3283.  
  3284. on sign change:
  3285. if sender has permission "essentials.sign.*" or "essentials.sign.color" or "essentials.*":
  3286. replace "&" with "§" in line 1
  3287. replace "&" with "§" in line 2
  3288. replace "&" with "§" in line 3
  3289. replace "&" with "§" in line 4
  3290. stop
  3291. if sender doesn't have permission "essentials.sign.*" or "essentials.sign.color" or "essentials.*":
  3292. stop
  3293.  
  3294. command /fireball:
  3295. permission: essentials.fireball
  3296. executable by: players, console
  3297. permission message: {@Nopermission}
  3298. usage: &cError &6>> &f/fireball
  3299. aliases: essentials:fireball
  3300. trigger:
  3301. if sender is a player:
  3302. shoot a fireball from the player
  3303. send "{@Fireball}" to player
  3304. stop
  3305. if sender is console:
  3306. send "{@Errortoconsoleisnotplayerusecommands}" to console
  3307. stop
  3308.  
  3309. command /enchant [<enchantment type>]:
  3310. permission: essentials.enchant
  3311. executable by: players, console
  3312. permission message: {@Nopermission}
  3313. usage: &cError &6>> &f/enchant [enchantment type]
  3314. aliases: enchantment, essentials:enchantment, essentials:enchant
  3315. trigger:
  3316. if sender is a player:
  3317. if arg 1 is not set:
  3318. send "&cError &6>> &f/enchant [enchantment type]" to player
  3319. stop
  3320. if player's tool is air:
  3321. send "{@Enchanttoair}" to player
  3322. stop
  3323. if player's tool is not air:
  3324. enchant player's tool with arg 1
  3325. send "{@Enchant}" to player
  3326. stop
  3327. if sender is console:
  3328. send "{@Errortoconsoleisnotplayerusecommands}" to console
  3329. stop
  3330.  
  3331. command /ext [<offline player>]:
  3332. permission: essentials.ext
  3333. executable by: players, console
  3334. permission message: {@Nopermission}
  3335. usage: &cError &6>> &f/ext [player]
  3336. aliases: extinguish, essentials:extinguish, essentials:ext
  3337. trigger:
  3338. if sender is a player:
  3339. if arg 1 is not set:
  3340. set the player on fire for 0 seconds
  3341. send "{@Exttome}" to player
  3342. stop
  3343. if arg 1 is online:
  3344. if sender has permission "essentials.ext.others" or "essentials.*":
  3345. set arg 1 on fire for 0 seconds
  3346. send "{@Exttoplayerme}" to arg 1
  3347. send "{@Exttoplayeradmin}" to player
  3348. stop
  3349. if sender doesn't have permission "essentials.ext.others" or "essentials.*":
  3350. send "{@Nopermission}" to player
  3351. stop
  3352. if arg 1 is offline:
  3353. send "{@Noplayerconnect}" to player
  3354. stop
  3355. if sender is console:
  3356. send "{@Errortoconsoleisnotplayerusecommands}" to console
  3357. stop
  3358.  
  3359. command /depth [<offline player>]:
  3360. permission: essentials.depth
  3361. executable by: players, console
  3362. permission message: {@Nopermission}
  3363. usage: &cError &6>> &f/depth [player]
  3364. aliases: height, essentials:height, essentials:depth
  3365. trigger:
  3366. if sender is a player:
  3367. if arg 1 is not set:
  3368. send "{@Depthtome}" to player
  3369. stop
  3370. if arg 1 is online:
  3371. if sender has permission "essentials.depth.others" or "essentials.*":
  3372. send "{@Depthtoplayeradmin}" to player
  3373. stop
  3374. if sender doesn't have permission "essentials.depth.others" or "essentials.*":
  3375. send "{@Nopermission}" to player
  3376. stop
  3377. if arg 1 is offline:
  3378. send "{@Noplayerconnect}" to player
  3379. stop
  3380. if sender is console:
  3381. send "{@Errortoconsoleisnotplayerusecommands}" to console
  3382. stop
  3383.  
  3384. command /burn [<offline player>] [<timespan>]:
  3385. permission: essentials.burn
  3386. executable by: players, console
  3387. permission message: {@Nopermission}
  3388. usage: &cError &6>> &f/burn [player] [times]
  3389. aliases: essentials:burn
  3390. trigger:
  3391. if sender is a player:
  3392. if arg 1 is not set:
  3393. send "&cError &6>> &f/burn [player] [times]" to player
  3394. stop
  3395. if arg 1 is online:
  3396. if arg 2 is not set:
  3397. send "&cError &6>> &f/burn [player] [times]" to player
  3398. stop
  3399. if arg 2 is set:
  3400. set arg 1 on fire for arg 2
  3401. send "{@Burntoplayeradmin}" to player
  3402. send "{@Burntome}" to arg 1
  3403. stop
  3404. if arg 1 is offline:
  3405. send "{@Noplayerconnect}" to player
  3406. stop
  3407. if sender is console:
  3408. send "{@Errortoconsoleisnotplayerusecommands}" to console
  3409. stop
  3410.  
  3411. command /unlimited [<offline player>]:
  3412. permission: essentials.unlimited
  3413. permission message: {@Nopermission}
  3414. usage: &cError &6>> &f/unlimited
  3415. executable by: players, console
  3416. aliases: ul, unl, essentials:unlimited, essentials:ul, essentials:unl
  3417. trigger:
  3418. if sender is a player:
  3419. if arg 1 is not set:
  3420. if {unlimited::%uuid of player%} is not set:
  3421. set {unlimited::%uuid of player%} to 1
  3422. send "{@Unlimitedenabletome}" to player
  3423. stop
  3424. if {unlimited::%uuid of player%} is set:
  3425. clear {unlimited::%uuid of player%}
  3426. send "{@Unlimiteddisabletome}" to player
  3427. stop
  3428. if arg 1 is online:
  3429. if sender has permission "essentials.unlimited.others" or "essentials.*":
  3430. if {unlimited::%uuid of arg 1%} is not set:
  3431. set {unlimited::%uuid of arg 1%} to 1
  3432. send "{@Unlimitedenabletome}" to arg 1
  3433. send "{@Unlimitedenabletoplayeradmin}" to player
  3434. stop
  3435. if {unlimited::%uuid of arg 1%} is set:
  3436. clear {unlimited::%uuid of arg 1%}
  3437. send "{@Unlimiteddisabletome}" to arg 1
  3438. send "{@Unlimiteddisabletoplayeradmin}" to player
  3439. stop
  3440. if sender doesn't have permission "essentials.unlimited.others" or "essentials.*":
  3441. send "{@Nopermission}" to player
  3442. stop
  3443. if arg 1 is offline:
  3444. send "{@Noplayerconnect}" to player
  3445. stop
  3446. if sender is console:
  3447. send "{@Errortoconsoleisnotplayerusecommands}" to console
  3448. stop
  3449.  
  3450. on place:
  3451. if {unlimited::%uuid of player%} is set:
  3452. give 0 of event-block to the player
  3453. stop
  3454.  
  3455. command /workbench:
  3456. permission: essentials.workbench
  3457. permission message: {@Nopermission}
  3458. usage: &cError &6>> &f/workbench
  3459. executable by: players, console
  3460. aliases: craft, wb, essentials:workbench, essentials:craft, essentials:wb
  3461. trigger:
  3462. if sender is a player:
  3463. open workbench inventory to the player
  3464. send "{@Workbench}" to player
  3465. stop
  3466. if sender is console:
  3467. send "{@Errortoconsoleisnotplayerusecommands}" to console
  3468. stop
  3469.  
  3470. command /banip [<offline player>] [<text>]:
  3471. permission: essentials.banip
  3472. permission message: {@Nopermission}
  3473. executable by: players, console
  3474. usage: &cError &6>> &f/banip [player] [reason]
  3475. aliases: ban-ip, essentials:banip, essentials:ban-ip
  3476. trigger:
  3477. if sender is a player:
  3478. if arg 1 is not set:
  3479. send "&cError &6>> &f/banip [player] [reason]" to player
  3480. stop
  3481. if arg 1 is set:
  3482. if arg 2 is not set:
  3483. if {banipplayer.%arg 1%} is false:
  3484. ip-ban arg 1 because "{@Banipreasondefault}"
  3485. broadcast "{@Banip} {@Banipreasondefault}"
  3486. kick arg 1 because "{@Banipreasondefault}"
  3487. set {banipplayer.%arg 1%} to true
  3488. stop
  3489. if {banipplayer.%arg 1%} is not set:
  3490. ip-ban arg 1 because "{@Banipreasondefault}"
  3491. broadcast "{@Banip} {@Banipreasondefault}"
  3492. kick arg 1 because "{@Banipreasondefault}"
  3493. set {banipplayer.%arg 1%} to true
  3494. stop
  3495. if {banplayer.%arg 1%} is true:
  3496. send "{@Banipalready}" to player
  3497. stop
  3498. if arg 2 is set:
  3499. if sender doesn't have permission "essentials.chat.color" or "essentials.*":
  3500. if {banipplayer.%arg-1%} is false:
  3501. ip-ban arg 1 because arg 2
  3502. broadcast "{@Banip} %arg 2%"
  3503. kick arg 1 because arg 2
  3504. set {banipplayer.%arg-1%} to true
  3505. stop
  3506. if {banipplayer.%arg-1%} is not set:
  3507. ip-ban arg 1 because arg 2
  3508. broadcast "{@Banip} %arg 2%"
  3509. kick arg 1 because arg 2
  3510. set {banipplayer.%arg 1%} to true
  3511. stop
  3512. if {banplayer.%arg-1%} is true:
  3513. send "{@Banipalready}" to player
  3514. stop
  3515. if sender has permission "essentials.chat.color" or "essentials.*":
  3516. if {banipplayer.%arg 1%} is false:
  3517. ip-ban arg 1 because colored arg 2
  3518. broadcast "{@Banip} %colored arg 2%"
  3519. kick arg 1 because colored arg 2
  3520. set {banipplayer.%arg-1%} to true
  3521. stop
  3522. if {banipplayer.%arg 1%} is not set:
  3523. ip-ban arg 1 because colored arg 2
  3524. broadcast "{@Banip} %colored arg 2%"
  3525. kick arg 1 because colored arg 2
  3526. set {banipplayer.%arg-1%} to true
  3527. stop
  3528. if {banplayer.%arg 1%} is true:
  3529. send "{@Banipalready}" to player
  3530. stop
  3531. if sender is console:
  3532. if arg 1 is not set:
  3533. send "&cError &6>> &f/banip [player] [reason]" to player
  3534. stop
  3535. if arg 1 is set:
  3536. if arg 2 is not set:
  3537. if {banipplayer.%arg 1%} is false:
  3538. ip-ban arg 1 because "{@Banipreasondefault}"
  3539. broadcast "{@Banip} {@Banipreasondefault}"
  3540. kick arg 1 because "{@Banipreasondefault}"
  3541. set {banipplayer.%arg-1%} to true
  3542. stop
  3543. if {banipplayer.%arg 1%} is not set:
  3544. ip-ban arg 1 because "{@Banipreasondefault}"
  3545. broadcast "{@Banip} {@Banipreasondefault}"
  3546. kick arg 1 because "{@Banipreasondefault}"
  3547. set {banipplayer.%arg 1%} to true
  3548. stop
  3549. if {banplayer.%arg 1%} is true:
  3550. send "{@Banipalready}" to player
  3551. stop
  3552. if arg 2 is set:
  3553. if {banipplayer.%arg 1%} is false:
  3554. ip-ban arg 1 because colored arg 2
  3555. broadcast "{@Banip} %colored arg 2%"
  3556. kick arg 1 because colored arg 2
  3557. set {banipplayer.%arg-1%} to true
  3558. stop
  3559. if {banipplayer.%arg 1%} is not set:
  3560. ip-ban arg 1 because colored arg 2
  3561. broadcast "{@Banip} %colored arg 2%"
  3562. kick arg 1 because colored arg 2
  3563. set {banipplayer.%arg-1%} to true
  3564. stop
  3565. if {banplayer.%arg 1%} is true:
  3566. send "{@Banipalready}" to player
  3567. stop
  3568.  
  3569. command /ban [<offline player>] [<text>]:
  3570. permission: essentials.ban
  3571. permission message: {@Nopermission}
  3572. executable by: players, console
  3573. usage: &cError &6>> &f/ban [player] [reason]
  3574. aliases: essentials:ban
  3575. trigger:
  3576. if sender is a player:
  3577. if arg 1 is not set:
  3578. send "&cError &6>> &f/ban [player] [reason]" to player
  3579. stop
  3580. if arg 1 is set:
  3581. if arg 2 is not set:
  3582. if {banplayer.%arg 1%} is false:
  3583. ban arg 1 because "{@Banreasondefault}"
  3584. broadcast "{@Ban} {@Banreasondefault}"
  3585. kick arg 1 because "{@Banreasondefault}"
  3586. set {banplayer.%arg 1%} to true
  3587. stop
  3588. if {banplayer.%arg 1%} is not set:
  3589. ban arg 1 because "{@Banreasondefault}"
  3590. broadcast "{@Ban} {@Banreasondefault}"
  3591. kick arg 1 because "{@Banreasondefault}"
  3592. set {banplayer.%arg 1%} to true
  3593. stop
  3594. if {banplayer.%arg 1%} is true:
  3595. send "{@Banalready}" to player
  3596. stop
  3597. if arg 2 is set:
  3598. if sender doesn't have permission "essentials.chat.color" or "essentials.*":
  3599. if {banplayer.%arg 1%} is false:
  3600. ban arg 1 because arg 2
  3601. broadcast "{@Ban} %arg 2%"
  3602. kick arg 1 because arg 2
  3603. set {banplayer.%arg 1%} to true
  3604. stop
  3605. if {banplayer.%arg 1%} is not set:
  3606. ban arg 1 because arg 2
  3607. broadcast "{@Ban} %arg 2%"
  3608. kick arg 1 because arg 2
  3609. set {banplayer.%arg 1%} to true
  3610. stop
  3611. if {banplayer.%arg 1%} is true:
  3612. send "{@Banalready}" to player
  3613. stop
  3614. if sender has permission "essentials.chat.color" or "essentials.*":
  3615. if {banplayer.%arg 1%} is false:
  3616. ban arg 1 because colored arg 2
  3617. broadcast "{@Ban} %colored arg 2%"
  3618. kick arg 1 because colored arg 2
  3619. set {banplayer.%arg 1%} to true
  3620. stop
  3621. if {banplayer.%arg 1%} is not set:
  3622. ban arg 1 because colored arg 2
  3623. broadcast "{@Ban} %colored arg 2%"
  3624. kick arg 1 because colored arg 2
  3625. set {banplayer.%arg 1%} to true
  3626. stop
  3627. if {banplayer.%arg 1%} is true:
  3628. send "{@Banalready}" to player
  3629. stop
  3630. if sender is console:
  3631. if arg 1 is not set:
  3632. send "&cError &6>> &f/ban [player] [reason]" to player
  3633. stop
  3634. if arg 1 is set:
  3635. if arg 2 is not set:
  3636. if {banplayer.%arg 1%} is false:
  3637. ban arg 1 because "{@Banreasondefault}"
  3638. broadcast "{@Ban} {@Banreasondefault}"
  3639. kick arg 1 because "{@Banreasondefault}"
  3640. set {banplayer.%arg 1%} to true
  3641. stop
  3642. if {banplayer.%arg 1%} is not set:
  3643. ban arg 1 because "{@Banreasondefault}"
  3644. broadcast "{@Ban} {@Banreasondefault}"
  3645. kick arg 1 because "{@Banreasondefault}"
  3646. set {banplayer.%arg 1%} to true
  3647. stop
  3648. if {banplayer.%arg 1%} is true:
  3649. send "{@Banalready}" to player
  3650. stop
  3651. if arg 2 is set:
  3652. if {banplayer.%arg 1%} is false:
  3653. ban arg 1 because colored arg 2
  3654. broadcast "{@Ban} %colored arg 2%"
  3655. kick arg 1 because colored arg 2
  3656. set {banplayer.%arg 1%} to true
  3657. stop
  3658. if {banplayer.%arg 1%} is not set:
  3659. ban arg 1 because colored arg 2
  3660. broadcast "{@Ban} %colored arg 2%"
  3661. kick arg 1 because colored arg 2
  3662. set {banplayer.%arg 1%} to true
  3663. stop
  3664. if {banplayer.%arg 1%} is true:
  3665. send "{@Banalready}" to player
  3666. stop
  3667.  
  3668. command /unban [<offline player>]:
  3669. permission: essentials.unban
  3670. permission message: {@Nopermission}
  3671. executable by: players, console
  3672. aliases: essentials:unban
  3673. usage: &cError &6>> &f/unban [player]
  3674. trigger:
  3675. if sender is a player:
  3676. if arg 1 is not set:
  3677. send "&cError &6>> &f/unban [player]" to player
  3678. stop
  3679. if arg 1 is set:
  3680. if {banplayer.%arg 1%} is true:
  3681. execute console command "/pardon %arg 1%"
  3682. broadcast "{@Unban}"
  3683. unban arg 1
  3684. set {banplayer.%arg 1%} to false
  3685. stop
  3686. if {banplayer.%arg 1%} is false:
  3687. send "{@Unbanalready}" to player
  3688. stop
  3689. if sender is console:
  3690. if arg 1 is not set:
  3691. send "&cError &6>> &f/unban [player]" to console
  3692. stop
  3693. if arg 1 is set:
  3694. if {banplayer.%arg 1%} is true:
  3695. execute console command "/pardon %arg 1%"
  3696. broadcast "{@Unbantoconsole}"
  3697. unban arg 1
  3698. set {banplayer.%arg 1%} to false
  3699. stop
  3700. if {banplayer.%arg 1%} is false:
  3701. send "{@Unbanalready}" to console
  3702. stop
  3703.  
  3704.  
  3705. command /unbanip [<offline player>] [<Text>]:
  3706. permission: essentials.unbanip
  3707. permission message: {@Nopermission}
  3708. executable by: players, console
  3709. aliases: essentials:unbanip, unban-ip, essentials:unban-ip
  3710. usage: &cError &6>> &f/unbanip [player] [IP]
  3711. trigger:
  3712. if sender is a player:
  3713. if arg 1 is not set:
  3714. send "&cError &6>> &f/unbanip [player] [IP]" to player
  3715. stop
  3716. if arg 2 is not set:
  3717. send "&cError &6>> &f/unbanip [player] [IP]" to player
  3718. stop
  3719. if arg 1 is set:
  3720. if arg 2 is ip of arg 1:
  3721. if {banipplayer.%arg 1%} is true:
  3722. make console execute command "/pardon-ip %{ip.%arg 1%}%"
  3723. broadcast "{@Unbanip}"
  3724. IP-unban arg 1
  3725. set {banipplayer.%arg 1%} to false
  3726. stop
  3727. if {banipplayer.%arg 1%} is false:
  3728. send "{@Unbanipalready}" to player
  3729. stop
  3730. if arg 2 is not ip of arg 1:
  3731. send "&cError &6>> &f/unbanip [player] [IP]" to player
  3732. stop
  3733. if sender is console:
  3734. if arg 1 is not set:
  3735. send "&cError &6>> &f/unbanip [player] [IP]" to console
  3736. stop
  3737. if arg 2 is not set:
  3738. send "&cError &6>> &f/unbanip [player] [IP]" to console
  3739. stop
  3740. if arg 1 is set:
  3741. if arg 2 is ip of arg 1:
  3742. if {banipplayer.%arg 1%} is true:
  3743. make console execute command "/pardon-ip %{ip.%arg 1%}%"
  3744. broadcast "{@Unbaniptoconsole}"
  3745. IP-unban arg 1
  3746. set {banipplayer.%arg 1%} to false
  3747. stop
  3748. if {banipplayer.%arg 1%} is false:
  3749. send "{@Unbanipalready}" to console
  3750. stop
  3751. if arg 2 is not ip of arg 1:
  3752. send "&cError &6>> &f/unbanip [player] [IP]" to console
  3753. stop
  3754.  
  3755. command /antioch:
  3756. permission: essentials.antioch
  3757. permission message: {@Nopermission}
  3758. usage: &cError &6>> &f/antioch
  3759. executable by: players, console
  3760. aliases: grenade, tnt, essentials:grenade, essentials:tnt, essentials:antioch
  3761. trigger:
  3762. if sender is a player:
  3763. spawn 1 primed tnt at the targeted block
  3764. send "{@Antioch}" to player
  3765. stop
  3766. if sender is console:
  3767. send "{@Errortoconsoleisnotplayerusecommands}" to console
  3768. stop
  3769.  
  3770. command /break:
  3771. permission: essentials.break
  3772. permission message: {@Nopermission}
  3773. usage: &cError &6>> &f/break
  3774. executable by: players, console
  3775. aliases: /break
  3776. trigger:
  3777. if sender is a player:
  3778. delete the targeted block
  3779. send "{@Break}" to player
  3780. stop
  3781. if sender is console:
  3782. send "{@Errortoconsoleisnotplayerusecommands}" to console
  3783. stop
  3784.  
  3785. command /xp [<text>] [<offline player>] [<integer>]:
  3786. permission: essentials.xp
  3787. permission message: {@Nopermission}
  3788. usage: &cError &6>> &f/xp [show/set/give/remove] [player] [number]
  3789. executable by: players, console
  3790. aliases: exp, essentials:xp, essentials:exp
  3791. trigger:
  3792. if sender is a player:
  3793. if arg 1 is not "show" or "set" or "give" or "remove":
  3794. send "&cError &6>> &f/xp [show/set/give/remove] [player] [number]" to player
  3795. stop
  3796. if arg 1 is not set:
  3797. send "&cError &6>> &f/xp [show/set/give/remove] [player] [number]" to player
  3798. stop
  3799. if arg 2 is not set:
  3800. send "&cError &6>> &f/xp [show/set/give/remove] [player] [number]" to player
  3801. stop
  3802. if arg 1 is "show":
  3803. if sender has permission "essentials.xp.*" or "essentials.xp.show" or "essentials.*":
  3804. if arg 2 is not set:
  3805. send "{@Expshowtome}" to player
  3806. stop
  3807. if arg 2 is online:
  3808. if arg 3 is not set:
  3809. send "{@Expshowtoplayeradmin}" to player
  3810. stop
  3811. if arg 2 is offline:
  3812. send "{@Noplayerconnect}" to player
  3813. stop
  3814. if sender doesn't have permission "essentials.xp.*" or "essentials.xp.show" or "essentials.*":
  3815. send "{@Nopermission}" to player
  3816. stop
  3817. if arg 1 is "set":
  3818. if sender has permission "essentials.xp.*" or "essentials.xp.set" or "essentials.*":
  3819. if arg 2 is online:
  3820. if arg 3 is set:
  3821. send "{@Expsettoplayeradmin}" to player
  3822. set level of arg 2 to arg 3
  3823. send "{@Expsettoplayer}" to arg 2
  3824. stop
  3825. if arg 3 is not set:
  3826. message "&cError &6>> &f/xp [show/set/give/remove] [player] [number]" to player
  3827. stop
  3828. if arg 2 is offline:
  3829. send "{@Noplayerconnect}" to player
  3830. stop
  3831. if sender doesn't have permission "essentials.xp.*" or "essentials.xp.set" or "essentials.*":
  3832. send "{@Nopermission}" to player
  3833. stop
  3834. if arg 1 is "give":
  3835. if sender has permission "essentials.xp.*" or "essentials.xp.give" or "essentials.*":
  3836. if arg 2 is online:
  3837. if arg 3 is set:
  3838. send "{@Expgivetoplayeradmin}" to player
  3839. add arg 3 to level of arg 2
  3840. send "{@Expgivetoplayer}" to arg 2
  3841. stop
  3842. if arg 3 is not set:
  3843. send "&cError &6>> &f/xp [show/set/give/remove] [player] [number]" to player
  3844. stop
  3845. if arg 2 is offline:
  3846. send "{@Noplayerconnect}" to player
  3847. stop
  3848. if sender doesn't have permission "essentials.xp.*" or "essentials.xp.give" or "essentials.*":
  3849. send "{@Nopermission}" to player
  3850. stop
  3851. if arg 1 is "remove":
  3852. if sender has permission "essentials.xp.*" or "essentials.xp.remove" or "essentials.*":
  3853. if arg 2 is online:
  3854. if arg 3 is set:
  3855. send "{@Expremovetoplayeradmin}" to player
  3856. remove arg 3 from level of arg 2
  3857. send "{@Expremovetoplayer}" to arg 2
  3858. stop
  3859. if arg 3 is not set:
  3860. send "&cError &6>> &f/xp [show/set/give/remove] [player] [number]" to player
  3861. stop
  3862. if arg 2 is offline:
  3863. send "{@Noplayerconnect}" to player
  3864. stop
  3865. if sender doesn't have permission "essentials.xp.*" or "essentials.xp.remove" or "essentials.*":
  3866. send "{@Nopermission}" to player
  3867. stop
  3868. if sender is console:
  3869. send "{@Errortoconsoleisnotplayerusecommands}" to console
  3870. stop
  3871.  
  3872. command /back [<offline player>]:
  3873. permission: essentials.back
  3874. permission message: {@Nopermission}
  3875. usage: &cError &6>> &f/back
  3876. executable by: players, console
  3877. aliases: return, essentials:back, essentials:return
  3878. trigger:
  3879. if sender is a player:
  3880. if arg 1 is not set:
  3881. if {back::%uuid of player%} is not set:
  3882. send "{@Nobackpoint}" to player
  3883. stop
  3884. if {back::%uuid of player%} is set:
  3885. if {@Backcooldownuse} is true:
  3886. if sender doesn't have permission "essentials.back.bypass" or "essentials.*":
  3887. send "{@Backcooldown1} {@Backcooldown} {@Backcooldown2}" to player
  3888. wait {@Backcooldown} seconds
  3889. teleport player to {back::%uuid of player%}
  3890. send "{@Backteleporting}" to player
  3891. stop
  3892. if sender has permission "essentials.back.bypass" or "essentials.*":
  3893. teleport player to {back::%uuid of player%}
  3894. send "{@Backteleporting}" to player
  3895. stop
  3896. if {@Backcooldownuse} is false:
  3897. teleport player to {back::%uuid of player%}
  3898. send "{@Backteleporting}" to player
  3899. stop
  3900. if arg 1 is online:
  3901. if sender doesn't have permission "essentials.back.others" or "essentials.*":
  3902. if {back::%uuid of arg 1%} is not set:
  3903. send "{@Nobackpoint}" to player
  3904. stop
  3905. if {back::%uuid of arg 1%} is set:
  3906. if {@Backcooldownuse} is true:
  3907. if sender doesn't have permission "essentials.back.bypass.others" or "essentials.*":
  3908. send "{@Backcooldown1} {@Backcooldown} {@Backcooldown2}" to arg 1
  3909. wait {@Backcooldown} seconds
  3910. teleport arg 1 to {back::%uuid of arg 1%}
  3911. send "{@Backteleporting}" to arg 1
  3912. stop
  3913. if sender has permission "essentials.back.bypass.others" or "essentials.*":
  3914. teleport arg 1 to {back::%uuid of arg 1%}
  3915. send "{@Backteleporting}" to arg 1
  3916. stop
  3917. if {@Backcooldownuse} is false:
  3918. teleport arg 1 to {back::%uuid of arg 1%}
  3919. send "{@Backteleporting}" to arg 1
  3920. stop
  3921. if sender has permission "essentials.back.others" or "essentials.*":
  3922. send "{@Nopermission}" to player
  3923. stop
  3924. if sender is console:
  3925. send "{@Errortoconsoleisnotplayerusecommands}" to console
  3926. stop
  3927.  
  3928. command /list:
  3929. permission: essentials.list
  3930. permission message: {@Nopermission}
  3931. aliases: who, playerlist, online, plist, essentials:who, essentials:playerlist, essentials:online, essentials:plist
  3932. usage: &cError &6>> &f/list
  3933. executable by: players, console
  3934. trigger:
  3935. if sender is a player:
  3936. loop all players:
  3937. add loop-player to {_list::*}
  3938. set {_list} to "%{_list::*}%"
  3939. send "{@list}" to player
  3940. stop
  3941. if sender is console:
  3942. send "{@Errortoconsoleisnotplayerusecommands}" to console
  3943. stop
  3944.  
  3945. command /getpos [<offline player>]:
  3946. permission: essentials.getpos
  3947. permission message: {@Nopermission}
  3948. aliases: essentials:getpos, coords, position, whereami, getlocation, getloc, essentials:getloc, essentials:getlocation, essentials:whereami, essentials:position, essentials:coords
  3949. usage: &cError &6>> &f/getpos [player]
  3950. executable by: players, console
  3951. trigger:
  3952. if sender is a player:
  3953. if arg 1 is not set:
  3954. send "{@Getpostome}" to player
  3955. stop
  3956. if arg 1 is online:
  3957. if sender has permission "essentials.getpos.others" or "essentials.*":
  3958. send "{@Getpostoplayer}" to player
  3959. stop
  3960. if sender doesn't have permission "essentials.getpos.others" or "essentials.*":
  3961. send "{@Nopermission}" to player
  3962. stop
  3963. if arg 1 is offline:
  3964. send "{@Noplayerconnect}" to player
  3965. stop
  3966. if sender is console:
  3967. send "{@Errortoconsoleisnotplayerusecommands}" to console
  3968. stop
  3969.  
  3970. command /near:
  3971. permission: essentials.near
  3972. permission message: {@Nopermission}
  3973. aliases: essentials:near
  3974. executable by: players, console
  3975. usage: &cError &6>> &f/near
  3976. trigger:
  3977. if sender is a player:
  3978. loop players in radius 200 of player:
  3979. add 1 to {_n}
  3980. set {_players::%{_n}%} to loop-player
  3981. set {_locs::%{_n}%} to distance between loop-player and player
  3982. if {_n} is greater than 0:
  3983. loop {_players::*}:
  3984. add 1 to {_m}
  3985. remove player from {_players::*}
  3986. send "{@Near}" to player
  3987. stop
  3988. else:
  3989. send "{@Nearnoplayer}" to player
  3990. stop
  3991. if sender is console:
  3992. send "{@Errortoconsoleisnotplayerusecommands}" to console
  3993. stop
  3994.  
  3995. on join:
  3996. set {ip.%player%} to ip of player
  3997. stop
  3998.  
  3999. command /god [<offline player>]:
  4000. permission: essentials.god
  4001. permission message: {@Nopermission}
  4002. aliases: essentials:god
  4003. executable by: players, console
  4004. usage: &cError &6>> &f/god [player]
  4005. trigger:
  4006. if sender is a player:
  4007. if arg 1 is not set:
  4008. if {essentialsgodu.%player%} is false:
  4009. set {essentials.god.%player%} to true
  4010. send "{@Godtome}" to player
  4011. stop
  4012. if {essentials.god.%player%} is true:
  4013. set {essentials.god.%player%} to false
  4014. send "{@Nogodtome}" to player
  4015. stop
  4016. if {essentials.god.%player%} is not set:
  4017. set {essentials.god.%player%} to true
  4018. send "{@Godtome}" to player
  4019. stop
  4020. if arg 1 is online:
  4021. if sender has permission "essentials.god.others" or "essentials.*":
  4022. if {essentials.god.%arg 1%} is false:
  4023. set {essentials.god.%arg 1%} to true
  4024. send "{@Godtoplayeradmin}" to player
  4025. send "{@Godtoplayer}" to arg 1
  4026. stop
  4027. if {essentials.god.%arg 1%} is true:
  4028. set {essentials.god.%arg 1%} to false
  4029. send "{@Nogodtoplayeradmin}" to player
  4030. send "{@Nogodtoplayer}" to arg 1
  4031. stop
  4032. if {essentials.god.%arg 1%} is not set:
  4033. set {essentials.god.%arg 1%} to true
  4034. send "{@Godtoplayeradmin}" to player
  4035. send "{@Godtoplayer}" to arg 1
  4036. stop
  4037. if sender doesn't have permission "essentials.god.others" or "essentials.*":
  4038. send "{@Nopermission}" to player
  4039. stop
  4040. if arg 1 is offline:
  4041. send "{@Noplayerconnect}" to player
  4042. stop
  4043. if sender is console:
  4044. send "{@Errortoconsoleisnotplayerusecommands}" to console
  4045. stop
  4046.  
  4047. on join:
  4048. delete {essentials.god.%player%}
  4049. stop
  4050.  
  4051. on damage:
  4052. if {essentials.god.%victim%} is true:
  4053. cancel event
  4054. stop
  4055. if {essentials.god.%victim%} is false:
  4056. stop
  4057.  
  4058. command /pay [<offline player>] [<number>]:
  4059. permission: essentials.pay
  4060. permission message: {@Nopermission}
  4061. aliases: essentials:pay
  4062. executable by: players, console
  4063. usage: &cError &6>> &f/pay [player] [number]
  4064. trigger:
  4065. if sender is a player:
  4066. if arg 1 is not set:
  4067. send "&cError &6>> /pay [player] [number]" to player
  4068. stop
  4069. if arg 1 is online:
  4070. if arg 2 is set:
  4071. if 0 is less than arg 2:
  4072. send "{@Paynonumberpositive}" to player
  4073. stop
  4074. if {money.%UUID of player%} is less than arg 2:
  4075. send "{@Paynomoney}" to player
  4076. stop
  4077. else:
  4078. remove arg 2 from {money.%UUID of player%}
  4079. add arg 2 to {money.%UUID of arg 1%}
  4080. send "{@Paytome}" to player
  4081. send "{@Paytoplayer}" to arg 1
  4082. stop
  4083. if arg 2 is not set:
  4084. send "&cError &6>> /pay [player] [number]" to player
  4085. stop
  4086. if arg 1 is offline:
  4087. send "{@Noplayerconnect}" to player
  4088. stop
  4089. if sender is console:
  4090. send "{@Errortoconsoleisnotplayerusecommands}" to console
  4091. stop
  4092.  
  4093. on first join:
  4094. set {money.%UUID of player%} to 50
  4095. stop
  4096.  
  4097. command /money [<offline player>]:
  4098. permission: essentials.money
  4099. permission message: {@Nopermission}
  4100. aliases: essentials:money, balance, bal, essentials:balance, essentials:bal
  4101. executable by: players, console
  4102. usage: &cError &6>> &f/money [player]
  4103. trigger:
  4104. if sender is a player:
  4105. if arg 1 is not set:
  4106. send "{@Moneytome}" to player
  4107. stop
  4108. if arg 1 is online:
  4109. if sender has permission "essentials.money.others" or "essentials.*":
  4110. send "{@Moneytoplayer}" to player
  4111. stop
  4112. if sender doesn't have permission "essentials.money.others" or "essentials.*":
  4113. send "{@Nopermission}" to player
  4114. stop
  4115. if arg 1 is offline:
  4116. if sender has permission "essentials.money.others" or "essentials.*":
  4117. send "{@Moneytoplayer}" to player
  4118. stop
  4119. if sender doesn't have permission "essentials.money.others" or "essentials.*":
  4120. send "{@Nopermission}" to player
  4121. stop
  4122. if sender is console:
  4123. send "{@Errortoconsoleisnotplayerusecommands}" to console
  4124. stop
  4125.  
  4126. command /eco [<text>] [<offline player>] [<number>]:
  4127. permission: essentials.eco
  4128. permission message: {@Nopermission}
  4129. aliases: essentials:eco
  4130. executable by: players, console
  4131. usage: &cError &6>> &f/eco [give/remove/set] [player] [number]
  4132. trigger:
  4133. if sender is a player:
  4134. if arg 1 is not set:
  4135. send "&cError &6>> &f/eco [give/remove/set] [player] [number]" to player
  4136. stop
  4137. if arg 1 is not "give" or "remove" or "set":
  4138. send "&cError &6>> &f/eco [give/remove/set] [player] [number]" to player
  4139. stop
  4140. if arg 1 is "set":
  4141. if sender has permission "essentials.eco.*" or "essentials.eco.set" or "essentials.*":
  4142. if arg 2 is not set:
  4143. send "&cError &6>> &f/eco [give/remove/set] [player] [number]" to player
  4144. stop
  4145. if arg 2 is online:
  4146. if arg 3 is not set:
  4147. send "&cError &6>> &f/eco [give/remove/set] [player] [number]" to player
  4148. stop
  4149. if arg 3 is set:
  4150. set {money.%UUID of arg 2%} to arg 3
  4151. send "{@Ecosettoplayeradmin}" to player
  4152. send "{@Ecosettome}" to arg 2
  4153. stop
  4154. if arg 2 is offline:
  4155. send "{@Noplayerconnect}" to player
  4156. stop
  4157. if sender doesn't have permission "essentials.eco.*" or "essentials.eco.set" or "essentials.*":
  4158. send "{@Nopermission}" to player
  4159. stop
  4160. if arg 1 is "give":
  4161. if sender has permission "essentials.eco.*" or "essentials.eco.give" or "essentials.*":
  4162. if arg 2 is not set:
  4163. send "&cError &6>> &f/eco [give/remove/set] [player] [number]" to player
  4164. stop
  4165. if arg 2 is online:
  4166. if arg 3 is not set:
  4167. send "&cError &6>> &f/eco [give/remove/set] [player] [number]" to player
  4168. stop
  4169. if arg 3 is set:
  4170. add arg 3 to {money.%UUID of arg 2%}
  4171. send "{@Ecogivetoplayeradmin}" to player
  4172. send "{@Ecogivetome}" to arg 2
  4173. if arg 2 is offline:
  4174. send "{@Noplayerconnect}" to player
  4175. stop
  4176. if sender doesn't have permission "essentials.eco.*" or "essentials.eco.give" or "essentials.*":
  4177. send "{@Nopermission}" to player
  4178. stop
  4179. if arg 1 is "remove":
  4180. if sender has permission "essentials.eco.*" or "essentials.eco.remove" or "essentials.*":
  4181. if arg 2 is not set:
  4182. send "&cError &6>> &f/eco [give/remove/set] [player] [number]" to player
  4183. stop
  4184. if arg 2 is online:
  4185. if arg 3 is not set:
  4186. send "&cError &6>> &f/eco [give/remove/set] [player] [number]" to player
  4187. stop
  4188. if arg 3 is set:
  4189. if {money.%UUID of arg 2%} > arg 3:
  4190. remove arg 3 from {money.%UUID of arg 2%}
  4191. send "{@Ecoremovetoplayeradmin}" to player
  4192. send "{@Ecoremovetome}" to arg 2
  4193. else:
  4194. send "{@Ecoremovenomoneytome}" to player
  4195. stop
  4196. if sender doesn't have permission "essentials.eco.*" or "essentials.eco.remove" or "essentials.*":
  4197. send "{@Nopermission}" to player
  4198. stop
  4199. if arg 2 is offline:
  4200. send "{@Noplayerconnect}" to player
  4201. stop
  4202. if sender is console:
  4203. send "{@Errortoconsoleisnotplayerusecommands}" to console
  4204. stop
  4205.  
  4206. on first join:
  4207. delete {essentials.god}
  4208. stop
  4209.  
  4210. command /nick [<offline player>] [<text>]:
  4211. permission: essentials.nick
  4212. permission message: {@Nopermission}
  4213. aliases: essentials:nick, nickname, essentials:nickname
  4214. executable by: players, console
  4215. usage: &cError &6>> &f/nick [player] [text]
  4216. trigger:
  4217. if sender is a player:
  4218. if arg 1 is not set:
  4219. send "&cError &6>> &f/nick [player] [text]" to player
  4220. stop
  4221. if arg 1 is online:
  4222. if arg 2 is set:
  4223. if arg 2 is "off":
  4224. set {nick.%player%} to arg 1
  4225. send "{@Nickredefine}" to player
  4226. stop
  4227. if arg 2 is not "off":
  4228. send "{@Nicktoplayeradmin}" to player
  4229. set {nick.%player%} to coloured arg 2
  4230. send "{@Nicktoplayer}" to arg 1
  4231. stop
  4232. if arg 2 is not set:
  4233. send "&cError &6>> &f/nick [player] [text]" to player
  4234. stop
  4235. if sender is console:
  4236. send "{@Errortoconsoleisnotplayerusecommands}" to console
  4237. stop
  4238.  
  4239. command /adminhome [<text>] [<offline player>] [<text>]:
  4240. permission: essentials.adminhome
  4241. permission message: {@Nopermission}
  4242. aliases: essentials:adminhome
  4243. executable by: players, console
  4244. usage: &cError &6>> &f/adminhome [delhome/reset/homes/home/sethome] [player] [home]
  4245. trigger:
  4246. if sender is a player:
  4247. if arg 1 is not set:
  4248. send "&cError &6>> &f/adminhome delhome [player] [home]" to player
  4249. send "&cError &6>> &f/adminhome reset [player]" to player
  4250. send "&cError &6>> &f/adminhome homes [player]" to player
  4251. send "&cError &6>> &f/adminhome home [player] [home]" to player
  4252. send "&cError &6>> &f/adminhome sethome [player] [home]" to player
  4253. stop
  4254. if arg 1 is not "delhome" or "reset" or "home" or "homes" or "sethome":
  4255. send "&cError &6>> &f/adminhome delhome [player] [home]" to player
  4256. send "&cError &6>> &f/adminhome reset [player]" to player
  4257. send "&cError &6>> &f/adminhome homes [player]" to player
  4258. send "&cError &6>> &f/adminhome home [player] [home]" to player
  4259. send "&cError &6>> &f/adminhome sethome [player] [home]" to player
  4260. stop
  4261. if arg 1 is "reset":
  4262. if arg 2 is not set:
  4263. send "&cError &6>> &f/adminhome delhome [player] [home]" to player
  4264. send "&cError &6>> &f/adminhome reset [player]" to player
  4265. send "&cError &6>> &f/adminhome homes [player]" to player
  4266. send "&cError &6>> &f/adminhome home [player] [home]" to player
  4267. send "&cError &6>> &f/adminhome sethome [player] [home]" to player
  4268. stop
  4269. if arg 2 is online:
  4270. delete {homename.%arg 2%::*}
  4271. delete {home.%arg 2%::*}
  4272. set {homes.%arg 2%} to 0
  4273. send "{@Adminhomereset}" to player
  4274. stop
  4275. if arg 2 is offline:
  4276. send "{@Noplayerconnect}" to player
  4277. stop
  4278. if arg 1 is "homes":
  4279. if arg 2 is not set:
  4280. send "&cError &6>> &f/adminhome delhome [player] [home]" to player
  4281. send "&cError &6>> &f/adminhome reset [player]" to player
  4282. send "&cError &6>> &f/adminhome homes [player]" to player
  4283. send "&cError &6>> &f/adminhome home [player] [home]" to player
  4284. send "&cError &6>> &f/adminhome sethome [player] [home]" to player
  4285. stop
  4286. if arg 2 is online:
  4287. send "{@Adminhomehome}" to player
  4288. stop
  4289. if arg 2 is offline:
  4290. send "{@Noplayerconnect}" to player
  4291. stop
  4292. if arg 1 is "home":
  4293. if arg 2 is not set:
  4294. send "&cError &6>> &f/adminhome remove [player] [home]" to player
  4295. send "&cError &6>> &f/adminhome reset [player]" to player
  4296. send "&cError &6>> &f/adminhome homes [player]" to player
  4297. send "&cError &6>> &f/adminhome home [player] [home]" to player
  4298. send "&cError &6>> &f/adminhome sethome [player] [home]" to player
  4299. stop
  4300. if arg 2 is online:
  4301. if arg 3 is set:
  4302. if {home.%arg 2%::%arg 3%} is set:
  4303. set {back::%uuid of player%} to location of player
  4304. teleport player to {home.%arg 2%::%arg 3%}
  4305. send "{@Adminhometeleporting}" to player
  4306. stop
  4307. if {home.%arg 2%::%arg 3%} is not set:
  4308. send "{@Adminhomenohome}" to player
  4309. stop
  4310. if arg 2 is offline:
  4311. send "{@Noplayerconnect}" to player
  4312. stop
  4313. if arg 1 is "delhome":
  4314. if arg 2 is not set:
  4315. send "&cError &6>> &f/adminhome delhome [player] [home]" to player
  4316. send "&cError &6>> &f/adminhome reset [player]" to player
  4317. send "&cError &6>> &f/adminhome homes [player]" to player
  4318. send "&cError &6>> &f/adminhome home [player] [home]" to player
  4319. send "&cError &6>> &f/adminhome sethome [player] [home]" to player
  4320. stop
  4321. if arg 2 is online:
  4322. if arg 3 is set:
  4323. if {home.%arg 2%::%arg 3%} is set:
  4324. remove arg 3 from {homename.%arg 2%::*}
  4325. remove arg 3 from {home.%arg 2%::*}
  4326. send "{@Adminhomedelhome}" to player
  4327. stop
  4328. if {home.%arg 2%::%arg 3%} is not set:
  4329. send "{@Adminhomenohome}" to player
  4330. stop
  4331. if arg 1 is "sethome":
  4332. if arg 2 is not set:
  4333. send "&cError &6>> &f/adminhome delhome [player] [home]" to player
  4334. send "&cError &6>> &f/adminhome reset [player]" to player
  4335. send "&cError &6>> &f/adminhome homes [player]" to player
  4336. send "&cError &6>> &f/adminhome home [player] [home]" to player
  4337. send "&cError &6>> &f/adminhome sethome [player] [home]" to player
  4338. stop
  4339. if arg 2 is online:
  4340. if arg 3 is set:
  4341. if {home.%arg 2%::%arg 3%} is not set:
  4342. add arg 3 to {homename.%arg 2%::*}
  4343. add arg 3 to {home.%arg 2%::*}
  4344. send "{@Adminhomesethome}" to player
  4345. stop
  4346. if {home.%arg 2%::%arg 3%} is set:
  4347. send "{@Adminhomealready}" to player
  4348. stop
  4349. if arg 2 is offline:
  4350. send "{@Noplayerconnect}" to player
  4351. stop
  4352. if arg 2 is offline:
  4353. send "{@Noplayerconnect}" to player
  4354. stop
  4355. if sender is console:
  4356. send "{@Errortoconsoleisnotplayerusecommands}" to console
  4357. stop
  4358.  
  4359. command /delhome [<text>]:
  4360. permission: essentials.delhome
  4361. permission message: {@Nopermission}
  4362. aliases: essentials:delhome
  4363. executable by: players, console
  4364. usage: &cError &6>> &f/delhome [home]
  4365. trigger:
  4366. if sender is a player:
  4367. if arg 1 is not set:
  4368. send "&cError &6>> &f/delhome [home]"
  4369. stop
  4370. if arg 1 is set:
  4371. if {home.%player%::%arg 1%} is set:
  4372. delete {home.%player%::%arg 1%}
  4373. delete {homename.%player%::%arg 1%}
  4374. send "{@Homedelete}" to player
  4375. remove 1 from {homes.%player%}
  4376. stop
  4377. if {home.%player%::%arg 1%} is not set:
  4378. send "{@Nohome}" to player
  4379. stop
  4380. if sender is console:
  4381. send "{@Errortoconsoleisnotplayerusecommands}" to console
  4382. stop
  4383.  
  4384. command /home [<text>]:
  4385. permission: essentials.home
  4386. permission message: {@Nopermission}
  4387. aliases: essentials:home
  4388. executable by: players, console
  4389. usage: &cError &6>> &f/home [home]
  4390. trigger:
  4391. if sender is a player:
  4392. if arg 1 is not set:
  4393. send "&cError &6>> &f/home [home]" to player
  4394. stop
  4395. if arg 1 is set:
  4396. if {home.%player%::%arg 1%} is not set:
  4397. send "{@Nohome}" to player
  4398. stop
  4399. if {home.%player%::%arg 1%} is set:
  4400. if {@Homecooldownuse} is true:
  4401. if sender doesn't have permission "essentials.home.bypass" or "essentials.*":
  4402. send "{@Homecooldown1} {@Homecooldown} {@Homecooldown2}" to player
  4403. wait {@Homecooldown} seconds
  4404. send "{@Hometeleporting}" to player
  4405. set {back::%uuid of player%} to location of player
  4406. teleport player to {home.%player%::%arg 1%}
  4407. stop
  4408. if sender has permission "essentials.home.bypass" or "essentials.*":
  4409. send "{@Hometeleporting}" to player
  4410. set {back::%uuid of player%} to location of player
  4411. teleport player to {home.%player%::%arg 1%}
  4412. stop
  4413. if {@Homecooldownuse} is false:
  4414. set {back::%uuid of player%} to location of player
  4415. teleport player to {home.%player%::%arg 1%}
  4416. send "{@Hometeleporting}" to player
  4417. stop
  4418. if sender is console:
  4419. send "{@Errortoconsoleisnotplayerusecommands}" to console
  4420. stop
  4421.  
  4422.  
  4423. command /homes:
  4424. permission: essentials.homes
  4425. permission message: {@Nopermission}
  4426. aliases: essentials:homes
  4427. executable by: players, console
  4428. usage: &cError &6>> &f/homes
  4429. trigger:
  4430. if sender is a player:
  4431. send "{@Homeslist}" to player
  4432. stop
  4433. if sender is console:
  4434. send "{@Errortoconsoleisnotplayerusecommands}" to console
  4435. stop
  4436.  
  4437. on join:
  4438. set {nick.%player%} to player
  4439. stop
  4440.  
  4441. on first join:
  4442. set {nick.%player%} to player
  4443. stop
  4444.  
  4445. command /kickall [<text>]:
  4446. permission: essentials.kickall
  4447. permission message: {@Nopermission}
  4448. aliases: essentials:kickall
  4449. executable by: players, console
  4450. usage: &cError &6>> &f/kickall [text]
  4451. trigger:
  4452. if sender is a player:
  4453. if arg 1 is not set:
  4454. send "&cError &6>> &f/kickall [text]" to player
  4455. stop
  4456. if arg 1 is set:
  4457. loop all players:
  4458. kick all players because "{@Kickall}"
  4459. stop
  4460. if sender is console:
  4461. if arg 1 is not set:
  4462. send "&cError &6>> &f/kickall [text]" to console
  4463. stop
  4464. if arg 1 is set:
  4465. loop all players:
  4466. kick all players because "{@Kickall}"
  4467. stop
  4468.  
  4469. command /unmute [<offline player>]:
  4470. permission: essentials.unmute
  4471. permission message: {@Nopermission}
  4472. aliases: essentials:unmute
  4473. usage: &cError &6>> &f/unmute [player]
  4474. executable by: players, console
  4475. trigger:
  4476. if sender is a player:
  4477. if arg 1 is not set:
  4478. send "&cError &6>> &f/unmute [player]"
  4479. stop
  4480. if arg 1 is online:
  4481. if {mute.%arg 1%} is true:
  4482. set {mute.seconds.%arg 1%} to false
  4483. set {mute.%arg 1%} to false
  4484. broadcast "{@Unmutebroadcast}"
  4485. stop
  4486. if {mute.%arg 1%} is false:
  4487. send "{@Unmutealready}" to player
  4488. stop
  4489. if arg 1 is offline:
  4490. send "{@Noplayerconnect}" to player
  4491. stop
  4492. if sender is console:
  4493. if arg 1 is online:
  4494. if {mute.%arg 1%} is true:
  4495. set {mute.seconds.%arg 1%} to false
  4496. set {mute.%arg 1%} to false
  4497. broadcast "{@Unmutebroadcastisconsole}"
  4498. stop
  4499. if {mute.%arg 1%} is false:
  4500. send "{@Unmutealready}" to console
  4501. stop
  4502. if arg 1 is offline:
  4503. send "{@Noplayerconnect}" to console
  4504. stop
  4505.  
  4506. command /mute [<offline player>] [<number>]:
  4507. permission: essentials.mute
  4508. permission message: {@Nopermission}
  4509. aliases: essentials:mute
  4510. usage: &cError &6>> &f/mute [player] [seconds]
  4511. executable by: players, console
  4512. trigger:
  4513. if sender is a player:
  4514. if arg 1 is not set:
  4515. send "&cError &6>> &f/mute [player] [seconds]" to player
  4516. stop
  4517. if arg 1 is online:
  4518. if arg 2 is set:
  4519. set {mute.seconds.%arg 1%} to arg 2
  4520. set {mute.%arg 1%} to true
  4521. broadcast "{@Mutebroadcast}"
  4522. stop
  4523. if arg 2 is not set:
  4524. send "&cError &6>> &f/mute [player] [seconds]" to player
  4525. stop
  4526. if arg 1 is offline:
  4527. send "{@Noplayerconnect}" to player
  4528. stop
  4529. if sender is console:
  4530. if arg 1 is online:
  4531. if arg 2 is set:
  4532. set {mute.seconds.%arg 1%} to arg 2
  4533. set {mute.%arg 1%} to true
  4534. broadcast "{@Mutebroadcastisconsole}"
  4535. stop
  4536. if arg 2 is not set:
  4537. send "&cError &6>> &f/mute [player] [seconds]" to console
  4538. stop
  4539. if arg 1 is offline:
  4540. send "{@Noplayerconnect}" to console
  4541. stop
  4542.  
  4543. every 1 second:
  4544. loop all players:
  4545. if {mute.seconds.%loop-player%} is more than 0:
  4546. remove 1 from {mute.seconds.%loop-player%}
  4547. stop
  4548.  
  4549. on chat:
  4550. if sender has permission "essentials.chat.color" or "essentials.*":
  4551. if {mute.seconds.%player%} is more than 0:
  4552. cancel event
  4553. send "{@Mute}" to player
  4554. stop
  4555. else:
  4556. cancel event
  4557. broadcast "{@Chatformatcolor}"
  4558. stop
  4559. if sender doesn't have permission "essentials.chat.color" or "essentials.*":
  4560. if {mute.seconds.%player%} is more than 0:
  4561. cancel event
  4562. send "{@Mute}" to player
  4563. stop
  4564. else:
  4565. cancel event
  4566. broadcast "{@Chatformat}"
  4567. stop
  4568.  
  4569. command /speed [<text>] [<number>]:
  4570. permission: essentials.speed
  4571. executable by: players, console
  4572. permission message: {@Nopermission}
  4573. aliases: essentials:speed
  4574. usage: &cError &6>> &f/speed [fly/walk/reset] [0/0.1/1]
  4575. trigger:
  4576. if sender is a player:
  4577. if arg 1 is not set:
  4578. send "&cError &6>> &f/speed [fly/walk/reset] [0/0.1/1]" to player
  4579. stop
  4580. if arg 1 is not "fly" or "walk" or "reset":
  4581. send "&cError &6>> &f/speed [fly/walk/reset] [0/0.1/1]" to player
  4582. stop
  4583. if arg 1 is "fly":
  4584. if sender has permission "essentials.speed.fly" or "essentials.*":
  4585. if arg 2 is set:
  4586. set the player's fly speed to arg 2
  4587. send "{@Speedfly}" to player
  4588. stop
  4589. if arg 2 is not set:
  4590. send "&cError &6>> &f/speed [fly/walk/reset] [0/0.1/1]" to player
  4591. stop
  4592. if sender doesn't have permission "essentials.speed.fly" or "essentials.*":
  4593. send "{@Nopermission}" to player
  4594. stop
  4595. if arg 1 is "walk":
  4596. if sender has permission "essentials.speed.walk" or "essentials.*":
  4597. if arg 2 is set:
  4598. set the player's walk speed to arg 2
  4599. send "{@Speedwalk}"
  4600. stop
  4601. if arg 2 is not set:
  4602. send "&cError &6>> &f/speed [fly/walk/reset] [0/0.1/1]" to player
  4603. stop
  4604. if sender doesn't have permission "essentials.speed.walk" or "essentials.*":
  4605. send "{@Nopermission}" to player
  4606. stop
  4607. if arg 1 is "reset":
  4608. if sender has permission "essentials.speed.reset" or "essentials.*":
  4609. set the player's walk speed to 0.2
  4610. set the player's fly speed to 0.1
  4611. send "{@Speedreset}" to player
  4612. stop
  4613. if sender doesn't have permission "essentials.speed.reset" or "essentials.*":
  4614. send "{@Nopermission}" to player
  4615. stop
  4616. if sender is console:
  4617. send "{@Errortoconsoleisnotplayerusecommands}" to console
  4618. stop
  4619.  
  4620. on quit:
  4621. set the player's walk speed to 0.2
  4622. set the player's fly speed to 0.1
  4623. stop
  4624.  
  4625. command /slap [<offline player>]:
  4626. permission: essentials.slap
  4627. permission message: {@Nopermission}
  4628. aliases: essentials:slap
  4629. executable by: players, console
  4630. usage: &cError &6>> &f/slap [player]
  4631. trigger:
  4632. if sender is a player:
  4633. if arg 1 is not set:
  4634. send "&cError &6>> &f/slap [player]" to player
  4635. stop
  4636. if arg 1 is online:
  4637. push arg 1 backwards at speed 1
  4638. send "{@Slaptome}" to arg 1
  4639. send "{@Slaptoplayeradmin}" to player
  4640. stop
  4641. if arg 1 is offline:
  4642. send "{@Noplayerconnect}" to player
  4643. stop
  4644. if sender is console:
  4645. send "{@Errortoconsoleisnotplayerusecommands}" to console
  4646. stop
  4647.  
  4648. command /day:
  4649. permission: essentials.day
  4650. permission message: {@Nopermission}
  4651. aliases: essentials:day
  4652. executable by: players, console
  4653. usage: &cError &6>> &f/day
  4654. trigger:
  4655. if sender is a player:
  4656. set time to 6:00
  4657. send "{@Day}" to player
  4658. stop
  4659. if sender is console:
  4660. send "{@Errortoconsoleisnotplayerusecommands}" to console
  4661. stop
  4662.  
  4663. command /night:
  4664. permission: essentials.night
  4665. permission message: {@Nopermission}
  4666. aliases: essentials:night
  4667. executable by: players, console
  4668. usage: &cError &6>> &f/night
  4669. trigger:
  4670. if sender is a player:
  4671. set time to 20:00
  4672. send "{@Night}" to player
  4673. stop
  4674. if sender is console:
  4675. send "{@Errortoconsoleisnotplayerusecommands}" to console
  4676. stop
  4677.  
  4678. command /time [<text>] [<text>]:
  4679. permission: essentials.time
  4680. permission message: {@Nopermission}
  4681. aliases: essentials:time
  4682. executable by: players, console
  4683. usage: &cError &6>> &f/time
  4684. trigger:
  4685. if sender is a player:
  4686. if arg 1 is not set:
  4687. send "&cError &6>> &f/time set [day/night]" to player
  4688. stop
  4689. if arg 1 is not "set":
  4690. send "&cError &6>> &f/time set [day/night]" to player
  4691. stop
  4692. if arg 1 is "set":
  4693. if arg 2 is not "day" or "night":
  4694. send "&cError &6>> &f/time set [day/night]" to player
  4695. stop
  4696. if arg 2 is not set:
  4697. send "&cError &6>> &f/time set [day/night]" to player
  4698. stop
  4699. if arg 2 is "day":
  4700. if sender has permission "essentials.time.day" or "essentials.*" or "essentials.time.*":
  4701. set time to 6:00
  4702. send "{@Day}"
  4703. stop
  4704. if sender doesn't have permission "essentials.time.day" or "essentials.*" or "essentials.time.*":
  4705. send "{@Nopermission}" to player
  4706. stop
  4707. if arg 2 is "night":
  4708. if sender has permission "essentials.time.night" or "essentials.*" or "essentials.time.*":
  4709. set time to 20:00
  4710. send "{@Night}" to player
  4711. stop
  4712. if sender doesn't have permission "essentials.time.night" or "essentials.*" or "essentials.time.*":
  4713. send "{@Nopermission}" to player
  4714. stop
  4715. if sender is console:
  4716. send "{@Errortoconsoleisnotplayerusecommands}" to console
  4717. stop
  4718.  
  4719. every {@Antiafkcooldown} seconds:
  4720. loop all players:
  4721. if {@Antiafkcooldownuse} is true:
  4722. if {afk.location.%loop-player%} is not location of loop-player:
  4723. set {afk.location.%loop-player%} to location of loop-player
  4724. delete {afk.%loop-player%}
  4725. stop
  4726. else:
  4727. if {afk.location.%loop-player%} is location of loop-player:
  4728. if {afk.%loop-player%} is not set:
  4729. delete {afk.%loop-player%}
  4730. broadcast "{@Afktomeisantiafk}"
  4731. kick loop-player because "{@Afkkickreason}"
  4732. stop
  4733. set {afk.%loop-player%} to true
  4734. set {afk.location.%loop-player%} to location of loop-player
  4735. stop
  4736. if {@Antiafkcooldownuse} is false:
  4737. stop
  4738.  
  4739. command /afk [<offline player>]:
  4740. permission: essentials.afk
  4741. permission message: {@Nopermission}
  4742. aliases: essentials:afk
  4743. executable by: players, console
  4744. usage: &cError &6>> &f/afk [player]
  4745. trigger:
  4746. if sender is a player:
  4747. if arg 1 is not set:
  4748. if {afk.%player%} is not set:
  4749. broadcast "{@Afktome}"
  4750. set {afk.%player%} to true
  4751. stop
  4752. if {afk.%player%} is set:
  4753. broadcast "{@Noafktome}"
  4754. delete {afk.%player%}
  4755. stop
  4756. if arg 1 is online:
  4757. if sender has permission "essentials.afk.others" or "essentials.*":
  4758. if {afk.%arg 1%} is not set:
  4759. broadcast "{@Afktoplayer}"
  4760. set {afk.%arg 1%} to true
  4761. stop
  4762. if {afk.%arg 1%} is set:
  4763. broadcast "{@Noafktoplayer}"
  4764. delete {afk.%arg 1%}
  4765. stop
  4766. if sender doesn't have permission "essentials.afk.others" or "essentials.*":
  4767. send "{@Nopermission}" to player
  4768. stop
  4769. if arg 1 is offline:
  4770. send "{@Noplayerconnect}" to player
  4771. stop
  4772. if sender is console:
  4773. if arg 1 is not set:
  4774. send "&cError &6>> &f/afk [player]" to console
  4775. stop
  4776. if arg 1 is online:
  4777. if {afk.%arg 1%} is not set:
  4778. broadcast "{@Afktoplayer}"
  4779. set {afk.%arg 1%} to true
  4780. stop
  4781. if {afk.%arg 1%} is set:
  4782. broadcast "{@Noafktoplayer}"
  4783. delete {afk.%arg 1%}
  4784. stop
  4785. if arg 1 is offline:
  4786. send "{@Noplayerconnect}" to console
  4787. stop
  4788.  
  4789. on quit:
  4790. if {afk.%player%} is set:
  4791. delete {afk.%player%}
  4792. stop
  4793.  
  4794. on flight toggle:
  4795. if {afk.%player%} is set:
  4796. broadcast "{@Noafktome}"
  4797. delete {afk.%player%}
  4798. stop
  4799.  
  4800. on any movement:
  4801. if {afk.%player%} is set:
  4802. broadcast "{@Noafktome}"
  4803. delete {afk.%player%}
  4804. stop
  4805.  
  4806. on tool change:
  4807. if {afk.%player%} is set:
  4808. broadcast "{@Noafktome}"
  4809. delete {afk.%player%}
  4810. stop
  4811.  
  4812. on right click:
  4813. if {afk.%player%} is set:
  4814. broadcast "{@Noafktome}"
  4815. delete {afk.%player%}
  4816. stop
  4817.  
  4818. on left click:
  4819. if {afk.%player%} is set:
  4820. broadcast "{@Noafktome}"
  4821. delete {afk.%player%}
  4822. stop
  4823.  
  4824. on chat:
  4825. if {afk.%player%} is set:
  4826. broadcast "{@Noafktome}"
  4827. delete {afk.%player%}
  4828. stop
  4829.  
  4830. command /enderchest [<offline player>]:
  4831. permission: essentials.enderchest
  4832. permission message: {@Nopermission}
  4833. aliases: essentials:enderchest, ec, essentials:ec
  4834. executable by: players, console
  4835. usage: &cError &6>> &f/enderchest [player]
  4836. trigger:
  4837. if sender is a player:
  4838. if arg 1 is not set:
  4839. open player's ender chest to player
  4840. send "{@Enderchesttome}" to player
  4841. stop
  4842. if arg 1 is online:
  4843. if sender has permission "essentials.enderchest.others" or "essentials.*":
  4844. open the arg 1's ender chest for player
  4845. send "{@Enderchesttoplayer}" to player
  4846. stop
  4847. if sender doesn't have permission "essentials.enderchest.others" or "essentials.*":
  4848. send "{@Nopermission}" to player
  4849. stop
  4850. if arg 1 is offline:
  4851. send "{@Noplayerconnect}" to player
  4852. stop
  4853. if sender is console:
  4854. send "{@Errortoconsoleisnotplayerusecommands}" to console
  4855. stop
  4856.  
  4857. command /skull [<offline player>]:
  4858. permission: essentials.skull
  4859. permission message: {@Nopermission}
  4860. aliases: essentials:skull, head, playerhead, essentials:head, essentials:playerhead
  4861. executable by: players, console
  4862. usage: &cError &6>> &f/skull [name]
  4863. trigger:
  4864. if sender is a player:
  4865. if arg 1 is not set:
  4866. send "&cError &6>> &f/skull [name]" to player
  4867. stop
  4868. if arg 1 is set:
  4869. give skull of arg 1 to player
  4870. send "{@Skull}" to player
  4871. stop
  4872. if sender is console:
  4873. send "{@Errortoconsoleisnotplayerusecommands}" to console
  4874. stop
  4875.  
  4876. command /setwarp [<text>]:
  4877. permission: essentials.setwarp
  4878. permission message: {@Nopermission}
  4879. aliases: essentials:setwarp
  4880. executable by: players, console
  4881. usage: &cError &6>> &f/setwarp [warp]
  4882. trigger:
  4883. if sender is a player:
  4884. if arg 1 is not set:
  4885. send "&cError &6>> &f/setwarp [warp]" to player
  4886. stop
  4887. if arg 1 is set:
  4888. set {warp.%arg 1%.location} to location of player
  4889. send "{@Warpcreate}" to player
  4890. add arg 1 to {warplist::*}
  4891. stop
  4892. if sender is console:
  4893. send "{@Errortoconsoleisnotplayerusecommands}" to console
  4894. stop
  4895.  
  4896. command /delwarp [<text>]:
  4897. permission: essentials.delwarp
  4898. permission message: {@Nopermission}
  4899. aliases: essentials:delwarp
  4900. executable by: players, console
  4901. usage: &cError &6>> &f/delwarp [warp]
  4902. trigger:
  4903. if sender is a player:
  4904. if arg 1 is not set:
  4905. send "&cError &6>> &f/delwarp [warp]" to player
  4906. stop
  4907. if arg 1 is set:
  4908. delete {warp.%arg 1%.location}
  4909. send "{@Warpdelete}" to player
  4910. remove arg 1 from {warplist::*}
  4911. stop
  4912. if sender is console:
  4913. send "{@Errortoconsoleisnotplayerusecommands}" to console
  4914. stop
  4915.  
  4916. command /warp [<text>] [<offline player>]:
  4917. permission: essentials.warp
  4918. permission message: {@Nopermission}
  4919. aliases: essentials:warp
  4920. executable by: players, console
  4921. usage: &cError &6>> &f/warp [warp]
  4922. trigger:
  4923. if sender is a player:
  4924. if arg 1 is not set:
  4925. send "&cError &6>> &f/warp [warp]" to player
  4926. stop
  4927. if arg 1 is set:
  4928. if sender has permission "essentials.warp.%arg 1%" or "essentials.*" or "essentials.warp.*":
  4929. if {@Warpcooldownuse} is true:
  4930. if arg 2 is not set:
  4931. if sender has permission "essentials.warp.bypass" or "essentials.*":
  4932. if {warp.%arg 1%.location} is set:
  4933. set {back::%uuid of player%} to location of player
  4934. teleport player to {warp.%arg 1%.location}
  4935. send "{@Warpteleporting}" to player
  4936. stop
  4937. if {warp.%arg 1%.location} is not set:
  4938. send "{@Nowarpset}" to player
  4939. stop
  4940. if sender doesn't have permission "essentials.warp.bypass" or "essentials.*":
  4941. if {warp.%arg 1%.location} is set:
  4942. send "{@Warpcooldown1} {@Warpcooldown} {@Warpcooldown2}" to player
  4943. wait {@Warpcooldown} seconds
  4944. set {back::%uuid of player%} to location of player
  4945. teleport player to {warp.%arg 1%.location}
  4946. send "{@Warpteleporting}" to player
  4947. stop
  4948. if {warp.%arg 1%.location} is not set:
  4949. send "{@Nowarpset}" to player
  4950. stop
  4951. if arg 2 is online:
  4952. if {warp.%arg 1%.location} is set:
  4953. set {back::%uuid of arg 2%} to location of arg 2
  4954. teleport arg 2 to {warp.%arg 1%.location}
  4955. send "{@Warpteleporting}" to arg 2
  4956. stop
  4957. if {warp.%arg 1%.location} is not set:
  4958. send "{@Nowarpset}" to player
  4959. stop
  4960. if {@Warpcooldownuse} is false:
  4961. if arg 2 is not set:
  4962. if {warp.%arg 1%.location} is set:
  4963. set {back::%uuid of player%} to location of player
  4964. teleport player to {warp.%arg 1%.location}
  4965. send "{@Warpteleporting}" to player
  4966. stop
  4967. if {warp.%arg 1%.location} is not set:
  4968. send "{@Nowarpset}" to player
  4969. stop
  4970. if arg 2 is online:
  4971. if {warp.%arg 1%.location} is set:
  4972. set {back::%uuid of arg 2%} to location of arg 2
  4973. teleport arg 2 to {warp.%arg 1%.location}
  4974. send "{@Warpteleporting}" to arg 2
  4975. stop
  4976. if {warp.%arg 1%.location} is not set:
  4977. send "{@Nowarpset}" to player
  4978. stop
  4979. if sender doesn't have permission "essentials.warp.%arg 1%" or "essentials.*":
  4980. send "{@Nopermission}" to player
  4981. stop
  4982. if sender is console:
  4983. send "{@Errortoconsoleisnotplayerusecommands}" to console
  4984. stop
  4985.  
  4986. command /warps:
  4987. permission: essentials.warps
  4988. permission message: {@Nopermission}
  4989. aliases: essentials:warps
  4990. executable by: players, console
  4991. usage: &cError &6>> &f/warps
  4992. trigger:
  4993. if sender is a player:
  4994. send "{@Warplist}" to player
  4995. stop
  4996. if sender is console:
  4997. send "{@Warplist}" to console
  4998. stop
  4999.  
  5000. command /msg [<offline player>] [<text>]:
  5001. permission: essentials.reply
  5002. permission message: {@Nopermission}
  5003. aliases: essentials:msg, m, t, whisper, essentials:whisper, essentials:m, essentials:t
  5004. executable by: players, console
  5005. usage: &cError &6>> &f/msg [player] [text]
  5006. trigger:
  5007. if sender is a player:
  5008. if arg 1 is not set:
  5009. send "&cError &6>> &f/msg [player] [text]" to player
  5010. stop
  5011. if arg 1 is online:
  5012. if arg 2 is not set:
  5013. send "&cError &6>> &f/msg [player] [text]" to player
  5014. stop
  5015. if arg 2 is set:
  5016. if sender doesn't have permission "essentials.msg.color" or "essentials.*":
  5017. if {essentials.%player%.ignore} is arg 1:
  5018. send "{@Msgignore}" to player
  5019. stop
  5020. else:
  5021. send "{@Msgformattome}" to arg 1
  5022. send "{@Msgformattoplayer}" to player
  5023. set {essentials.%argument 1%.reply} to player
  5024. stop
  5025. if sender has permission "essentials.msg.color" or "essentials.*":
  5026. if {essentials.%player%.ignore} is arg 1:
  5027. send "{@Msgignore}" to player
  5028. stop
  5029. else:
  5030. send "{@Msgformatcolortoplayer}" to arg 1
  5031. send "{@Msgformatcolortome}" to player
  5032. set {essentials.%argument 1%.reply} to player
  5033. stop
  5034. if arg 1 is offline:
  5035. send "{@Noplayerconnect}" to player
  5036. stop
  5037. if sender is console:
  5038. send "{@Errortoconsoleisnotplayerusecommands}" to console
  5039. stop
  5040.  
  5041. command /r [<text>]:
  5042. permission: essentials.reply
  5043. permission message: {@Nopermission}
  5044. aliases: essentials:reply, reply, essentials:r
  5045. executable by: players, console
  5046. usage: &cError &6>> &f/reply [text]
  5047. trigger:
  5048. if sender is a player:
  5049. if arg 1 is not set:
  5050. send "&cError &6>> &f/reply [text]" to player
  5051. stop
  5052. if arg 1 is set:
  5053. if sender doesn't have permission "essentials.reply.color" or "essentials.*":
  5054. if {essentials.%player%.ignore} is set:
  5055. send "{@Msgignore}" to player
  5056. stop
  5057. if {essentials.%player%.reply} is online:
  5058. send "{@Replyformattoplayer}" to {essentials.%player%.reply}
  5059. send "{@Replyformattome}" to player
  5060. stop
  5061. if {essentials.%player%.reply} is offline:
  5062. send "&cError &6>> &f/msg [player] [text]"
  5063. stop
  5064. if sender has permission "essentials.reply.color" or "essentials.*":
  5065. if {essentials.%player%.ignore} is set:
  5066. send "{@Msgignore}" to player
  5067. stop
  5068. if {essentials.%player%.reply} is online:
  5069. send "{@Replyformatcolortoplayer}" to {essentials.%player%.reply}
  5070. send "{@Replyformatcolortome}" to player
  5071. stop
  5072. if {essentials.%player%.reply} is offline:
  5073. send "&cError &6>> &f/msg [player] [text]" to player
  5074. stop
  5075. if sender is console:
  5076. send "{@Errortoconsoleisnotplayerusecommands}" to console
  5077. stop
  5078.  
  5079. command /ignore [<offline player>]:
  5080. permission: essentials.ignore
  5081. permission message: {@Nopermission}
  5082. aliases: essentials:ignore
  5083. executable by: players, console
  5084. usage: &cError &6>> &f/ignore [player]
  5085. trigger:
  5086. if sender is a player:
  5087. if arg 1 is not set:
  5088. send "&cError &6>> &f/ignore [player]" to player
  5089. stop
  5090. if arg 1 is online:
  5091. if {essentials.%arg 1%.ignore} is not set:
  5092. set {essentials.%arg 1%.ignore} to player
  5093. send "{@Ignore}" to player
  5094. stop
  5095. if {essentials.%arg 1%.ignore} is set:
  5096. delete {essentials.%arg 1%.ignore}
  5097. send "{@Unignore}" to player
  5098. stop
  5099. if arg 1 is offline:
  5100. send "{@Noplayerconnect}" to player
  5101. stop
  5102. if sender is console:
  5103. send "{@Errortoconsoleisnotplayerusecommands}" to console
  5104. stop
  5105.  
  5106. command /tphere [<offline player>]:
  5107. permission: essentials.tphere
  5108. permission message: {@Nopermission}
  5109. aliases: essentials:tphere
  5110. executable by: players, console
  5111. usage: &cError &6>> &f/tphere [player]
  5112. trigger:
  5113. if sender is a player:
  5114. if arg 1 is not set:
  5115. send "&cError &6>> &f/tphere [player]" to player
  5116. stop
  5117. if arg 1 is online:
  5118. set {back::%uuid of arg 1%} to location of arg 1
  5119. teleport arg 1 to player
  5120. send "{@Tphereteleporting}" to arg 1
  5121. stop
  5122. if arg 1 is offline:
  5123. send "{@Noplayerconnect}" to player
  5124. stop
  5125. if sender is console:
  5126. send "{@Errortoconsoleisnotplayerusecommands}" to console
  5127. stop
  5128.  
  5129. command /freeze [<offline player>]:
  5130. permission: essentials.freeze
  5131. permission message: {@Nopermission}
  5132. aliases: essentials:freeze
  5133. executable by: players, console
  5134. usage: &cError &6>> &f/freeze [player]
  5135. trigger:
  5136. if sender is a player:
  5137. if arg 1 is not set:
  5138. send "&cError &6>> &f/freeze [player]" to player
  5139. stop
  5140. if arg 1 is online:
  5141. if {freeze.%arg 1%.frozen} is not set:
  5142. set {freeze.%arg 1%.frozen} to true
  5143. set {freeze.%arg 1%.frozen.gm} to true
  5144. send "{@Freezetome}" to arg 1
  5145. send "{@Freezetoplayeradmin}" to player
  5146. stop
  5147. if {freeze.%arg 1%.frozen} is set:
  5148. delete {freeze.%arg 1%..frozen}
  5149. send "{@Nofreezetome}" to arg 1
  5150. send "{@Nofreezetoplayeradmin}" to player
  5151. delete {freeze.%arg 1%.frozen.gm}
  5152. stop
  5153. if arg 1 is offline:
  5154. send "{@Noplayerconnect}" to player
  5155. stop
  5156. if sender is console:
  5157. send "{@Errortoconsoleisnotplayerusecommands}" to console
  5158. stop
  5159.  
  5160. on join:
  5161. delete {freeze.%player%.frozen}
  5162. delete {freeze.%player%.frozen.gm}
  5163. stop
  5164.  
  5165. on any movement:
  5166. if {freeze.%player%.frozen} is true:
  5167. cancel event
  5168. stop
  5169.  
  5170. on build:
  5171. if {freeze.%player%.frozen} is true:
  5172. cancel event
  5173. stop
  5174.  
  5175. on break:
  5176. if {freeze.%player%.frozen} is true:
  5177. cancel event
  5178. stop
  5179.  
  5180. on drop:
  5181. if {freeze.%player%.frozen} is true:
  5182. cancel event
  5183. stop
  5184.  
  5185. on damage:
  5186. if {freeze.%victim%.frozen.gm} is true:
  5187. cancel event
  5188. stop
  5189. if {freeze.%attacker%.frozen.gm} is true:
  5190. cancel event
  5191. stop
  5192.  
  5193. command /kick [<offline player>] [<text>]:
  5194. permission: essentials.kick
  5195. permission message: {@Nopermission}
  5196. aliases: essentials:kick
  5197. executable by: players, console
  5198. usage: &cError &6>> &f/kick [player] [text]
  5199. trigger:
  5200. if sender is a player:
  5201. if arg 1 is not set:
  5202. send "&cError &6>> &f/kick [player] [text]" to player
  5203. stop
  5204. if arg 1 is online:
  5205. if arg 2 is set:
  5206. broadcast "{@Kickbroadcastisplayer}"
  5207. kick arg 1 because "{@Kick}"
  5208. stop
  5209. if arg 2 is not set:
  5210. send "&cError &6>> &f/kick [player] [text]" to player
  5211. stop
  5212. if arg 1 is offline:
  5213. send "{@Noplayerconnect}" to player
  5214. stop
  5215. if sender is console:
  5216. if arg 1 is not set:
  5217. send "&cError &6>> &f/kick [player] [text]" to console
  5218. stop
  5219. if arg 1 is online:
  5220. if arg 2 is set:
  5221. broadcast "{@Kickbroadcastisconsole}"
  5222. kick arg 1 because "{@Kick}"
  5223. stop
  5224. if arg 2 is not set:
  5225. send "&cError &6>> &f/kick [player] [text]" to console
  5226. stop
  5227. if arg 1 is offline:
  5228. send "{@Noplayerconnect}" to console
  5229. stop
  5230.  
  5231. command /helpop [<text>]:
  5232. permission: essentials.helpop
  5233. permission message: {@Nopermission}
  5234. aliases: essentials:helpop
  5235. executable by: players, console
  5236. usage: &cError &6>> &f/helpop [text]
  5237. trigger:
  5238. if sender is a player:
  5239. if arg 1 is not set:
  5240. send "&cError &6>> &f/helpop [text]" to player
  5241. stop
  5242. if arg 1 is set:
  5243. loop all players:
  5244. if loop-players has permission "essentials.helpop.receive" or "essentials.*":
  5245. send "{@Helpop}" to loop-player
  5246. stop
  5247. if sender is console:
  5248. send "{@Errortoconsoleisnotplayerusecommands}" to console
  5249. stop
  5250.  
  5251. on join:
  5252. if sender doesn't have permission "essentials.motd" or "essentials.*":
  5253. stop
  5254. if sender has permission "essentials.motd" or "essentials.*":
  5255. make player execute command "/motd"
  5256. stop
  5257.  
  5258. command /gm [<text>] [<offline player>]:
  5259. permission: essentials.gamemode
  5260. executable by: players, console
  5261. permission message: {@Nopermission}
  5262. aliases: essentials:gamemode, gamemode, essentials:gm
  5263. usage: &cError &6>> &f/gamemode [0/1/2/3 or s/c/a/sp or survival/creative/adventure/spectator] [player]
  5264. trigger:
  5265. if sender is a player:
  5266. if arg 1 is not set:
  5267. send "&cError &6>> &f/gamemode [0/1/2/3 or s/c/a/sp or survival/creative/adventure/spectator] [player]" to player
  5268. stop
  5269. if arg 1 is not "1" or "2" or "3" or "0" or "c" or "a" or "sp" or "s" or "survival" or "creative" or "adventure" or "spectator":
  5270. send "&cError &6>> &f/gamemode [0/1/2/3 or s/c/a/sp or survival/creative/adventure/spectator] [player]" to player
  5271. stop
  5272. if arg 2 is not set:
  5273. if sender has permission "essentials.gamemode.*" or "essentials.gamemode.creative" or "essentials.*":
  5274. if arg 1 is "1" or "c" or "creative":
  5275. set the gamemode of the player to creative
  5276. send "{@Gamemodetometocreative}" to player
  5277. stop
  5278. if sender has permission "essentials.gamemode.*" or "essentials.gamemode.survival" or "essentials.*":
  5279. if arg 1 is "0" or "s" or "survival":
  5280. set the gamemode of the player to survival
  5281. send "{@Gamemodetometosurvival}" to player
  5282. stop
  5283. if sender has permission "essentials.gamemode.*" or "essentials.gamemode.adventure" or "essentials.*":
  5284. if arg 1 is "2" or "a" or "adventure":
  5285. set the gamemode of the player to adventure
  5286. send "{@Gamemodetometoadventure}" to player
  5287. stop
  5288. if sender has permission "essentials.gamemode.*" or "essentials.gamemode.spectator" or "essentials.*":
  5289. if arg 1 is "3" or "sp" or "spectator":
  5290. set the gamemode of the player to spectator
  5291. send "{@Gamemodetometospectator}" to player
  5292. stop
  5293. if sender doesn't have permission "essentials.gamemode.*" or "essentials.gamemode.creative" or "essentials.*":
  5294. send "{@Nopermission}" to player
  5295. stop
  5296. if sender doesn't have permission "essentials.gamemode.*" or "essentials.gamemode.survival" or "essentials.*":
  5297. send "{@Nopermission}" to player
  5298. stop
  5299. if sender doesn't have permission "essentials.gamemode.*" or "essentials.gamemode.adventure" or "essentials.*":
  5300. send "{@Nopermission}" to player
  5301. stop
  5302. if sender doesn't have permission "essentials.gamemode.*" or "essentials.gamemode.spectator" or "essentials.*":
  5303. send "{@Nopermission}" to player
  5304. stop
  5305. if arg 1 is set:
  5306. if arg 2 is online:
  5307. if sender doesn't have permission "essentials.gamemode.*" or "essentials.gamemode.creative.others" or "essentials.*":
  5308. send "{@Nopermission}" to player
  5309. stop
  5310. if sender doesn't have permission "essentials.gamemode.*" or "essentials.gamemode.survival.others" or "essentials.*":
  5311. send "{@Nopermission}" to player
  5312. stop
  5313. if sender doesn't have permission "essentials.gamemode.*" or "essentials.gamemode.adventure.others" or "essentials.*":
  5314. send "{@Nopermission}" to player
  5315. stop
  5316. if sender doesn't have permission "essentials.gamemode.*" or "essentials.gamemode.spectator.others" or "essentials.*":
  5317. send "{@Nopermission}" to player
  5318. stop
  5319. if sender has permission "essentials.gamemode.*" or "essentials.gamemode.creative.others" or "essentials.*":
  5320. if arg 1 is "1" or "c" or "creative":
  5321. set the gamemode of the arg 2 to creative
  5322. send "{@Gamemodetoplayertocreative}" to arg 2
  5323. send "{@Gamemodetoplayeradmintocreative}" to player
  5324. stop
  5325. if sender has permission "essentials.gamemode.*" or "essentials.gamemode.survival.others" or "essentials.*":
  5326. if arg 1 is "0" or "s" or "survival":
  5327. set the gamemode of the arg 2 to survival
  5328. send "{@Gamemodetoplayertosurvival}" to arg 2
  5329. send "{@Gamemodetoplayeradmintosurvival}" to player
  5330. stop
  5331. if sender has permission "essentials.gamemode.*" or "essentials.gamemode.adventure.others" or "essentials.*":
  5332. if arg 1 is "2" or "a" or "adventure":
  5333. set the gamemode of the arg 2 to adventure
  5334. send "{@Gamemodetoplayertoadventure}" to arg 2
  5335. send "{@Gamemodetoplayeradmintoadventure}" to player
  5336. stop
  5337. if sender has permission "essentials.gamemode.*" or "essentials.gamemode.spectator.others" or "essentials.*":
  5338. if arg 1 is "3" or "sp" or "spectator":
  5339. set the gamemode of the arg 2 to spectator
  5340. send "{@Gamemodetoplayertospectator}" to arg 2
  5341. send "{@Gamemodetoplayeradmintospectator}" to player
  5342. stop
  5343. if arg 2 is offline:
  5344. send "{@Noplayerconnect}" to player
  5345. stop
  5346. if sender is console:
  5347. if arg 1 is not set:
  5348. send "&cError &6>> &f/gamemode [0/1/2/3 or s/c/a/sp or survival/creative/adventure/spectator] [player]" to console
  5349. stop
  5350. if arg 1 is not "1" or "2" or "3" or "0" or "c" or "a" or "sp" or "s" or "survival" or "creative" or "adventure" or "spectator":
  5351. send "&cError &6>> &f/gamemode [0/1/2/3 or s/c/a/sp or survival/creative/adventure/spectator] [player]" to console
  5352. stop
  5353. if arg 1 is set:
  5354. if arg 2 is not set:
  5355. send "&cError &6>> &f/gamemode [0/1/2/3 or s/c/a/sp or survival/creative/adventure/spectator] [player]" to console
  5356. stop
  5357. if arg 2 is online:
  5358. if arg 1 is "1" or "c" or "creative":
  5359. set the gamemode of the arg 2 to creative
  5360. send "{@Gamemodetoplayerisconsoletocreative}" to arg 2
  5361. send "{@Gamemodetoplayeradmintocreative}" to console
  5362. stop
  5363. if arg 1 is "0" or "s" or "survival":
  5364. set the gamemode of the arg 2 to survival
  5365. send "{@Gamemodetoplayerisconsoletosurvival}" to arg 2
  5366. send "{@Gamemodetoplayeradmintosurvival}" to console
  5367. stop
  5368. if arg 1 is "2" or "a" or "adventure":
  5369. set the gamemode of the arg 2 to adventure
  5370. send "{@Gamemodetoplayerisconsoletoadventure}" to arg 2
  5371. send "{@Gamemodetoplayeradmintoadventure}" to console
  5372. stop
  5373. if arg 1 is "3" or "sp" or "spectator":
  5374. set the gamemode of the arg 2 to spectator
  5375. send "{@Gamemodetoplayerisconsoletospectator}" to arg 2
  5376. send "{@Gamemodetoplayeradmintospectator}" to console
  5377. stop
  5378. if arg 2 is offline:
  5379. send "{@Noplayerconnect}" to console
  5380. stop
  5381.  
  5382. command /me [<text>]:
  5383. permission: essentials.me
  5384. permission message: {@Nopermission}
  5385. aliases: essentials:me
  5386. executable by: players, console
  5387. usage: &cError &6>> &f/me [text]
  5388. trigger:
  5389. if sender is a player:
  5390. if arg 1 is set:
  5391. if sender doesn't have permission "essentials.me.color" or "essentials.*":
  5392. broadcast "{@Mebroadcast}"
  5393. stop
  5394. if sender has permission "essentials.me.color" or "essentials.*":
  5395. broadcast "{@Mebroadcastcolor}"
  5396. stop
  5397. if arg 1 is not set:
  5398. send "&cError &6>> &f/me [Text]" to player
  5399. stop
  5400. if sender is console:
  5401. send "{@Errortoconsoleisnotplayerusecommands}" to console
  5402. stop
  5403.  
  5404. command /fly [<offline player>]:
  5405. permission: essentials.fly
  5406. permission message: {@Nopermission}
  5407. executable by: players, console
  5408. aliases: essentials:fly
  5409. usage: &cError &6>> &f/fly [player]
  5410. trigger:
  5411. if sender is a player:
  5412. if arg 1 is not set:
  5413. if {fly.%player%} is not set:
  5414. send "{@Flytome}" to player
  5415. set player's flight mode to true
  5416. set {fly.%player%} to true
  5417. stop
  5418. if {fly.%player%} is set:
  5419. send "{@Noflytome}" to player
  5420. set player's flight mode to false
  5421. delete {fly.%player%}
  5422. stop
  5423. if arg 1 is online:
  5424. if sender has permission "essentials.fly.others" or "essentials.*":
  5425. if {fly.%arg-1%} is not set:
  5426. send "{@Flytoplayerisadmin}" to player
  5427. send "{@Flytoplayer}" to arg 1
  5428. set arg 1's flight mode to true
  5429. set {fly.%arg-1%} to true
  5430. stop
  5431. if {fly.%arg-1%} is set:
  5432. send "{@Noflytoplayerisadmin}" to player
  5433. send "{@Noflytoplayer}" to arg 1
  5434. set arg 1's flight mode to false
  5435. delete {fly.%arg 1%}
  5436. stop
  5437. if sender doesn't have permission "essentials.fly.others" or "essentials.*":
  5438. send "{@Nopermission}" to player
  5439. stop
  5440. if arg 1 is offline:
  5441. if sender has permission "essentials.fly.others" or "essentials.*":
  5442. send "{@Noplayerconnect}" to player
  5443. stop
  5444. if sender doesn't have permission "essentials.fly.others" or "essentials.*":
  5445. send "{@Nopermission}" to player
  5446. stop
  5447. if sender is console:
  5448. if arg 1 is online:
  5449. if {fly.%arg-1%} is not set:
  5450. send "{@Flytoplayerisadmin}" to console
  5451. send "{@Flytoplayerisconsole}" to arg-1
  5452. set arg 1's flight mode to true
  5453. set {fly.%arg-1%} to true
  5454. stop
  5455. if {fly.%arg-1%} is set:
  5456. send "{@Noflytoplayerisadmin}" to console
  5457. send "{@Noflytoplayerisconsole}" to arg 1
  5458. set arg 1's flight mode to false
  5459. delete {fly.%arg 1%}
  5460. stop
  5461. if arg 1 is not set:
  5462. send "&cError &6>> &f/fly [player]" to console
  5463. stop
  5464. if arg 1 is offline:
  5465. send "{@Noplayerconnect}" to console
  5466. stop
  5467.  
  5468. on death:
  5469. if {@Messagedeath} is true:
  5470. set {back::%uuid of player%} to location of player
  5471. set death message to "{@Death}"
  5472. stop
  5473. if {@Messagedeath} is false:
  5474. stop
  5475.  
  5476. on respawn:
  5477. if {@Teleportspawntodeath} is true:
  5478. teleport player to {spawn}
  5479. stop
  5480. if {@Teleportspawntodeath} is false:
  5481. stop
  5482.  
  5483. command /tpall:
  5484. permission: essentials.tpall
  5485. permission message: {@Nopermission}
  5486. aliases: essentials:tpall
  5487. executable by: players, console
  5488. usage: &cError &6>> &f/tpall
  5489. trigger:
  5490. if sender is a player:
  5491. loop all players:
  5492. send "{@Tpallteleporting}" to loop-player
  5493. teleport all players to player
  5494. send "{@Tpallteleportingisadmin}" to player
  5495. stop
  5496. if sender is console:
  5497. send "{@Errortoconsoleisnotplayerusecommands}" to console
  5498. stop
  5499.  
  5500. command /clearinventory [<offline player>]:
  5501. permission: essentials.clearinventory
  5502. permission message: {@Nopermission}
  5503. executable by: players, console
  5504. aliases: essentials:clearinventory, ci, clear, essentials:clear, essentials:ci
  5505. usage: &cError &6>> &f/clear [player]
  5506. trigger:
  5507. if sender is a player:
  5508. if arg 1 is not set:
  5509. clear player's inventory
  5510. send "{@Cleartome}" to player
  5511. stop
  5512. if arg 1 is online:
  5513. if sender has permission "essentials.clearinventory.others" or "essentials.*":
  5514. clear argument's inventory
  5515. send "{@Cleartoplayerisadmin}" to arg 1
  5516. send "{@Cleartoplayer}" to player
  5517. stop
  5518. if sender doesn't have permission "essentials.clearinventory.others" or "essentials.*":
  5519. send "{@Nopermission}" to player
  5520. if arg 1 is offline:
  5521. send "{@Noplayerconnect}" to player
  5522. stop
  5523. if sender is console:
  5524. if arg 1 is online:
  5525. clear argument's inventory
  5526. send "{@Cleartoplayerisconsole}" to arg 1
  5527. send "{@Cleartoplayer}" to console
  5528. stop
  5529. if arg 1 is not set:
  5530. send "&cError &6>> &f/clear [player]" to console
  5531. stop
  5532. if arg 1 is offline:
  5533. send "{@Noplayerconnect}" to console
  5534. stop
  5535.  
  5536. command /suicide:
  5537. permission: essentials.suicide
  5538. permission message: {@Nopermission}
  5539. aliases: essentials:suicide
  5540. usage: &cError &6>> &f/suicide
  5541. executable by: players, console
  5542. trigger:
  5543. if sender is a player:
  5544. set {back::%uuid of player%} to location of player
  5545. kill player
  5546. broadcast "{@Suicide}"
  5547. stop
  5548. if sender is console:
  5549. send "{@Errortoconsoleisnotplayerusecommands}" to console
  5550. stop
  5551.  
  5552. command /broadcast [<text>]:
  5553. permission: essentials.broadcast
  5554. permission message: {@Nopermission}
  5555. aliases: essentials:broadcast
  5556. usage: &cError &6>> &f/broadcast [text]
  5557. executable by: players, console
  5558. trigger:
  5559. if sender is a player:
  5560. if arg 1 is not set:
  5561. send "&cError &6>> &f/broadcast [text]"
  5562. stop
  5563. if arg 1 is set:
  5564. if sender doesn't have permission "essentials.broadcast.color" or "essentials.*":
  5565. broadcast "{@Broadcast}"
  5566. stop
  5567. if sender has permission "essentials.broadcast.color" or "essentials.*":
  5568. broadcast "{@Broadcastcolor}"
  5569. stop
  5570. if sender is console:
  5571. if arg 1 is set:
  5572. broadcast "{@Broadcastcolor}"
  5573. stop
  5574. if arg 1 is not set:
  5575. send "&cError &6>> &f/broadcast [text]" to console
  5576. stop
  5577.  
  5578. command /tp [<offline player>] [<offline player>]:
  5579. permission: essentials.tp
  5580. permission message: {@Nopermission}
  5581. aliases: essentials:tp
  5582. executable by: players, console
  5583. usage: &cError &6>> &f/tp [player] [player]
  5584. trigger:
  5585. if sender is a player:
  5586. if arg 1 is not set:
  5587. send "&cError &6>> &f/tp [player] [player]"
  5588. stop
  5589. if arg 1 is online:
  5590. if arg 2 is not set:
  5591. set {back::%uuid of player%} to location of player
  5592. teleport player to arg 1
  5593. send "{@Tpteleporting}" to player
  5594. stop
  5595. if arg 2 is set:
  5596. if sender has permission "essentials.tp.others" or "essentials.*":
  5597. set {back::%uuid of arg 1%} to location of player
  5598. teleport argument 1 to arg 2
  5599. send "{@Tpteleporting}" to arg 1
  5600. stop
  5601. if sender doesn't have permission "essentials.tp.others" or "essentials.*":
  5602. send "{@Nopermission}" to player
  5603. stop
  5604. if arg 1 is offline:
  5605. send "{@Noplayerconnect}" to player
  5606. stop
  5607. if arg 2 is offline:
  5608. send "{@Noplayerconnect}" to player
  5609. stop
  5610. if sender is console:
  5611. send "{@Errortoconsoleisnotplayerusecommands}" to console
  5612. stop
  5613.  
  5614. on chat:
  5615. if sender has permission "essentials.chat.color" or "essentials.*":
  5616. replace all "&" in the message with "§"
  5617. stop
  5618. if sender doesn't have permission "essentials.chat.color" or "essentials.*":
  5619. stop
  5620.  
  5621. on first join:
  5622. broadcast "{@Firstjoin}"
  5623. stop
  5624.  
  5625. on first join:
  5626. if {@Teleportspawntojoin} is true:
  5627. teleport player to {spawn}
  5628. stop
  5629. if {@Teleportspawntojoin} is false:
  5630. stop
  5631.  
  5632. on join:
  5633. if {@Messagejoinquit} is true:
  5634. set join message to "{@Join}"
  5635. stop
  5636. if {@Messagejoinquit} is false:
  5637. stop
  5638.  
  5639. on join:
  5640. if {@Teleportspawntojoin} is true:
  5641. teleport player to {spawn}
  5642. stop
  5643. if {@Teleportspawntojoin} is false:
  5644. stop
  5645.  
  5646. on quit:
  5647. if {@Messagejoinquit} is true:
  5648. set quit message to "{@Quit}"
  5649. stop
  5650. if {@Messagejoinquit} is false:
  5651. stop
  5652.  
  5653. on build:
  5654. if player has permission "essentials.build" or "essentials.*":
  5655. stop
  5656. if player doesn't have permission "essentials.build" or "essentials.*":
  5657. cancel event
  5658. send "{@Nobuild}" to player
  5659. stop
  5660.  
  5661. on break:
  5662. if player has permission "essentials.build" or "essentials.*":
  5663. stop
  5664. if player doesn't have permission "essentials.build" or "essentials.*":
  5665. cancel event
  5666. send "{@Nobuild}" to player
  5667. stop
  5668.  
  5669. command /essentials [<text>]:
  5670. aliases: ess
  5671. permission: essentials.admin
  5672. executable by: players, console
  5673. usage: &cError &6>> &f/essentials reload/info
  5674. permission message: {@Nopermission}
  5675. trigger:
  5676. if sender is a player:
  5677. if arg 1 is "reload":
  5678. make console execute command "/sk reload essentials"
  5679. send "{@Reloadmsg}" to player
  5680. stop
  5681. if arg 1 is "info":
  5682. send "&fSpigot link &6|-> &chttps://www.spigotmc.org/resources/essentials-1-8-1-15-1-bungeecord-spigot-paper-support-new-1-15-big-update.39698/" to player
  5683. send "&fVersion &6|-> &c1.15.5" to player
  5684. send "&fCreator &6|-> &cAlexisl315 (Aliase: ~ Lennord)" to player
  5685. stop
  5686. if arg 1 is not set:
  5687. send "&cError &6>> &f/essentials reload/info" to player
  5688. stop
  5689. if arg 1 is not "reload" or "info":
  5690. send "&cError &6>> &f/essentials reload/info" to player
  5691. stop
  5692. if sender is console:
  5693. if arg 1 is "reload":
  5694. make console execute command "/sk reload essentials"
  5695. send "{@Reloadmsg}" to console
  5696. stop
  5697. if arg 1 is "info":
  5698. send "&fSpigot link &6|-> &chttps://www.spigotmc.org/resources/essentials-1-8-1-15-1-bungeecord-spigot-paper-support-new-1-15-big-update.39698/" to console
  5699. send "&fVersion &6|-> &c1.15.5" to console
  5700. send "&fCreator &6|-> &cAlexisl315 (Aliase: ~ Lennord)" to console
  5701. stop
  5702. if arg 1 is not set:
  5703. send "&cError &6>> &f/essentials reload/info" to console
  5704. stop
  5705. if arg 1 is not "reload" or "info":
  5706. send "&cError &6>> &f/essentials reload/info" to console
  5707. stop
  5708.  
  5709. command /feed [<offline player>]:
  5710. permission: essentials.feed
  5711. aliases: essentials:feed
  5712. usage: &cError &6>> &f/feed [player]
  5713. permission message: {@Nopermission}
  5714. executable by: players, console
  5715. trigger:
  5716. if sender is a player:
  5717. if arg 1 is not set:
  5718. send "{@Feedtome}" to player
  5719. set hunger bar to 10
  5720. stop
  5721. if arg 1 is online:
  5722. if sender is a players:
  5723. if sender has permission "essentials.feed.others" or "essentials.*":
  5724. send "{@Feedtoplayerisadmin}" to player
  5725. send "{@Feedtoplayer}" to arg 1
  5726. set arg's food bar to 10
  5727. stop
  5728. if sender doesn't have permission "essentials.feed.others" or "essentials.*":
  5729. send "{@Nopermission}" to player
  5730. stop
  5731. if arg 1 is offline:
  5732. send "{@Noplayerconnect}" to player
  5733. stop
  5734. if sender is console:
  5735. if arg 1 is not set:
  5736. send "{@Noplayerconnect}" to console
  5737. stop
  5738. if arg 1 is online:
  5739. send "{@Feedtoplayerconsole}" to arg 1
  5740. set arg's food bar to 10
  5741. stop
  5742. if arg 1 is offline:
  5743. send "{@Noplayerconnect}" to console
  5744. stop
  5745.  
  5746. command /heal [<offline player>]:
  5747. permission: essentials.heal
  5748. usage: &cError &6>> &f/heal [player]
  5749. aliases: essentials:heal
  5750. executable by: players, console
  5751. permission message: {@Nopermission}
  5752. trigger:
  5753. if sender is a player:
  5754. if arg 1 is not set:
  5755. send "{@Healtome}" to player
  5756. heal player
  5757. stop
  5758. if arg 1 is online:
  5759. if sender is a players:
  5760. if sender has permission "essentials.heal.others" or "essentials.*":
  5761. send "{@Healtoplayerisadmin}" to player
  5762. send "{@Healtoplayer}" to arg 1
  5763. heal arg 1
  5764. stop
  5765. if sender doesn't have permission "essentials.heal.others" or "essentials.*":
  5766. send "{@Nopermission}" to player
  5767. stop
  5768. if arg 1 is offline:
  5769. send "{@Noplayerconnect}" to player
  5770. stop
  5771. if sender is console:
  5772. if arg 1 is not set:
  5773. send "{@Noplayerconnect}" to console
  5774. stop
  5775. if arg 1 is online:
  5776. send "{@Healtoplayerconsole}" to arg 1
  5777. heal arg 1
  5778. stop
  5779. if arg 1 is offline:
  5780. send "{@Noplayerconnect}" to console
  5781. stop
  5782.  
  5783. command /setspawn:
  5784. aliases: essentials:setspawn
  5785. permission: essentials.setspawn
  5786. usage: &cError &6>> &f/setspawn
  5787. executable by: players, console
  5788. permission message: {@Nopermission}
  5789. trigger:
  5790. if sender is a player:
  5791. send "{@Setspawn}" to player
  5792. set {spawn} to location of player
  5793. stop
  5794. if sender is console:
  5795. send "{@Errortoconsoleisnotplayerusecommands}" to console
  5796. stop
  5797.  
  5798. command /spawn [<offline player>]:
  5799. aliases: essentials:spawn
  5800. executable by: players, console
  5801. usage: &cError &6>> &f/spawn [player]
  5802. permission: essentials.spawn
  5803. permission message: {@Nopermission}
  5804. trigger:
  5805. if sender is a player:
  5806. if {spawn} is not set:
  5807. send "{@Nospawnpoint}" to player
  5808. stop
  5809. if {spawn} is set:
  5810. if arg 1 is not set:
  5811. if {@Spawncooldownuse} is true:
  5812. if sender doesn't have permission "essentials.spawn.bypass" or "essentials.*":
  5813. send "{@Spawncooldown1} {@Spawncooldown} {@Spawncooldown2}" to player
  5814. wait {@Spawncooldown} seconds
  5815. set {back::%uuid of player%} to location of player
  5816. teleport player to {spawn}
  5817. send "{@Spawnteleporting}" to player
  5818. stop
  5819. if sender has permission "essentials.spawn.bypass" or "essentials.*":
  5820. set {back::%uuid of player%} to location of player
  5821. teleport player to {spawn}
  5822. send "{@Spawnteleporting}" to player
  5823. stop
  5824. if {@Spawncooldownuse} is false:
  5825. set {back::%uuid of player%} to location of player
  5826. teleport player to {spawn}
  5827. send "{@Spawnteleporting}" to player
  5828. stop
  5829. if arg 1 is online:
  5830. if sender has permission "essentials.spawn.others" or "essentials.*":
  5831. if arg 1 is offline:
  5832. send "{@Noplayerconnect}" to player
  5833. stop
  5834. if arg 1 is online:
  5835. send "{@Teleportspawnisplayer}" to arg 1
  5836. set {back::%uuid of arg 1%} to location of arg 1
  5837. send "{@Spawnteleporting}" to arg 1
  5838. teleport arg 1 to {spawn}
  5839. stop
  5840. if sender doesn't have permission "essentials.spawn.others" or "essentials.*":
  5841. send "{@Nopermission}" to player
  5842. stop
  5843. if arg 1 is offline:
  5844. send "{@Noplayerconnect}" to player
  5845. stop
  5846. if sender is console:
  5847. if {spawn} is not set:
  5848. send "{@Nospawnpoint}" to console
  5849. stop
  5850. if {spawn} is set:
  5851. if arg 1 is not set:
  5852. if {@Spawncooldownuse} is true:
  5853. send "{@Errortoconsoleisnotplayerusecommands}" to console
  5854. stop
  5855. if arg 1 is online:
  5856. if arg 1 is offline:
  5857. send "{@Noplayerconnect}" to console
  5858. stop
  5859. if arg 1 is online:
  5860. send "{@Teleportspawnisplayer}" to arg 1
  5861. set {back::%uuid of arg 1%} to location of arg 1
  5862. send "{@Spawnteleporting}" to arg 1
  5863. teleport arg 1 to {spawn}
  5864. stop
  5865. if arg 1 is offline:
  5866. send "{@Noplayerconnect}" to console
  5867. stop
  5868.  
  5869. command /delspawn:
  5870. permission: essentials.delspawn
  5871. aliases: essentials:delspawn
  5872. usage: &cError &6>> &f/delspawn
  5873. executable by: players, console
  5874. permission message: {@Nopermission}
  5875. trigger:
  5876. if sender is a player:
  5877. if {spawn} is set:
  5878. delete {spawn}
  5879. send "{@Deletespawn}" to player
  5880. stop
  5881. if {spawn} is not set:
  5882. send "{@Nospawnpoint}" to player
  5883. stop
  5884. if sender is console:
  5885. send "{@Errortoconsoleisnotplayerusecommands}" to console
  5886. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement