[This is preliminary documentation and is subject to change.]
Command categories. A command may belong to more than one category.
Use binary flag logic to test whether a command belongs to a particular category.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.2 (0.6.3.2)
Syntax
| C# |
[FlagsAttribute] public enum CommandCategory
Members
| Member | Value | Description |
|---|---|---|
| None | 0 | Default command category. Do not use it. |
| Building | 1 | Building-related commands: drawing, binding, copy/paste. |
| Chat | 2 | Chat-related commands: messaging, ignoring, muting, etc. |
| Info | 4 | Information commands: server, world, zone, rank, and player infos. |
| Moderation | 8 | Moderation commands: kick, ban, rank, tp/bring, etc. |
| Maintenance | 16 | Server maintenance commands: reloading configs, editing PlayerDB, importing data, etc. |
| World | 32 | World-related commands: joining, loading, renaming, etc. |
| Zone | 64 | Zone-related commands: creating, editing, testing, etc. |
| Debug | 128 | Commands that are only used for diagnostics and debugging. |