Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Waterflow - By servers for servers.
- # Required Addons: skUtilties
- # By using Waterflow's services you are agreeing to our ToS (Terms of Service) which can be found in our official Discord server.
- options:
- # DO NOT CHANGE THESE SETTINGS! #
- version: CA-0.0.0
- discord: <link:https://discord.gg/PCNxnEPUAj>&6&lHERE
- discordLink: https://discord.gg/PCNxnEPUAj
- discordCode: PCNxnEPUAj
- # DO NOT CHANGE THESE SETTINGS! #
- # CHANGE THE SETTINGS BELOW ACCORDINGLY. #
- modified: No.
- # 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.
- # CHANGE THE SETTINGS ABOVE ACCORDINGLY. #
- on script load:
- set {waterflow::skAddons::*} to list of addons
- loop {waterflow::skAddons::*}:
- if loop-value is "skUtilities":
- remove loop-value from {waterflow::skAddons::*}
- add "&askUtilities(%version of loop-value%)&e" to {waterflow::skAddons::*}
- on script load:
- wait 1 second
- if {waterflow::skAddons::*} is set:
- broadcast "%nl%&b&lWATERFLOW &f&o(core)%nl%%nl% &a Successfully loaded.%nl% "
- else:
- set {waterflow::skAddons::*} to "&c[ERROR - MISSING VAR]"
- 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% "
- command /waterflow [<text>] [<text>]:
- aliases: /wf
- trigger:
- if arg-1 is "help" or "h":
- if arg-2 is not set:
- 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
- else if arg-2 is "1":
- 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
- else if arg-2 is "2":
- 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
- else:
- send "&cUnknown page number, type '/waterflow help' for a list of commands." to executor
- else if arg-1 is "information" or "info":
- 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
- else:
- send "&cUnknown command, type '/waterflow help' for a list of commands." to executor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement