diff --git a/TShockAPI/Bouncer.cs b/TShockAPI/Bouncer.cs
index 38769b06..b0f110ab 100644
--- a/TShockAPI/Bouncer.cs
+++ b/TShockAPI/Bouncer.cs
@@ -33,12 +33,12 @@ using Terraria.Localization;
namespace TShockAPI
{
- /// Bouncer is the TShock anti-hack and build guardian system
+ /// Bouncer is the TShock anti-hack and anti-cheat system.
internal sealed class Bouncer
{
/// Constructor call initializes Bouncer and related functionality.
/// A new Bouncer.
- internal Bouncer(TerrariaPlugin pluginInstance)
+ internal Bouncer()
{
// Setup hooks
diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs
index 6f8b54e4..9766b93d 100644
--- a/TShockAPI/TShock.cs
+++ b/TShockAPI/TShock.cs
@@ -138,6 +138,9 @@ namespace TShockAPI
///
public static Dictionary RESTStartupTokens = new Dictionary();
+ /// The TShock anti-cheat/anti-exploit system.
+ internal Bouncer Bouncer;
+
///
/// Called after TShock is initialized. Useful for plugins that needs hooks before tshock but also depend on tshock being loaded.
///
@@ -322,6 +325,7 @@ namespace TShockAPI
RestApi = new SecureRest(Netplay.ServerIP, Config.RestApiPort);
RestManager = new RestManager(RestApi);
RestManager.RegisterRestfulCommands();
+ Bouncer = new Bouncer();
var geoippath = "GeoIP.dat";
if (Config.EnableGeoIP && File.Exists(geoippath))
@@ -379,7 +383,6 @@ namespace TShockAPI
Log.ConsoleInfo("TShock comes with no warranty & is free software.");
Log.ConsoleInfo("You can modify & distribute it under the terms of the GNU GPLv3.");
- Bouncer b = new Bouncer(this);
}
catch (Exception ex)
{