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.
By bellusfennec
| Last updated | a day ago |
| Total downloads | 372 |
| Total rating | 0 |
| Categories | Server-side Visual Effects Utilities |
| Dependency string | bellusfennec-GameMessageLib-1.0.0 |
| Dependants | 1 other package depends on this package |
This mod requires the following mods to function
BepInEx-BepInExPack_ROUNDS
BepInEx pack for ROUNDS. Preconfigured and ready to use.
Preferred version: 5.4.1100README
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
1. Add the dependency
In your plugin class:
[BepInDependency("com.rounds.gamemessagelib", BepInDependency.DependencyFlags.HardDependency)]
public class MyPlugin : BaseUnityPlugin { ... }
2. Add the using directive
using GameMessageLib;
3. 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.