mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-27 21:18:30 +00:00
3.5.16. Made hiding of shortened links an option. Added option to disable all FFZ notifications. Fixed deleted links from mods when links are disabled.
This commit is contained in:
parent
56392cd879
commit
3238fbcd68
10 changed files with 230 additions and 66 deletions
|
@ -27,6 +27,16 @@ FFZ.prototype.setup_notifications = function() {
|
|||
// Settings
|
||||
// ---------------------
|
||||
|
||||
FFZ.settings_info.server_messages = {
|
||||
type: "boolean",
|
||||
value: true,
|
||||
|
||||
category: "Appearance",
|
||||
name: "Server Notifications",
|
||||
help: "Display global FrankerFaceZ notifications."
|
||||
};
|
||||
|
||||
|
||||
FFZ.settings_info.highlight_notifications = {
|
||||
type: "boolean",
|
||||
value: false,
|
||||
|
@ -96,6 +106,9 @@ FFZ.settings_info.notification_timeout = {
|
|||
// ---------------------
|
||||
|
||||
FFZ.ws_commands.message = function(message) {
|
||||
if ( ! this.settings.server_messages )
|
||||
return;
|
||||
|
||||
this.show_message(message);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue