Advertisement
FrostedWeFall

SimpleEssentials

Dec 14th, 2017
788
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.23 KB | None | 0 0
  1. # Do not edit this auto updater at all! #
  2.  
  3. options:
  4. Version: V 0.0.1-B
  5. nopermission: &7You do not have the required permissions to execute this command, please contact a server administrator if you think this is wrong!
  6. serverip: example.com # <- Put your server IP in here #
  7. discord: example.com # <- Put your discord link in here #
  8. buycraft: store.example.com # <- Put your buycraft link in here #
  9.  
  10. on join:
  11. set {_Version} to line 3 from url "https://pastebin.com/raw/BJD6bnJ4"
  12. if {_Version} is not {@Version}:
  13. broadcast "&cYou are using an outdated version of Simple Essentials, please go to the spigot page and update to the latest version!"
  14.  
  15. command /updatechecker:
  16. trigger:
  17. set {_Version} to line 3 from url "https://pastebin.com/raw/FSjxR6jg"
  18. send "&aYou are currently using the latest version for Simple Essentials. &7{@Version}!
  19. stop
  20. if {_Version} is not {@Version}:
  21. broadcast "&cYou are using an outdated version of Simple Essentials, please go to the spigot page and update to the latest version!"
  22. if {_Version} is {@Version}:
  23.  
  24. # You may edit the following piece of code if you understand how to use Skript
  25. command /console [<text>]:
  26. description: Lets the player execute console commands ingame!
  27. permission: simpleessentials.console.command
  28. permission message: {@nopermission}
  29. trigger:
  30.  
  31. if argument 1 is set:
  32.  
  33. execute console command "%argument 1%"
  34.  
  35. else:
  36. send "&7Invalid Usage! Try %9/console {command}&7!"
  37. stop
  38. command /cmdblock [<offline player>]:
  39. description: Give yourself a command block!
  40. aliases: /cmd, /commandblock, /simpleessentials:cmdblock
  41. permission: simpleessentials.give.cmdblock
  42. permission message: {@nopermission}
  43. trigger:
  44. give %arg-1% command_block
  45. send "&7Target has recieved the item!"
  46. stop
  47.  
  48. # Information Commands ( Check Options for more info ) #
  49.  
  50. command /serverip:
  51. description: Lets you see the IP for the server!
  52. aliases: /ip, /server, /simpleessentials:serverip
  53. permission: simpleessentials.command.serverip
  54. permission message: {@nopermission}
  55. trigger:
  56. message "%newline%&7The current servers ip address is &9{@serverip}%newline%"
  57. stop
  58. command /discord:
  59. description: Lets you see the discord link for the server!
  60. aliases: /disc, /simpleessentials:discord
  61. permission: simpleessentials.command.discord
  62. permission message: {@nopermission}
  63. trigger:
  64. message "%newline%&7The current discord link is &9{@discord}%newline%"
  65. stop
  66. command /store:
  67. description: Lets you see the discord link for the server!
  68. aliases: /shop, buycraft, /simpleessentials:buycraft, simpleessentials:store, simpleessentials:shop
  69. permission: simpleessentials.command.store
  70. permission message: {@nopermission}
  71. trigger:
  72. message "%newline%&7The current store link is &9&o{@buycraft}&r%newline%"
  73. stop
  74.  
  75. # Developer Information Commands #
  76.  
  77. command /simpleessentials:
  78. trigger:
  79. send "&7A complex alternative to other Essentials Skripts!"
  80. send "&7Developer / Creator: &9FrostedWeFall"
  81. send "&7Build: &9{@Version}"
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154. # Here is the "Help" command, you can edit the way this looks by using Minecraft Color Codes. Check out the Minecraft Color Codes at http://minecraft.tools/en/color-code.php #
  155.  
  156.  
  157.  
  158.  
  159.  
  160. command /se [<Text>] [<Integer>]:
  161. description: Shows help for SimpleEssentials and all the commands!
  162. aliases: /sessential, /simpleessentials:help
  163. permission: simpleessentials.command.help
  164. permission message: {@nopermission}
  165. trigger:
  166. if arg 1 is "help":
  167. if arg 2 is "1":
  168. message "&7&m---------------&7[&9SimpleEssentials Help &7&k|&e Page 1 &7]&m---------------"
  169. message "&7 -> &9/se help [<page number>] &7- To See Info About The Plugin"
  170. message "&7 -> &9/console [<command>] &7- Execute commands through the console ingame."
  171. message "&7 -> &9/updatechecker &7- Checks Spigot for the latest version of the Skript."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement