29 lines
912 B
C#
29 lines
912 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace TShockAPI
|
|
{
|
|
class ConfigFile
|
|
{
|
|
public ConfigFile() { }
|
|
public int InvasionMultiplier = 1;
|
|
public int DefaultMaximumSpawns = 4;
|
|
public int DefaultSpawnRate = 700;
|
|
public int ServerPort = 7777;
|
|
public bool EnableWhitelist = false;
|
|
public bool InfiniteInvasion = false;
|
|
public bool AlwaysPvP = false;
|
|
public bool KickCheaters = true;
|
|
public bool BanCheaters = true;
|
|
public bool KickGriefers = true;
|
|
public bool BanGriefers = true;
|
|
public bool BanKillTileAbusers = false;
|
|
public bool KickKillTileAbusers = false;
|
|
public bool BanExplosives = true;
|
|
public bool KickExplosives = true;
|
|
public bool SpawnProtection = true;
|
|
public int SpawnProtectionRadius = 5;
|
|
}
|
|
}
|