⚠️ This is an old repo! This definitely doesn't work due to updates with Gorilla Tag, so adjust accordingly!
2024-09-22.13-16-42.mp4
The "Gorilla Server Stats" mod provides server statistics in the Gorilla Tag game. These stats include details like the lobby code, the number of players, the master client's nickname, the total number of players across all rooms, and the count of tags in the current room.
- Utilla
- BepInEx
- Honeylib
To install this mod, place it in the appropriate BepInEx
plugins folder for Gorilla Tag.
Once in a server room, a # the Forest location will display the following information:
- Lobby Code
- Number of Players in the Room
- Master Client's Nickname
- Total Number of Players across all rooms
- Number of Tags made by the user in the current room
The mod keeps track of the number of tags made by the user during their time in a room.
On game initialization, the mod locates the # the Forest location and prepares it for updating the stats. If the sign isn't found, appropriate errors are logged.
The mod constantly updates the sign with the current server statistics. If the player joins a new room or leaves a room, the mod updates the sign accordingly. If the player tags another player in an Infection game mode, the mod increments the tag count for the player.
Invoked when the script instance is being loaded.
Subscribes to the game initialization and infection tag events.
Finds the # the Forest location and prepares it for displaying stats.
Coroutine that constantly updates the sign with the current server statistics.
Updates the sign with server stats when the mod is enabled.
Resets the sign to its default message when the mod is disabled.
Constantly updates the sign with server statistics.
Updates the sign with server stats when the player joins a room.
Resets the sign to its default message when the player leaves a room.
Updates the tag count and sign when the player tags another player in an Infection game mode.
Make sure to have the required dependencies installed for this mod to function correctly. If you encounter issues or errors, check the game's console for any logs related to the mod.