Skip to content

tShock Users

Seppe Volkaerts edited this page Apr 26, 2023 · 6 revisions

tShock Users?

The tShock users plugin improves compatibility with tShock as backing servers. The plugin does not have any commands by itself and completely relies on the tShock commands and their output.

Features:

  • Permissions hook into the tShock user and group system. This means that permissions in the database are shared with the proxy. Permissions need to be configured through a tShock server.
  • Server side characters that are shared between tShock servers can seamlessly switch between servers.
  • Only need to login the first time joining the proxy if UUID login is disabled.

Requirements:

  • UUID login is enabled on the tShock servers, this can be disabled on proxy level. The plugin depends on the UUID login on tShock servers to avoid needing to log in every time when switching between servers.
  • All backing servers must be tShock and all of them need to be connected to the same database. This means that all the character data is shared between the servers.
  • Users need permission to the /logout command. This command is used to force a save of the server side characters.
  • User permissions and groups are only loaded at login, later changes will not be picked up the proxy.

Configuration

tShockUsers:
  # If UUID login is enabled.
  # When enabled, players are automatically logged in to their user if they are still using the same client UUID.
  # When disabled, players will be forced to log in every time they connect to the proxy.
  uuidLogin: true
  # MySQL database settings, must be the same database tShock is connected to.
  database:
    # The host name
    host: localhost
    # The port
    port: 3306
    # The name of the database, defaults to the user name
    database: tshock
    # The user name
    user: tshock
    # The password of the user
    password: tshock
Clone this wiki locally