Advertisement
AurasPrivate

Method

Aug 19th, 2017
410
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.29 KB | None | 0 0
  1. command /warn [<offline player>] [<text>]:
  2. permission: method.warn
  3. trigger:
  4. if arg-1 is set:
  5. if arg-2 is set:
  6. add 1 to {warn.%arg-1%}
  7. broadcast "&e&m*------------------------------------------*"
  8. broadcast "&7%arg-1% &rhas been warned by &7%player%"
  9. broadcast "&7Reason &7» &r%arg-2%"
  10. broadcast "&e&m*------------------------------------------*"
  11.  
  12. else:
  13. message "&7Incorrect usage, &r/warn [player] [reason]"
  14. else:
  15. message "&7Incorrect usage, &r/warn [player] [reason]"
  16.  
  17. command /unban [<offline player>] [<text>]:
  18. permission: method.ban
  19. trigger:
  20. if arg-1 is set:
  21. if arg-2 is set:
  22. if {banned.%arg-1%} is false:
  23. message "&7%arg-1% is currently not banned"
  24. else if {banned.%arg-1%} is not set:
  25. message "&7%arg-1% is currently not banned"
  26. else if {banned.%arg-1%} is true:
  27. add 1 to {unban.%arg-1%}
  28. set {banned.%arg-1%} to false
  29. unban arg-1
  30. broadcast "&e&m*------------------------------------------*"
  31. broadcast "&7%arg-1%'s suspension has been revoked by &7%player%"
  32. broadcast "&7Reason &7» &r%arg-2%"
  33. broadcast "&e&m*------------------------------------------*"
  34.  
  35. else:
  36. message "&7Incorrect usage, &r/unban [player] [reason]"
  37. else:
  38. message "&7Incorrect usage, &r/unban [player] [reason]"
  39.  
  40. command /ban [<offline player>] [<text>]:
  41. permission: method.ban
  42. trigger:
  43. if arg-1 is set:
  44. if arg-2 is set:
  45. if {banned.%arg-1%} is true:
  46. message "&7%arg-1% is currently banned for &r%{banned.reason.%arg-1%}% &7and was banned on &r%{banned.time.%arg-1%}%"
  47. else if {banned.%arg-1%} is false:
  48. add 1 to {ban.%arg-1%}
  49. kick arg-1 due to "&7Reason &7» &r%arg-2%"
  50. ban arg-1 due to "&7Reason &7» &r%arg-2%"
  51. set {banned.%arg-1%} to true
  52. set {banned.reason.%arg-1%} to arg-2
  53. set {banned.time.%arg-1%} to now
  54. broadcast "&e&m*------------------------------------------*"
  55. broadcast "&7%arg-1% &rhas been suspended by &7%player%"
  56. broadcast "&7Reason &7» &r%arg-2%"
  57. broadcast "&e&m*------------------------------------------*"
  58. else if {banned.%arg-1%} is not set:
  59. add 1 to {ban.%arg-1%}
  60. kick arg-1 due to "&7Reason &7» &r%arg-2%"
  61. ban arg-1 due to "&7Reason &7» &r%arg-2%"
  62. set {banned.%arg-1%} to true
  63. set {banned.reason.%arg-1%} to arg-2
  64. set {banned.time.%arg-1%} to now
  65. broadcast "&e&m*------------------------------------------*"
  66. broadcast "&7%arg-1% &rhas been suspended by &7%player%"
  67. broadcast "&7Reason &7» &r%arg-2%"
  68. broadcast "&e&m*------------------------------------------*"
  69.  
  70. else:
  71. message "&7Incorrect usage, &r/ban [player] [reason]"
  72. else:
  73. message "&7Incorrect usage, &r/ban [player] [reason]"
  74.  
  75. command /kick [<offline player>] [<text>]:
  76. permission: method.kick
  77. trigger:
  78. if arg-1 is set:
  79. if arg-2 is set:
  80. add 1 to {kick.%arg-1%}
  81. kick arg-1 due to "&7Reason &7» &r%arg-2%"
  82. broadcast "&e&m*------------------------------------------*"
  83. broadcast "&7%arg-1% &rhas been kicked by &7%player%"
  84. broadcast "&7Reason &7» &r%arg-2%"
  85. broadcast "&e&m*------------------------------------------*"
  86. else:
  87. message "&7Incorrect usage, &r/kick [player] [reason]"
  88. else:
  89. message "&7Incorrect usage, &r/kick [player] [reason]"
  90.  
  91. command /clearchat:
  92. aliases: /cc
  93. permission: method.clearchat
  94. trigger:
  95. loop 300 times:
  96. broadcast " "
  97. broadcast "&6&lMETHOD &8» &7Chat has been cleared by &e%player%"
  98.  
  99. #===========================================================================================================================
  100.  
  101. command /rank [<offline player>]:
  102. permission: method.rank
  103. permission message: &cYou do not have the required permissions to execute this command.
  104. trigger:
  105. if arg-1 is not set:
  106. send "&cIncorrect usage format, /rank <player>"
  107. else if arg-1 is set:
  108. open chest with 5 rows named "&8Rank Selection &8(&n%arg-1%)" to player
  109. format slot 4 of player with arg-1's skull named "&bModifying %arg-1%" with lore "||&rIn this GUI you can modify||&r%arg-1%'s rank.||||&bCurrent Rank||&r &r● &r%{shortrank.%arg-1's uuid%}%" to be unstealable
  110. format slot 22 of player with paper named "&bRanks" to be unstealable
  111. format slot 29 of player with book named "&4Owner" with lore "||&rClick to change %arg-1%'s rank||&rto owner." to close then run [make player execute "¶rank %arg-1% owner"]
  112. format slot 30 of player with book named "&9Dev" with lore "||&rClick to change %arg-1%'s rank||&rto developer." to close then run [make player execute "¶rank %arg-1% dev"]
  113. format slot 31 of player with book named "&cAdmin" with lore "||&rClick to change %arg-1%'s rank||&rto administrator." to close then run [make player execute "¶rank %arg-1% admin"]
  114. format slot 32 of player with book named "&5Mod" with lore "||&rClick to change %arg-1%'s rank||&rto moderator." to close then run [make player execute "¶rank %arg-1% mod"]
  115. format slot 33 of player with book named "&dTrial Mod" with lore "||&rClick to change %arg-1%'s rank||&rto trial moderator." to close then run [make player execute "¶rank %arg-1% tmod"]
  116. format slot 40 of player with book named "&7User" with lore "||&rClick to change %arg-1%'s rank||&rto user." to close then run [make player execute "¶rank %arg-1% user"]
  117.  
  118. #===========================================================================================================================
  119.  
  120. command /location [<text>]:
  121. permission: method.location
  122. permission message: &cYou do not have the required permissions to execute this command.
  123. trigger:
  124. if arg-1 is set:
  125. if arg-1 is "ss" or "screenshare":
  126. set {screenshare} to location of player
  127. message "&eSuccessfully set the location of &6&lScreenshare &eto your location!" to player
  128. else if arg-1 is "hub" or "spawn":
  129. set {spawn} to location of player
  130. message "&eSuccessfully set the location of &6&lSpawn &eto your location!" to player
  131.  
  132.  
  133. command /ss [<player>]:
  134. description: Freeze the player and send them a request to join discord!
  135. permission: method.freeze
  136. permission message: &cYou do not have the required permissions to execute this command.
  137. executable by: players
  138. aliases: /ss, /screenshare, /freeze
  139. trigger:
  140. if arg 1 is not set:
  141. send "&cIncorrect usage format, /freeze <player>"
  142. if arg 1 is set:
  143. if {%arg-1%.ss} is true:
  144. teleport arg-1 to {spawn}
  145. send "&e%arg-1% &eis no longer frozen!" to player
  146. send "&eYou are no longer frozen!" to arg 1
  147. set {%arg-1%.ss} to false
  148. remove slowness from arg-1
  149. delete {_ss.coords.%arg-1%}
  150. stop trigger
  151. if {%arg-1%.ss} is not set:
  152. set {%arg-1%.ss} to true
  153. add 1 to {frozencounter.%arg-1%}
  154. teleport arg-1 to {screenshare}
  155. send "&aThis player has been frozen %{frozencounter.%arg-1%}% times."
  156. send "&a%arg-1% &ahas been frozen." to player
  157. send "&f█████████" to arg 1
  158. send "&f████&c█&f████" to arg 1
  159. send "&f███&c█&0█&c█&f███" to arg 1
  160. send "&f██&c█&6█&0█&6█&c█&f██" to arg 1
  161. send "&f██&c█&6█&0█&6█&c█&f██ &eYou have been frozen by a staff member." to arg 1
  162. send "&f██&c█&6█&0█&6█&c█&f██ &eIf you disconnect you will be &4&lBANNED&e." to arg 1
  163. send "&f█&c█&6█████&c█&f█ &ePlease connect to our Discord." to arg 1
  164. send "&c█&6███&0█&6███&c█ &7https://discord.gg/TZpBkkE" to arg 1
  165. send "&c█████████" to arg 1
  166. send "&f█████████" to arg 1
  167. apply slowness 999 to arg-1 for 1000 minutes
  168. set {_ss.coords.%arg-1%} to arg-1's location
  169. stop trigger
  170. if {%arg-1%.ss} is false:
  171. add 1 to {frozencounter.%arg-1%}
  172. teleport arg-1 to {screenshare}
  173. send "&aThis player has been frozen %{frozencounter.%arg-1%}% times."
  174. send "&a%arg-1% &ahas been frozen." to player
  175. send "&f█████████" to arg 1
  176. send "&f████&c█&f████" to arg 1
  177. send "&f███&c█&0█&c█&f███" to arg 1
  178. send "&f██&c█&6█&0█&6█&c█&f██" to arg 1
  179. send "&f██&c█&6█&0█&6█&c█&f██ &eYou have been frozen by a staff member." to arg 1
  180. send "&f██&c█&6█&0█&6█&c█&f██ &eIf you disconnect you will be &4&lBANNED&e." to arg 1
  181. send "&f█&c█&6█████&c█&f█ &ePlease connect to our Discord." to arg 1
  182. send "&c█&6███&0█&6███&c█ &7https://discord.gg/TZpBkkE" to arg 1
  183. send "&c█████████" to arg 1
  184. send "&f█████████" to arg 1
  185. set {%arg-1%.ss} to true
  186. apply slowness 999 to arg-1 for 1000 minutes
  187. set {_ss.coords.%arg-1%} to arg-1's location
  188. stop trigger
  189.  
  190. command /staffmode:
  191. description: Change into a moderation based gamemode!
  192. permission: method.staffmode
  193. permission message: &cYou do not have the required permissions to execute this command.
  194. executable by: players
  195. aliases: /staffmode, /staff, /h
  196. trigger:
  197. if {staffmode.%player%} is not set:
  198. message "&eStaff mode preperation..."
  199. set {staffmode.%player%} to true
  200. message "&eStaff mode &6&lEnabled"
  201. hide the player from all players
  202. set gamemode of player to creative
  203. clear player's inventory
  204. apply slowness 555 to player for 0.7 seconds
  205. set slot 0 of player to a compass named "&ePush"
  206. wait 1 tick
  207. set slot 1 of player to a book named "&eInspect Inventory"
  208. wait 1 tick
  209. set slot 2 of player to a anvil named "&eFreeze"
  210. wait 1 tick
  211. set slot 3 of player to a orange carpet named "&e"
  212. wait 1 tick
  213. set slot 7 of player to a head named "&eStaff List"
  214. wait 1 tick
  215. set slot 8 of player to a gray dye named "&eVisibility"
  216. else if {staffmode.%player%} is set:
  217. delete {staffmode.%player%}
  218. message "&eStaff mode &6&lDisabled"
  219. apply slowness 555 to player for 0.7 seconds
  220. reveal player to all players
  221. set gamemode of player to survival
  222. clear player's inventory
  223.  
  224. on join:
  225. wait 5 ticks
  226. make player execute "spawn"
  227.  
  228. on join:
  229. if player has permission "method.staff":
  230. loop all players:
  231. loop-player has permission "minezone.staff"
  232. send "&9[Staff] &b%player% joined the server." to loop-player
  233. on quit:
  234. if player has permission "method.staff":
  235. loop all players:
  236. loop-player has permission "minezone.staff"
  237. send "&9[Staff] &b%player% left the server." to loop-player
  238.  
  239. on rightclick:
  240. if {staffmode.%player%} is set:
  241. if player's tool is a compass named "&ePush":
  242. push player in direction of player at speed 1
  243.  
  244. on right click on a player:
  245. if {staffmode.%player%} is set:
  246. if player's tool is a book named "&eInspect Inventory":
  247. open the inventory of the clicked entity to the player
  248.  
  249. on right click on a player:
  250. if {staffmode.%player%} is set:
  251. if player's tool is a anvil named "&eFreeze":
  252. wait 5 ticks
  253. make player execute "ss %clicked entity%"
  254.  
  255. on right click:
  256. if {staffmode.%player%} is set:
  257. if player's tool is a head named "&eStaff List":
  258. wait 5 ticks
  259. make player execute command "minezone:stafflist"
  260.  
  261. on right click:
  262. if {staffmode.%player%} is set:
  263. if player's tool is a gray dye named "&eVisibility":
  264. set slot 8 of player to light green dye named "&eVisibility"
  265. reveal the player from all players
  266. send "&eYou have been revealed to all players." to the player
  267.  
  268. on left click:
  269. if {staffmode.%player%} is set:
  270. if player's tool is a light green dye named "&eVisibility":
  271. set slot 8 of player to gray dye named "&eVisibility"
  272. hide the player from all players
  273. send "&eYou have been hidden from all players." to the player
  274.  
  275. on place:
  276. if {staffmode.%player%} is true:
  277. if player doesn't have permission "method.admin":
  278. cancel event
  279. stop
  280. else:
  281. stop
  282. on break:
  283. if {staffmode.%player%} is true:
  284. if player doesn't have permission "method.admin":
  285. cancel event
  286. stop
  287. else:
  288. stop
  289.  
  290. on inventory click:
  291. if {staffmode.%player%} is true:
  292. if player doesn't have permission "method.admin":
  293. cancel event
  294. stop
  295. else:
  296. stop
  297.  
  298. on hunger bar change:
  299. if {staffmode.%player%} is true:
  300. set the player's food level to 10
  301.  
  302. on damage:
  303. if {staffmode.%victim%} is true:
  304. cancel event
  305. if {staffmode.%attacker%} is true:
  306. cancel event
  307.  
  308. on drop:
  309. if {staffmode.%player%} is true:
  310. cancel event
  311. #===========================================================================================================================
  312.  
  313. command /teleport [<player>] [<player>]:
  314. description: Teleport to a player
  315. permission: method.teleport
  316. permission message: &cYou do not have the required permissions to execute this command.
  317. executable by: players
  318. aliases: /teleport, /tp, /tport, /telep
  319. trigger:
  320. if arg-1 is set:
  321. if arg-2 is set:
  322. if arg-1 is player:
  323. teleport arg-1 to arg-2
  324. message "&eTeleporting to %arg-2%"
  325. else if arg-1 isn't player:
  326. teleport arg-1 to arg-2
  327. message "&eTeleported %arg-1% to %arg-2%"
  328. else if arg-2 isn't set:
  329. teleport player to arg-1
  330. message "&eTeleporting to %arg-1%"
  331. else:
  332. message "&cIncorrect usage format, /tp <player> [other player]"
  333.  
  334. command /tphere [<player>]:
  335. description: Teleport to a player to you
  336. permission: method.teleport
  337. permission message: &cYou do not have the required permissions to execute this command.
  338. executable by: players
  339. trigger:
  340. if arg-1 is set:
  341. if arg-1 is player:
  342. message "&cYou cannot teleport to yourself."
  343. else if arg-1 isn't player:
  344. teleport arg-1 to player
  345. message "&eTeleported %arg-1% to player"
  346. else:
  347. message "&cIncorrect usage format, /tphere <player>"
  348.  
  349. command /gm [<text>] [<player>]:
  350. description: Change your gamemode
  351. permission: method.gamemode
  352. permission message: &cYou do not have the required permissions to execute this command.
  353. executable by: players
  354. trigger:
  355. if arg-1 is set:
  356. if arg-2 is set:
  357. if arg-1 is "C", "1" or "Creative":
  358. set gamemode of arg-2 to creative
  359. message "&eSet the gamemode of %arg-2% to &6&lCreative" to player
  360. message "&eGamemode changed to &6&lCreative&e by %player%" to arg-2
  361. else if arg-1 is "S", "0" or "Survival":
  362. set gamemode of arg-2 to survival
  363. message "&eSet the gamemode of %arg-2% to &6&lSurvival" to player
  364. message "&eGamemode changed to &6&lSurvival&e by %player%" to arg-2
  365. else if arg-1 is "A", "2" or "Adventure":
  366. set gamemode of arg-2 to adventure
  367. message "&eSet the gamemode of %arg-2% to &6&lAdventure" to player
  368. message "&eGamemode changed to &6&lAdventure&e by %player%" to arg-2
  369. else if arg-2 isn't set:
  370. if arg-1 is "C", "1" or "Creative":
  371. set gamemode of player to creative
  372. message "&eSet your gamemode to &6&lCreative" to player
  373. else if arg-1 is "S", "0" or "Survival":
  374. set gamemode of player to survival
  375. message "&eSet your gamemode to &6&lSurvival" to player
  376. else if arg-1 is "A", "2" or "Adventure":
  377. set gamemode of player to adventure
  378. message "&eSet your gamemode to &6&lAdventure" to player
  379. else if arg-2 isn't "A", "2", "Adventure", "S", "0", "Survival", "C", "1" or "Creative":
  380. message "&cUnexpected error! gamemode.Type = false"
  381. message "&cPlease choose a valid gamemode!"
  382. message ""
  383. message "&4If you feel that this is incorrect, please contact your server developer."
  384. else:
  385. message "&cIncorrect usage format, /gm <gamemode> [player]"
  386.  
  387. on command "/gmc":
  388. cancel event
  389. make player execute "gm c"
  390.  
  391. on command "/gms":
  392. cancel event
  393. make player execute "gm s"
  394.  
  395. on command "/gma":
  396. cancel event
  397. make player execute "gm a"
  398.  
  399. on command "/gmsp":
  400. cancel event
  401. send "&cThis gamemode has been disabled by an administrator."
  402.  
  403. #===========================================================================================================================
  404.  
  405. command /minezone:stafflist:
  406. trigger:
  407. if player has permission "method.staff":
  408. loop all players:
  409. loop-player has permission "minezone.staff"
  410. add loop-player to {_online staff::*}
  411.  
  412. size of {_online staff::*} is 0:
  413. message "No staff currently online!"
  414. else:
  415. message "&e&m*------------------------------------------*"
  416. message "&7Staff &e» &r%{_online staff::*}%"
  417. message "&e&m*------------------------------------------*"
  418. else:
  419. message "&rUnknown command. Type ""/help"" for help."
  420.  
  421. #===========================================================================================================================
  422.  
  423. command /¶cc:
  424. trigger:
  425. loop 300 times:
  426. message " "
  427. message "&6&lMETHOD &8» &7Successfully created your world."
  428.  
  429. command /¶cc2:
  430. trigger:
  431. loop 300 times:
  432. message " "
  433. message "&6&lMETHOD &8» &7Successfully teleported to your world."
  434.  
  435. command /¶cc3:
  436. trigger:
  437. loop 300 times:
  438. message " "
  439. on chat:
  440. cancel event
  441. set tab list name of player to "%{rank.%player's uuid%}%%player%"
  442. broadcast "&7[%{tier.%player's uuid%}%&7] %{rank.%player's uuid%}%%player% &8» &r%message%"
  443.  
  444.  
  445. command /¶rank [<offline player>] [<text>]:
  446. permission: method.rank
  447. trigger:
  448. if arg-1 isn't set:
  449. message "&cIncorrect usage."
  450. if arg-1 is set:
  451. if arg-2 is "admin":
  452. if player has permission "server.rank":
  453. set {rank.%arg-1's uuid%} to "&8[&cAdmin&8] &c"
  454. set {shortrank.%arg-1's uuid%} to "&rAdministrator"
  455. set tab list name of arg 1 to "&8[&cAdmin&8] &c%player%"
  456. send "&eSuccessfully updated &b%arg-1%'s &euser rank to &bAdmin &eprevious rank removed."
  457. send "&eYour server rank has been set to &bAdmin&e!" to arg 1
  458. if player doesn't have permission "server.manager":
  459. send "&cYou're not allowed to execute this command!"
  460. if arg-2 is "owner":
  461. if player has permission "server.rank":
  462. set {rank.%arg-1's uuid%} to "&8[&4Owner&8] &4"
  463. set {shortrank.%arg-1's uuid%} to "&rOwner"
  464. set tab list name of arg 1 to "&8[&4Owner&8] &4%player%"
  465. send "&eSuccessfully updated &b%arg-1%'s &euser rank to &bOwner &eprevious rank removed."
  466. send "&eYour server rank has been set to &bOwner&e!" to arg 1
  467. if player doesn't have permission "server.manager":
  468. send "&cYou're not allowed to execute this command!"
  469. if arg-2 is "mod":
  470. if player has permission "server.rank":
  471. set {rank.%arg-1's uuid%} to "&8[&5Mod&8] &5"
  472. set {shortrank.%arg-1's uuid%} to "&rMod"
  473. set tab list name of arg 1 to "&8[&5Mod&8] &5%player%"
  474. send "&eSuccessfully updated &b%arg-1%'s &euser rank to &bMod &eprevious rank removed."
  475. send "&eYour server rank has been set to &bMod&e!" to arg 1
  476. if player doesn't have permission "server.manager":
  477. send "&cYou're not allowed to execute this command!"
  478. if arg-2 is "dev":
  479. if player has permission "server.rank":
  480. set {rank.%arg-1's uuid%} to "&8[&9Dev&8] &9"
  481. set {shortrank.%arg-1's uuid%} to "&rDeveloper"
  482. set tab list name of arg 1 to "&8[&9Dev&8] &9%player%"
  483. send "&eSuccessfully updated &b%arg-1%'s &euser rank to &bDeveloper &eprevious rank removed."
  484. send "&eYour server rank has been set to &bDeveloper&e!" to arg 1
  485. if player doesn't have permission "server.manager":
  486. send "&cYou're not allowed to execute this command!"
  487. if arg-2 is "user":
  488. if player has permission "server.rank":
  489. set {rank.%arg-1's uuid%} to "&7"
  490. set {shortrank.%arg-1's uuid%} to "&rUser"
  491. set tab list name of arg 1 to "&7%player%"
  492. send "&eSuccessfully updated &b%arg-1%'s &euser rank to &bUser &eprevious rank removed."
  493. send "&eYour server rank has been set to &bUser&e!" to arg 1
  494. if player doesn't have permission "server.manager":
  495. send "&cYou're not allowed to execute this command!"
  496. if arg-2 is "tmod":
  497. if player has permission "server.rank":
  498. set {rank.%arg-1's uuid%} to "&8[&dTrial Mod&8] &d"
  499. set {shortrank.%arg-1's uuid%} to "&rTrial Mod"
  500. set tab list name of arg 1 to "&8[&dTrial Mod&8] &d%player%"
  501. send "&eSuccessfully updated &b%arg-1%'s &euser rank to &bTrial Moderator &eprevious rank removed."
  502. send "&eYour server rank has been set to &bTrial Moderator&e!" to arg 1
  503. if player doesn't have permission "server.manager":
  504. send "&cYou're not allowed to execute this command!"
  505. if arg-2 is "5":
  506. if player has permission "server.rank":
  507. set {tier.%arg-1's uuid%} to "&75"
  508. set {tiers.%arg-1's uuid%} to "&r5"
  509. send "&7Successfully updated &b%arg-1%'s &7user tier to &r5"
  510. send "&7Your server tier has successfully been updated to &r5" to arg 1
  511. if player doesn't have permission "server.manager":
  512. send "&cYou're not allowed to execute this command!"
  513. if arg-2 is "4":
  514. if player has permission "server.rank":
  515. set {tier.%arg-1's uuid%} to "&74"
  516. set {tiers.%arg-1's uuid%} to "&r4"
  517. send "&7Successfully updated &b%arg-1%'s &7user tier to &r4"
  518. send "&7Your server tier has successfully been updated to &r4" to arg 1
  519. if player doesn't have permission "server.manager":
  520. send "&cYou're not allowed to execute this command!"
  521. if arg-2 is "3":
  522. if player has permission "server.rank":
  523. set {tier.%arg-1's uuid%} to "&73"
  524. set {tiers.%arg-1's uuid%} to "&r3"
  525. send "&7Successfully updated &b%arg-1%'s &7user tier to &r3"
  526. send "&7Your server tier has successfully been updated to &r3" to arg 1
  527. if player doesn't have permission "server.manager":
  528. send "&cYou're not allowed to execute this command!"
  529. if arg-2 is "2":
  530. if player has permission "server.rank":
  531. set {tier.%arg-1's uuid%} to "&72"
  532. set {tiers.%arg-1's uuid%} to "&r2"
  533. send "&7Successfully updated &b%arg-1%'s &7user tier to &r2"
  534. send "&7Your server tier has successfully been updated to &r2" to arg 1
  535. if player doesn't have permission "server.manager":
  536. send "&cYou're not allowed to execute this command!"
  537. if arg-2 is "1":
  538. if player has permission "server.rank":
  539. set {tier.%arg-1's uuid%} to "&71"
  540. set {tiers.%arg-1's uuid%} to "&r1"
  541. send "&7Successfully updated &b%arg-1%'s &7user tier to &r1"
  542. send "&7Your server tier has successfully been updated to &r1" to arg 1
  543. if player doesn't have permission "server.manager":
  544. send "&cYou're not allowed to execute this command!"
  545. if arg-2 is "0":
  546. if player has permission "server.rank":
  547. set {tier.%arg-1's uuid%} to "&70"
  548. set {tiers.%arg-1's uuid%} to "&r0"
  549. send "&7Successfully updated &b%arg-1%'s &7user tier to &r0"
  550. send "&7Your server tier has successfully been updated to &r0" to arg 1
  551. if player doesn't have permission "server.manager":
  552. send "&cYou're not allowed to execute this command!"
  553. if arg-2 is "unlimited":
  554. if player has permission "server.rank":
  555. set {tier.%arg-1's uuid%} to "&7Unlimited"
  556. set {tiers.%arg-1's uuid%} to "&rUnlimited"
  557. send "&7Successfully updated &b%arg-1%'s &7user tier to &rUnlimited"
  558. send "&7Your server tier has successfully been updated to &rUnlimited" to arg 1
  559. if player doesn't have permission "server.manager":
  560. send "&cYou're not allowed to execute this command!"
  561. on first join:
  562. set {rank.%player's uuid%} to "&7"
  563. set {shortrank.%player's uuid%} to "&rUser"
  564. set {world.%player%} to false
  565. set {tier.%player's uuid%} to "&70"
  566. set {coins.%player%} to 10
  567.  
  568. command /tier [<offline player>]:
  569. permission: aurrra.tier
  570. trigger:
  571. if arg-1 is not set:
  572. send "&7Incorrect usage, &r/tier [player]"
  573. else if arg-1 is set:
  574. open chest with 5 rows named "&8Tier Selection &8(&n%arg-1%)" to player
  575. format slot 4 of player with arg-1's skull named "&3Modifying %arg-1%" with lore "||&rIn this GUI you can modify||&r%arg-1%'s tier.||||&bCurrent Rank||&r &r● &r%{tiers.%arg-1's uuid%}%" to be unstealable
  576. format slot 19 of player with book and quill named "&3&lTIERS" to be unstealable
  577. format slot 21 of player with book named "&85" with lore "||&rClick to change %arg-1%'s tier||&rto 5." to close then run [make player execute "¶rank %arg-1% 5"]
  578. format slot 22 of player with book named "&84" with lore "||&rClick to change %arg-1%'s tier||&rto 4." to close then run [make player execute "¶rank %arg-1% 4"]
  579. format slot 23 of player with book named "&83" with lore "||&rClick to change %arg-1%'s tier||&rto 3." to close then run [make player execute "¶rank %arg-1% 3"]
  580. format slot 24 of player with book named "&82" with lore "||&rClick to change %arg-1%'s tier||&rto 2." to close then run [make player execute "¶rank %arg-1% 2"]
  581. format slot 30 of player with book named "&81" with lore "||&rClick to change %arg-1%'s tier||&rto 1." to close then run [make player execute "¶rank %arg-1% 1"]
  582. format slot 31 of player with book named "&80" with lore "||&rClick to change %arg-1%'s tier||&rto 0." to close then run [make player execute "¶rank %arg-1% 0"]
  583. format slot 32 of player with book named "&1U&2n&3l&4i&5m&6i&7t&8e&9d" with lore "||&rClick to change %arg-1%'s tier||&rto unlimited." to close then run [make player execute "¶rank %arg-1% unlimited"]
  584.  
  585.  
  586. command /create:
  587. trigger:
  588. if {world.%player%} is true:
  589. message "&e&l(!) &7%player%&r, you already have your own world! Visit it by typing &7/world"
  590. else if {world.%player%} is false:
  591. set {worldborder.%player%} to false
  592. set {world.%player%} to true
  593. make player execute "¶consolecreate"
  594. make player execute "¶consolesetup"
  595. send "&eInventory cleared"
  596. send "&eGamemode updated"
  597. send "&eUser data saved"
  598. send "&e"
  599. send "&eCreation completed"
  600. add 5 to {coins.%player%}
  601. message "&b&m*------------------------------------*"
  602. message "&7Achievement Completed!"
  603. message "&r"
  604. message "&rCreate your own world"
  605. message "&7Reward &2$5"
  606. message "&b&m*------------------------------------*"
  607. message "&e+$5"
  608. set {achievements.%player%} to 2
  609. else if {world.%player%} is not set:
  610. set {worldborder.%player%} to false
  611. set {world.%player%} to true
  612. make player execute "¶consolecreate"
  613. make player execute "¶consolesetup"
  614. send "&eInventory cleared"
  615. send "&eGamemode updated"
  616. send "&eUser data saved"
  617. send "&e"
  618. send "&eCreation completed"
  619. add 5 to {coins.%player%}
  620. message "&b&m*------------------------------------*"
  621. message "&7Achievement Completed!"
  622. message "&r"
  623. message "&rCreate your own world"
  624. message "&7Reward &2$5"
  625. message "&b&m*------------------------------------*"
  626. message "&e+$5"
  627. set {achievements.%player%} to 2
  628.  
  629. command /¶consolesetup:
  630. trigger:
  631. clear player's inventory
  632. wait 50 ticks
  633. set gamemode of player to creative
  634.  
  635. command /¶consolecreate:
  636. trigger:
  637. make console execute "zperm group World add %player%"
  638. make console execute "mvc %player% normal -t flat"
  639. make console execute "mvtp %player% %player%"
  640. make console execute "minecraft:tp %player% 0 5 0"
  641. make player execute "worldborder center 0 0"
  642. make player execute "worldborder set 100"
  643. make player execute "spawnpoint"
  644. make player execute "¶cc"
  645. set {worldborder.%player%} to true
  646. set {in.world.%player%} to true
  647.  
  648. command /reset-player [<offline player>]:
  649. permission: aurrra.resetplayer
  650. trigger:
  651. set {world.%arg-1%} to false
  652.  
  653. on command "worldborder":
  654. if {worldborder.%player%} is true:
  655. cancel event
  656. send "" to console
  657.  
  658. command /world:
  659. trigger:
  660. if {world.%player%} is false:
  661. message "&e&l(!) &7%player%&r, you don't have a world! Create one with &7/create"
  662. else if {world.%player%} is not set:
  663. message "&e&l(!) &7%player%&r, you don't have a world! Create one with &7/create"
  664. else if {world.%player%} is true:
  665. set {in.world.%player%} to true
  666. set {in.trusted.world.%player%} to false
  667. set {in.spawn.%player%} to false
  668. make console execute "/mvtp %player% %player%"
  669. make console execute "minecraft:tp %player% 0 5 0"
  670. make player execute "¶consolesetup"
  671. make player execute "¶cc2"
  672.  
  673. command /setspawn:
  674. permission: aurrra.setspawn
  675. trigger:
  676. set {spawn} to location of player
  677. message "&6&lMETHOD &8» &7Successfully set the location of spawn &7[%{spawn}%]."
  678.  
  679. command /spawn:
  680. trigger:
  681. message "&6&lMETHOD &8» &7Successfully teleported to &rConsole's World&7."
  682. teleport player to {spawn}
  683. set {in.world.%player%} to false
  684. set {in.spawn.%player%} to true
  685. set {in.trusted.world.%player%} to false
  686. clear player's inventory
  687. heal player
  688. set player's hunger to 20
  689. set gamemode of player to adventure
  690. set slot 2 of player to 1 paper named "&3Information"
  691. set slot 4 of player to 1 book named "&3Control Panel"
  692. set slot 6 of player to 1 chest named "&3Achievements"
  693.  
  694.  
  695.  
  696. command /border [<text>]:
  697. trigger:
  698. if arg-1 is set:
  699. if arg-1 is "1000":
  700. if {tier.%player's uuid%} is "&7Unlimited":
  701. if {in.world.%player%} is false:
  702. message "&e&l(!) &7%player%&r, you need to be in your world to use this command."
  703. else if {in.world.%player%} is not set:
  704. message "&e&l(!) &7%player%&r, you need to be in your world to use this command."
  705. else if {in.world.%player%} is true:
  706. set {worldborder.%player%} to false
  707. make player execute "worldborder center 0 0"
  708. make player execute "worldborder set 1000"
  709. make player execute "¶cc3"
  710. message "&eBorder size changed to 1000"
  711. make console execute "minecraft:tp %player% 0 5 0"
  712. set {worldborder.%player%} to true
  713. else if {tier.%player's uuid%} isn't "&7Unlimited":
  714. message "&e&l(!) &7%player%&r, to execute this command you need &7Unlimited &rtier! Purchase it with &7/buy&r!"
  715. if arg-1 is "750":
  716. if {tier.%player's uuid%} is "&7Unlimited" or "&75":
  717. if {in.world.%player%} is false:
  718. message "&e&l(!) &7%player%&r, you need to be in your world to use this command."
  719. else if {in.world.%player%} is not set:
  720. message "&e&l(!) &7%player%&r, you need to be in your world to use this command."
  721. else if {in.world.%player%} is true:
  722. set {worldborder.%player%} to false
  723. make player execute "worldborder center 0 0"
  724. make player execute "worldborder set 750"
  725. make player execute "¶cc3"
  726. message "&eBorder size changed to 750"
  727. make console execute "minecraft:tp %player% 0 5 0"
  728. set {worldborder.%player%} to true
  729. else if {tier.%player's uuid%} isn't "&7Unlimited" or "&75":
  730. message "&e&l(!) &7%player%&r, to execute this command you need &rtier &75&r or higher! Purchase it with &7/buy&r!"
  731. if arg-1 is "500":
  732. if {tier.%player's uuid%} is "&7Unlimited", "&75" or "&74":
  733. if {in.world.%player%} is false:
  734. message "&e&l(!) &7%player%&r, you need to be in your world to use this command."
  735. else if {in.world.%player%} is not set:
  736. message "&e&l(!) &7%player%&r, you need to be in your world to use this command."
  737. else if {in.world.%player%} is true:
  738. set {worldborder.%player%} to false
  739. make player execute "worldborder center 0 0"
  740. make player execute "worldborder set 500"
  741. make player execute "¶cc3"
  742. message "&eBorder size changed to 500"
  743. make console execute "minecraft:tp %player% 0 5 0"
  744. set {worldborder.%player%} to true
  745. else if {tier.%player's uuid%} isn't "&7Unlimited" or "&75" or "&74":
  746. message "&e&l(!) &7%player%&r, to execute this command you need &rtier &74&r or higher! Purchase it with &7/buy&r!"
  747. if arg-1 is "250":
  748. if {tier.%player's uuid%} is "&7Unlimited", "&75", "&74" or "&73":
  749. if {in.world.%player%} is false:
  750. message "&e&l(!) &7%player%&r, you need to be in your world to use this command."
  751. else if {in.world.%player%} is not set:
  752. message "&e&l(!) &7%player%&r, you need to be in your world to use this command."
  753. else if {in.world.%player%} is true:
  754. set {worldborder.%player%} to false
  755. make player execute "worldborder center 0 0"
  756. make player execute "worldborder set 250"
  757. make player execute "¶cc3"
  758. message "&eBorder size changed to 250"
  759. make console execute "minecraft:tp %player% 0 5 0"
  760. set {worldborder.%player%} to true
  761. else if {tier.%player's uuid%} isn't "&7Unlimited" or "&75" or "&74" or "&73":
  762. message "&e&l(!) &7%player%&r, to execute this command you need the &rtier &73&r or higher! Purchase it with &7/buy&r!"
  763. if arg-1 is "100":
  764. if {tier.%player's uuid%} is "&7Unlimited", "&75", "&74", "&73" or "&72":
  765. if {in.world.%player%} is false:
  766. message "&e&l(!) &7%player%&r, you need to be in your world to use this command."
  767. else if {in.world.%player%} is not set:
  768. message "&e&l(!) &7%player%&r, you need to be in your world to use this command."
  769. else if {in.world.%player%} is true:
  770. set {worldborder.%player%} to false
  771. make player execute "worldborder center 0 0"
  772. make player execute "worldborder set 100"
  773. make player execute "¶cc3"
  774. message "&eBorder size changed to 100"
  775. make console execute "minecraft:tp %player% 0 5 0"
  776. set {worldborder.%player%} to true
  777. else if {tier.%player's uuid%} isn't "&7Unlimited" or "&75" or "&74" or "&73" or "&72":
  778. message "&e&l(!) &7%player%&r, to execute this command you need &rtier &72&r or higher! Purchase it with &7/buy&r!"
  779. if arg-1 isn't set:
  780. send "&7Incorrect usage, &r/border [1000, 750, 500, 250, 100]"
  781. if arg-1 isn't "1000", "750", "500", "250" or "100":
  782. send "&7Incorrect ammount, &r/border [1000, 750, 500, 250, 100]"
  783.  
  784. command /time [<text>]:
  785. trigger:
  786. if arg-1 is set:
  787. if {tier.%player's uuid%} is "&71", "&72", "&73", "&74", "&75" or "&7Unlimited":
  788. if {in.world.%player%} is true:
  789. if arg-1 is "day":
  790. make player execute "essentials:time set day %player%"
  791. make player execute "¶cc3"
  792. message "&eTime changed to day"
  793. else if arg-1 is "night":
  794. make player execute "essentials:time set night %player%"
  795. make player execute "¶cc3"
  796. message "&eTime changed to night"
  797. else if {in,world.%player%} is false:
  798. message "&e&l(!) &7%player%&r, you need to be in your world to use this command."
  799. if {tier.%player's uuid%} isn't "&71", "&72", "&73", "&74", "&75" or "&7Unlimited":
  800. message "&e&l(!) &7%player%&r, To execute this command you must have a tier! Purchase one with &7/buy&r!"
  801. if arg-1 isn't set:
  802. message "&7Incorrect usage, &r/time [day, night]"
  803.  
  804. command /difficulty [<text>]:
  805. trigger:
  806. if arg-1 is set:
  807. if {tier.%player's uuid%} is "&71", "&72", "&73", "&74", "&75" or "&7Unlimited":
  808. if {in.world.%player%} is true:
  809. if arg-1 is "0" or "peaceful":
  810. make player execute "minecraft:difficulty 0"
  811. make player execute "¶cc3"
  812. message "&eDifficulty changed to peaceful"
  813. else if arg-1 is "1" or "easy":
  814. make player execute "minecraft:difficulty 1"
  815. make player execute "¶cc3"
  816. message "&eDifficulty changed to easy"
  817. else if arg-1 is "2" or "normal":
  818. make player execute "minecraft:difficulty 2"
  819. make player execute "¶cc3"
  820. message "&eDifficulty changed to normal"
  821. else if arg-1 is "3" or "hard":
  822. make player execute "minecraft:difficulty 3"
  823. make player execute "¶cc3"
  824. message "&eDifficulty changed to hard"
  825. else if {in,world.%player%} is false:
  826. message "&e&l(!) &7%player%&r, you need to be in your world to use this command."
  827. if {tier.%player's uuid%} is not "&71", "&72", "&73", "&74", "&75" or "&7Unlimited":
  828. message "&e&l(!) &7%player%&r, To execute this command you must have a tier! Purchase one with &7/buy&r!"
  829. if arg-1 isn't set:
  830. message "&7Incorrect usage, &r/difficulty [peaceful, easy, normal, hard]"
  831.  
  832. command /pack:
  833. trigger:
  834. if {tier.%player's uuid%} is "&7Unlimited", "&75", "&74", "&73","&72" or "&71":
  835. make player execute "ec"
  836. else if {tier.%player's uuid%} isn't "&7Unlimited", "&75", "&74", "&73","&72" or "&71":
  837. message "&e&l(!) &7%player%&r, To execute this command you must have a tier! Purchase one with &7/buy&r!"
  838.  
  839. on click:
  840. if player's tool is paper named "&3Information":
  841. message "&b&m*------------------------------------*"
  842. message "&7Method
  843. message "&rMethod is a custom creative server based on"
  844. message "the popular plugin `PlotSquared`our goal was to"
  845. message "recreate the plugin within Skript, as well as"
  846. message "add more features to make it better."
  847. message "For help type &7/commands&r!"
  848. message "&b&m*------------------------------------*"
  849.  
  850. on click:
  851. if player's tool is book named "&3Control Panel":
  852. open chest with 4 rows named "&8Control Panel (&n%player%&8)" to player
  853. format slot 4 of player with player's skull named "&bUser Information" with lore "||&7Tier|| &r%{tier.%player's uuid%}%||||&7Rank|| &r%{rank.%player's uuid%}%" to be unstealable
  854. format slot 19 of player with clock named "&3Connect to your world" to close then run [make player execute "world"]
  855. format slot 21 of player with redstone named "&3Install plugin packs" to close then run [make player execute "pluginpacks"]
  856. format slot 23 of player with paper named "&3World commands" to close then run [make player execute "commands"]
  857. format slot 25 of player with empty map named "&3Server options" to close then run [make player execute "options"]
  858.  
  859. command /pluginpacks:
  860. trigger:
  861. message "&cComing soon to Method"
  862.  
  863. command /options:
  864. trigger:
  865. message "&cComing soon to Method"
  866.  
  867. command /commands:
  868. trigger:
  869. message "&b&m*------------------------------------*"
  870. message "&7World Commands
  871. message "&rNo Tier"
  872. message "&r/trust - Trust a player in your world"
  873. message "&r/untrust - Un-trust a player in your world"
  874. message "&r/world - Teleport to your world"
  875. message "&r/create - Create a world"
  876. message "&r/spawn - Teleport to spawn"
  877. message "&r/warp - Warp to a players world"
  878. message "&r"
  879. message "&rTier"
  880. message "&r/difficulty - Change the difficulty of your world"
  881. message "&r/time - Change the time of your world"
  882. message "&r/border- Change the border of your world"
  883. message "&r"
  884. message "&rAll tiers get exclusive free perks, For an example"
  885. message "&ras a donator you can install 3 plugin packs without"
  886. message "&rpurchasing them with in game currency!"
  887. message "&b&m*------------------------------------*"
  888.  
  889. on click:
  890. if player's tool is chest named "&3Achievements":
  891. if {achievements.%player%} is not set:
  892. open chest with 3 rows named "&8Achievements" to player
  893. format slot 10 of player with emerald block named "&aConnect to Method" with lore "&7Completed||||&rConnect to Bird for the first time!||||&7Reward &2$10" to be unstealable
  894. format slot 11 of player with redstone block named "&4Create a world" with lore "&7Not completed||||&rCreate your own world!||||&7Reward &4$5" to be unstealable
  895. else if {achievements.%player%} is 2:
  896. open chest with 3 rows named "&8Achievements" to player
  897. format slot 10 of player with emerald block named "&aConnect to Method" with lore "&7Completed||||&rConnect to Bird for the first time!||||&7Reward &2$10" to be unstealable
  898. format slot 11 of player with emerald block named "&aCreate a world" with lore "&7Completed||||&rCreate your own world!||||&7Reward &2$5" to be unstealable
  899.  
  900. command /trust [<offline player>]:
  901. trigger:
  902. if arg-1 is set:
  903. if {trusted.%player%.%arg-1%} is true:
  904. message "&c%arg-1% is already trusted in your world"
  905. else if {trusted.%player%.%arg-1%} is not set:
  906. set {trusted.%player%.%arg-1%} to true
  907. message "&eSuccessfully trusted %arg-1%"
  908. message "&aYou have been trusted in %player%'s world!" to arg-1
  909. else if {trusted.%player%.%arg-1%} is false:
  910. set {trusted.%player%.%arg-1%} to true
  911. message "&eSuccessfully trusted %arg-1%"
  912. message "&aYou have been trusted in %player%'s world!" to arg-1
  913. else:
  914. message "&cYou cannot trust no one!"
  915.  
  916. command /untrust [<offline player>]:
  917. trigger:
  918. if arg-1 is set:
  919. if {trusted.%player%.%arg-1%} is false:
  920. message "&c%arg-1% is not trusted in your world"
  921. else if {trusted.%player%.%arg-1%} is not set:
  922. message "&c%arg-1% is not trusted in your world"
  923. else if {trusted.%player%.%arg-1%} is true:
  924. if {in.trusted.world.%arg-1%} is true:
  925. set {trusted.%player%.%arg-1%} to false
  926. message "&eSuccessfully un-trusted %arg-1%"
  927. message "&cYou have been un-trusted from %player%'s world!" to arg-1
  928. make arg-1 execute "spawn"
  929. message "&cKicked from %player%: &rYou have been un-trusted from %player%'s world!" to arg-1
  930. else if {in.trusted.world.%arg-1%} is false:
  931. set {trusted.%player%.%arg-1%} to false
  932. message "&eSuccessfully un-trusted %arg-1%"
  933. message "&cYou have been un-trusted from %player%'s world!" to arg-1
  934. else if {in.trusted.world.%arg-1%} is not set:
  935. set {trusted.%player%.%arg-1%} to false
  936. message "&eSuccessfully un-trusted %arg-1%"
  937. message "&cYou have been un-trusted from %player%'s world!" to arg-1
  938. else:
  939. message "&cYou cannot un-trust no one!"
  940.  
  941. command /warp [<offline player>]:
  942. trigger:
  943. if arg-1 is set:
  944. if arg-1 is player:
  945. message "&3&lMETHOD &8» &7Use &r/world &7to connect to your world."
  946. else if {trusted.%arg-1%.%player%} is true:
  947. make console execute "/mvtp %player% %arg-1%"
  948. make console execute "minecraft:tp %player% 0 5 0"
  949. make player execute "¶consolesetup"
  950. make player execute "¶cc3"
  951. set {in.trusted.world.%player%} to true
  952. message "&3&lMETHOD &8» &7Successfully teleported to &r%arg-1%'s World&7."
  953. else if {trusted.%arg-1%.%player%} is not set:
  954. message "&3&lMETHOD &8» &7You're not trusted in &r%arg-1%'s World&7."
  955. else if {trusted.%arg-1%.%player%} is false:
  956. message "&3&lMETHOD &8» &7You're not trusted in &r%arg-1%'s World&7."
  957. else:
  958. message "&6&lMETHOD &8» &7You can't join no ones world!"
  959.  
  960. on damage:
  961. if {pvp} is false:
  962. cancel event
  963.  
  964. command /setpvp [<text>]:
  965. permission: aurrra.setpvp
  966. trigger:
  967. if arg-1 is set:
  968. if arg-1 is "true":
  969. if {pvp} is true:
  970. message "&cUnexpected error! pvp.State = true"
  971. else if {pvp} is false:
  972. set {pvp} to true
  973. message "&eSuccessfully set pvp to &6&lTrue"
  974. broadcast "&6&lMETHOD &8» &7PvP has been enabled by &e%player%"
  975. else if {pvp} is not set:
  976. set {pvp} to true
  977. message "&eSuccessfully set pvp to &6&lTrue"
  978. broadcast "&6&lMETHOD &8» &7PvP has been enabled by &e%player%"
  979. else if arg-1 is "false":
  980. if {pvp} is false:
  981. message "&cUnexpected error! pvp.State = false"
  982. else if {pvp} is not set:
  983. message "&cUnexpected error! pvp.State = false"
  984. else if {pvp} is true:
  985. set {pvp} to false
  986. message "&eSuccessfully set pvp to &6&lFalse"
  987. broadcast "&6&lMETHOD &8» &7PvP has been disabled by &e%player%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement