LiteLDev / LeviAntiCheat

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

[Feature]: 隐身皮肤检测 #6

Open XiaoXiaoYang233 opened 3 months ago

XiaoXiaoYang233 commented 3 months ago

Is your feature request related to a problem? Please describe.

对玩家的隐身皮肤进行检测,若透明面积大于设定值则进行反制,或将玩家的皮肤透明像素替换为黑色像素

Describe the solution you'd like

反制使用隐身皮肤的玩家

Describe alternatives you've considered

No response

Additional context

No response

ShrBox commented 3 months ago

有隐身皮肤的png吗

XiaoXiaoYang233 commented 3 months ago

有隐身皮肤的png吗

这个ps新建一个透明图层就可以用,另外还有填一下颜色然后把透明度拉低一点,检测隐身皮肤应该只检测图片中单层皮肤位置是否有透明像素,第二层皮肤有透明像素是正常的。

Atomic69420 commented 2 months ago

您可以通过检查他们的skindata中是否包含' "default" : "geometry.humanoid"\n'来检测从市场购买的隐形皮肤