Configuration

SIM

SIM cards, the GhostNet second SIM and the Anon terminal settings.

File: configs/config_sim.lua. What players see is on SIM and Anon.

#Config.Sim

A phone has two SIM slots (Settings > SIM). With Enabled = true the phone number lives on the SIM, not on the character: a SIM is an inventory item that says which number it is, it can be taken out, handed to someone else and put in their phone. Two SIMs in one phone give it two lines. With Enabled = false every character keeps one built-in number and nothing can be taken out.

Setting Type Default What it does
Sim.Enabled boolean true SIM cards on or off
Sim.Item string 'sim_card' Inventory item of a physical SIM. Its metadata carries the ICCID
Sim.Carrier string 'FX Mobile' Name in the status bar and in Settings > SIM
Sim.Starter string 'physical' The first line of a phone. 'physical': a real card in slot 1 that can be taken out and handed over. 'esim': built into the phone, it cannot change hands. Applies to phones made from now on and to phones that get their first SIM when the system is switched on
Sim.ItemText boolean true The item shows whose number it is: its name carries the carrier and number, its description the number and who it is registered to. false: the item keeps its plain name
Sim.AllowUnregistered boolean true Prepaid SIMs, sold without the buyer's name on them. A sim_card with no metadata becomes one when used
Sim.LockToOwner boolean false true: a registered SIM only works in its owner's phone, so it cannot be lent or stolen. false: any SIM works in any phone
Sim.MaxPerPlayer number 5 Registered SIMs per character
Sim.SwapCooldown number 30 Seconds between two SIM changes
Sim.EmergencyNumbers table { ['911'] = 'police', ['912'] = 'ambulance' } Number dialled = job whose company line rings. These work without a SIM too

Existing phones receive a SIM with their current number on the first start after the system is switched on, so nobody loses a number. Without a SIM the phone still opens and offline apps work; calls and messages say there is no SIM.

Item definitions: Item setup. Selling SIMs from other shops: Owned shops.

#Config.SecondSim

The GhostNet card. It is an inventory item with no phone number that works for a few days, then stops. The apps listed in Apps only open while one is in the phone, switched on and still valid. It sits in one of the phone's two SIM slots like any other card.

Setting Type Default What it does
SecondSim.Enabled boolean true The second SIM on or off
SecondSim.Returnable boolean true Taken out with time left, the card goes back to the inventory with its line and end date on it and can be handed on. The clock never stops. false: taking the card out destroys it
SecondSim.Item string 'ghost_sim' Inventory item
SecondSim.Carrier string 'GhostNet' Network name shown in Settings and on the "not authorized" screen
SecondSim.Days number 3 How long a card works once it is in the phone
SecondSim.CheckHours number 2 How often the server looks for cards that ran out. A card keeps working until the first check after its last day
SecondSim.Stack string 'extend' Using another card while one still works: 'extend' adds its days on top, 'replace' starts the time over, 'refuse' leaves the new card in the inventory
SecondSim.MaxDays number 9 With 'extend', the card never reaches further ahead than this many days
SecondSim.WarnHours number or false 6 A notification this many hours before the card runs out. false: none
SecondSim.Apps string list { 'anon' } Apps that need the second SIM. Any app id works, custom apps included. Add 'darkchat' to put Darkchat behind the card

#Config.Anon

Anon is a terminal on the second SIM's network. Players pick a handle, earn XP by cracking codes and unlock commands rank by rank. Set a command to false to remove it.

#Who sees what

Everyone with the second SIM reads and writes the announcements (the Notices tab). Rooms are a second tab, only with Rooms.Enabled = true. The terminal only shows for players who hold the hacker permission.

Setting Type Default What it does
Anon.Hacker.Jobs string list { 'hacker' } Jobs that hold the hacker permission
Anon.Hacker.Ace string 'fxphone.hacker' ACE that grants it, for example add_ace group.hacker fxphone.hacker allow
Anon.Hacker.Admins boolean true Admins hold it too
Anon.Hacker.Everyone boolean false true gives the terminal to all players

Hackers can also take down anyone's announcement.

#Rooms

Setting Type Default What it does
Anon.Rooms.Enabled boolean false false: Anon has no rooms, only the announcements and the terminal
Anon.Rooms.Durations number list { 15, 60, 360, 1440, 4320, 7200 } How long a room can be opened for, in minutes
Anon.Rooms.Permanent boolean true Also offer rooms that never run out. One stays until its owner or a hacker closes it
Anon.Rooms.PermanentIdleDays number 14 A permanent room is closed when nobody has written in it for this many days. 0: never
Anon.Rooms.PerPlayer number 2 Rooms one player can have open at a time
Anon.Rooms.MaxOpen number 30 Open rooms in total
Anon.Rooms.MessageMax number 300 Longest message, in characters. Kept between 40 and 500
Anon.Rooms.History number 80 Messages loaded when a room is opened. Kept between 20 and 200
Anon.Rooms.KeepClosedHours number 24 A closed room and its messages are deleted after this many hours

#Announcements

Setting Type Default What it does
Anon.Notes.Everyone boolean true true lets every player with a handle write announcements. false keeps them to the hackers
Anon.Notes.Hours number 24 How long one stays up
Anon.Notes.Max number 100 How many can be up at once in total
Anon.Notes.PerPlayer number 3 How many one player can have up at a time. Hackers are not counted

#Ranks and the code game

Anon.Ranks is a list of { xp, title }, lowest first. The first one is where everybody starts.

Rank XP needed Title
1 0 Script Kiddie
2 25 Operator
3 75 Ghost
4 150 Phantom
5 300 Architect

Anon.Crack is the code breaking game: guess a code of different digits in a number of tries.

Setting Default What it does
Crack.Digits 4 Digits in the code
Crack.Tries 7 Guesses allowed
Crack.Xp 6 XP for a solved code
Crack.FailXp 1 XP for a failed attempt
Crack.PerHour 6 Games per hour

#Commands

Each command has rank (the rank needed, 1 is the first), cooldown in seconds and xp earned for a successful run.

Command Rank Cooldown XP Extra fields What it does
scan 1 60 1 Radius = 30.0, Reveal = 3 Lists phones within Radius metres. Their last digits stay hidden below the Reveal rank
ping 2 30 1 Whether a number's phone is switched on right now
lookup 3 300 3 The name a number is registered to
trace 4 900 6 Radius = 120.0, Jitter = 70.0, Seconds = 60, WarnTarget = true A circle on the map the number's phone is somewhere inside, for Seconds seconds. The centre is off by up to Jitter metres. WarnTarget sends the traced phone a warning
Setting Type Default What it does
Anon.ProtectedJobs string list {} Jobs that cannot be looked up or traced. Their phones still show in a scan