AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   xREDIRECT (https://forums.alliedmods.net/forumdisplay.php?f=128)
-   -   registered players with Your plugin (https://forums.alliedmods.net/showthread.php?t=82656)

dum3r 12-27-2008 10:21

registered players with Your plugin
 
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

xOR 12-27-2008 12:07

Re: registered players with Your plugin
 
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.

Armymen 12-27-2008 12:25

Re: registered players with Your plugin
 
I would really appreciate it if you implemented this feature in your plugin.
And I guess I am not the only one :)

dum3r 12-27-2008 12:27

Re: registered players with Your plugin
 
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


All times are GMT -4. The time now is 21:31.

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