Added server-to-client configuration and maptype-configuration: enables serverside configuration of maps and updaterate.
This commit is contained in:
parent
e47b4dc49f
commit
1beb4fa466
10 changed files with 573 additions and 150 deletions
|
|
@ -2,15 +2,6 @@ var config = {
|
|||
tileUrl: 'tiles/',
|
||||
updateUrl: 'up/', // For Apache and lighttpd
|
||||
// updateUrl: 'up.aspx?path=', // For IIS
|
||||
updateRate: 2000, // Seconds the map should poll for updates. (Seconds) * 1000. The default is 2000 (every 2 seconds).
|
||||
showPortraitsOnMap: true,
|
||||
showPortraitsInPlayerList: true,
|
||||
showPlayerNameOnMap: false,
|
||||
defaultMap: 'defaultmap',
|
||||
maps: {
|
||||
'defaultmap': new DefaultMapType(),
|
||||
'cavemap': new CaveMapType()
|
||||
},
|
||||
tileWidth: 128,
|
||||
tileHeight: 128
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue