mirror of
https://github.com/plexusorg/Plex.git
synced 2026-06-04 13:36:55 +00:00
Add a toggle option for toggling chat (#89)
* Add moderated mode toggle option * Add new messages to messages.yml for modmode toggle * Add block_on_modmode list for commands to block, should be separate from block_on_mute so pms can still work * Implement the restricted chat toggle * Add the restricted chat toggle to the toggle gui * Add the restricted chat toggle to the consoles version of the command as well * Update toggles.yml / requested changes * Update messages.yml / requested changes * Update commands.yml / requested changes * Update ToggleMenu.java / requested changes * Update TogglesListener.java / requested changes * Update ToggleCMD.java / requested changes * Update messages.yml / requested changes * Update ToggleMenu.java / requested changes * Update ToggleCMD.java / requested changes
This commit is contained in:
@@ -54,10 +54,10 @@ commands:
|
||||
- "r:a:^(co|core|coreprotect) (rb|rollback|l|lookup|rl|reload):_"
|
||||
- "r:e:^[A-z]*:[A-z]*::<gray>Plugin specific commands are disabled."
|
||||
|
||||
# These commands will be blocked when a player is muted
|
||||
# These commands will be blocked when a player is muted or when chat is toggled off.
|
||||
block_on_mute:
|
||||
- me
|
||||
- say
|
||||
- msg
|
||||
- reply
|
||||
- mail
|
||||
- mail
|
||||
|
||||
@@ -110,6 +110,10 @@ playerFrozen: "<red>That player is already frozen!"
|
||||
playerMuted: "<red>That player is already muted!"
|
||||
playerLockedUp: "<red>That player is already locked up!"
|
||||
muted: "<red>You are currently muted - STFU!"
|
||||
chatIsOff: "<red>Chat is currently toggled off!"
|
||||
# 0 - The command sender
|
||||
# 1 - The set value of the chat toggle
|
||||
chatToggled: "<red>{0} - Toggled chat {1}"
|
||||
# 0 - The command sender
|
||||
# 1 - The player
|
||||
kickedPlayer: "<red>{0} - Kicking {1}"
|
||||
|
||||
@@ -10,4 +10,7 @@ fluidspread: true
|
||||
drops: true
|
||||
|
||||
# Should redstone be enabled?
|
||||
redstone: true
|
||||
redstone: true
|
||||
|
||||
# Is chat enabled?
|
||||
chat: true
|
||||
|
||||
Reference in New Issue
Block a user