-
Notifications
You must be signed in to change notification settings - Fork 1
PLUGINS EVENTS MODERATION TRADES
sanction.apply runs after request normalization and authorization and before
the record or player effect. It covers warn, mute, kick, ban, and trade-lock.
Listeners may replace Reason and ExpiresAt or cancel the sanction. Pixels
normalizes and validates both fields again before persistence.
A cancelled warning creates no record and publishes no sanction.applied.
A cancelled ban cannot disconnect the target because side effects run only
after persistence.
room.moderation.action is distinct from global sanctions. It observes an
already-authorized local action and may veto kick, mute, unmute, ban, or unban
before the room moderation store changes.
The three irreversible boundaries are independently cancellable:
-
trade.startruns before the live session enters the registry. -
trade.confirmruns only when both participants have confirmed and before furniture/currency settlement. Cancellation resets confirmation ownership. -
trade.cancelruns before the registry closes an active session.
Host.Trades().Active(playerID) returns a detached snapshot.
ForceCancel(playerID, reason) closes an active trade through the same
cancellable boundary and records the plugin scope in the reason.
Committed lifecycle facts remain available as trade.started,
trade.completed, and trade.cancelled.
Pixels
Getting Started
Architecture
Architecture Internals
Authentication
Users
Navigator
Inventory
Furniture
Rooms
Decoration
Games
Plugins
- PLUGINS-OVERVIEW
- PLUGINS-CREATING
- PLUGINS-LISTENERS
- PLUGINS-EVENTS-REALMS
- PLUGINS-EVENTS-ECONOMY-ROOMS
- PLUGINS-EVENTS-MODERATION-TRADES
- PLUGINS-EVENTS-COMMERCE-WORLD
- PLUGINS-EVENT-FURNITURE-MOVE
- PLUGINS-EVENT-FURNITURE-PICKUP
- PLUGINS-EVENT-ROOM-CREATE
- PLUGINS-EVENT-MARKETPLACE-LIST
- PLUGINS-EVENT-MARKETPLACE-BUY
- PLUGINS-EVENT-PLAYER-PROFILE-UPDATE
- PLUGINS-EVENT-BOT-SPEECH
- PLUGINS-EVENT-GROUP-MEMBERSHIP-CHANGE
- PLUGINS-EVENT-MESSENGER-FRIEND-REQUEST
- PLUGINS-EVENT-MESSENGER-FRIEND-ACCEPT
- PLUGINS-EVENT-CRAFTING-CRAFT
- PLUGINS-WIRED
- WIRED
- PLUGINS-COMMANDS
- PLUGINS-SDK
- PLUGINS-DEPLOYMENT