mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 13:55:04 +02:00
Season and holiday configuration options (#138)
* Added configuration options to change the season and holiday (per-server and globally) in config.json * Added documentation on newly added configuration options * Updated parseHoliday to recognize all current holidays * Moved parseSeason and parseHoliday functions from server/commands.ts to common/utils.ts
This commit is contained in:
committed by
Eliot Partridge
parent
a7d6a9f1e5
commit
8a4c8198b8
@@ -19,6 +19,8 @@
|
||||
}
|
||||
},
|
||||
"assetsPath": "assets-source",
|
||||
"season": "spring",
|
||||
"holiday": "none",
|
||||
"servers": [
|
||||
{
|
||||
"id": "test",
|
||||
@@ -26,6 +28,8 @@
|
||||
"path": "/s00/ws",
|
||||
"local": "localhost:8090",
|
||||
"name": "Test server",
|
||||
"season": "spring",
|
||||
"holiday": "none",
|
||||
"desc": "Testing server",
|
||||
"flags": {
|
||||
"test": true
|
||||
|
||||
Reference in New Issue
Block a user