Config.PhoneCustom.
Supported phones
sd-phone is checked first because it also answers to the names
lb-phone, qb-phone, gksphone, yseries and qs-smartphone.
What it adds
- A read-only City Hall app on the phone: unpaid bills and insurance and documents that expire soon, plus a button that sets a waypoint to the nearest City Hall. Players can’t pay or order anything from the phone, so they still have a reason to visit City Hall.
- Notifications when a bill is issued or paid, a license is earned, a document is ordered, a vehicle is insured or a business is registered.
- An email for every new bill, including the violation and the due date.
- A Mail app on the PC that shows the player’s phone mailbox (see below).
web/phone/.
Configuration
Mail app on the PC
An Outlook-style Mail app on the City Hall PC, with folders, a message list and a reading pane, showing the same mails as the phone. It only appears while a supported phone is running.getMailAccounts, getMailbox, sendMailFromPlayer). It has no export to mark mails read or delete them, so that is done on the phone. The other phones have no export to read mails, so the Mail app is hidden for them.
Players need a mail account in their phone’s Mail app first. Until then the PC asks them to set one up.
Texts
All texts live inConfig.Phone.texts. %s placeholders are filled in this order:
Notes
- LB Phone: the app is installed by default (
defaultApp). Notifications show under the City Hall app. Mail goes to the address of the equipped phone; players without a mail account get only the notification. - 17Movement Phone: the app is pre-installed on new phones and can be found in the store. Notifications use the system app.
- The app is added again automatically when the phone resource restarts, and removed when City Hall stops.
- Every phone call is protected, so a phone update can’t break City Hall. Problems are printed to the console as
[aps_cityhall] phone ….
