exports['redutzu-mdt']:Open().
Custom MDT pages have their own guide:
RegisterPage and UnregisterPage.MDT
Open
Open the MDT for the local player.Close
Close the MDT. Does nothing if it’s already closed.IsOpened
Check whether the MDT is open.Admin panel
OpenAdmin
Open the admin panel. Players who aren’t MDT admins get anERRORS.NOT_ADMIN toast.
CloseAdmin
Close the admin panel and stop any admin tool that’s running.Interactions menu
IsInteractionsMenuOpen
Check whether the interactions menu is open. The menu keeps game input active, so use this to block your own keys.RegisterInteractionPage
Add your own page to the interactions menu.build returns what the page shows, and onAction runs when the player picks a row. Pages are removed when your resource stops.
RemoveInteractionPage
Remove a page your resource registered.RefreshInteractionPage
Rebuild a page if it’s on screen. Call it when the page’s data changes.Officer
GetCallsign
Get the local player’s callsign.GetStatus
Get the local player’s status.GetOfficerData
Get a player’s duty, callsign and status. Leavesrc out for the local player.