CoreHub Documentation
Overview
CoreHub is a Velocity plugin that allows players to teleport to a designated hub server with /hub or /lobby commands. It also provides a reload command to refresh its configuration without restarting the proxy.
Installation
- Place CoreHub.jar into your Velocity plugins folder.
- Start or restart the proxy server.
- A plugins/CoreHub/config.yml file will be generated automatically.
- Edit hub-server in config.yml if your hub server has a different name.
Configuration (config.yml)
hub-server: "lobby"
messages:
no-permission: "&cYou do not have permission to use this command!"
sent-to-hub: "&aYou have been sent to the hub!"
already-in-hub: "&cYou are already in the hub!"
config-reloaded: "&aCoreHub config reloaded!"
- hub-server: Name of the hub server players should be sent to.
- messages: Customize messages sent to players.
Commands
Command
Usage
Description
/hub /hub Teleports a player to the hub server.
/lobby /lobby Alias for /hub.
/corehubreload /corehubreload Reloads the plugin configuration. Can be used by console or players with permission.
Permissions
Permission
Description
corehub.use Allows a player to use /hub or /lobby.
corehub.reload Allows a player to run /corehubreload.
Behavior
- Players without corehub.use permission attempting /hub or /lobby will receive the no-permission message.
- Players already on the hub server will receive the already-in-hub message.
- /corehubreload refreshes the config and sends config-reloaded message.