CommandsDispatcher - Dispatch commands to your servers, using sockets


#1

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

.