Thursday, December 26

Custom RTV for Auto-Mix (PUG) v2.1

If you are using Auto-Mix (PUG) for AMX Mod X then you must be knowing that after it has been used for some time it can create random problems (not always). Usually it happens that plugin fails proceed and nothing else works, match does not start neither does it end. In such cases it stays stuck as it is unless an admin manually changes the map or starts / stops the match.
Not such a good idea being an automatic mix server, an admin online all the time is unlikely. Custom RTV for Auto-Mix solves this problem. After installing this plugin along with Auto-Mix plugin the connected players can use the rtv command to vote for a restart. If 2 players vote for reset an automatic vote is conducted between all connected players and if it succeeds then the map is changed / restarted to de_dust2. You can also optionally define the number of times this feature can be used by the players per map.

INSTALLATION

  • Copy rtv4automix.amxx to addons/amxmodx/plugins directory.
  • Edit addons/amxmodx/configs/plugins.ini and add rtv4automix.amxx to it on a new line.
  • Restart the server or change the map for changes to take effect.
  • Edit addons/amxmodx/data/lang/rtv4mix.txt as per your needs. You can use !g for green, !t for team and !n for normal color in the chat messages. This file is auto created when you first time run this plugin.


CVARS
  • amx_rtv4automix 1 / 0
    Desc - Enable / Disable the RTV feature.
     
  • amx_rtv_permap 2
    Desc - Number of time RTV can be used in a single map. Default 2.
     
  • amx_rtv_votes 3
    Desc - Number of players that need to type rtv command to start the voting. Default 3
     
  • amx_rtvadminflag "a"
    Desc - Disables the rtv plugin in case an admin with this flag is connected to the server.
     


COMMANDS
  • Say rtv - Votes for a map reset.
  • Say /rtv - Votes for a map reset.
  • Say !rtv - Votes for a map reset.




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.

2 comments:

  1. ty you again for your great work
    can you send to me the lang file plz :)

    ReplyDelete
  2. The Lang file is automatically created when you run the plugin first time.

    ReplyDelete

Comment anything you want. Just be polite and give respect to others!
I am simply going to remove the comments which are offensive or are off topic.
And please don't spam your website links in comments. I don't, neither should you.