mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/LCEMP-Server.git
synced 2026-09-23 10:12:28 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
|
||||
class ServerTextList;
|
||||
class ServerProperties;
|
||||
|
||||
void ServerLists_Init(bool whitelistEnabled, ServerProperties* props = 0);
|
||||
|
||||
ServerTextList* ServerLists_GetBannedPlayers();
|
||||
ServerTextList* ServerLists_GetBannedIPs();
|
||||
ServerTextList* ServerLists_GetWhitelist();
|
||||
ServerTextList* ServerLists_GetOps();
|
||||
|
||||
bool ServerLists_IsWhitelistEnabled();
|
||||
void ServerLists_SetWhitelistEnabled(bool enabled);
|
||||
|
||||
bool ServerLists_IsPlayerBanned(const std::wstring& name);
|
||||
bool ServerLists_IsPlayerWhitelisted(const std::wstring& name);
|
||||
bool ServerLists_IsPlayerOp(const std::wstring& name);
|
||||
bool ServerLists_IsIPBanned(const std::wstring& ip);
|
||||
Reference in New Issue
Block a user