docs: Add chat and server commands for FancyCore

This commit is contained in:
Oliver
2025-11-24 17:19:56 +01:00
committed by Oliver
parent e1c57f8e1c
commit 1bc13362c1
2 changed files with 164 additions and 0 deletions

View File

@@ -6,3 +6,89 @@ title: Chat
![](../../static/commands.png)
# Commands for the chat system
## Messages
### Message
Description: Sends a private message to the specified player.<br/>
Syntax: ``/Message (player) (message)`` or ``/Msg (player) (message)``<br/>
Permission: ``fancycore.commands.message``
### Reply
Description: Replies to the last private message received.<br/>
Syntax: ``/Reply (message)`` or ``/R (message)``<br/>
Permission: ``fancycore.commands.reply``
### Message Spy
Description: Toggles message spying to see private messages between other players.<br/>
Syntax: ``/MessageSpy`` or ``/MsgSpy``<br/>
Permission: ``fancycore.commands.messagespy``
### ToggleMessages
Description: Toggles the ability to receive private messages.<br/>
Syntax: ``/ToggleMessages`` or ``/ToggleMsg``<br/>
Permission: ``fancycore.commands.togglemessages``
## Chat rooms
### CreateChatRoom
Description: Creates a new chat room with the specified name.<br/>
Syntax: ``/CreateChatRoom (name)`` or ``/CCR (name)``<br/>
Permission: ``fancycore.commands.createchatroom``
### JoinChatRoom
Description: Joins the specified chat room.<br/>
Syntax: ``/JoinChatRoom (name)`` or ``/JCR (name)``<br/>
Permission: ``fancycore.commands.joinchatroom``
### LeaveChatRoom
Description: Leaves the current chat room.<br/>
Syntax: ``/LeaveChatRoom`` or ``/LCR``<br/>
Permission: ``fancycore.commands.leavechatroom``
### ListChatRooms
Description: Lists all available chat rooms on the server.<br/>
Syntax: ``/ListChatRooms`` or ``/LCRs``<br/>
Permission: ``fancycore.commands.listchatrooms``
### ChatRoomInfo
Description: Displays information about the specified chat room.<br/>
Syntax: ``/ChatRoomInfo (name)`` or ``/CRInfo (name)``<br/>
Permission: ``fancycore.commands.chatroominfo``
## Chat Management
### ClearChat
Description: Clears the chat for all players on the server.<br/>
Syntax: ``/ClearChat`` or ``/CC``<br/>
Permission: ``fancycore.commands.clearchat``
### SlowChat
Description: Sets a slow mode for chat, limiting how often players can send messages.<br/>
Syntax: ``/SlowChat (seconds)`` or ``/Slow (seconds)``<br/>
Permission: ``fancycore.commands.slowchat``
### MuteChat
Description: Mutes the chat for all players, preventing them from sending messages.<br/>
Syntax: ``/MuteChat``<br/>
Permission: ``fancycore.commands.mutechat``
### UnmuteChat
Description: Unmutes the chat, allowing players to send messages again.<br/>
Syntax: ``/UnmuteChat``<br/>
Permission: ``fancycore.commands.unmutechat``

View File

@@ -6,3 +6,81 @@ title: Server
![](../../static/commands.png)
# Commands for the server system
## Server control
### Restart
Description: Restarts the server after a specified delay.<br/>
Syntax: ``/Restart (delay)``<br/>
Permission: ``fancycore.commands.restart``
### Stop
Description: Stops the server after a specified delay.<br/>
Syntax: ``/Stop (delay)``<br/>
Permission: ``fancycore.commands.stop``
### Save All
Description: Forces the server to save all data immediately.<br/>
Syntax: ``/SaveAll``<br/>
Permission: ``fancycore.commands.saveall``
## Server health
### Health
Description: Displays an overview of the server's health status.<br/>
Syntax: ``/Health``<br/>
Permission: ``fancycore.commands.health``
### TPS
Description: Displays the current ticks per second (TPS) of the server.<br/>
Syntax: ``/Health tps``<br/>
Permission: ``fancycore.commands.health.tps``
### Memory
Description: Displays the current memory usage of the server.<br/>
Syntax: ``/Health memory``<br/>
Permission: ``fancycore.commands.health.memory``
### Uptime
Description: Displays the server's uptime since the last restart.<br/>
Syntax: ``/Health uptime``<br/>
Permission: ``fancycore.commands.health.uptime``
### CPU Usage
Description: Displays the current CPU usage of the server.<br/>
Syntax: ``/Health cpu``<br/>
Permission: ``fancycore.commands.health.cpu``
### Entity Count
Description: Displays the total number of entities currently loaded on the server.<br/>
Syntax: ``/Health entities``<br/>
Permission: ``fancycore.commands.health.entities``
### Player Count
Description: Displays the current number of players online on the server.<br/>
Syntax: ``/Health players``<br/>
Permission: ``fancycore.commands.health.players``
## Players
### List online players
Description: Lists all players currently online on the server.<br/>
Syntax: ``/OnlinePlayers``<br/>
Permission: ``fancycore.commands.onlineplayers``
### List all registered players
Description: Lists all players registered on the server.<br/>
Syntax: ``/RegisteredPlayers``<br/>
Permission: ``fancycore.commands.registeredplayers``