Send same command across all servers

Discussion in 'BungeeCord Plugin Development' started by milukcmd, Nov 24, 2021.

  1. I want to issue a command to all my spigot servers linked to BungeeCord. (I have the same command implemented across all the servers). How would I go about doing this by using a BungeeCord plugin?

    I haven't got the slightest clue about this, so any help is greatly appreciated.
     
  2. You can create simple Bungee Executor and Spigot Reader.
     
    • Like Like x 1
    • Agree Agree x 1
  3. You could also use Redis and completely cut out bungee from the equation.
    The plugin sends a command over Redis, all other servers detect that and run the command.
    That way in the future there is no need to worry about anything if you have multiple proxies.
     
    • Like Like x 1
    • Agree Agree x 1
  4. RabbitMQ messaging would also be an option. It would also cut BungeeCord out of the equation.
    I think its just better for messaging than Redis. Redis is primary for datastorage / caching.
     
    • Like Like x 1
    • Agree Agree x 1