PluginBugs / Issues-Wraith

Repository used to keep track of issues of my plugin Wraith
0 stars 0 forks source link

A new filter is needed to block the new "version clientsystem" of lunarclient #28

Closed CloudeLecaw closed 3 years ago

CloudeLecaw commented 3 years ago

Detailed explaination of what happens: With ever lunarclient update we need to add a new versionnumber to detected clients so wraith can kick these player. A FULL-Server-Log: might not beneeded just some lines:

[02:17:21] [Server thread/INFO]: Aelisty[/45.50.60.76:58281] logged in with entity id 1079440 at ([world]33.5, 64.0, 344.5)
[02:17:23] [Server thread/INFO]: Joined -> Aelisty | Brands: [lunarclient:f002592] | GameMode: SURVIVAL | World: tutorial | Location: /tppos -104 49 208 | UUID: 3034ed1a-400b-4cd1-9f98-01750f88e0fd | IP: /45.50.60.76:58281
[02:17:47] [Server thread/INFO]: Aelisty issued server command: /shop

clients-config.yml

    LunarClient: true
    Lunar_Client: true
    lunarclient: true
    lunarclient:cc5174d: true
    lunarclient:^: true

Serververion:

[21:39:15] [Server thread/INFO]: This server is running Paper version git-Paper-625 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)

result is:

[01:34:19] [Server thread/INFO]: Rdstone[/80.115.26.188:59850] logged in with entity id 4925 at ([world]31.5, 64.0, 344.5)
[01:34:21] [Server thread/INFO]: Joined -> Rdstone | Brands: [lunarclient:f002592] | GameMode: SURVIVAL | World: tutorial | Location: /tppos -104 49 208 | UUID: bef38ce4-023f-4c85-8680-64a9e7d7b8c8 | IP: /80.115.26.188:59850
[01:34:22] [Server thread/INFO]: Rdstone lost connection: Diese Mods sind nicht erhlaubt auf dem Server: [lunarclient:f002592]

we added lunarclient:f002592: true for now like we do this on each update of this client that we noticed for the moment. The config list is getting longer and longer with each update of that client that we need to add.

u see wraith kicks them now. so wraith is able to see the changed version nummbers of the client. problem is we have to update add ech time the number behind when lunarclient is udpated it would be usefull to have a "placeholder" like lunarclient:*: true or something like that that would react no mater what numbers is detected after the word lunarclient: to have a simply solution. the current solution of adding each versionnumber we find in log to clients-config.yml work but is no good solution for further handling with it. you see we also added simly the word lunarclient. but that does not work because the :versionnumer is added behind. We see that wraith allready has the abillity to see its not a vanilla client and also shows the clients with its name and version. may u can add something here to make our life more easy :3

CloudeLecaw commented 3 years ago

Next one was detected bY wraith. We added it to list too

lunarclient:33b9afd