Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Admin Commands

Noah Husby edited this page Feb 22, 2022 · 6 revisions

All Sledgehammer Admin commands require the sledgehammer.admin permission on the proxy.

Server

Usage: /sha server <server name>

Sub commands:

  • info
    • Lists info about server
  • addlocation
    • Add a location to the server
  • removelocation
    • Remove a location from the server
  • listlocations
    • List all locations on the server
  • setearth <true/false>
    • Set whether this server is used for building. This would be false on lobbies for example.
  • setsledgehammer <true/false>
    • Sets whether that bungeecord server is using sledgehammer. This is automatically set to true if the server you are configuring is running Sledgehammer and has been initialized (joined since startup).
  • settpllmode <normal/passthrough>
    • Sets the tpll mode for the server. Normal is the default tpll operation for sledgehammer. Passthrough passes the tpll command down to be handled by the server
  • setname <name>
    • Set the nickname of the server
  • setoffset <x:z> <offset>
    • Sets an x/z offset for the server

Reload

Reloads the config and all data handlers. Sledgehammer is designed to be easily resettable without requiring the hard restart of a proxy.

Setup

An automatic setup prompt designed to quickly get servers configured and operational.

Storage

Usage: /sha storage

Subcommands:

  • load
    • Loads all data from the configured database
  • save
    • Saves all data to the configured database
  • migrate
    • Migrates all data from the local database to the remote database

Version

Lists the sledgehammer version of the proxy, and provides a detailed version breakdown of all servers.

Testlocation

Usage /sha testlocation [zoom]

Returns what OSM sees online (and offline, if configured) at your current location. An OSM zoom level can be specified, though the default should be used in most cases.

Clone this wiki locally