AstralCore Actions
AstralTown registers 22 actions into AstralCore's global action registry. Every action is usable in any menu, dialog, or filter actions: list — the IDs below match the strings you write in [brackets].
Arguments are placeholders resolved at runtime. For example [select-town] %town_id% resolves %town_id% against the current placeholder context before the action runs.
Player
select-town
Sets the viewer's selected town. Fires TownSelectEvent.
toggle-town-chat
Toggles TownPlayerData.chatEnabled. Confirmation: CHAT_ENABLED/CHAT_DISABLED.
toggle-town-members-notification
Toggles network-wide member-join pings. Confirmation: MEMBER_JOIN_NETWORK_ENABLED/MEMBER_JOIN_NETWORK_DISABLED.
Town
toggle-town-settings
Flips a single TownSettings flag. Permission: SETTINGS_CHANGE.
update-town-settings
Bulk write — used after a player has staged several toggles in a menu and clicks save. Permission: SETTINGS_CHANGE.
unban-town-player
Removes the ban without opening the unban command. Permission: BAN.
Roles
create-town-role
Opens the role-creation dialog. Permission: MANAGE_ROLES.
edit-town-role
Opens the edit dialog. Permission: MANAGE_ROLES.
delete-town-role
Refuses to delete the default role (CANNOT_DELETE_DEFAULT_ROLE). Permission: MANAGE_ROLES.
toggle-role-permission
Permission: MANAGE_PERMISSIONS.
update-role-permissions
Bulk save. Permission: MANAGE_PERMISSIONS.
cycle-member-town-role
Promotes the member to the next role by weight, looping at the top. Permission: ASSIGN_ROLES.
Subzones
create-sub-zone
Starts the corner-selection flow. Permission: SUB_ZONES.
edit-subzone
Opens the metadata dialog. Permission: SUB_ZONES.
edit-subzone-cuboid
Re-runs corner selection for an existing subzone. Permission: SUB_ZONES.
delete-sub-zone
Permission: SUB_ZONES.
toggle-subzone-settings
Only takes effect when the subzone has inheritSettings = false. Permission: SUB_ZONES.
update-subzone-settings
Bulk save. Permission: SUB_ZONES.
create-subzone-role
Creates a role scoped to the given subzone. Permission: SUB_ZONES.
cycle-subzone-member-role
Promotes a subzone member to the next subzone-scoped role. Permission: SUB_ZONES.
kick-subzone-member
Removes the member from the subzone (they remain a town member). Permission: SUB_ZONES.
Warps
pin-warp
Toggles the warp on the viewer's TownPlayerData.favoriteWarps set. Confirmation: WARP_PINNED/WARP_UNPINNED.