Advertisement
KnightRanger

Waterflow [CORE]

Oct 8th, 2021
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.81 KB | None | 0 0
  1. # Waterflow - By servers for servers.
  2.  
  3. # Required Addons: skUtilties
  4.  
  5. # By using Waterflow's services you are agreeing to our ToS (Terms of Service) which can be found in our official Discord server.
  6.  
  7. options:
  8.  
  9. # DO NOT CHANGE THESE SETTINGS! #
  10.  
  11. version: CA-0.0.0
  12. discord: <link:https://discord.gg/PCNxnEPUAj>&6&lHERE
  13. discordLink: https://discord.gg/PCNxnEPUAj
  14. discordCode: PCNxnEPUAj
  15.  
  16. # DO NOT CHANGE THESE SETTINGS! #
  17.  
  18. # CHANGE THE SETTINGS BELOW ACCORDINGLY. #
  19.  
  20. modified: No.
  21. # You are required to change the "modified" setting to "Yes" upon modifying the Waterflow script. If this ToS is violated then help may not be permitted. Waterflow is not responsible for any damages to server after modification to the script.
  22.  
  23. # CHANGE THE SETTINGS ABOVE ACCORDINGLY. #
  24.  
  25. on script load:
  26. set {waterflow::skAddons::*} to list of addons
  27. loop {waterflow::skAddons::*}:
  28. if loop-value is "skUtilities":
  29. remove loop-value from {waterflow::skAddons::*}
  30. add "&askUtilities(%version of loop-value%)&e" to {waterflow::skAddons::*}
  31.  
  32. on script load:
  33. wait 1 second
  34. if {waterflow::skAddons::*} is set:
  35. broadcast "%nl%&b&lWATERFLOW &f&o(core)%nl%%nl% &a Successfully loaded.%nl% "
  36. else:
  37. set {waterflow::skAddons::*} to "&c[ERROR - MISSING VAR]"
  38. broadcast "%nl%&cA fatal error occured whilst loading Waterflow, make sure all required addons are installed on the server. If this issue is persistent, please contact a Waterflow developer. Waterflow will continue to load, however various features may not work... continue with caution!%nl%%nl%&cERROR DETAILS:%nl% &8-&c MISSING VAR - skAddons%nl% &8- &cMake sure you have the latest version of skUtilities installed, if the error continues to occur please contact support via /waterflow information.%nl% "
  39.  
  40. command /waterflow [<text>] [<text>]:
  41. aliases: /wf
  42. trigger:
  43.  
  44. if arg-1 is "help" or "h":
  45. if arg-2 is not set:
  46. send "%nl%&b&lWATERFLOW &f&o(list of commands) &c<tooltip:&cNo more pages this way!>[<]<reset> &a<tooltip:&aClick me for the next page!><run command:/wf help 2>[>]<reset>%nl%%nl% &8- &f&nWaterflow's main commands.&r%nl%%nl% &8- &f/waterflow <[h]elp> [page] &8| &fDisplays helpful messsages.%nl%&8 - &f/waterflow <[info]rmation> &8| &fDisplays information, important for debugging.%nl%" to executor
  47. else if arg-2 is "1":
  48. send "%nl%&b&lWATERFLOW &f&o(list of commands) &c<tooltip:&cNo more pages this way!>[<]<reset> &a<tooltip:&aClick me for the next page!><run command:/wf help 2>[>]<reset>%nl%%nl% &8- &f&nWaterflow's main commands.&r%nl%%nl% &8- &f/waterflow <[h]elp> [page] &8| &fDisplays helpful messsages.%nl%&8 - &f/waterflow <[info]rmation> &8| &fDisplays information, important for debugging.%nl%" to executor
  49.  
  50. else if arg-2 is "2":
  51. send "%nl%&b&lWATERFLOW &f&o(list of commands) &a<tooltip:&aClick me for the previous page!><run command:/wf help 1>[<]<reset> &a<tooltip:&aClick me for the next page!><run command:/wf help 3>[>]<reset>%nl%%nl% &8- &f&nWaterflow's moderation commands.&r%nl%%nl% &8- &f/waterflow <action[s]> <player> &8| &fOpens the actions GUI.%nl%&8 - &f/waterflow <[pun]ish> <player> &8| &fOpens the punishment GUI.%nl%" to executor
  52.  
  53. else:
  54. send "&cUnknown page number, type '/waterflow help' for a list of commands." to executor
  55.  
  56. else if arg-1 is "information" or "info":
  57. send "%nl%&b&lWATERFLOW &f&o(information)%nl%%nl% &8- &fVersion: &e{@version}%nl% &8- &fAdditional Modification?: &e{@modified}&f%nl% &8-&f Server Version: &e%bukkit version%%nl% &8- &fSkript Addons: &e%{waterflow::skAddons::*}%%nl%%nl%&e Having Difficulties? Contact us on Discord.%nl%&8 - &fClick here to join: <tooltip:{@discordLink}>{@discord}<reset>%nl% &8- &fInvite Code: &e{@discordCode}%nl% " to executor
  58.  
  59. else:
  60. send "&cUnknown command, type '/waterflow help' for a list of commands." to executor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement