User:Avarice77/RevivedContactBook: Difference between revisions
From The Urban Dead Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Revived UserScript Contact Book == | |||
To create a contact book that can be downloaded into the Urban Dead interface while you play using the Revived User Script you must follow this pattern. | To create a contact book that can be downloaded into the Urban Dead interface while you play using the Revived User Script you must follow this pattern. | ||
== Instructions == | |||
# Create a new wiki page, usually best as a sub page of your user profile but anywhere that doesn't need login access will do. | # Create a new wiki page, usually best as a sub page of your user profile but anywhere that doesn't need login access will do. |
Revision as of 01:30, 30 June 2024
Revived UserScript Contact Book
To create a contact book that can be downloaded into the Urban Dead interface while you play using the Revived User Script you must follow this pattern.
Instructions
- Create a new wiki page, usually best as a sub page of your user profile but anywhere that doesn't need login access will do.
- Change the content type to JSON.
- Add content in the JSON format specified below. Add comma-separated curly braces to add more entries.
- Save the page and visit it to ensure it is correctly displaying the content as the example.
- Add the page name, not URL (e.g. User:Avarice77/Contacts) into the 'Contact book' field on the Urban Dead settings page.
- Visit the contacts page/tab and your contacts should be downloaded to a new table below the existing one.
Format:
[ { "name": string, // "Akira Takahashi" "id": number, // 2361365 "color": string, // "#f00" "phone": string, // "2361365" "xp": number, // 167 "level": number, // 14 "overrideColor": boolean, // true "class": string, // "Military" "group": string, // "Sakura" "notes": string // "zerg" }, ... ]