canEnter
Description
Triggered when a player attempts to enter a property through the pre-check callback flow.
This is executed from nolag_properties:server:property:canEnter, which runs before shell/IPL enter transition logic.
Payload Structure
lua
Parameters
- source (number): The server ID of the player trying to enter
- propertyId (string/number): Unique identifier of the target property
- propertyType (string): Type of property (
shell,ipl,mlo) - owner (string): Current owner identifier
- ownerType (string): Ownership context (
userorsociety) - property (table): ServerProperty object for advanced checks
Usage Example
lua
Return Values
- true or nil: Allow enter to continue
- false: Cancel player enter flow