As promised, here is a new update to bring XASECO2 for TrackMania² Canyon to version 0.95. This release offers the eagerly-anticipated MX (Mania Exchange) support, and, uhm, little else (well, two bug fixes then). That should be enough though.

* all references (command names, classes, variables, comments, etc) to TrackMania eXchange / TMX / tmx are replaced by Mania Exchange / MX / mx
* new MX information support (based on the new MXInfoFetcher class) with the /mxinfo command, analogue to TMX info support in XASECO, so see the relevant release notes for details
* new MX search support (based on the new MXInfoSearcher class) with the /xlist command, analogue to TMX search support in XASECO, so see the pertaining release notes for details
* the /add (if enabled) and /admin add commands now work to add maps from MX, analogue to adding maps from TMX in XASECO
* notes on MX support:

* the TMX section parameter in the above chat commands is no longer relevant, and has been removed
* the /xlist command now returns at most 100 maps, rather than 500 from TMX in XASECO
* MX does not yet offer support for replays and solo records, so the /mxrecs command and the MX World Record at the start of a new track are still disabled

In the zip file, all *.XML and *.PHP config files are located inside the newinstall/ directory. This means that you can (and have to) unzip the download and replace all the PHP code files, without worrying about overwriting your customized config files. However, for every XML/PHP config file that was updated (see here), you must replace your version with the one from the newinstall/ directory, or compare them and add any new/changed configuration settings to your version to insure the system remains working correctly.

For a new installation, go into the newinstall/ directory and move all *.XML files into the main directory, next to aseco.php, and *.PHP files into the includes/ directory.

second;
the add for mx is deactivated by default?
how to activate it?
- I think I did it right, but I still dont´t know the command.
in the command doc it is /add!
/add id "don´t work"
/admin add id "don´t work"
I tryed some different more combi, but still no message or wrong/missing parameters / unknown command.

<?php
//##################################################################
//#------------------------- Features -----------------------------#
//# Specify here which features you would like to be activated #
//# You must enter true or false in lowercase only! #
//##################################################################
//Set to true if you want the rank system active
$feature_ranks = true;
//Set to true if you want /nextrank to show the difference in record positions,
// i.e. the combined number of positions that your records need to be improved
// in order to catch up with the next better ranked player
$nextrank_show_rp = true;
//Set to true if you want all times recorded, and /pb command to be active
$feature_stats = true;
//Set to true to always show PB at map start
//If false and <show_recs_before> is 2 or 6 AND player has ranked record, OR
// player uses the records panel, then PB message is not shown at map start
$always_show_pb = false;
//Set to true ONLY if you use the karma feature.
//If you set this to true when you are not, it will produce errors
$feature_karma = true;
//Set to true if you allow ++ & -- votes as well as /++ & /--
$allow_public_karma = true;
//Set to true if you want to show the karma message at the start of each map
$karma_show_start = true;
//Set to true if you want to show vote counts & percentages
$karma_show_details = true;
//Set to true if you want to show players their actual votes
$karma_show_votes = true;
//Set to the number of times a player should have finished a map before
//being allowed to karma vote for it
//Note: this is the total number of finishes since the first time a player
//tried a map, not the number in the current session
$karma_require_finish = 3;
//Remind player to vote karma if [s]he hasn't yet
$remind_karma = 0; // 2 = every finish; 1 = at end of race; 0 = none
//Set to true if you want jukebox functionality
$feature_jukebox = true;
//Set to true if you want jukebox to be extended to include the MX /add feature
$feature_mxadd = true;
//Set to true if you want jukebox to skip maps requested by players that left
$jukebox_skipleft = true;
//Set to true if you want jukebox to _not_ skip maps requested by admins
//(any tier) that left (and $jukebox_skipleft is true)
$jukebox_adminnoskip = true;
//Set to true if you want /add to permanently add maps to the server
$jukebox_permadd = false;
//Set to true if you want /admin add to automatically jukebox the downloaded map (just like a passed /add vote)
$jukebox_adminadd = true;
//Set to true if you want jukebox messages diverted to message window
$jukebox_in_window = false;
//Set to contact (email, ICQ, etc) to show in /server command, leave empty to skip entry
$admin_contact = 'YOUR@EMAIL.COM';
//Set to filename to enable autosaving matchsettings upon every map switch
$autosave_matchsettings = ''; // e.g. 'autosave.txt'
//Set to true if you want start-up to prune records/rs_times for players and
// maps deleted from database, and for maps deleted from the server
//Only enable this if you know what you're doing!
$prune_records_times = false;
//Set to true if you want to disable normal CallVotes & enable chat-based votes
$feature_votes = false;
//Set to true to perform XASECO2 version check at start-up & MasterAdmin connect
$uptodate_check = true;
//Set to true to perform global blacklist merge at MasterAdmin connect
$globalbl_merge = false;
//Set to global blacklist in XML format, same as <blacklist_url> in dedicated_cfg.txt
// e.g. http://www.gamers.org/tmf/dedimania_blacklist.txt (TMF-only)
$globalbl_url = '';
//##################################################################
//#-------------------- Performance Variables ---------------------#
//# These variables are used in the main plugin. #
//# They specify how much data should be used for calculations #
//# #
//# If your server slows down considerably when calculating #
//# ranks it is recommended that you lower/increase these values #
//##################################################################
//Sets the maximum number of records stored per map
// Lower = Faster
$maxrecs = 100;
//Sets the minimum ammount of records required for a player to be ranked
// Higher = Faster
$minrank = 5;
//Sets the number of times used to calculate a player's average
// Lower = Faster
$maxavg = 5;
//##################################################################
//#-------------------- Jukebox Variables -------------------------#
//# These variables are used by the jukebox. #
//##################################################################
//Specifies how large the map history buffer is.
//If a map that is in the buffer gets requested, it won't be jukeboxed.
$buffersize = 10;
//Specifies the required vote ratio for a MX /add request to be successful.
$mxvoteratio = 0.66;
//The location of the maps folders for saving MX maps, relative
//to the dedicated server's UserData/Maps/ directory:
//$mxdir for maps downloaded via /admin add, and user maps approved
// via /admin addthis.
//$mxtmpdir for maps downloaded via /add user votes.
//There must be full write permissions on these folders.
//In linux the command will be: chmod 777.
//Regardless of OS, use the / character for pathing.
$mxdir = 'MX';
$mxtmpdir = 'MXtmp';
//##################################################################
//#------------------------ IRC Variables -------------------------#
//# These variables are used by the IRC plugin. #
//##################################################################
$CONFIG = array();
$CONFIG['server'] = 'localhost'; // server (i.e. irc.gamesnet.net)
$CONFIG['nick'] = 'botname'; // nick (i.e. demonbot)
$CONFIG['port'] = 6667; // port (standard: 6667)
$CONFIG['channel'] = '#channel'; // channel (i.e. #php)
$CONFIG['name'] = 'botlogin'; // bot name (i.e. demonbot)
$show_connect = false; //If set to true, the IRC connection messages will be displayed in the console.
//-----------------------------------------
//Do not modify anything below this line...
//-----------------------------------------
$linesbuffer = array();
$ircmsgs = array();
$outbuffer = array();
$con = array();
$jukebox = array();
$jb_buffer = array();
$mxadd = array();
$mxplaying = false;
$mxplayed = false;
?>