1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon Skungee - The proxy addon for Skript 2.0.0-BETA-3

A Skript addon that allows for full control over your proxy.

  1. Return of RedisBungee syntax

    LimeGlass
    [​IMG]
    Version: 1.0.5
    Added:
    • Added more structure to the version of Bungeecord version expression:
    Code (Skript):
    1. [the] version of [the] bungee[[ ]cord]
    2. [the] bungee[[ ]cord[[']s]] version
    • Added Bungeecord name expression, I don't see the usefulness of this but it's here:
    Code (Skript):
    1. #This returns the defined name of the bungeecord.
    2. [the] name of [the] bungee[[ ]cord]
    3. [the] bungee[[ ]cord[[']s]] name
    • Added disabled commands, this returns all the defined commands that are disabled in the configuration of Bungeecord:
    Code (Skript):
    1. [(all [[of] the]|the)] bungee[[ ]cord] disabled commands
    2. bungee[[ ]cord]'s disabled commands
    3. [(all [[of] the]|the)] disabled commands (on|of|from) [the] bungee[[ ]cord]
    • Added an expression that grabs the list of all plugins on the Bungeecord by name.
    Code (Skript):
    1. [(all [[of] the]|the)] bungee[[ ]cord][[']s] plugins
    • Added expression to get the throttle of the Bungeecord:
    Code (Skript):
    1. [the] bungee[[ ]cord[[']s]] throttle [connection] [delay]
    • Added expression to get the timeout of the Bungeecord:
    Code (Skript):
    1. [the] bungee[[ ]cord[[']s]] time[ ]out [connection] [delay]
    • Added expression to get the online state of the Bungeecord:
    Code (Skript):
    1. [the] bungee[[ ]cord[[']s]] online mode
    • Added new configuration option for Spigot side Skungee that allows appropriate syntax which return as numbers to be parsed as Timespans.
    • Re-added all the Redis syntaxes
    Note that these syntaxes are untested due to not having setup a Redis network nor having the time to compile or purchase RedisBungee.
    If you run into any issues please let us know, but there shouldn't be any issues.
    Skungee may only error if RedisBungee is not installed or installed incorrectly.
    If the error contains a ClassNotFound or NoMethodFound exception related to RedisBungee, or the servers get halted due to RedisBungee not being found, you will not be receiving help.
    There is no check to make sure RedisBungee is installed or not, because it should be known to the user that you need RedisBungee to use RedisBungee syntaxes,
    and Skungee will work regardless if RedisBungee is installed or not, just the RedisBungee syntax won't return and probably error.
    This hook utilizes version 0.3.8-SNAPSHOT of RedisBungee because that's the latest RedisBungee Maven repository we could find,
    and the project seems to rarely get updated.
    Code (Skript):
    1. #Expressions:
    2.    #Returns all the RedisBungee servers
    3.    [(all [[of] the]|the)] redis[( |-)]bungee[[ ]cord] servers
    4.  
    5.    #Returns all the RedisBungee players
    6.    [(all [[of] the]|the)] redis[( |-)]bungee[[ ]cord] players
    7.  
    8.    #Returns all players on the defined RedisBungee proxies
    9.    [(all [[of] the]|the)] redis[( |-)]bungee[[ ]cord] players (on|of|from) [the] prox(ies|y) %strings%
    10.    [(all [[of] the]|the)] players (on|of|from) [the] redis[( |-)]bungee[[ ]cord] prox(ies|y) %strings%
    11.  
    12.    #Returns all the players from a defined RedisBungee server
    13.    [(all [[of] the]|the)] redis[( |-)]bungee[[ ]cord] players (on|of|from) [the] [server[s]] %strings%
    14.    [(all [[of] the]|the)] players (on|of|from) [the] redis[( |-)]bungee[[ ]cord] [server[s]] %strings%
    15.  
    16.    #Returns the RedisBungee ID of the Bungeecord that is connected to this Skungee
    17.    [th(e|is)] [bungee[[ ]cord[[']s]]] redis[( |-)]bungee[[ ]cord] ID
    18.  
    19.    #Returns the RedisBungee names of the defined players.
    20.    [(all [[of] the]|the)] redis[( |-)]bungee[[ ]cord] [user[ ]]name[s] (of|from) [(player|uuid)[s]] %strings/players%
    21.    %strings/players%['s] [(player|uuid)[s]] redis[( |-)]bungee[[ ]cord] [user[ ]]name[s]
    22.  
    23.    #Returns the last known login time of a RedisBungee player.
    24.    #Returns -1 if the player is unknown or has never joined.
    25.    #This can be a Timespan or a Number, define so in the config.yml of Spigot side Skungee.
    26.    [(all [[of] the]|the)] redis[( |-)]bungee[[ ]cord] last [known] login[s] [time[s]] (of|from) [(player|uuid)[s]] %strings/players%
    27.    %strings/players%['s] [(player|uuid)[s]] redis[( |-)]bungee[[ ]cord] last [known] login[s] [time[s]]
    28.  
    29.    #Returns the proxy ID of the server that the defined RedisBungee player(s) are on.
    30.    [(all [[of] the]|the)] redis[( |-)]bungee[[ ]cord] [player] [proxy] ID (of|from) [(player|uuid)[s]] %strings/players%
    31.    %strings/players%['s] [(player|uuid)[s]] redis[( |-)]bungee[[ ]cord] [player] [proxy] ID
    32.  
    33.    #Returns the server names of the servers that the defined RedisBungee player(s) are on.
    34.    [(all [[of] the]|the)] [(connected|current)] redis[( |-)]bungee[[ ]cord] server[s] (of|from) [(player|uuid)[s]] %strings/players%
    35.    %strings/players%['s] [(player|uuid)[s]] [(connected|current)] redis[( |-)]bungee[[ ]cord] server[s]
    36.  
    37.    #Returns the address(es) of the defined RedisBungee player(s).
    38.    [(all [[of] the]|the)] [(connected|current)] redis[( |-)]bungee[[ ]cord] ip [address[es]] (of|from) [(player|uuid)[s]] %strings/players%
    39.    %strings/players%['s] [(player|uuid)[s]] [(connected|current)] redis[( |-)]bungee[[ ]cord] ip [address[es]]
    40.  
    41. #Effects:
    42.    #Execute a proxy command on a RedisBungee proxy
    43.    (run|execute) redis[( |-)]bungee[[ ][cord]] [(proxy|console)] command[s] %strings% [(on|of|from) [the] [server[s]] %-strings%]
    44.    make redis[( |-)]bungee[[ ][cord]] (run|execute) [(proxy|console)] command[s] %strings% [(on|of|from) [the] [server[s]] %-strings%]
    45.  
    46. #Conditions:
    47.    redis[( |-)]bungee[[ ]cord] [(player|uuid)] %string/player% (1¦is|2¦is(n't| not)) online [the] redis[( |-)]bungee[[ ]cord]
    48.    [(player|uuid)] %string/player% (1¦is|2¦is(n't| not)) online [the] redis[( |-)]bungee[[ ]cord]
    Fixed:
    • Fixed a bug within all player expression that was caused when the syntax was used as the player left the Bungeecord network.
    • Fixed a bug where the SkungeePlayer transformer would make the UUID be default in cases where the name should be higher
    • Fixed the player execution command effect so that the command actually executes bungeecord commands now, rather than every spigot server. IMPORTANT due to this, you will need to delete your syntax.yml and let it regenerate with the new syntax so that old syntax don't override or stop this from working. This is only needed if you want this update to fix this issue. There is a new syntax to handle Commands which takes over the same syntax so you don't need to modify your scripts if that's the case. Just be sure to have saved the syntax.yml if you have modified syntax
    • Fixed some issues where the configuration of Skungee would do some weird things, it may still happen for some reason. This is mainly due to having a configuration open from Skungee, and then updating Skungee and restarting the server.
    • Potentially fixed the server online condition always returning the same Boolean for some users.
    Information:
    • The config.yml will reset, so make sure you have saved your valuable configuration options.
    • You need to install this update on both the Spigot servers and Bungeecord server.
    • If you find any bugs, please notify a Skungee developer with all the information you can provide, errors, your code, the versions of the server and Skungee etc
    • Source code at: https://github.com/TheLimeGlass/Skungee
    • Skungee progress can be viewed at https://github.com/TheLimeGlass/Skungee/projects
    • Skungee bugs can be reported at https://github.com/TheLimeGlass/Skungee/issues
    • If you feel like donating to me for my free project you can do so by clicking the button below, much love.
    • Enjoy :emoji_grinning:
    [​IMG]
Return to update list...