GameMessageLib
A developer library for ROUNDS mods. Provides a simple in-game toast notification system — Info, Success, Warning, Error messages that slide in from the top.
About this mod Author’s original text
GameMessageLib
A developer utility mod for ROUNDS. Provides a simple in-game toast notification system that any mod can use.
Messages appear at the top-center of the screen, slide in smoothly, hold for a configurable duration, and fade out. Multiple messages stack vertically with automatic repositioning.
For Players
This is a library mod — it does nothing on its own. Install it if another mod requires it as a dependency.
For Developers
- Add the dependency
In your plugin class:
[BepInDependency("com.rounds.gamemessagelib", BepInDependency.DependencyFlags.HardDependency)]
public class MyPlugin: BaseUnityPlugin {... }
- Add the using directive
using GameMessageLib;
- Show messages
// Convenience methods
GameMessage.Info("Hello world");
GameMessage.Success("Card data loaded (42 cards)");
GameMessage.Warn("Using cached data");
GameMessage.Error("Connection failed");
// Full control
GameMessage.Show("Custom message", MessageType.Warning, duration: 5f);
MessageType values
| Value | Color |
|-------|-------|
| MessageType.Info | Blue text, dark blue background |
| MessageType.Success | Green text, dark green background |
| MessageType.Warning | Yellow text, dark amber background |
| MessageType.Error | Red text, dark red background |
Default duration
5 seconds. Override via the duration parameter.
Feedback
Reach out on Telegram.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: