ace/Source/ACE.Server/Config.js.example
Mag-nus 759b01ac0c
/serverperformance command (Server Performance Monitor) (#1642)
* /serverperformancemonitor command

Optional parameters are:
start
stop
reset

If no parameters are present, the current performance metrics are spit out.

When disabled, overhead is the cost of some simple function calls and a bool check. When enabled, the additional cost is stopwatch events. In comparisson to the work that ACE does for normal processing, the work done when serverperformance is enabled is nearly 0.

Default is disabled.

Enable it to start up automatically in the config.js. This is recommend for most servers. Enable it at runtime using /serverperformance start

* Fix Reset
2019-04-04 13:38:01 -05:00

83 lines
2 KiB
Text

{
"Server": {
"WorldName": "ACEmulator",
"Network": {
"Host": "0.0.0.0",
"Port": 9000,
"MaximumAllowedSessions": 128,
"DefaultSessionTimeout": 60
},
"Accounts": {
"OverrideCharacterPermissions": true,
"DefaultAccessLevel": 0,
"AllowAutoAccountCreation": true,
"PasswordHashWorkFactor": 8,
"ForceWorkFactorMigration": true
},
"DatFilesDirectory": "c:\\ACE\\",
"ShutdownInterval": "60",
"ServerPerformanceMonitorAutoStart": false,
"WorldDatabasePrecaching": false,
"LandblockPreloading": true,
"PreloadedLandblocks": [
{
"Id": "E74EFFFF",
"Description": "Hebian-To (Global Events)",
"Permaload": true,
"IncludeAdjacents": false,
"Enabled": true
},
{
"Id": "A9B4FFFF",
"Description": "Holtburg",
"Permaload": true,
"IncludeAdjacents": true,
"Enabled": false
},
{
"Id": "DA55FFFF",
"Description": "Shoushi",
"Permaload": true,
"IncludeAdjacents": true,
"Enabled": false
},
{
"Id": "7D64FFFF",
"Description": "Yaraq",
"Permaload": true,
"IncludeAdjacents": true,
"Enabled": false
},
{
"Id": "0007FFFF",
"Description": "Town Network",
"Permaload": true,
"IncludeAdjacents": false,
"Enabled": false
}
]
},
"MySql": {
"Authentication": {
"Host": "127.0.0.1",
"Port": 3306,
"Database": "ace_auth",
"Username": "root",
"Password": ""
},
"Shard": {
"Host": "127.0.0.1",
"Port": 3306,
"Database": "ace_shard",
"Username": "root",
"Password": ""
},
"World": {
"Host": "127.0.0.1",
"Port": 3306,
"Database": "ace_world",
"Username": "root",
"Password": ""
}
}
}