Search the Community
Showing results for tags 'notifications'.
-
Version 2.0.2
200 downloads
WHAT IS IT FOR? This is a tool that creates temporary notifications on the user's screen, used to facilitate messages between plugins and server users. CONSOLE COMMANDS toastify [toast_id] [player] [message] - to send a toast notification for a specific player toastify.global [toast_id] [message] - to send a toast notification for everyone PERMISSION toastify.use- the permission to access the toastify commands API </> // Send a toast notification for the target player // Returns the ID of the toast to destroy it if necessary // @deprecated string SendToast(BasePlayer player, string toastId, string message, float? duration); // Use this new one instead of the above: string SendToast(BasePlayer player, string toastId, string title, string message, float? duration); // Destroy a toast notification void DestroyToast(BasePlayer player, string toastId); GOOD WAY TO IMPLEMENT If you want to integrate your plugin with Toastify, I recommend that you add an option in the configuration file of your plugin that the user can link their notification ID with the notifications you will use, you can see an example of how this was implemented in the FurnaceUpgrades or TCLevels configuration file. CONFIGURATION The default configuration file of the plugin: SCREENSHOTFree- 3 comments
- 1 review
-
- 5
-
Version 1.0.12
2,874 downloads
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 ConfigFree- 95 comments
- 5 reviews
-
- 8
-
- #notify
- #notifications
- (and 5 more)
-
Version 1.2.12
384 downloads
Filter chat messages by keywords and convert them to notifications. You can configure what messages to exclude in the config file to show as a notification instead. Multiline messages now supported. Use examples Clear chat spam caused by some plugins by moving them from chat area to notification area, players can then actually see each other's messages. Give your players the ability to look back at some of the messages sent by an event plugin for example (which is usually essential for them to complete the event and is usually lost in chat), they can look back at these messages by typing /n, and read what they missed. Highlight your broadcasted messages to players when you use the 'say' command. On PVE servers, you can convert messages sent by players when they call a monument they are looting by adding them to the filters (@bradley, @trainyard, etc..). Chat Commands /n - (Shows list of recently appeared notifications - can be changed in config) /n disable - (Disables notifications for player) /n enable - (Enables back notifications for player) Video (shows an older version) Configuration { "Version": { "Major": 1, "Minor": 2, "Patch": 7 }, "General settings": { "Can filter player messages?": false, "Recent notifications command": "n", "Show time (gametime, servertime, none)": "gametime" }, "Server messages settings - 'say' command": { "Convert all server messages?": false, "Prefix": "[Server]", "Prefix color": "#FFB84C" }, "Notification area settings": { "Time visible (in seconds)": 10, "Max # of notifications visible": 10, "Alternate color 1": "#212741", "Alternate color 2": "#303856", "Opacity": 70.0, "Width": 350.0, "Position (Top, TopLeft, TopRight, Left, Right, Center, Bottom, BottomLeft, BottomRight)": "TopRight", "X axis": 15.0, "Y axis": 15.0, "Single notification settings": { "Height": 20.0, "Font size": 11, "Text alignment (left, right, center)": "center", "Default text color (if not formatted)": "#ffffff" } }, "Recent notifications modal settings": { "Primary color": "#212741", "Secondary color 1": "#18122B", "Secondary color 2": "#303856" }, "Chat partial text to convert to notification": { "[DeathNotes]": { "Shows as? (NotificationOnly | ChatAndNotification | Neither)": "NotificationOnly", "Force Color": false, "Color": "#ffffff", "Enable Regex Formatting": false, "Advanced Formatting - Regex Pattern": "", "Advanced Formatting - Regex Replacement": "" }, "ServerRewards:": { "Shows as? (NotificationOnly | ChatAndNotification | Neither)": "NotificationOnly", "Force Color": false, "Color": "#ffffff", "Enable Regex Formatting": true, "Advanced Formatting - Regex Pattern": "^(ServerRewards:)(\\s)(.*)", "Advanced Formatting - Regex Replacement": "<color=#42C6FF>$3</color>" } }, "Regex filters (Advanced)": { "(Rust Rewards :)": { "Shows as? (NotificationOnly | ChatAndNotification | Neither)": "NotificationOnly", "Force Color": false, "Color": "#ffffff", "Enable Regex Formatting": true, "Advanced Formatting - Regex Pattern": "(Rust Rewards :)(.*)", "Advanced Formatting - Regex Replacement": "<color=#FFE932>[Rust Rewards]</color>$2" } } }$9.99- 48 comments
- 7 reviews
-
- 3
-
Version 1.1.0
3,896 downloads
Checks for updates for all Codefling plugins, and prints to console and, optionally, discord. Reports to console "Codefling has updates for the following plugins.", then lists the names. Config Authors - Each author name has a true/false option to enable/disable checking their plugins. CheckIntervalMinutes - How often the plugin requests updated information from Codefling. DiscordWebhookAddres - Address for your discord server's webhook, for posting updates. Ignore - String array for plugin names to ignore. eg ["one plugin"] or ["multiple", "plugins"]Free- 41 comments
- 2 reviews
-
- 15
-
- #updates
- #steenamaroo
-
(and 5 more)
Tagged with: