LiteLDev / LeviAntiCheat

Powerful anti-cheating for LeviLamina(Bedrock Dedicated Server)
15 stars 1 forks source link

[Bug]: Bans cannot be manually removed from server console #11

Closed R3tr0ooo closed 2 months ago

R3tr0ooo commented 2 months ago

Describe the bug

Bans cannot be manually removed from server console

To Reproduce

/lac ban XXX /lac unban XXX then you get ERROR [Server] Player not found

Expected behavior

the player gets unbanned

Screenshots

No response

Platform

Windows 11

BDS Version

1.20.81

LeviLamina Version

12.1

Version

0.2.2

Additional context

The banned player have to be online to get unbanned

ShrBox commented 2 months ago

Please modify plugins/LeviLamina/config/config.json, enable PlayerInfo

{
    "version": 23,
    "language": "system",
    "logger": {
        "colorLog": true,
        "logLevel": 4
    },
    "modules": {
        "crashLogger": {
            "enabled": true,
            "useBuiltin": false,
            "externalPath": ".\\plugins\\LeviLamina\\CrashLogger.exe",
            "logPath": ".\\logs\\crash",
            "dumpPrefix": "minidump_",
            "logPrefix": "trace_"
        },
        "tweak": {
            "disableAutoCompactionLog": true,
            "forceEnableCheatCommands": true,
            "enableStatitics": true
        },
        "simpleServerLogger": {
            "enabled": false,
            "playerChat": true,
            "playerCommand": true,
            "playerPermission": true
        },
        "command": {
            "tpdimOverload": {
                "enabled": true
            },
            "crashCommand": {
                "enabled": false,
                "permission": "GameDirectors"
            },
            "versionCommand": {
                "enabled": true,
                "permission": "GameDirectors"
            },
            "memstatsCommand": {
                "enabled": true,
                "permission": "Host"
            },
            "pluginManageCommand": {
                "enabled": true,
                "permission": "Admin"
            }
        },
        "checkRunningBDS": true,
        "playerInfo": {
            "alwaysLaunch": true // Enable this
        }
    }
}