Add init ac script func
This commit is contained in:
@@ -8,6 +8,12 @@
|
|||||||
// TYPE: Server (JavaScript)
|
// TYPE: Server (JavaScript)
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
|
function initAntiCheatScript() {
|
||||||
|
console.log("[Asshat.AntiCheat]: Initializing anticheat script ...");
|
||||||
|
console.log("[Asshat.AntiCheat]: Anticheat script initialized!");
|
||||||
|
}
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
function loadAntiCheatGameScriptWhiteListFromDatabase(serverId) {
|
function loadAntiCheatGameScriptWhiteListFromDatabase(serverId) {
|
||||||
console.log(`[Asshat.AntiCheat] Loading whitelisted game scripts ...`);
|
console.log(`[Asshat.AntiCheat] Loading whitelisted game scripts ...`);
|
||||||
let dbConnection = connectToDatabase();
|
let dbConnection = connectToDatabase();
|
||||||
|
|||||||
Reference in New Issue
Block a user