Why a different plugin? At first I thought of adding this feature in the Auto-Mix directly, but understanding that it already is a heavy plugin and if in close future Valve decides to block the method I use to redirect players, I don't want it to affect the working of the Auto-Mix in any way.
Note : This plugin with work only with Auto-Mix version 1.1.9F and above.
INSTALLATION
- Copy redirect_4_automix.amxx to addons/amxmodx/plugins directory.
- Edit addons/amxmodx/configs/plugins.ini and add redirect_4_automix.amxx to it on a new line.
- Restart the server or change the map for the changes to take effect.
CVARS
- amx_automix_redirectip "127.0.0.1:27015"
Desc - Enter the IP and Port of the server to which you want to send redirect the players.
- amx_automix_redirectplayers 10
Desc - Number of max connected players after which the players are redirected to the above IP. Keep this value same as your max players needed for automix. Players who connect after than 10th will be redirected (Except for ADMIN_RESERVATION flag)
- Recommended : Add sv_visiblemaxplayers to your server.cfg or amxx.cfg. This cvar is self explanatory. This will be the number of max players visible. Most players try to join in on the servers with last slot remaining, so set this value to redirectplayers cvar + 1. Also set amx_pug_hideslots to 0 which should not auto change this value again.
Note : If you get any problems with this plugin or find out any bugs in it, please use this page to report them back to me so that I can fix them.
Hello i am getting some problem ,
ReplyDeletei put these setting in amxx.cfg-
sv_visiblemaxplayers +1
amx_pug_hideslots 0
amx_automix_redirectip "103.2.223.24:27026"
after i restart the server , it showing me only 2 slot and i got 12 slot server , what should i do tell me exactly !
thanks !
i am not able to open (amx_automix_settings) showing me unknown command lol :D Plugins Not Working Well ?
Deleteamx_automix_redirectplayers 10
Deletesv_visiblemaxplayers 11 (amx_automix_redirectplayers + 1)
amx_automix_redirectip "103.2.223.24:27026"
amx_pug_hideslots 0
If you are unable to open amx_automix_settings check if the plugin is running and its name exists in the plugins.ini. There is nothing wrong with the plugin, 50+ servers are using it without any problems.
thanks !
DeleteCan it be used on pub server with 32 slots?
ReplyDeleteYes!
DeleteUse your imagination...
can u help me how ? :) plz brother
Deleteamx_automix_redirectip "YOUR SERVER IP"
Deleteamx_automix_redirectplayers "31"
This setting should keep 1 slot free all the time and redirect players to the other server.
Same...
ReplyDelete] amx_automix_settings
Unknown command: amx_automix_settings
About redirect, I'm using xredirect and i put sv_visiblemaxplayers 11 and my server is 11 slots , and it's redirecting, But can you tell me what is the different ? I mean your plugin is better than xredirect original version ? also your edited one ?
Btw you are great, You should think again about sharing sma files, Why ? because i think you are one of the best coders, And that's will help all, Look i'm not coder but i used to edit plugins, Your auto-mix is great but i'm still waiting more updates and fixes, Like what ?
Like server crash on team captains, Like still working more and more on Auto-Mix because it's the best mod for now... Also please new plugins for your auto-mix like i'm using rtv for auto-mix and i'm waiting your reply sorry for taking long time..
how to make reservation slot admins with redirect 4 automix
ReplyDeletei did but sadly reservation slot admins getting redirect
can you help me
thanks in advanced !!
The plugin is hard coded to ignore admins with ADMIN_RESERVATION flag which is default "B"
DeleteCheck if your desired admins have that flag.