tabarra / txAdmin

The official FiveM server management platform used by over 23k servers!
https://txadmin.gg/
MIT License
802 stars 538 forks source link

[Feature]: Token Bans #446

Closed Rm1998 closed 1 year ago

Rm1998 commented 2 years ago

Scope

Web

Feature Description

It would be cool to have the ability to "Token ban" people, this would be most helpful against pesky modders who target servers and use methods to unban themselves.

Use Case

No response

Proposed Solution

No response

Additional Info

No response

Gravxd commented 2 years ago

I might be dumb, but what do you mean by 'token ban'.

Gravxd commented 2 years ago

Are you on about the native GetPlayerToken()?

AvarianKnight commented 2 years ago

Player Tokens are a server-specific (owner specific, actually) HWID identifier, meaning if they change their discord/steam/license, etc, they will still get banned as long as one of the HWID match see: GET_PLAYER_TOKEN

Rm1998 commented 2 years ago

Not the best at explaining stuff, but here goes. Each server gives someone a unique token upon the first time joining. If you ban this token, the only way one could unban themselves from your server is by completely reinstalling windows. (They might require more steps but this is my very basic understanding of it)

Rm1998 commented 2 years ago

Oh, AvarianKnight explained it much better than I ever could. Thanks!

Gravxd commented 2 years ago

Sounds like a really cool idea, would be great to have some form of this implemented. Thanks for the info both of you

M4rlus commented 2 years ago

the only way one could unban themselves from your server is by completely reinstalling windows. (They might require more steps but this is my very basic understanding of it)

you just have to use a spoofer, this token bans are very easy to bypass

AvarianKnight commented 2 years ago

the only way one could unban themselves from your server is by completely reinstalling windows. (They might require more steps but this is my very basic understanding of it)

you just have to use a spoofer, these token bans are very easy to bypass

Not sure what spoofer you have that bypasses this, but either way it adds more security, also weird that there are so many people asking to be unbanned for something that's 'very easy to bypass'

tabarra commented 2 years ago

Planned.

Hqrreh commented 1 year ago

Did anything get done with this, would be really intrigued to see this in motion

tabarra commented 1 year ago

@Hqrreh LOL check back next year and maybe i'll have something planned a little better
Our current database solution just isn't good enough to store 20 HWIDS for every banned player, and will take MONTHS before replacing the database becomes a priority.

AvarianKnight commented 1 year ago

Is txAdmin still limited to what database it can use internally?

tabarra commented 1 year ago

We can totally solve this issue, but we have many other things that have way higher priority.

Hqrreh commented 1 year ago

@Hqrreh LOL check back next year and maybe i'll have something planned a little better Our current database solution just isn't good enough to store 20 HWIDS for every banned player, and will take MONTHS before replacing the database becomes a priority.

Ahahha fair enough mate

xalva98 commented 1 year ago

Any updates?

tabarra commented 1 year ago

@dennisjongebloed Yes.
This week I validated the average token count per player and it's likely doable to implement it in the current database without needing to refactor everything.
But still no ETA.