A VPM package that adds a standalone world-space panel for Yodokorochan PermissionController. Administrators (Auth) and collaborators (Collab) can choose another player and send them back to their own respawn point (the target’s client runs VRCPlayerApi.Respawn()).
The destination is the target player’s current permission respawn point, the same point they would use when respawning themselves. There is no destination selector. PermissionController continues to manage its normal permission-based spawn points, and sequential-spawn works naturally if it is installed.
This package has no dependency on sequential-spawn. It contains only this package’s source code and does not patch or redistribute PermissionController source or assets. Runtime integration reads only the upstream player object’s Controller and CurrentPermission program variables by name.
MainCanvas. If no MainCanvas is found, it is placed at the controller; with no controller, it is placed at the origin.VRCUiShape, and button event wiring. The builder assigns the first PermissionController found in the open scene. If none is found, assign it in the panel Inspector.permissionController reference pointed at the PermissionController used by the world. The Inspector reports missing or incompatible upstream fields. A world build stops if the panel has no valid PermissionController or is missing any of its UI references.The screen shows your permission in the upper-right chip, other players in join order, their permission badges, and a respawn button on each row. Players who cannot operate see “(view only)” on their permission chip, dimmed rows, and disabled buttons. The last result appears briefly over the bottom of the list. Selecting a player opens a confirmation showing the destination permission; only the operator sees this dialog. The panel is generated into the scene by editor code and is not included as a prefab.
To send force-respawned players somewhere else, assign Transforms to the panel’s authDestination / collabDestination / visitorDestination. Permissions left empty use the player’s normal respawn point. The override only applies to force respawns; menu respawns and fall respawns keep the upstream PermissionController settings. Note that with visitorDestination set, visitors go to that single point even when sequential-spawn assigns them individual points.
UI text uses Unity’s built-in LegacyRuntime.ttf with UnityEngine.UI.Text, so no font asset is redistributed.
TeleportTo an override point if one is set, otherwise Respawn()). Hiding the buttons is only a UI measure; the receiver check is the permission enforcement.Respawn() behavior.Permission values follow PermissionController’s current enum layout: Auth = 0, Collab = 1, Visitor = 2. A future upstream change to the Controller or CurrentPermission field names is reported by the Inspector and requires a package update.
MIT. See LICENSE.
com.tentee.permission-controller-force-respawn
Undefined
0.1.1
2022.3 or later
No dependencies
No legacy packages