[This is preliminary documentation and is subject to change.]
List of possible reasons for players leaving the server.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
| C# |
public enum LeaveReason
Members
| Member | Value | Description |
|---|---|---|
| Unknown | 0 | Unknown leave reason (default) |
| ClientQuit | 1 | Client exited normally |
| ClientReconnect | 3 | Client reconnected before old session timed out, or connected from another IP. |
| Kick | 16 | Manual or miscellaneous kick |
| IdleKick | 17 | Kicked for being idle/AFK. |
| InvalidMessageKick | 18 | Invalid characters in a message |
| InvalidSetTileKick | 19 | Attempted to place invalid blocktype |
| InvalidOpcodeKick | 20 | Unknown opcode or packet |
| BlockSpamKick | 21 | Triggered antigrief / block spam |
| MessageSpamKick | 22 | Kicked for message spam (after warnings) |
| Ban | 32 | Banned directly by name |
| BanIP | 33 | Banned indirectly by /BanIP |
| BanAll | 34 | Banned indirectly by /BanAll |
| ServerError | 48 | Server-side error (uncaught exception in session's thread) |
| ServerShutdown | 49 | Server is shutting down |
| ServerFull | 50 | Server was full or became full |
| WorldFull | 51 | World was full (forced join failed) |
| ProtocolViolation | 65 | Login failed due to protocol violation/mismatch (e.g. SMP client) |
| UnverifiedName | 66 | Login failed due to unverified player name |
| LoginFailed | 67 | Login denied for some other reason |