a little help | modify plugin
hello dear,
I wish I could ... this little plugin....
Spoiler
when an admin enters the server and once he gets access, the admin will change the password from setinfo with *** PROTECTED ***, and when they leave the server they will set the password they have previously had, ie the password their connection. but only for admins, other users are not affected. the above plugin works but once the map changes the admins will have to enter the password again in setinfo in order to be able to connect, which is why this request. Thanks for reading this post :) |
Re: a little help | modify plugin
How do you know the plugin works ??
|
Re: a little help | modify plugin
the part with "if (is_user_admin (id))" I did not test it but I would like it to work, only for server admins without that "if" was tested, I do not want to retrieve information from other players, I do not steal data , I do not want to believe that we are doing something "unclean" the intention is to protect the administrators information regarding the password information from setinfo
there are more and more exploits about these aspects, all I want to do is be cautious :) |
Re: a little help | modify plugin
How about assigning an admin by the steamid
|
Re: a little help | modify plugin
allocating admin on steamid may be possible but slot name will no longer have, admin can take whatever name you want there are more disadvantages by allocating admin on steamid than on nick, being on nick is tighter
|
Re: a little help | modify plugin
i don't understand what you are doing , but this is the correct way of checking each player :
Code:
|
Re: a little help | modify plugin
I want that when an admin exits the server that value "steinfo _pw *** PROTECTED ***" returns to the value before entering the server. I give an example: I enter the server, I am admin and I have the value "setinfo _pw password123", when I entered the server it changes to "setinfo _pw *** PROTECTED ***" but when I leave the server the value is put back on "password123", the plugin above changes the value as I requested but the password will have to be set every time the admin enters the server, I want to avoid this, that the admin will not have to enter the password every time
|
Re: a little help | modify plugin
if you want to force change a password in setinfo, or admin will be kicked duo incorrect password or flag access will not be set. According users.ini configuration.
What exactly you want to do ? Since only change setinfo _pw on client to make _pw PROTECT do not make any sense! Since _pw is stored on client side and cannot be changed or viewed by other clients. |
Re: a little help | modify plugin
I want to announce that the information from setinfo can be stolen, you can give /tc, thanks anyway for trying to help me, I will redirect somewhere else.
|
Re: a little help | modify plugin
Try to speak correctly, i did still not understand what you need.
Information can't just be STOLEN from client, and you also can't just change when player enter and restore after leaves since flag access won't be given to admin. |
| All times are GMT -4. The time now is 20:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.