-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BanID Targetting #103
Comments
Surely if they are a higher rank in terms of cantarget they wouldn't be able to be banned by a lower rank using any type of ban? |
Yep, that should be the case but it is not. |
That's just poor configuration on your part. Not using the "can target" feature. |
This is actually not the case. Running |
This exact issue has been discussed for many years (even in our forums circa 2014). Though we're not saying never, I'll give the general same answer - |
I'm currently working on a change to make |
Ensure to see #105 that was denied so as to not create duplicate work. |
Ah, thanks for pointing that out. The way I was going about it on my end was quite different to what I can see in that PR, though isn't quite the suggested route of creating a new parameter type. What I currently have is essentially a new helper function to check whether the caller is allowed to target that SteamID by looking them up in the users table and checking things based on the caller's Based on the comments here and in the denied PR, I'm going to continue testing and refining my current implementation to ensure that the logic is sound, and then once I'm happy with that, I will look into trying to create an actual param type to make this more accessible. |
Steps to reproduce
Expected behavior
An error of some kind saying you cannot target this user
Actual behavior
Bans the user
Error(s) in server console, if any
Error(s) in player's console, if any
Version
ULib v2.61d (10/26/16)
ULX v3.71d (12/03/16)
The text was updated successfully, but these errors were encountered: