Agent commands
Use the enderdash command on supported agent runtimes, in the console and in the game.
The plugin agents add an enderdash command to their runtime. Standalone agents do not have this command. Configure a standalone agent through its configuration file and restart it.
Availability
| Runtime | Command available |
|---|---|
| Bukkit-family runtimes | Yes |
| Velocity | Yes |
| BungeeCord and Waterfall | Yes |
| Hytale | Yes |
| Standalone executables and containers | No |
In the server console, enter a command without a leading slash, for example enderdash reload. In the game, enter it with a slash, for example /enderdash reload.
Commands
| Command | Who can run it | Runtimes |
|---|---|---|
enderdash | Anyone, in the console or in the game | All plugin runtimes |
enderdash install <agentKey> | The console only | All plugin runtimes |
enderdash reload | The console, or a player with enderdash.admin | All plugin runtimes |
enderdash update | The console, or a player with enderdash.admin | All plugin runtimes |
enderdash login <code> | Any player, in the game | All plugin runtimes |
enderdash guide [search] | Any player, in the game, when knowledgeBaseOrganization has a value | Bukkit-family runtimes |
<agentKey> and <code> are required arguments. [search] is optional and can contain spaces.
The enderdash.admin permission controls reload and update for players. On Bukkit-family servers and Hytale, operators have it by default. On Velocity and BungeeCord, give it with your permission plugin or the proxy configuration. On Hytale, give it to other players with /perm or your permission plugin.
What each command does
enderdash
The command lists the subcommands that you can run, with a short description of each. A player sees the player commands. A player with enderdash.admin also sees reload and update. The console sees reload, update, and install.
enderdash install <agentKey>
The command saves the agent key in the configuration file and reconnects the agent. You do not have to restart the runtime. Use it at first installation, after a key rotation, or when the saved key is wrong.
If the command succeeds, it replies Agent key saved. The agent is connecting to Enderdash.
If a player runs it, the reply is Run this command from the server console.
enderdash reload
The command reads the configuration file again. Then it restarts the connection and the update checker. Use it after you edit the configuration file, including the network or signaling values.
The command replies with one of these messages:
Configuration reloaded. The agent is reconnecting to Enderdash.when the agent key has a value.Configuration reloaded, but agentKey is empty.when the key is missing. Runenderdash install <agentKey>in the console to connect.Enderdash reload finished, but some features failed to start.when part of the agent did not start. Read the console log for details.
enderdash update
The command checks for a new agent version now. If a new version exists, the agent downloads it and keeps it for the next restart. The agent does not replace itself while it runs. Restart the runtime to apply the update.
The command also downloads when autoUpdate is false. With autoUpdate: false, the agent only checks for new versions at startup and writes them to the console log. It downloads nothing until you run this command or start the update from the dashboard.
The command replies Checking for an Enderdash update. The result appears in the console. The result goes to the console log. When the download is complete, online players with enderdash.admin get a message to restart. Players with enderdash.admin also get this message when they join, until the restart.
If a check is already in progress, the reply is An update check is already running, or this build cannot be updated automatically. Development builds cannot update automatically.
enderdash login <code>
The command completes a Game OAuth sign-in for the player. Game OAuth lets a player sign in to another application with their game account. The player copies the code from the hosted authorization page and keeps that page open until it redirects. The server must belong to the organization of the client and satisfy its verifier policy. The command does not sign the player in to an Enderdash dashboard account.
The command replies with one of these messages:
- The message from Enderdash. It tells the player if the code was accepted, invalid, expired, or not allowed.
This server is not connected to Enderdash right now, so it cannot check your code.when the agent is offline.Could not check that code right now.when the request fails. The player can try again or start the sign-in again to get a new code.
If the console runs it, the reply is Only players can run this command in the game.
enderdash guide [search]
The command shows the public player guides of your organization. Set knowledgeBaseOrganization in the configuration file to your organization slug to turn it on.
- If you add a search, the player gets up to three guide titles. The player clicks a title to open the guide.
- If there is no search or no match, the player gets a link to the guide home page. The link includes the search, if there is one.
- If
knowledgeBaseOrganizationis empty, the reply isThis server has no player guides yet.
The server sends at most one search every two seconds. Other searches during that time get the link to the guide home page. The agent never sends the agent key to the knowledge base.
Errors
On Bukkit-family runtimes, Velocity, and BungeeCord, the agent replies to command errors like this:
- A player without
enderdash.adminwho runsreloadorupdategetsYou do not have permission to use this Enderdash command. - A command with a missing argument gets a
Usage:reply with the correct syntax. - If a command fails, the reply tells you to read the console log.
On Hytale, a player without enderdash.admin who runs reload, update, or install gets the standard Hytale permission message. A missing argument gets the standard Hytale usage message.
If the runtime does not recognize enderdash, the plugin did not load. Read the startup log, then follow the installation guide for your runtime. Each guide also describes how to set the key in the configuration file instead.
Next: agent configuration or update, rotate, move, or remove an agent.
Was this page helpful?
Send a quick note if anything is missing or unclear.
Last updated on