Raised This Month: $12 Target: $400
 3% 

registered players with Your plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dum3r
New Member
Join Date: Dec 2008
Old 12-27-2008 , 10:21   registered players with Your plugin
Reply With Quote #1

hello there!

just wondering, is it possible to add 'check registered players flag' functionality

we have the small stable gaming community and it will be nice to redirect/kick unregistered players (with Y flag first) when admin (and registered player) enters the server, so registered players (with Z) can continue playing

hope i made my thought clear :]

i've tried to do this myself, but aparantly i'm a bad coder
sorry, english is not my native

Last edited by dum3r; 12-27-2008 at 10:24.
dum3r is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 12-27-2008 , 12:07   Re: registered players with Your plugin
Reply With Quote #2

an easy and quick way to come close to what you want is to just change the minimum admin level in the code before compiling:
Code:
#define MIN_ADMIN_LEVEL ADMIN_RESERVATION   // the minimum level a player must have to be treated as admin (= won't be automatically redirected, can use reserved slots, can join passworded servers with publicpassword=0...)                                             // can be one of these listed here: <a href="http://www.amxmodx.org/funcwiki.php?go=module&id=1#const_admin" target="_blank" rel="nofollow noopener">http://www.amxmodx.org/funcwiki.php?...=1#const_admin</a>
in your case you would change it from ADMIN_RESERVATION to ADMIN_USER. of course this will also give your registered users some other privileges they usually wouldn't have like being able to redirect to servers that are disabled/offline - depends on your server setup whether this would be disturbing or not. probably giving them some more extra privileges increases the appeal to register.

but i do recognize your suggestion is not that bad, i could just add it to the plugin in general, that unregistered users are redirected first.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline
Armymen
Junior Member
Join Date: Apr 2007
Old 12-27-2008 , 12:25   Re: registered players with Your plugin
Reply With Quote #3

I would really appreciate it if you implemented this feature in your plugin.
And I guess I am not the only one
Armymen is offline
dum3r
New Member
Join Date: Dec 2008
Old 12-27-2008 , 12:27   Re: registered players with Your plugin
Reply With Quote #4

thank you for incredibly fast response

your suggesting so simple :] no coding at all :]

going to test this right now

thank you again for your work

PS i'll be glad to see this feature implemented in your plugin, of course

Last edited by dum3r; 12-27-2008 at 12:29.
dum3r is offline
Reply


Thread Tools
Display Modes

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:39.


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