Skip to content

How to setup tShock permissions

Adding and Deleting Groups

There are three groups that are predefined in TShock Terraria: “guest” “default” and “superadmin.”

To add a group it’s as simple as pressing enter to open up your console and typing /group add. For example, if I wanted to create an Admin group with all permissions you would use this command:

/group add Admin *

If I wanted to delete the group as no one should have all the permissions you would use this command:

/group del Admin

This deletes the Admin User group.

Adding and Removing Permissions from Groups

To add permissions, assume we have the Admin and Moderator groups made. If I want both of these groups to be able to kick, and ban users, while also being immune to kicks and bans themselves. I would do so by adding permissions to the groups by typing:

note: While you can string together multiple permissions by separating them with a comma unless you have a mod that extends your character limit in your console, that will not work with these commands as they are too long to write.

/group addperm Admin tshock.admin.kick

/group addperm Admin tshock.admin.ban

/group addperm Admin tshock.admin.noban

/group addperm Admin tshock.admin.nokick

/group addperm Moderator tshock.admin.kick

/group addperm Moderator tshock.admin.ban

/group addperm Moderator tshock.admin.nokick

/group addperm Moderator tshock.admin.noban

Then you think to yourself, “What if one of my moderators abuses their power, I’d want to be able to temporarily ban them so that I can at least undo the changes they’ve made.” Now you must remove their nokick and noban permissions.

/group delperm Moderator tshock.admin.nokick

/group delperm Moderator tshock.admin.noban

A list of ALL TShock Permissions is located here: TShock Permissions List