fCraft  0.638
Custom Minecraft Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events
fCraft.Events.PlayerConnectingEventArgs Class Reference

Provides data for Player.Connecting event. Cancelable. More...

+ Inheritance diagram for fCraft.Events.PlayerConnectingEventArgs:
+ Collaboration diagram for fCraft.Events.PlayerConnectingEventArgs:

Properties

Player Player [get, set]
 Player who is connecting.
 
bool Cancel [get, set]
 If set to 'true', rejects player's connection and kicks them. Use Player.Kick() in conjunction with .Cancel to set the kick message.
 
- Properties inherited from fCraft.Events.IPlayerEvent
Player Player [get]
 Player who initiated or is affected by the event.
 
- Properties inherited from fCraft.ICancelableEvent
bool Cancel [get, set]
 Set to "true" to cancel the event.
 

Detailed Description

Provides data for Player.Connecting event. Cancelable.

Property Documentation

bool fCraft.Events.PlayerConnectingEventArgs.Cancel
getset

If set to 'true', rejects player's connection and kicks them. Use Player.Kick() in conjunction with .Cancel to set the kick message.

Player fCraft.Events.PlayerConnectingEventArgs.Player
getset

Player who is connecting.


The documentation for this class was generated from the following file: