Amx permet l’ajout de plugins permettant de modifier le jeu de base.
Plugin Gungame
Prerequis: Il faudra également installer le plugins respawn
La dernière version distribué par Avalanche le créateur du plugin est la version 213.c
01/12/13 :: GunGame AMXX 2.13c released
Shortly after I announced that I stopped supporting GunGame, an issue was pointed out to me by jozzz, where a player’s stats (e.g. wins, points) would incorrectly show as 0 in certain places, including the win MOTD. GunGame 2.13c has been released to fix this issue, though it also includes a few other minor changes (see the changelog). It can be downloaded here.
01/12/13 :: GunGame AMXX 2.13c Changelog
Fixed issues where a player’s stats (e.g. wins, points) would incorrectly show as 0 in certain places, including the win MOTD. Thanks very much to jozzz for reporting this and assisting in troubleshooting it.
Fixed bug where top 10 players were still receiving the late-join handicap when using SQL stats.
Increased maximum length of gg_sql_host, gg_sql_user, gg_sql_pass, gg_sql_db, gg_sql_table, gg_sql_streak_table, and gg_sql_winmotd_table values from 31 to 127.
Changed default value of gg_sql_host from “localhost” to “127.0.0.1” and of gg_sql_db from “gungame” to “amx” to match AMXX’s default values in its own sql.cfg.
Lien vers son site sur webarchive
http://web.archive.org/web/20151229175205/http://avalanche.gungame.org/index.php
http://web.archive.org/web/201510210350 … wnload.php
http://web.archive.org/web/201508230238 … lation.php
Plugin Match
amx_match_deluxe_811.zip
The plugin is Originally coded by Shromilder and Upgraded and converted to Amx Mod X by Infra
Current Version: 8.11
— Only works with AMXX 1.75 or later! —
— Requires admin level “m” —
— Required Module(s) —
Counter-strike
Regex
— Optional Module(s) —
Sockets
MySQL
Notes:
To use the HLTV ability, you will need to enable the Sockets module, which is included with Amx Mod X.
To also use the ability to record stats into SQL, you will also need to enable the SQL module
Plugin Supports
MaxRound, TimeLimit, or Winlimit matches
Changing of the server hostname
Changing of the server password
Shield (un)restrictions (before and after matches)
Automatic swapping of the teams
Overtime
Overtime configs
Unlimited overtime *NEW*
Match server configs
Default(FFA) server config
Automatic screenshots
Automatic demos
Menus
PUG Style gameplay
Match stats, logged in files, or MySQL *NEW*
Knife round before first warmup period to decide teams *NEW*
Installation du plugins
If your server is on your computer (or your external server supports unzipping) and you can
unzip while keeping the correct directory structure, just unzip into your ‘cstrike’ directory
Add this line to your plugins.ini file:
amx_match_deluxe.amxx ; Amx Match Deluxe
Restart hlds
– otherwise –
Copy ‘amx_match_deluxe.amxx’ to your plugins directory
Add this line to your plugins.ini file:
amx_match_deluxe.amxx ; AMX Match Deluxe
Copy the ‘amxmd’ folder to your “addons/amxmodx/configs/” folder
Copy amx_match_deluxe.txt to your “addons/amxmodx/data/lang” folder
Copy the ‘data/match_stats’ folder to your “addons/amxmodx/data” folder
Enable the correct modules in the modules.ini file (meaning DBI, Regex, and Sockets with the compiled plugin included in the zip file)
Restart hlds
Usage
To load a match:
amx_match
– or –
amx_match2
– or –
amx_match3
– or –
amx_match4
For example:
amx_match SK eoL mr12 ecup recboth
This will load a match with teams: “SK” and “eol”, with MaxRound 12 rule,
using the ecup.cfg server config file, and will record demos and HLTV demos.
Note: if your clan tag has a space, use quote marks: “SK swe”
Other Commands
To restart a match: amx_matchrestart or “say /restart”
To stop a match: amx_matchstop or “say /stop”
To force the start of a match: amx_matchstart or “say /start”
To restart a half (re-lo3): amx_matchrelo3 or “say /relo3”
To swap teams: amx_swapteams
To randomize teams: amx_randomizeteams
The Menu:
First you must configure the menu, by using these commands:
amx_match_lmenu
amx_match_cmenu
– or –
amx_match_addlength
amx_match_addconfig
Note: the most common lengths and commands have already been added to amxmd.cfg
When it’s done, just use the amx_matchmenu to load the menu and allow you to choose your match .
Cvars:
amx_match_endtype:
Maxround:
0 -> Match is finished after all rounds are played. (set by default)
1 -> Match is finished when a team has won mp_maxrounds+1 rounds.
2 -> There is a vote to play out the match after a team has won maxrounds+1 rounds, unless rounds played is less than 1/5 of total rounds away from end of match).
Timelimit:
0 -> Match is finished immediately after the timelimit is up. (set by default)
1 -> Match is finished at end of the last round.
amx_match_hostname:
0 -> Does not change host name of server.
1 -> Changes host name of server to “
amx_match_kniferound:
0 -> There is no knife round before the first warmup period to decide teams (set by default).
1 -> There is a knife round before the first warmup period to decide teams.
amx_match_overtime:
0 -> there is no overtime if there’s a draw.
1 -> there is an overtime after a draw match (set by default).
amx_match_otcfg:
*Only use if you have set amx_match_overtime to 1*
0 -> there is no overtime config.
1 -> there is an overtime config (set by default).
amx_match_otlength:
*Only use if you have set amx_match_overtime to 1*
Length of overtime (3 rounds/minutes/wins by default).
amx_match_otunlimited:
*Only use if you have set amx_match_overtime to 1*
! Warning: Stats will not be logged if you use this cvar !
0 -> overtime is not unlimited (2 halves only). (set by default)
1 -> overtime is unlimited.
amx_match_password:
0 -> Match plugin will not password server before match.
1 -> Match plugin will password server before match, use with amx_match_password2. (set by default)
amx_match_password2:
*Only use if you have set amx_match_password to 1*
Use this cvar to set the value of password. (default value is “scrim”)
amx_match_playerneed:
*Only use if you have set amx_match_readytype to 1*
This is the number of players which have to be ready (default value is “10”).
(Set it to 4 if you want to play a 2 vs 2 match for example.)
amx_match_pugstyle:
0 -> PUG style gameplay is off. Server does not start matches automatically (set by default).
1 -> PUG style gameplay is on.
amx_match_randomizeteams:
0 -> Teams are not randomized before match (set by default).
1 -> Teams are randomized before match.
amx_match_readytype:
0 -> only one player of each side must say ready for the match to begin.
1 -> ALL players much say ready in order to start the match (set by default).
2 -> only an AMX admin can start the match by saying /start or amx_matchstart
amx_match_swaptype:
0 -> teams will not swap after the 1st half.
1 -> teams will swap automatically after the 1st half (set by default).
amx_match_screenshot:
0 -> no screenshot at all.
1 -> screenshot of the score is taken at the end of each half (set by default).
2 -> two screenshots are taken (one of the scores; one of the names and userids) at the end of each half.
amx_match_screenshot2:
0 -> no screenshot if match is stopped using amx_match_stop or “say /stop” .
1 -> screenshot of the score is taken at the end of each half, even if match is stopped using amx_match_stop or “say /stop” (set by default).
amx_match_shield: ( Make sure to enable ‘restmenu.amxx’ )
0 -> Plugin unrestricts shield during the match.
1 -> Plugin restricts shield during the match (set by default).
amx_match_shield2: ( Make sure to enable ‘restmenu.amxx’ )
0 -> Plugin unrestricts shield after match.
1 -> Plugin restricts shield after match (set by default).
amx_match_showscore:
0 -> Score will not be show after each round .
1 -> Score is shown after each round (set by default).
2 -> Score will be shown throughout entire match.
amx_match_stats:
0 -> Plugin does not log stats for each match (set by default).
1 -> Plugin logs stats for each match.
amx_match_warmupcfg:
0 -> Plugin does not use a warmup config during the warmup session (set by default).
1 -> Plugin uses a warmup config during the warmup session.
Config Files:
‘default.cfg’ is a server config file which is executed before every match, along with the match config (cal.cfg). It can be used to disable some plug-ins like stats or set some default cvars which will erase your match config file cvars
‘ffa.cfg’ is the server config file which is executed at the end of the match in order that your server can be played by everyone =)
‘warmup.cfg’ is the warmup session config file. Add any cvars of plugins here that you want changed during the warmup session
‘amxmd.cfg’ is the main match config file. Change default cvar values in here. You can also add config files and match lengths into this file.
‘pug.ini’ contains the default match command for PUG style gameplay
‘hltv.ini’ contains the hltv password that the match plugin uses to record hltv demos
‘defaultmaps.ini’ contains the default maps for your mod. Note: The plugin searches your map directory for any maps that aren’t in this list;
This file can be used to list your maps, but make sure to not delete the default maps from the file.
SQL help:
/!\ IF YOU DON’T WANT TO USE THE SQL MODULE, YOU HAVE TO COMMENT THE LINE “#define AMXMD_USE_SQL” AND RECOMPILE THE PLUGIN (read AMXX readme/doc). /!\
http://wiki.amxmodx.org/Configuring_AMX_Mod_X#SQL
Note: If you are not getting stats added to your database, search your log files for:
[AMXX] SQL Connection Failed
If you are getting that error, there is a problem with your sql.cfg file, or your SQL server is not configured correctly.
Web help:
Open web/config.php
Edit config.php file for the correct information:
$mysql_host — Hostname of your SQL server (Can also use ip address, e.g. ‘127.0.0.1’)
$mysql_username — User name of your SQL server
$mysql_password — Password for the username used
$mysql_database — Database name on your SQL server
Upload files to your web server
HLTV help:
/!\ IF YOU DON’T WANT TO USE THE SOCKETS MODULE (FOR THE HLTV), YOU HAVE TO COMMENT THE LINE “#define AMXMD_USE_HLTV” AND RECOMPILE THE PLUGIN (read AMXX readme/doc). /!\
To configure your HLTV:
In order to be able to control the HLTV, you must know the rcon password. HLTV rcon can be set using “adminpassword” command in the HLTV console
HLTV Checklist:
Load your HLTV.
Set the HLTV adminpassword by using adminpassword <rcon> command in the HLTV console. Then connect it to your server using “connect ip:port” in the console.
Set the HLTV adminpassword in the ‘hltv.ini’ config file.
Load your match on the server using amx_match or amx_match2
If your HLTV is already connected, you should see it say ” HLTV correctly configured =)”.
If you don’t see that, it means that the HLTV adminpassword hasn’t been correctly configured.
If your HLTV isn’t connected, it will try the adminpassword that you’ve set when it enters the server.