ace/Source/ACE.Server/Config.js.example
Ty Conner 7dc5ff67cf
Support Purging of deleted Characters from database (#2223)
* Support Erase and Purge of deleted Characters

* Update ShardDatabase.cs

* Update ShardDatabase.cs

* Support AutoPurge

* Update CharacterCommands.cs

* Update CharacterCommands.cs

* .

* Add support for admin forced delete of character

* Update ShardDatabase.cs

* Update CharacterHandler.cs

* Update CharacterCommands.cs

* Update CharacterCommands.cs

* Add PurgeOrphans command

* Update ShardDatabase.cs

* Update ShardDatabase.cs

* Rename erase to purge

* Update ShardDatabase.cs

* Update Program.cs

* Rename Erase to Purge for consistency

* Remove purging from SerializedShardDatabase

* Update SerializedShardDatabase.cs

* Update ShardDatabase.cs

* Changes

* use all threads

* OfflineConfiguration
2019-09-27 23:01:25 -05:00

130 lines
4.4 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
},
// The folder that contains AC DAT files (client_cell_1.dat, client_portal.dat, client_highres.dat, client_local_English.dat)
// Note that for servers running on Linux, the ~ home folder must be fully expanded, ie. /home/user/ace/, instead of ~/ace/
// Note that for servers running on Windows, a path like c:\ace\ MUST be entered as c:\\ace\\, replacing the single backslashes (\) with double backslashes (\\)
"DatFilesDirectory": "c:\\ACE\\",
"ShutdownInterval": "60",
// ServerPerformanceMonitorAutoStart, default: false
// Development recommendation: true
// Server recommendation: true
// Enable this to use the functionality of the command: /serverperformance
// Additional overhead is added but it is minimal.
// This can greatly help you (and ACE developers) understand what sections of ACE are underperforming.
"ServerPerformanceMonitorAutoStart": false,
// WorldDatabasePrecaching, default: false
// Development recommendation: false
// Server recommendation: true
// Enable this to cache the world database at startup.
// This will add about 1-2 minutes to server startup time and will consume about 1.7 GB of RAM
// With this disabled, caching happens on an as-requested basis and can cause the server to feel less responsive.
"WorldDatabasePrecaching": false,
// LandblockPreloading, defaut: true
// Development recommendation: true
// Server recommendation: true
// This makes sure that perma-load landblocks are loaded.
// Perma-load landblocks are landblocks that can contain server-wide mechanics and should always be active.
"LandblockPreloading": true,
// PreloadedLandblock
// These are the default pre-loaded and perma-loaded landblocks.
// In most cases you should not need to adjust them.
// This section requires LandblockPreloading to be 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
},
{
"Id": "00000000",
"Description": "Apartment Landblocks",
"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": ""
}
},
// This section can trigger events that may happen before the world starts up, or after it shuts down
// The shard should be in a disconnected state from any running ACE world
"Offline": {
// Purge characters that have been deleted longer than PruneDeletedCharactersDays
// These characters, and their associated biotas, will be deleted permanantly!
"PurgeDeletedCharacters": false,
// Number of days a character must have been deleted for before eligible for purging
"PurgeDeletedCharactersDays": 30
}
}