Guides
Each guide is one job, start to finish, and holds whatever language the game mode is written in. The setting-up page says where each fits.
The game’s data
Section titled “The game’s data”The server does not have the game. It knows what the players’ games report, but not what a sword does against a
brigandine, where the ground is, where the walls are or how to walk around them. The files below are the parts of the game
a server needs for that, exported from your own copy of the game with the tools in the Windows server folder’s
tools/. They are never shipped with the server - they are the game’s own data, and every server owner has the game - so
each owner makes them once and puts them under data/; a server on Linux gets the files copied over. Without a file the
server runs exactly as before: each one turns on one thing, and the server log says at start which it found.
| Guide | File | What it turns on |
|---|---|---|
| Exporting the game’s tables | data/combat/items.json |
damage from the game’s own weapon and armour tables; items, souls, buffs and meshes by name - /give shortswordBroad, a horse breed by name, the potions and buffs the server owns |
| Exporting the terrain | data/heightmaps/<level>.hmap |
the terrain check - a player far under or over the ground is pulled back - and the terrain height for a game mode |
| Exporting the navigation mesh | data/navmesh/<level>.knav |
NPC actors that walk around walls instead of into them; paths, reachability, floors and the nearest walkable spot for a game mode |
| Exporting the collision geometry | data/collision/<level>.kcol |
line of sight on hits and shots, a step through a wall caught, the floor under a player as the ground; rays for a game mode |
The three level files are one per level per game build: a server that runs klaster needs klaster.hmap,
klaster.knav, klaster.kcol, and after a game update they are exported again. The tools do all three levels by
default, so the files are there whichever level the server switches to.
Running a server
Section titled “Running a server”| Guide | |
|---|---|
| Putting a server on the public list | the port, the address the list should show, the name and the password, and what players see in the launcher |
