Doc improvements and PAPI version bump

This commit is contained in:
Draycia committed 2020-08-18 06:14:17 -07:00
1 parent 343eba2ee1
commit c7aa0a6317
3 files changed
+14 -9

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ dependencies {
compile 'io.github.leonardosnt:bungeechannelapi:1.0.0-SNAPSHOT'
compile 'io.lettuce:lettuce-core:6.0.0.M1'
compileOnly 'me.clip:placeholderapi:2.10.6'
compileOnly 'me.clip:placeholderapi:2.10.9'
compileOnly 'com.github.TownyAdvanced:Towny:0.96.1.11'
compileOnly 'com.github.MilkBowl:VaultAPI:1.7'
compileOnly 'com.vexsoftware:nuvotifier-universal:2.6.0'
@@ -72,7 +72,7 @@ public final class CarbonChat extends JavaPlugin {
setupListeners();
registerContexts();
PlaceholderAPI.registerExpansion(new CarbonPlaceholders(this));
new CarbonPlaceholders(this).register();
}
@Override
+12 -7
View File
@@ -18,7 +18,7 @@ default:
# Also supports PlaceholderAPI
staff: '<gray>{[%vault_prefix%<gray>]} %player_displayname% <reset><gray>» <color><message>'
default: '<gray>[%vault_prefix%<gray>] %player_displayname%<reset><gray>: <color><message>'
# The plugin will look for matching group in here when choosing which group to use for formatting
# CarbonChat will look for a matching group in the list below when choosing which group to use for formatting.
# If there are no matches, the plugin will fall back to the primary-group-only option.
# It's advised to set this option to [] if you don't want to use this.
format-groups:
@@ -29,8 +29,18 @@ default:
# If set to true, players with the permission carbonchat.group.groupname will count as having
# The group with the name groupname (carbonchat.group.owner will count has having the group owner)
permission-group-matching: false
# If true, plugin will only use the format corresponding to the user's primary group (vault).
# If false, plugin will look through the user's groups and go with the first group with a corresponding format.
primary-group-only: true
# The name of the vault group which should be considered as the default group.
default-group: 'default'
# Contexts are optional settings that modify the way channels behave.
# For information on each contexts option, see the docs here :
# https://github.com/Draycia/Carbon/wiki/Contexts
contexts:
# -1 to disable, 0 to set to world, 1+ to fully enable
# Used to set the range players have to be within to chat to each other
# -1 to disable, 0 to set to world only, 1+ to set the distance.
# EG. distance: 250 would require the players to be within 250 blocks to see each other's messages
distance: -1
# mcmmo-party only works when the CarbonChatMCMMO addon is installed.
# Requires both players to be in the same party to see the message.
@@ -55,11 +65,6 @@ default:
ignorable: true
# Enables/disables cross server chat for this channel
should-bungee: true
# If true, plugin will only use the format corresponding to the user's primary group (vault).
# If false, plugin will look through the user's groups and go with the first group with a corresponding format.
primary-group-only: true
# The name of the vault group which should be considered as the default group.
default-group: 'default'
# For plugin compatibility. If true, all chat messages sent will be "canceled".
# The messages will still go through, however other plugins should assume they didn't.
# As such, setting this on private channels is recommended.