Project Structure
How a Knight server directory is laid out.
A Knight distribution is intentionally small. There is no required folder for models or scripts.
text
knight/
├── Bin/ server binaries (linux / windows)
├── Gamemodes/ your .sa gamemodes
├── tests/ optional validator fixtures
├── tools/ standalone knight validator
├── server.cfg server configuration
└── SCRIPTING.md API reference
Where files live
- Gamemodes — any
.safile, anywhere. Pass its path with-gamemode. - Models — custom
.dff/.txdfiles can live anywhere; pass the path toAddCharModel/AddSimpleModel. - Databases — the gamemode chooses the path, e.g.
sqlite_open("data/accounts.db").
Tip
Paths behave like C++ includes: an explicit path is used as-is; a bare file name is looked up in the optional
artpath setting.