does anyone have the images that I can use to patch it until its fixed?
I'm using my own host to do it, but I'm missing some of the main ones.
https://greenzone101.helioho.st/pluginimages/ServerHUD/gallery.php
Need the upper image.
I change these to hide admin:
BasePlayer.activePlayerList.Count(x => x.IsAdmin == false)
BasePlayer.sleepingPlayerList.Count(x => x.IsAdmin == false)
How do I do the queue:
(ServerMgr.Instance.connectionQueue.Queued + ServerMgr.Instance.connectionQueue.Joining)
Thanks!
Can you add option to make it work only on boat TC?
Also can I turn ServerArmour setting to catch cheats back on for this version?
Thank You!
I change it because I hide myself in some plugins and don't want to be seen, I'm admin.
Also when your an admin and run this plugin and do the command get out it takes you out of admin and you can't use your admin powers.
HUD:
BasePlayer.activePlayerList.Count(x => x.IsAdmin == false).ToString()
BasePlayer.sleepingPlayerList.Count(x => x.IsAdmin == false).ToString()
(ServerMgr.Instance.connectionQueue.Queued + ServerMgr.Instance.connectionQueue.Joining).Count(x => x.player.net.connection.authLevel == 0).ToString()
I change it here:
private void OnPlayerDisconnected(BasePlayer player)
{
// Deaktiviere den NoClip-Modus, wenn der Spieler im NoClip-Modus ist
if (IsPlayerInNoclip(player))
{
ToggleNoclip(player);
}
player.SetPlayerFlag(BasePlayer.PlayerFlags.IsDeveloper, false);
// player.SetPlayerFlag(BasePlayer.PlayerFlags.IsAdmin, false);
_playersNoMonument.Remove(player);
}
I change it here:
private void ExecuteCommandCrutch(BasePlayer player, string command, params object[] args)
{
timer.Once(1.0f, () => {
player.SetPlayerFlag(BasePlayer.PlayerFlags.IsDeveloper, true);
// player.SetPlayerFlag(BasePlayer.PlayerFlags.IsAdmin, true);
});
player.SendEntityUpdate();
IgnoreSetInfo.Add(player.userID);
if (args.IsNullOrEmpty())
player.SendConsoleCommand(command);
else
{
player.SendConsoleCommand(command, args);
}
IgnoreSetInfo.Remove(player.userID);
}
I was wondering if you could add the option to hide admins in the config?
This is the code that you can add to make it so admins are hidden:
Active Players:
BasePlayer.activePlayerList.Count(x => x.IsAdmin == false).ToString()
Sleeping players:
BasePlayer.sleepingPlayerList.Count(x => x.IsAdmin == false).ToString()
Line: 1768
if (_config.MainSetup.ActivePlayersAppearance.IsEnable)
UI.Label(ref container, ".Main.bg", ".ActivePlayers.count", ".ActivePlayers.count", "0 1", "1 1", oXMin: 44, oYMin: -70, oXMax: 0, oYMax: -50, text: BasePlayer.activePlayerList.Count(x => x.IsAdmin == false).ToString(), align:TextAnchor.MiddleLeft);
if (_config.MainSetup.SleepPlayersAppearance.IsEnable)
UI.Label(ref container, ".Main.bg",".SleepPlayers.count", ".SleepPlayers.count", "0 1", "1 1", oXMin: 99, oYMin: -70, oXMax: 0, oYMax: -50,text: BasePlayer.sleepingPlayerList.Count(x => x.IsAdmin == false).ToString(), align:TextAnchor.MiddleLeft);
Thank You!
[DEBUG] Load requested for plugin which is already loading: ServerArmour
ServerArmour was compiled successfully in 2305ms
[Server Armour] Server Ports are, Game Port: 28015 | Query Port:28014 | RCON Port: 28016
Calling 'OnServerInitialized' on 'ServerArmour v2.39.20' took 446ms
Loaded plugin Server Armour v2.39.20 by Pho3niX90
[Server Armour] Connected to SA API
[Server Armour] Server Armour has initialized.
Players getting kicked for invaild auth and it shuts their game down completly, I even get kicked, I unloaded it and it seems that everything is ok now.
can you help me figure it out...
Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.