The bridge plugin

Commands and permissions

The /comficonf commands of the bridge and the comficonf.admin permission.

The bridge adds one command, /comficonf, with five subcommands. Run them in the server console, or in game as a player with the permission. /comficonf on its own runs status.

CommandWhat it does
/comficonf statusConnection state, paired server, registered settings, last error
/comficonf pairShows a pairing code
/comficonf reconnectReloads config.yml and reconnects
/comficonf pluginsLists the settings that plugins registered
/comficonf helpLists the commands

Permission

All commands need comficonf.admin. Operators have it by default. Without it, the bridge answers You do not have permission to use this command.

Grant comficonf.admin only to people you trust with your ComfiConf account: a pairing code from /comficonf pair lets whoever enters it first pair the server with their own account.

/comficonf status

/comficonf status
ComfiConf bridge 0.1.0
 Connection: Connected and paired
 Backend: app.comficonf.com
 Paired server: Survival
 Resources: 1 from 1 plugin
LineShows
ConnectionConnected and paired, Connected, not paired, Connecting or Disconnected
BackendThe address the bridge connects to: app.comficonf.com
Paired serverThe server's name on ComfiConf, not paired, run /comficonf pair, or unknown while disconnected
ResourcesHow many settings pages plugins registered, and from how many plugins
Last errorWhile not connected: why the last attempt failed, and when the next one starts

/comficonf pair

Shows a code that pairs this server with the ComfiConf account that enters it, valid once and for 10 minutes. See Pair your server. If the server is already paired, the bridge says so instead: remove the server on the website first to pair it with another account.

/comficonf reconnect

Reads plugins/ComfiConf/config.yml again and opens a new connection: Reloaded config.yml and reconnecting to the ComfiConf backend. Run /comficonf status to check the connection. Use it after you edit config.yml.

/comficonf plugins

Lists every plugin that registered settings with ComfiConf, with its version, and under it each settings page with its id and name:

/comficonf plugins
Configuration resources (1):
 ComfiConfDemo 0.1.0
   comficonf-demo:vouchers - Vouchers

With no supported plugin installed, it says No plugin has registered a configuration resource.

Built from 5877968 on

On this page