Skungee - Skript proxy addon and Socket API icon

Skungee - Skript proxy addon and Socket API -----

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



Skungee Messages, Tab Header and Footer, Plugin management, permissions and more!
[​IMG]

Version: 1.0.6b

Added:

  • Tablist Header and Footer Effect
  • Bungeecord permissions Expression
  • Bungeecord permission groups Expression
  • Unregister commands Effect
  • Unregister event listeners Effect
  • Skungee messages, will explain below.
  • Enable plugins Effect
  • Ability to get all ServerInstance servers (Needs ServerInstances 1.0.1+) Expression.
  • Worked on shutdown mechanics for ServerInstances, Windows doesn't like deleting files... Not releasing yet.
  • Folders per servers can now be defined in the GlobalScripts folder! Example: Bungeecord/plugins/Skungee/GlobalScripts/Hub/
    All of the scripts located in this folder will be placed on the server named "Hub" if that server is online, exists and connected.
    Scripts that are still located in Bungeecord/plugins/Skungee/GlobalScripts/ that aren't in subfolders will remain to be loaded on every server like normal.
Fixed:
  • Rare issue where some packets didn't load objects.
  • Fixed some null pointers.
  • Added more bugs
Syntax:
Code (skript (Unknown Language)):
#Tablist Header and Footer Effect
set tab[list] (1¦header|2¦footer|3¦header and footer) (for|of) bungee[[ ]cord] [(player|uuid)[s]] %strings/players% to %strings% [and %-strings%]
#Player permissions Expression
[(all [[of] the]|the)] bungee[[ ]cord] permissions (from|of) [(player|uuid)[s]] %strings/players%
#Player permission groups Expression
[(all [[of] the]|the)] bungee[[ ]cord] [permission] groups (from|of) [(player|uuid)[s]] %strings/players%
#Enable all plugins Effect
enable [(all [[of] the]|the)] bungee[[ ]cord] plugins
#Load all plugins Effect
load [(all [[of] the]|the)] bungee[[ ]cord] plugins
#Shutdown Effect (end part is for ServerInstances only)
(stop|shutdown) bungee[[ ]cord] server[s] %strings% [(and|with) [serverinstances] saving %-boolean%
#Unregister commands from plugins Effect
unregister [the] commands from [the] [bungee[[ ]cord]] plugin[s] %strings%
#Unregister event listeners from plugins Effect
unregister [the] listeners from [the] [bungee[[ ]cord]] plugin[s] %strings%
#Get server instances servers
[(all [[of] the]|the)] server[ ]instances [names]

#Skungee messages:
#Event:
    [on] (bungeecord|skungee) message [from [channel[s]] %strings%]:
        #event-string - This will be the channel names.
#Expression:
    [(all [[of] the]|the)] (skungee|bungee[[ ]cord]) message[s]
#Explaining below
 
Skungee Messages:
So skungee messages, what are they? These are a channel messaging system that replicated a similar system like Bungee Plugin Messages, they carry two Strings, one to define the channel (Which is optional) and the other which defines serialized objects (aka more strings). You can send strings to other servers that are listening in on the Skungee message event.

So say we want to make a Staff chat system ( because everyone asks me for that these days)

We first start off with sending the message, lets do it in a command
Code (skript (Unknown Language)):
command /staffchat <string>:
    aliases: /sc
    trigger:
        send skungee message argument to "staff"
Pretty easy so far right? Well these are very basic and simple. The coding for these are literally like 20 lines long. Next we need to listen in on this message. So say this is another server now:

Code (skript (Unknown Language)):
on skungee message from channel "staff":
    loop all players:
        if loop-player has permission "staff.chat":
            message skungee message to loop-player
This will listen for when the channel "staff" gets used, and then Skript will scan all online players who have the permission then message them, simple. You can also not define the channel and just place "on skungee message" to then use "event-string" to get what channel the message is coming from.

This suggestion was from @Pikachu920 (Giving credit where credit is due)

Thanks. Here is a title broadcast system using Skellett that I helped someone on Spigot prior to this update, so thought I should add it:

Example script:
Code (skript (Unknown Language)):
on skungee message from channel "test":
    broadcast "&a%skungee messages%"
command /skmsg:
    trigger:
        send skungee messages "testing" and "hello" to channels "test"
on join:
    wait 5 seconds
    set tablist header of bungeecord player uuid of player to "&6&lTesting"
    wait 3 seconds
    set tablist footer of bungeecord player uuid of player to "&5&lTesting"
    wait 3 seconds
    set tablist header and footer of bungeecord player uuid of player to "&a&lTesting"
    wait 3 seconds
    set tablist header and footer of bungeecord player uuid of player to "&1&lTesting" and "&4Hello"
Code (skript (Unknown Language)):
#Title example
#Place this code below on any server that you want the Title to be executed on.
command /titlebroadcast <text>:
    trigger:
        send argument to "Title"
     
#Place this code below on any server that you want the Title to be displayed on.
on skungee message from channel "Title":
    if skungee message contains "||":
        set {_elements::*} to skungee message split at "||"
        #Titles below is from Skellett
       show a title from "%{_elements::1}%" and subtitle "%{_elements::2}%" to all players for 5 seconds and 10 ticks fade in and 15 ticks fadeout
    else:
        show a title from coloured skungee message to all players for 5 seconds and 10 ticks fade in and 15 ticks fadeout
Information:
  • The config.yml will reset on updating, so make sure you have saved your valuable configuration options.
  • You need to install this update on both the Spigot servers and Bungeecord servers.
  • If you find any bugs, please notify a Skungee developer with all the information you can provide, errors, your code, the versions of the servers 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
  • Ignore the release on Github for this lol, was lazy to fill it out.
  • If you feel like donating to this free project you can do so by clicking the button below, much love.
  • Enjoy :D
[​IMG]
----------, Jun 15, 2018
Resource Information
Author:
----------
Total Downloads: 16,180
First Release: Jan 31, 2017
Last Update: Apr 17, 2023
Category: ---------------
All-Time Rating:
46 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings