Configuration
Communication and map
Settings of Gazette (news), Night Post (darkchat), Town Board (pano), Call Desk (cagri) and Atlas.
Every app here has Enabled = true in its file; false switches it off.
#Gazette: apps/news/config.lua
| Setting | Default | What it does |
|---|---|---|
PublishJobs |
{ newspaper = 0 } |
Jobs that can write and publish, with the lowest grade |
ModeratorAce |
'pocketbook.news.moderate' |
ACE permission of moderators |
PageSize |
10 |
Stories per page |
MaxTitle, MaxBody |
120, 12000 |
Title and story length |
MaxSummary, MaxCaption |
240, 160 |
Summary and picture caption length |
MaxDrafts |
50 |
Drafts per writer |
Categories |
general, trade, law, culture, community |
Story categories and their names |
Illustrations |
train, cattle, theatre, fair, sheriff, mine, fishing, caravan |
Drawn pictures a story can use. false removes one |
ImageHosts |
{} |
Hosts allowed for story pictures. Empty: any public HTTPS host |
cfgadd_ace group.admin pocketbook.news.moderate allow
#Night Post: apps/darkchat/config.lua
| Setting | Default | What it does |
|---|---|---|
MaxChannels |
10 |
Channels one character can be in |
MaxMembers |
40 |
Members per channel |
MaxName |
64 |
Channel name length |
MaxMessage |
1600 |
Message length |
PageSize |
30 |
Messages per page |
PassJoin |
true |
An owner may open a channel to anyone who knows its pass-phrase. false: joining only by address |
JoinAttempts, JoinWindow |
5, 600 |
Wrong pass-phrases a character may try within JoinWindow seconds before having to wait |
Profiles |
true |
Profile with a default alias, emblem and ink. false: members show as initials only |
#Town Board: apps/pano/config.lua
Every town has a board. A notice is pinned on the board of the town the player stands in, for a few days and a fee per day. Anybody can read every board.
| Setting | Default | What it does |
|---|---|---|
CentsPerDay |
50 |
Fee per day, in cents ($0.50). 0: free |
Days |
{ 1, 3, 7 } |
How long a notice can hang |
MaxActive |
3 |
Notices one character can have up |
Cooldown |
60 |
Seconds between two notices of one character |
PostInTown |
true |
A notice can only be pinned while standing in a town |
Towns |
nil |
nil: the Bank's CashInTown.Towns. Or { { town, coords, radius } } |
TownRadius |
220 |
Metres, for a town without its own radius |
Moderators |
{ 'sheriff', 'marshal' } |
Jobs that can take down any notice |
MaxPriceCents |
10000000 |
Highest price a notice may ask ($100,000) |
The fee is paid from Config.MoneyAccount.
#Call Desk: apps/cagri/config.lua
A call goes to every player of the service's jobs who is in the game and on duty. The first one to take it gets a route to the caller. Calls live in memory only.
| Setting | Default | What it does |
|---|---|---|
ExpireMinutes |
20 |
An open or taken call is dropped after this |
Cooldown |
45 |
Seconds between two calls of one character |
MaxOpen |
2 |
Calls one character can have waiting |
OnDutyOnly |
true |
Only players on duty get calls, see the open calls and can take one |
Services |
6 services | See below |
luaServices = {
{ id = 'doctor', name = 'Doktor', art = 'doctor', jobs = { 'doctor', 'medic' } },
{ id = 'sheriff', name = 'Serif', art = 'sheriff', jobs = { 'sheriff', 'deputy', 'marshal', 'police', 'lawman',
'vallaw', 'rholaw', 'blklaw', 'strlaw', 'stdenlaw' } },
{ id = 'smith', name = 'Demirci', art = 'smith', jobs = { 'blacksmith', 'smith' } },
{ id = 'coach', name = 'Posta arabasi', art = 'coach', jobs = { 'coach', 'stagecoach', 'taxi' } },
{ id = 'vet', name = 'Veteriner', art = 'vet', jobs = { 'vet', 'veterinarian' } },
{ id = 'undertaker', name = 'Cenazeci', art = 'undertaker', jobs = { 'undertaker' } },
},
art is the drawing: doctor, sheriff, smith, coach, vet, undertaker. jobs are the framework job names that answer, as written in VORP or RSG. The sheriff line holds the VORP and RSG law jobs.
With OnDutyOnly = true, RSG uses the core's own duty flag and VORP uses the Resmi Defter (Official Ledger) duty switch for the jobs in Config.MDT.Jobs. Jobs with neither always answer. Taking a call while off duty answers "Go on duty first."
#Atlas: apps/atlas/config.lua
| Setting | Default | What it does |
|---|---|---|
MaxPins |
100 |
Saved places per character |
MaxFriends |
50 |
Friends per character |
InviteDistance |
5.0 |
Friends are added face to face, within this distance |
ShareSeconds |
{ 900, 3600, 28800, 0 } |
Location sharing lengths. 0: until revoked |
PollInterval |
5000 |
ms between checks of the route and of shared locations. At least 500 |
ArrivalDistance |
15.0 |
The route is cleared within this distance of the goal |
RouteColor |
'COLOR_YELLOW' |
Route line colour |
Navigation |
{ Enabled = true, Voice = true, NativeRouteDistance = false, DefaultMode = 'horse', Speeds = { walk = 2.0, horse = 6.0, wagon = 4.0 } } |
Guidance while travelling. Speeds are m/s for the time estimate. Voice is the player's choice. NativeRouteDistance uses the game's GPS distance |
IncludePostOffices |
true |
The Telegraph post offices appear as places |
Bounds |
minX = -8000, maxX = 5000, minY = -6000, maxY = 5000, minZ = -1000, maxZ = 3000 |
World area a place may be in. Widen it for custom maps |
Map |
see below | The map picture |
Places |
{} |
Destinations set by the server: { id = 'ranch', name = 'Çiftlik', category = 'ranch', x = ..., y = ..., z = ..., bucket = 0 } |
Blips |
{} |
Map signs every player sees when zoomed in, with a route button: { id = 'val_store', name = 'Valentine General Store', kind = 'store', hours = '07:00 - 21:00', x = ..., y = ..., z = ..., bucket = 0 } |
BlipKinds |
store, doctor, stable, bank |
Kinds of map signs and their names |
Categories |
place, home, work, camp, ranch, post |
Place categories and their names |
Colors |
{ 'gold', 'red', 'green', 'blue', 'ink' } |
Pin colours |
A Blips entry needs an id of letters, digits, _ or -, a name, and coordinates inside Bounds; otherwise it is skipped with a console line.
#Atlas.Map
| Setting | Default | What it does |
|---|---|---|
scale, offsetX, offsetY |
0.01552, 111.29, -63.6 |
Calibration from game to map coordinates |
minZoom, maxZoom, startZoom |
2, 5, 4 |
Zoom levels |
tileUrl |
'assets:apps/atlas/ui/tiles/{z}/{x}_{y}.jpg' |
Map tiles. assets: is fx-pocketbook-assets. The bundled tiles are local, so no outside request is made while playing |
tileSize |
1024 |
Tile size; each file holds 4x4 tiles |
width, height |
176, 144 |
Map size |
attribution |
'' |
Credit line in the map corner for your own tiles |
roadsUrl |
'assets:apps/atlas/ui/roads.json' |
Road network for the route line. While the file is missing the map shows the goal ring, straight distance and direction only. '' turns it off |