Allow users to ban custom items
This commit is contained in:
parent
9fed5338a4
commit
a6132a31a2
2 changed files with 6 additions and 0 deletions
|
|
@ -181,6 +181,9 @@ namespace TShockAPI
|
|||
[Description("This will save the world if Terraria crashes from an unhandled exception.")]
|
||||
public bool SaveWorldOnCrash = true;
|
||||
|
||||
[Description("This is kick players who have custom items in their inventory (via a mod)")]
|
||||
public bool KickCustomItems = false;
|
||||
|
||||
public static ConfigFile Read(string path)
|
||||
{
|
||||
if (!File.Exists(path))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue