CommandsDispatcher - Dispatch commands to your servers, using sockets

This is a discussion topic for the Ore project, CommandsDispatcher. View the full project on Ore for downloads and more information.


.

.

.

/dispatch [as Player264] <all|bungee|myserver> <command...>

Dispatch the command “list” to the server “HungerGames”:

/dispatch hungergames list

This will show the list of players in HungerGames on HungerGames’s console

.

Dispatch the command “glist” to the proxy:

/bdispatch bungee glist

This will show the list of proxied players in BungeeCord’s console

Use bdispatch instead of dispatch if you want to dispatch commands from a server

.

Dispatch the command “time set day” to servers HungerGames, PvP, and Factions:

/dispatch hungergames,pvp,factions time set day

This will set the day in HungerGames, PvP and Factions

.

Dispatch the command “kickall” to all servers (except the proxy):

/dispatch all kickall

This will kick everyone from his server

.

Dispatch the command “list” as “Hazae41” on server “Factions”:

/dispatch as Hazae41 factions list

You can use “as me” to run commands as the sender (you):

/bdispatch as me bungee glist

Useful if you are running a script on Sponge/Spigot that needs to run commands on BungeeCord

.

You don’t have to add a “/” to the dispatched command.

.

If you want to dispatch commands from a server, use /bdispatch

.

Warning: the server name is configured in Socket4MC, not in BungeeCord

.

BungeeCord permissions:

Warning: the permissions are managed by BungeeCord, you can use BungeePerms for an easier permissions management.

.

Main permission: cdispatch.use

Dispatch a command to a server: cdispatch.

Dispatch a command to all server: cdispatch.*

.

Sponge/Spigot permissions:

Dispatch a command from Sponge/Spigot: bdispatch.use

.

  • Install Socket4MC on your BungeeCord server

  • Install Socket4MC on your Sponge/Spigot servers

  • Configure Socket4MC

  • Install this plugin (CommandsDispatcher) on your BungeeCord server

  • Install this plugin (CommandDispatcher) on your Sponge/Spigot servers

.

A new version has been released for CommandsDispatcher, it is available for download here.


Commands are now added to a queue when the player specified in “as …” is not online

Fixed errors when using “as …”

A new version has been released for CommandsDispatcher, it is available for download here.


Fixed NPE when sending a callback (Bungee side) while the user is offline

A new version has been released for CommandsDispatcher, it is available for download here.


Updated for Socket4MC 3.2.7

How does this work on Sponge? The Sockets4MC jar doesn’t seem to load on Sponge, no config is created like on Bungeecord.

Edit: Seems Sockets4MC v3.2.7 is needed to work with this, and the instructions no longer apply to it on the Spigot page.(Use the same port on all configs, and ignore the bootstrap section)