Michael Whelehan
2f5b26ae68
feat(expansions): Adds expansion.json and loads expansions dynamically ( #798 )
...
Moves hardcoded expansion settings to the file Data\expansion.json.
2021-09-23 20:28:43 -07:00
Kamron Batman
0d1fffd9fc
fix: Fixes spawners, adds convertpremiumspawners, exportspawners, and replaces with neruns distro ( #751 )
...
### Additions
* Adds `[exportspawners <relative json file path to distro>`
* If no path is provided, it will be saved to the `Data\Spawns` folder with the current timestamp as the file name.
* Supports global, facet, region, multi, and area
* Fixes client disconnect for bad spawner generation command.
* Moves spawner commands to their own folder.
* Adds GUIDs for spawners. This allows for easy replacement during import to reduce duplication.
* Allows exporting the name of the spawner.
* Fixes globbing when using [generatespawners
* Adds [convertpremiumspawners to convert Premium Spawners (from Neruns distro)
Possibly in .NET 6 serializing JSON will be more performant using JSON nodes.
### Screenshots



2021-09-03 21:52:44 -07:00
Kamron Batman
bdf0dbde1e
chore(json): Cleans up json converters ( #576 )
2021-04-16 00:49:57 -07:00
Kamron Batman
98ce65083a
fix(core): Updates expansion and map configurations (fixes map issues) ( #570 )
...
- [X] Adds question about expansion at start of server
- [X] Adds question about client version to determine old have and map diffs
- [X] Adds config setting "maps.enablePre6000Trammel"
- [X] Rearranges some of the loading order.
- [X] Added support for deserializing nullable enums from json
TODO:
Expand the nullable enums deserialization factory to work with any type by pulling the factory and creating an instance of the converter.
2021-04-14 01:45:18 -07:00
Kamron Batman
07751654b7
fix(core): Moves map definitions and cleans up loading maps, regions, and tiles ( #431 )
...
- [X] Moves map definitions to a `map-definitions.json` file.
- [X] Creates a TileMatrixLoader.
- [X] Moves tile matrix and multi data configurations closer to their classes.
2021-01-25 11:05:52 -08:00
Kamron Batman
211c2ba8ee
fix(core): Streamlines text encoding ( #407 )
...
- [X] Streamlines text encoding
2021-01-13 18:56:32 -08:00
Kamron Batman
764d303543
chore: Code cleanup ( #399 )
...
- [X] Code cleanup
2021-01-10 09:14:03 -08:00
Kamron Batman
12e935e4f4
Adds property sorting for json output ( #266 )
2020-09-26 22:38:50 -07:00