Permissions - SignatureBeef/Terraria-s-Dedicated-Server-Mod GitHub Wiki
PAGE UNDER CONSTRUCTION
Permissions can be used to control what commands players have access to. It can also be used by plugins. On this page you will learn how to install and setup permissions on your own server.
Install
If you don't install it, you will only be using OP to control who has access to server commands. If you want to use permissions you will need to install it. This is pretty simple. You only need to copy a file from one directory to another.
The files you need are located in the Connectors directory in your TDSM installation. Just copy them into Plugins. The files you will need in the Connectors directory are listed below with descriptions.
- Connectors/
- tdsm-mysql-connector.dll
For MySQL. If you plan to use MySQL on your server, copy this one. - tdsm-sqlite-connector.dll
This is just a flatfile database version. Copy this one if you don't have MySQL on your server or don't need/want it. Note, when using windows you will also need to copy both the sqlite3.def and sqlite3.dll to live beside tdsm.exe
- tdsm-mysql-connector.dll
Configuration
You will need to enable which you want to use in the configuration file before it will work.
Users
In order to assign any player permission to use any commands on the server, you must first add them into the permission system.
Adding And Removing
Nodes
Nodes are basically special text strings which the permission system uses to know which commands you want to allow or deny. An example of a node looks like this; tdsm.give
. That node would give the ability to use the /give
command.
Groups
Groups are explained in more detail below.
Groups
Groups give the ability to assign certain sets of permissions for particular users. For example, you might want Guests to be able to use just one command so they can request registration on the server. And you may want Registered users to have a certain set of commands they can use. Of course you'l want Admins to have full or nearly full access.
Using groups can make setting up permissions much easier. You can add or remove permissions from a group easily and it will affect all members of that group.