forked from Upstream/Velocitab
Update config file with new sorting key
This commit is contained in:
parent
2afbf38ee1
commit
6c8b1b8147
@ -47,10 +47,10 @@ papi_cache_time: 30000
|
|||||||
enable_miniplaceholders_hook: true
|
enable_miniplaceholders_hook: true
|
||||||
# Whether to sort players in the TAB list.
|
# Whether to sort players in the TAB list.
|
||||||
sort_players: true
|
sort_players: true
|
||||||
# Ordered list of elements by which players should be sorted. (ROLE_WEIGHT, ROLE_NAME and SERVER_NAME are supported)
|
# Ordered list of elements by which players should be sorted. (Correct values are both internal placeholders and, if enabled, PAPI placeholders)
|
||||||
sort_players_by:
|
sorting_placeholders:
|
||||||
- ROLE_WEIGHT
|
- %role_weight%
|
||||||
- ROLE_NAME
|
- %username%
|
||||||
# How often in milliseconds to periodically update the TAB list, including header and footer, for all users.
|
# How often in milliseconds to periodically update the TAB list, including header and footer, for all users.
|
||||||
# If set to 0, TAB will be updated on player join/leave instead. (1s = 1000ms)
|
# If set to 0, TAB will be updated on player join/leave instead. (1s = 1000ms)
|
||||||
update_rate: 0
|
update_rate: 0
|
||||||
|
@ -118,7 +118,7 @@ public class Settings {
|
|||||||
|
|
||||||
@YamlKey("sorting_placeholders")
|
@YamlKey("sorting_placeholders")
|
||||||
@YamlComment("Ordered list of elements by which players should be sorted. " +
|
@YamlComment("Ordered list of elements by which players should be sorted. " +
|
||||||
"(Correct values are both internal placeholders and (if enabled) PAPI placeholders)")
|
"(Correct values are both internal placeholders and, if enabled, PAPI placeholders)")
|
||||||
private List<String> sortingPlaceholders = List.of(
|
private List<String> sortingPlaceholders = List.of(
|
||||||
"%role_weight%",
|
"%role_weight%",
|
||||||
"%username%"
|
"%username%"
|
||||||
|
Loading…
Reference in New Issue
Block a user