--- deliantra/maps/perl/cfplus.ext 2006/10/01 18:18:34 1.12 +++ deliantra/maps/perl/cfplus.ext 2006/10/14 14:13:40 1.13 @@ -161,9 +161,12 @@ Returns the value required by clients that have an editor to download and upload maps from/to the server. + servertype => (game|test) type of this server + gameserver => the hostname:port of the normal game server + testserver => the hostname:port of the test server the maps can be tested on cvs_root => the (http) url where the cvs root for downloading is located + lib_root => the (http) url where crossfire.0 and archetypes can be found upload => the (http) url where clients can upload maps - server => the hostname:port of the test server the maps can be tested on If those values are not supplied or empty strings, the server does not support downloading, uploading, testing, respectively. @@ -184,11 +187,7 @@ cf::register_extcmd editor_support => sub { my ($pl, $msg) = @_; - ( - cvs_root => $cf::CFG{editor_cvs_root}, - upload => $cf::CFG{editor_upload}, - server => $cf::CFG{editor_server}, - ) + map +($_ => $cf::CFG{"editor_$_"}), qw(servertype gameserver testserver cvs_root lib_root) }; sub unload {