Admin Console
An in-game console for staff to look up players and phone data, moderate supported apps and fix account problems. Authorized staff open it with /ysadmin.
Before you start
- Deploy the full
adminfolder alongside the phone UI. - Let automatic database setup finish first.
Grant access
Access is set in admin/config/server.lua, an editable file that only the server reads. Keep it server-only.
-
Grant the owner ACE (default
yseries.owner) to your owner principal in your server config:CodeUse your real owner principal. This line does not add any player to that group.
-
As owner, open the console and create staff groups.
-
Give each group only the view and action permissions it needs.
Existing grants and revocations survive restarts and updates. Updating never resets or widens them.
Two settings to know:
PermissionGroups.LegacyAceRolesmaps legacy roles you list (by defaultadmin) into group access.- The
CapabilitiesACE labels are a migration reference, not grants. Adding every old capability ACE will not unlock an action.
What staff can do
View. The dashboard, player and number directories and app pages show supported records. Providers without support show an unavailable state instead of made-up data.
Act. Each action needs its own permission:
- content moderation and account restrictions
- password and PIN resets
- number management
- SIM suspension, reactivation and ejection
- Gallery recovery and deletion, where supported
- live map teleport and spectate
Cases. Staff cases collect linked subjects, notes and audit history. Creating a case does not moderate anything; use the app's own action for that.
Tools
- Notification playground sends test notifications, actions and live activities.
- Voice commands manages languages, phrases and custom actions. See Voice Commands, and keep its saved runtime file when updating.