mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 22:15:37 +00:00
Add channel use permissions
This commit is contained in:
1 parent
8382ca5d7e
commit
938f857b86
2 files changed
+4
-3
No files matched your search
@@ -10,6 +10,7 @@ import org.bukkit.Bukkit;
|
|||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
@CommandAlias("ch|channel|switch")
|
@CommandAlias("ch|channel|switch")
|
||||||
|
@CommandPermission("simplechat.use.switch")
|
||||||
public class ChannelCommand extends BaseCommand {
|
public class ChannelCommand extends BaseCommand {
|
||||||
|
|
||||||
private SimpleChat simpleChat;
|
private SimpleChat simpleChat;
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ channels:
|
|||||||
staff: '<gray>{[%deluxetags_tag%<gray>]} %player_displayname% <gray>» <white><message>'
|
staff: '<gray>{[%deluxetags_tag%<gray>]} %player_displayname% <gray>» <white><message>'
|
||||||
default: '<gray>[%deluxetags_tag%<gray>] %player_displayname%<gray>: <white><message>'
|
default: '<gray>[%deluxetags_tag%<gray>] %player_displayname%<gray>: <white><message>'
|
||||||
webhook: 'URL_HERE' # Comment out / remove to disable webhook
|
webhook: 'URL_HERE' # Comment out / remove to disable webhook
|
||||||
color: WHITE
|
color: WHITE # Removing this option defaults to 'WHITE'
|
||||||
default: true
|
default: true # Removing this option defaults to 'false'
|
||||||
ignorable: true
|
ignorable: true # Removing this option defaults to 'true'
|
||||||
distance: -1 # Set to -1, comment out, or remove to disable distance checking
|
distance: -1 # Set to -1, comment out, or remove to disable distance checking
|
||||||
|
|
||||||
bot-token: -1
|
bot-token: -1
|
||||||
|
|||||||
Reference in new issue
Block a user