REVAMPED | [1.8-1.17] GlobalExecute | Execute Commands On All Servers! 2.0.1

A plugin which will allow you to execute a command on all servers connected to the BungeeCord.

  1. Ayush_03
    Native Minecraft Version:
    1.17
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    • 1.17
    Source Code:
    https://github.com/ayush03dev/global-execute

    Global Execute


    Description



    GlobalExecute will allow you to execute a command on a specific or all of the servers which MAY OR MAY NOT be connected to the BungeeCord (Proxy).


    How does it work?


    The resource consists of two parts.

    1) Daemon - It creates a WebSocket server which listens on a port of your choice. The Daemon runs on your BungeeCord server. Soon, I will also make a Standalone Daemon available so you won't need BungeeCord compulsorily at all!

    2) Client - Clients connect to the Daemon. This creates a network of Spigot Servers which can securely interact (execute commands) with each other. Client runs on your Spigot server.

    The communication between clients and daemon makes the command execution possible on all clients.

    Everything happens real-time! That means, the command is executed instantly, even if no player is online, unlike before.



    Screenshots


    [​IMG]



    Installation


    The resource comes in the '.zip' format. The reason being, the plugin is divided into two jars:

    1] GlobalExecute [Daemon-BungeeCord].jar :- You must put this jar inside your plugins folder of the BungeeCord Server.

    2] GlobalExecute [Client].jar :- You must put this jar inside your plugins folder of the Spigot Server.

    Then start all of your servers (BungeeCord and all Spigot servers) to generate all default configuration files. Then shut down the servers and start configuring as follows.



    Configuration


    The first thing you must do is to get a PORT that can be accessed publicly. On your Server Hosting Panel of BungeeCord, you need to assign an additional PORT. If you have hosted your server on a VPS, you may or may not need to do this step. You need to check that for yourself.

    Once you do that, keep that PORT handy.



    Configuring Daemon:

    Instructions are mentioned as the comment inside the file itself.

    Code (YAML):

    # DO NOT SHARE THE VALUES OF THESE FIELDS WITH ANYONE

    # PORT on which GE Daemon should listen
    # It must be publicly accessible
    # You may have to manually assign this port on your server hosting panel
    # Make sure that this port is not already in use
    PORT
    : 25560

    # PASSWORD required for letting GE clients connect to this Daemon
    PASSWORD
    : 'PASSWORD1234'



    Configuring Client:

    Instructions are mentioned inside the file too. But one thing specifically important is that you must configure the Client name such that every Spigot GE Client has a unique name. Otherwise, only one of all clients having same name will be able to connect to the Daemon.

    Code (YAML):

    # DO NOT SHARE THE VALUES OF THESE FIELDS WITH ANYONE

    # IP Address of the server on which GE Daemon is running
    # It is a string, so it MUST BE enclosed within single quotes ('')
    # By default (127.0.0.1), it is a localhost address. So if both daemon and client are running on the same machine,
    # you may not need to change it. Otherwise, set the same ip that you use to connect to the BungeeCord.
    IP
    : '127.0.0.1'

    # PORT on which GE Daemon is listening
    PORT
    : 25560

    # PASSWORD required for letting this GE client connect to the GE Daemon
    PASSWORD
    : 'PASSWORD1234'

    # Name of this GE client
    # DO NOT have any spaces or you may run into problems
    # It will be used as an argument to run a command specifically on this Spigot Server
    # It must be unique over all other clients
    # It is a string, so it MUST BE enclosed within single quotes ('')
    NAME
    : 'server1'

    # By enabling this setting, if there is no connection between client and daemon,
    # the client will automatically attempt to establish a connection in every interval.
    # Interval value is in seconds.
    # You can limit the number of attempts.
    # If you do not want any limit on attempts, set its value to -1.
    auto-reconnect
    :
        enabled
    : true
        interval
    : 60
        attempts
    : 5
     



    Starting Servers

    Make sure that your Daemon (BungeeCord) is up and running before your Client starts and attempts to connect to the Daemon. This can be achieved by making sure that you start your Spigot servers only after your BungeeCord server has started.

    You can check the logs on console to see the status of connections. See the screenshots section.



    Commands & Permission

    These commands can be executed via both BungeeCord and Spigot. But Spigot commands can only be executed from the console.

    /ge execute <server>|all <command without slash>

    Executes a command on a specified client server or all client servers

    /ge list

    Gives a list of all client servers connected to the daemon on which commands can be executed

    Permission (BungeeCord): gexecute.admin



    Feel free to message me if you face any issue!
    Woozify, JySzE and BourneDev like this.

Recent Updates

  1. Auto Reconnect and Fixes
  2. Complete Revamp
  3. Exploit Fix

Recent Reviews

  1. Wingis46
    Wingis46
    5/5,
    Version: 2.0.1
    Developer was helpful and fixed my connection problems. Would 10/10 recommend this plugin as it’s a great way to execute commands cross server :)
  2. TheSadMan
    TheSadMan
    5/5,
    Version: 2.0.1
    Is a Exelent plugin for my Network and very good developer support. The developer is a good person :)
  3. Josh12rice
    Josh12rice
    5/5,
    Version: 2.0
    This is something that will make your work over your network +769% easier than before, and compared to other same-thing plugins (there are small amount of them), THIS ONE WORKS, and it works as no other plugins - silently and in the background.
    This is something you won't find anywhere else, trust me.
  4. xMaikiYT
    xMaikiYT
    5/5,
    Version: 1.4.1
    Very good resource :). And a good developer and active, i like it! And please dont stop updating :)
  5. XxEnriquexX
    XxEnriquexX
    4/5,
    Version: 1.4
  6. Notso9bit
    Notso9bit
    5/5,
    Version: 1.4
    Great, very useful.Thank you for the resource.
    /////////////////////////////////
  7. SedrrKos
    SedrrKos
    4/5,
    Version: 1.2
    It's really helpfull, just combine with MyCommand and you can make it run only on some servers! But it will be amazing when it supports this basicly.
  8. Prostedeni
    Prostedeni
    4/5,
    Version: 1.2
    Very good plugin, easy to use and install, only thing i would change is that the commands dont execute instantly on all servers, because it waits until someone is online on that server
  9. Killwi
    Killwi
    5/5,
    Version: 1.2
    I really liked the plugin, but I was wondering if there is or intend to make a sponge version?
  10. JySzE
    JySzE
    5/5,
    Version: 1.1
    Absolutely amazing worked right off the bat and is incredibly helpfull when needing to change user ranks across all servers.