Description
ServerSwitch allows you to configure one or multiple commands that will send players to the server of your choice.
YAML configuration.
Command(s):
- /serverswitch reload
Permissions:
- serverswitch.admin (reload command)
- serverswitch.join.<server> (only needed if enable-permission is set to true in your server section)
Default config.yml:
# Those options will be used if they're not defined in the server
defaults:
permission-message: "You don't have the permission to join %server%."
sending-message: "Sending you to %server%..."
cooldown-message: "Wait %cooldown%s to join %server% again."servers:
smp:
host: "play.yourserver.com"
port: 5521
commands:
- "smp"
- "survival"
# If true, the permission will be serverswitch.join.<server>
# <server> being "smp" in this case. (serverswitch.join.smp)
enable-permission: false
permission-message: "You don't have the permission to join the SMP."
sending-message: "Sending you to the SMP..."
cooldown: 3 # in seconds
cooldown-message: "Wait %cooldown%s to join %server% again."
factions:
host: "play.yourserver.com"
port: 5522
commands:
- "factions"
# If true, the permission will be serverswitch.join.<server>
# <server> being "factions" in this case. (serverswitch.join.factions)
enable-permission: true
cooldown: 3 # in seconds


