9.3 KiB
9.3 KiB
description
| description |
|---|
| null |
Configuration
This page lists every option in config.yml as the plugin ships it. Each
section shows the option names followed by the shipped defaults.
Note
Options for ranks, promotion, demotion, leaders, member fees and upkeep no longer exist. If you are upgrading from SimpleClans or an older Unions-OG, those keys are ignored and can be deleted.
Safe Civilians
safe-civilians
Example
safe-civilians: false
Tags Format
default-colormax-lengthmin-lengthbracketcolorleftright
separatorcolorchar
Example
tag:
default-color: '8'
max-length: 5
min-length: 2
bracket:
color: '8'
left: ''
right: ''
separator:
color: '8'
char: ' .'
General Settings
enable-guidisable-messagestameable-mobs-sharingteleport-blocksteleport-home-on-spawndrop-items-on-union-homekeep-items-on-union-homeitem-listshow-debug-infoenable-auto-groupschat-compatibility-moderival-limit-percentuse-colorcode-from-prefix-for-nameaccept-other-alphabets-letters-on-tagdisplay-chat-tagsglobal-friendly-fireunrivable-unionsblacklisted-worldsbanned-playersdisallowed-tagslanguageuser-language-selectordisallowed-tag-colorsserver-nameallow-regroup-commandallow-reset-kdrrejoin-cooldownrejoin-cooldown-enabledranking-typelist-default-order-bylore-lengthpast-unions-limitusername-regextag-regexdate-time-patternbungee-servers
Example
settings:
enable-gui: true
disable-messages: false
tameable-mobs-sharing: false
teleport-blocks: false
teleport-home-on-spawn: false
drop-items-on-union-home: false
keep-items-on-union-home: false
item-list: []
show-debug-info: false
enable-auto-groups: false
chat-compatibility-mode: true
rival-limit-percent: 50
use-colorcode-from-prefix-for-name: true
accept-other-alphabets-letters-on-tag: false
display-chat-tags: true
global-friendly-fire: false
unrivable-unions:
- admin
- staff
- mod
blacklisted-worlds: []
banned-players: []
disallowed-tags:
- vip
- union
language: en
user-language-selector: true
disallowed-tag-colors:
- '4'
- 'k'
server-name: '&4Unions-OG'
allow-regroup-command: true
allow-reset-kdr: false
rejoin-cooldown: 60
rejoin-cooldown-enabled: false
ranking-type: "DENSE"
list-default-order-by: size
lore-length: 36
past-unions-limit: 10
username-regex: '(\.|\*){0,1}[a-zA-Z0-9_$]{1,16}'
tag-regex: ''
date-time-pattern: 'HH:mm - dd/MM/yyyy'
bungee-servers: []
War and Protection
war-enabledland-sharingprotection-providerslistenerspriorityignored-listPLACEBREAK
set-base-only-in-landwar-normal-expiration-timewar-disconnect-expiration-timeedit-all-landsland-creationonly-one-per-union
war-actionsCONTAINERINTERACTBREAKPLACEDAMAGEINTERACT_ENTITY
war-startmembers-online-max-difference
Example
war-and-protection:
war-enabled: false
land-sharing: true
protection-providers:
- WorldGuardProvider
- GriefPreventionProvider
listeners:
priority: HIGHEST
ignored-list:
PLACE:
- "PLAYER_HEAD"
BREAK:
- "EMERALD_BLOCK"
set-base-only-in-land: false
war-normal-expiration-time: 0
war-disconnect-expiration-time: 0
edit-all-lands: false
land-creation:
only-one-per-union: false
war-actions:
CONTAINER: true
INTERACT: true
BREAK: true
PLACE: true
DAMAGE: true
INTERACT_ENTITY: true
war-start:
members-online-max-difference: 5
KDR Grinding Prevention
enable-max-killsmax-kills-per-victimenable-kill-delaydelay-between-kills
Example
kdr-grinding-prevention:
enable-max-kills: false
max-kills-per-victim: 10
enable-kill-delay: false
delay-between-kills: 5
General Commands
moreallyunionacceptdenyglobalunion_chatforce-priority
Example
commands:
more: more
ally: ally
union: union
accept: accept
deny: deny
global: global
union_chat: u
force-priority: true
Economy
creation-pricepurchase-union-createinvite-pricepurchase-union-invitehome-teleport-pricepurchase-home-teleporthome-teleport-set-pricepurchase-home-teleport-sethome-regroup-pricepurchase-home-regroupunique-tax-on-regroupissuer-pays-regroupbank-logenable
Example
economy:
creation-price: 100.0
purchase-union-create: false
invite-price: 20.0
purchase-union-invite: false
home-teleport-price: 5.0
purchase-home-teleport: false
home-teleport-set-price: 5.0
purchase-home-teleport-set: false
home-regroup-price: 5.0
purchase-home-regroup: false
unique-tax-on-regroup: true
issuer-pays-regroup: true
bank-log:
enable: true
Kill Weights
rivalcivilianneutralallydeny-same-ip-kills
Example
kill-weights:
rival: 2.0
civilian: 0.0
neutral: 1.0
ally: -1.0
deny-same-ip-kills: false
Union Settings
homebase-teleport-wait-secshomebase-can-be-set-only-oncemin-size-to-set-rivalmax-lengthmax-description-lengthmin-description-lengthmax-memberstrust-members-by-defaultff-on-by-defaultmin-lengthmax-alliancesmin-size-to-set-ally
Example
union:
homebase-teleport-wait-secs: 5
homebase-can-be-set-only-once: true
min-size-to-set-rival: 3
max-length: 25
max-description-length: 120
min-description-length: 10
max-members: 25
trust-members-by-default: true
ff-on-by-default: false
min-length: 2
max-alliances: -1
min-size-to-set-ally: 3
Page
untrusted-colorunion-name-colorsubtitle-colorheadings-colortrusted-colorseparatorsizehelp-size
Example
page:
untrusted-color: '8'
union-name-color: b
subtitle-color: '7'
headings-color: '8'
trusted-color: f
separator: '-'
size: 100
help-size: 10
Union Chat
enabletag-based-union-chatannouncement-colorformatspy-formattrusted-colormember-colorlistener-priority
Example
unionchat:
enable: true
tag-based-union-chat: false
announcement-color: e
format: "&b[%union%&b] &4<%nick-color%%player%&4>: &b%message%"
spy-format: "&8[Spy] [&bC&8] <%clean-tag%&8> <%nick-color%*&8%player%>&8: %message%"
trusted-color: 'f'
member-color: '7'
listener-priority: LOW
Request
message-colorask-frequency-secsmax-asks-per-request
Example
request:
message-color: b
ask-frequency-secs: 60
max-asks-per-request: 1440
Bulletin Board
prefixshow-on-loginsizelogin-size
Example
bb:
prefix: "&8* &e"
show-on-login: false
size: 6
login-size: 6
Ally Chat
enableformatspy-formattrusted-colormember-color
Example
allychat:
enable: true
format: "&b[Ally Chat] &4<%union%&4> <%nick-color%%player%&4>: &b%message%"
spy-format: "&8[Spy] [&cA&8] <%clean-tag%&8> <%nick-color%*&8%player%>&8: %message%"
trusted-color: 'f'
member-color: '7'
Discord Chat
enableauto-creationdiscord-formatformatspy-formatmin-linked-players-to-createtextcategory-formatcategory-idswhitelistunions-limit
Example
discordchat:
enable: false
auto-creation: true
discord-format: "%player% » %message%"
format: "&b[&9D&b] &b[%union%&b] &4<%nick-color%%player%&4>: &b%message%"
spy-format: "&8[Spy] [&9D&8] <%clean-tag%&8> <%nick-color%*&8%player%>&8: %message%"
min-linked-players-to-create: 3
text:
category-format: "SC - TextChannels"
category-ids: []
whitelist: []
unions-limit: 100
mySQL Settings
usernamehostportenablepassworddatabasetable_prefixmigrate-legacy-unions-database
Example
mysql:
username: '^{MARIADB_USER}'
host: localhost
port: 3306
enable: true
password: '^{MARIADB_PASSWORD}'
database: 'unions'
table_prefix: 'sc_'
# One-time, source-read-only import from the legacy unions schema.
# The <table_prefix>clans, <table_prefix>players, and <table_prefix>kills
# destination tables must be empty and use InnoDB.
migrate-legacy-unions-database: false
Permissions
auto-group-groupnameYourClanNameHere
Example
permissions:
auto-group-groupname: false
YourClanNameHere:
- test.permission
Performance
save-periodicallysave-intervaluse-threadsuse-bungeecord
Example
performance:
save-periodically: true
save-interval: 10
use-threads: true
use-bungeecord: false