Raised This Month: $ Target: $400
 0% 

[cs1.6]Allowing admin rights only with matching ip and name


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sentoki
New Member
Join Date: Aug 2015
Old 08-17-2015 , 19:02   [cs1.6]Allowing admin rights only with matching ip and name
Reply With Quote #1

Hello, i wonder if it's possible to allow admin modmenu use only if user has two or all three parameters matching?
In users.ini file if you set up name/pw, steam id and ip on differnt lines, user can use modmenu whether one of the parameters match(either steam id, ip,or nick/pw).
I mean something like && where the name has to match the ip provided.

I apologise if this is posted in the wrong section or if this has already been asked,but I just can't seem to find answer anywhere.
Thank you
sentoki is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-17-2015 , 19:10   Re: [cs1.6]Allowing admin rights only with matching ip and name
Reply With Quote #2

SteamID is the only reliable authentication method. Use SteamID. That is the only answer.
__________________

Last edited by fysiks; 08-17-2015 at 19:11.
fysiks is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 08-17-2015 , 20:10   Re: [cs1.6]Allowing admin rights only with matching ip and name
Reply With Quote #3

That is a fucking stupid idea.

What if an admin changes his/her name and/or is connecting to the server from not their normal place? (e.g. friend's house, hotel, public wi-fi) SteamID is static, is assigned uniquely to one player, and is checked by Valve's system. That's the whole point of using steam IDs to authenticate.

Spoiler

Last edited by Potato Uno; 08-17-2015 at 20:12.
Potato Uno is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 08-23-2015 , 18:51   Re: [cs1.6]Allowing admin rights only with matching ip and name
Reply With Quote #4

At users.ini:

PHP Code:
"YourIP" "" "abcdefghijklmnopqrstuv" "de" 
Or:

PHP Code:
"YourIP" "PassWord" "abcdefghijklmnopqrstuv" "d" 
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective

Last edited by addons_zz; 08-23-2015 at 18:54.
addons_zz is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:02.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode