About Notify
Custom notifications
Commands
- notify.show [type] [message]
- notify.player [steamid] [type] [message]
- notify.allplayers [type] [message]
Permissions
-
You can set permission in config, for example:
"Permission (example: notify.use)": "notify.use",
- notify.see – So a player can see notifications
- notify.notify – So an admin/moderator can see how it looks before sending it
- notify.player – Send notification to specific player (they need the notify.see permission)
- notify.allplayer – Send notification to all players (they need the notify.see permission)
API
private void SendNotify(string userId, int type, string message)
private void SendNotify(ulong userId, int type, string message)
private void SendNotify(BasePlayer player, int type, string message)
Config Examples