Skip to content
Puranode

Guide

TShock Groups and Permissions for Terraria

TShock controls what each player may do through groups: every account belongs to one group, each group holds a list of permissions such as tshock.admin.kick, and a group also inherits everything from its parent. You manage them in game or in the console with /group add, /group addperm and /group parent, and you move a player with /user group followed by their account name and the group. TShock ships with a ready ladder of groups, from guest up to owner, so most servers only need small changes to it.

Published

On this page

FAQ

Frequently asked

How do I add a permission to a group in TShock?

Use /group addperm followed by the group name and one or more permissions separated by spaces, for example /group addperm helper tshock.admin.kick. You need tshock.admin.group to run it, which the owner group has.

How do I move a player to another group in TShock?

Use /user group followed by the account name and the group name. It needs tshock.superadmin.user, which no default group has, so run it from the server console, after /su, or as a single command with /sudo.

What groups does TShock create by default?

guest for players who are not logged in, default for registered accounts, then vip, newadmin, admin, trustedadmin and owner, each inheriting from the one before. There is also an insecure-guest group, and superadmin is a reserved name.

How do I remove a permission a group inherits?

Add it to the group with an exclamation mark in front, such as /group addperm moderators !tshock.admin.ban. TShock checks the group before its parents, so the negated entry wins and the group loses that permission even though its parent has it.

How do I stop guests from building on my TShock server?

Remove tshock.world.modify from the guest group with /group delperm guest tshock.world.modify. To require an account before anyone can play, set RequireLogin to true in config.json.

How much does a Terraria server cost at Puranode?

2 GB for €5.99 every 30 days, VAT included, no setup fee, no minimum term.

Projects referenced

This guide names other people’s work. These are their own pages, so you get the current documentation rather than our summary of it.

  • TShock documentation: The setup code steps, tshock.sqlite, and the permission and config.json field descriptions the guide quotes.
  • TShock on GitHub: The source of the /group and /user commands, the default groups and their permissions, and how wildcards and negated permissions are resolved.
  • TShock releases: Release 6.2.1 for Terraria 1.4.5.8, the version the guide was checked against.

Want a Terraria server without the setup?

2 GB for €5.99/30 days, VAT included. Online within a few minutes.