Recently I had an idea of making a ban system that doesnt check the username (since its easily changeable) using the player ID, there is one small issue with that…
which is that right now we have no known way to differiate players based on ID (at least from what I know).
So I decided to make this topic that way we could put time into researching a way how to (if there even is one).
so far the only things we know about the player ID are,
it contains a timestamp.
It is in hexadecimal.
Now I’d recommend checking out these 2 topics before posting in this one, just so you know what we already know about the player ID so far. because the character limit is not enough for me to go fully in-depth on how the player ID works.
As far as I can tell, having a timer ban (banned on a certain date) is probably easy, seeing as you can just check the first part of the Player ID, but have a bypass name (for host).
Idk, we would have to discover more about the player ID.
The player ID won’t help with this I think. While you can make a property storing the name and ID together (just have the property block value be made of text from Triggering Player Name and Triggered Player ID) it won’t really help with identifying the name. Since you’ll still have to put something like “system, make sure a kid doesn’t have [insert profanity here] as a name.” a guy could put “[INsErT prOfANiTY hErE]” and get away with it. Instead, a better option perhaps is to grab the name and have it set to a lowercase string then compare it to the set word. A way to do this perhaps is to maybe reiterate through each index in the string and identify if the letter is uppercase then if it is uppercase make it lowercsae.
Player ids are mongo ObjectIDs, theyre designed to be as unique as possible. This makes me think there isnt a way to consistently identify players based on id.
The only way to do this is to have a player id for each player that never changes. The player id that gimkit uses can change and always changes, with a few exceptions. This means, that it’s impossible to use the current player id to make a ban system.