implement !msg and !help chat commands

* Added the !msg and !help command

* Started fixing issues

* Rewrote !msg processing in chat system

* cleanup

---------

Co-authored-by: p2r3 <p2r3@p2r3.com>
This commit is contained in:
M6a5x98
2025-09-19 00:20:50 +02:00
committed by GitHub
parent ba86dfd927
commit b23e19ecd4
3 changed files with 98 additions and 15 deletions

View File

@@ -14,6 +14,7 @@ int getClientIndex (int client_fd);
void resetPlayerData (PlayerData *player);
int reservePlayerData (int client_fd, uint8_t *uuid, char* name);
int getPlayerData (int client_fd, PlayerData **output);
PlayerData *getPlayerByName (int start_offset, int end_offset, uint8_t *buffer);
void handlePlayerDisconnect (int client_fd);
void handlePlayerJoin (PlayerData* player);
void disconnectClient (int *client_fd, int cause);