Implement stacking prefixes - closes #60

This commit is contained in:
Luck
2017-01-22 18:23:08 +00:00
Unverified
parent 38d1c9974b
commit 292d4cd450
22 changed files with 879 additions and 17 deletions
@@ -22,6 +22,7 @@
package me.lucko.luckperms.bungee;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import me.lucko.luckperms.common.config.AbstractConfiguration;
@@ -42,7 +43,10 @@ import java.util.stream.Collectors;
@RequiredArgsConstructor
public class BungeeConfig extends AbstractConfiguration {
@Getter
private final LPBungeePlugin plugin;
private Configuration configuration;
@SuppressWarnings("ResultOfMethodCallIgnored")
+32
View File
@@ -85,6 +85,38 @@ group-weight:
# +------------------------------------------------------------------------+ #
# | Meta Formatting & Stacking | #
# +------------------------------------------------------------------------+ #
# Allows you to setup prefix/suffix stacking options.
#
# Available formats:
# - highest
# - lowest
# - highest_own
# - lowest_own
# - highest_on_track_<track>
# - lowest_on_track_<track>
#
# Each element is added in the order listed.
meta-formatting:
prefix:
format:
- "highest"
start-spacer: ""
middle-spacer: " "
end-spacer: ""
suffix:
format:
- "highest"
start-spacer: ""
middle-spacer: " "
end-spacer: ""
# +------------------------------------------------------------------------+ #
# | Storage | #
# +------------------------------------------------------------------------+ #