mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/LCEMP-Server.git
synced 2026-05-22 01:36:01 +00:00
21 lines
653 B
C++
21 lines
653 B
C++
#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);
|