diff --git a/docs/src/fancycore/commands/chat.md b/docs/src/fancycore/commands/chat.md index 113223c2..7d6c728c 100644 --- a/docs/src/fancycore/commands/chat.md +++ b/docs/src/fancycore/commands/chat.md @@ -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.
+Syntax: ``/Message (player) (message)`` or ``/Msg (player) (message)``
+Permission: ``fancycore.commands.message`` + +### Reply + +Description: Replies to the last private message received.
+Syntax: ``/Reply (message)`` or ``/R (message)``
+Permission: ``fancycore.commands.reply`` + +### Message Spy + +Description: Toggles message spying to see private messages between other players.
+Syntax: ``/MessageSpy`` or ``/MsgSpy``
+Permission: ``fancycore.commands.messagespy`` + +### ToggleMessages + +Description: Toggles the ability to receive private messages.
+Syntax: ``/ToggleMessages`` or ``/ToggleMsg``
+Permission: ``fancycore.commands.togglemessages`` + +## Chat rooms + +### CreateChatRoom + +Description: Creates a new chat room with the specified name.
+Syntax: ``/CreateChatRoom (name)`` or ``/CCR (name)``
+Permission: ``fancycore.commands.createchatroom`` + +### JoinChatRoom + +Description: Joins the specified chat room.
+Syntax: ``/JoinChatRoom (name)`` or ``/JCR (name)``
+Permission: ``fancycore.commands.joinchatroom`` + +### LeaveChatRoom + +Description: Leaves the current chat room.
+Syntax: ``/LeaveChatRoom`` or ``/LCR``
+Permission: ``fancycore.commands.leavechatroom`` + +### ListChatRooms + +Description: Lists all available chat rooms on the server.
+Syntax: ``/ListChatRooms`` or ``/LCRs``
+Permission: ``fancycore.commands.listchatrooms`` + +### ChatRoomInfo + +Description: Displays information about the specified chat room.
+Syntax: ``/ChatRoomInfo (name)`` or ``/CRInfo (name)``
+Permission: ``fancycore.commands.chatroominfo`` + +## Chat Management + +### ClearChat + +Description: Clears the chat for all players on the server.
+Syntax: ``/ClearChat`` or ``/CC``
+Permission: ``fancycore.commands.clearchat`` + +### SlowChat + +Description: Sets a slow mode for chat, limiting how often players can send messages.
+Syntax: ``/SlowChat (seconds)`` or ``/Slow (seconds)``
+Permission: ``fancycore.commands.slowchat`` + +### MuteChat + +Description: Mutes the chat for all players, preventing them from sending messages.
+Syntax: ``/MuteChat``
+Permission: ``fancycore.commands.mutechat`` + +### UnmuteChat + +Description: Unmutes the chat, allowing players to send messages again.
+Syntax: ``/UnmuteChat``
+Permission: ``fancycore.commands.unmutechat`` + + diff --git a/docs/src/fancycore/commands/server.md b/docs/src/fancycore/commands/server.md index 5d84ed03..1c73e246 100644 --- a/docs/src/fancycore/commands/server.md +++ b/docs/src/fancycore/commands/server.md @@ -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.
+Syntax: ``/Restart (delay)``
+Permission: ``fancycore.commands.restart`` + +### Stop + +Description: Stops the server after a specified delay.
+Syntax: ``/Stop (delay)``
+Permission: ``fancycore.commands.stop`` + +### Save All + +Description: Forces the server to save all data immediately.
+Syntax: ``/SaveAll``
+Permission: ``fancycore.commands.saveall`` + +## Server health + +### Health + +Description: Displays an overview of the server's health status.
+Syntax: ``/Health``
+Permission: ``fancycore.commands.health`` + +### TPS + +Description: Displays the current ticks per second (TPS) of the server.
+Syntax: ``/Health tps``
+Permission: ``fancycore.commands.health.tps`` + +### Memory + +Description: Displays the current memory usage of the server.
+Syntax: ``/Health memory``
+Permission: ``fancycore.commands.health.memory`` + +### Uptime + +Description: Displays the server's uptime since the last restart.
+Syntax: ``/Health uptime``
+Permission: ``fancycore.commands.health.uptime`` + +### CPU Usage + +Description: Displays the current CPU usage of the server.
+Syntax: ``/Health cpu``
+Permission: ``fancycore.commands.health.cpu`` + +### Entity Count + +Description: Displays the total number of entities currently loaded on the server.
+Syntax: ``/Health entities``
+Permission: ``fancycore.commands.health.entities`` + +### Player Count + +Description: Displays the current number of players online on the server.
+Syntax: ``/Health players``
+Permission: ``fancycore.commands.health.players`` + +## Players + +### List online players + +Description: Lists all players currently online on the server.
+Syntax: ``/OnlinePlayers``
+Permission: ``fancycore.commands.onlineplayers`` + +### List all registered players + +Description: Lists all players registered on the server.
+Syntax: ``/RegisteredPlayers``
+Permission: ``fancycore.commands.registeredplayers`` \ No newline at end of file