Added /tpallow - New permissions tpallow gives command acces and tpall allows tp to anyone
This commit is contained in:
parent
d05d18214e
commit
a653deda68
3 changed files with 26 additions and 1 deletions
|
|
@ -147,6 +147,12 @@ namespace TShockAPI
|
|||
[Description("Required to be able to place Explosives")]
|
||||
public static readonly string canexplosive;
|
||||
|
||||
[Description("Users can stop people from TPing to them")]
|
||||
public static readonly string tpallow;
|
||||
|
||||
[Description("Users can tp to anyone")]
|
||||
public static readonly string tpall;
|
||||
|
||||
static Permissions()
|
||||
{
|
||||
foreach (var field in typeof(Permissions).GetFields())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue