config.yml
This is a preview of the entire config.yml file.
LICENSE-KEY: "LICENSE KEY" #Create a ticket in the discord @ https://discord.gg/pB9Z6TrwvS
upgrade_version: 1.3 #do not change this
#applicable types - "MySQL"
storage-method: "MySQL"
database:
mysql:
host: "host"
port: 3306
database: "database"
username: "username"
password: "password"
settings:
auto_update: false
debug_mode: false
hooks:
edprison: true
xprison: false
mythicmobs: true
zkoth: false
axkoth: true
kixchatgames: false
gang:
sort-gang-top: 'points' #what should the leaderboard be ordered by? (available options: level,coins,bankBalance,kills,deaths,blocksbroken,points)
#how often should gang data be backed up?
save-interval: 10 #time in minutes
enable-relation-colour-in-gang-top: true
enable-relation-colour-in-tournament: true
leaderboard-interval: 15 #time in minutes for the leaderboard to be updated
use-disband-gui: true
list-gangs-per-page: 5 #how many gangs are displayed per page for /g list
name_regex: '^[a-zA-Z0-9]+$' #so gang names can only be numbers and letters, change this at ur own risk
#v1 will use /g levelup and the levels defined in "levels",
#v2 will use the levels defined in "levels-v2" and won't have levelup commands.
level-system: 'v2'
use-level-gui: false
enable_commands:
invsee: true
alert: true
economy: false #/gang bank, deposit, withdraw
boosts: true
quests: true #disables quests completely
shop: true
title: true
vault: true
leaderboard_formats:
1: '&e&l#1'
2: '&7&l#2'
3: '&6&l#3'
DEFAULT: '&a#%position%'
blacklisted_names: #applies to gang name, don't remove none or this will break stuff
- nigger
- fuck
- shit
- cunt
- dickhead
- None
- none
blacklisted_words: #applies to gang description
- nigger
- fuck
- shit
- cunt
- n11ga
player_actions: #should GangsX globally broadcast these actions?
join_gang: true
leave_gang: true
kicked_from_gang: true
leader_changed: true
disband_gang: true
rename_gang: true
command_cooldowns: #time in seconds
alert: 15
rename: 300
announce_join_leave:
join:
enabled: true
message: '&f[&bGangsX&f] &e%player% &fis now &aonline&f.'
leave:
enabled: true
message: '&f[&bGangsX&f] &e%player% &fis now &coffline&f.'
roles:
prefixes: #used for allychat
leader: '&8[&4Leader&8]'
co-leader: '&8[&dCo-Leader&8]'
mod: '&8[&cMod&8]'
member: '&8[&aMember&8]'
recruit: '&8[&7Recruit&8]'
icons: #displayed in gang info and used for the %roleicon% placeholder
leader: '&4👑 '
co-leader: '&5💼 '
mod: '&2🛠 '
member: '&f🧍 '
recruit: '&7👁 '
name_min_length: 3
name_max_length: 16
title_min_length: 3
title_max_length: 24
description_min_length: 3
description_max_length: 50
vault:
name: '&8Gang Vault'
default_rows: 1
bank:
#Should we limit the amount that gangs can store inside the gang bank?
#NOTE: this value shouldn't be below the minimum upgrade value or above the maximum upgrade value
limit_enabled: false
limit: 1000000000000
maximum_level: 10
maximum_level_reached_broadcast: #will broadcast the message when the gang reaches the level defined in gang.maximum_level
enabled: true
message:
- '&f[&bGangsX&f] &b%gang% &fhas just reached Gang Level %level%!'
default_description: 'No description set :('
ally_chat_format: "&f[&dAlly-Chat&f] &7(%gang%) &f%icon%%player%: &d%message%"
chat_format: "&f[&bGang-Chat&f] &f%title%&r&f%icon%%player%: &b%message%" #can also use %role%
social_spy_format: "&f[&cGang-Spy&f] &7(%gang%) &f%title%&r&f%icon%%player%: &c%message%"
ally_spy_format: "&f[&5Ally-Spy&f] &7(%gang%) &f%icon%%player%: &5%message%"
social_spy_include_ally_chat: false
default_permissions:
BANK_DEPOSIT: 'MOD'
BANK_WITHDRAW: 'MOD'
CHANGE_DESCRIPTION: 'MOD'
MANAGE_RELATIONS: 'CO_LEADER'
LEVELUP: 'CO_LEADER'
PROMOTE: 'CO_LEADER'
DEMOTE: 'CO_LEADER'
MANAGE_FRIENDLY_FIRE: 'LEADER'
KICK: 'CO_LEADER'
RENAME_GANG: 'LEADER'
SHOP: 'MOD'
INVSEE: 'MEMBER'
INVITE: 'CO_LEADER'
GANG_CHAT: 'RECRUIT'
ALLY_CHAT: 'RECRUIT'
ALERT: 'RECRUIT'
OWN_TITLE: 'RECRUIT'
MANAGE_TITLES: 'MOD'
MANAGE_PERMISSIONS: 'CO_LEADER'
VAULT: 'MEMBER'
boosts:
tokens:
0:
multiplier: 0.0
cost: 0
cost_currency: 'tokens' #dont remove level 0
1:
multiplier: 1.0
cost: 10000000
cost_currency: 'tokens' #supports edprison currency & coins / bankbalance
2:
multiplier: 2.0
cost: 50000000
cost_currency: 'tokens'
3:
multiplier: 3.0
cost: 100000000
cost_currency: 'tokens'
4:
multiplier: 4.0
cost: 1000000000
cost_currency: 'tokens'
5:
multiplier: 10.0
cost: 100000000
cost_currency: 'tokens'
gems:
0:
multiplier: 0.0
cost: 0
cost_currency: 'gems' #dont remove level 0
1:
multiplier: 1.0
cost: 10000000
cost_currency: 'gems'
2:
multiplier: 5.0
cost: 50000000
cost_currency: 'gems'
3:
multiplier: 10.0
cost: 100000000
cost_currency: 'gems'
default_upgrades:
member_limit: 3
bank_limit: 15000000
coin_multiplier: 0
shop_discount: 0
coloured_description: 0 #0 = false, 1 = true
max_allies: 1
multiplier: 0
vault: 0 #0 = false, 1 = true
#these are the arguments used in /gadmin setupgrade <gang> <upgrade> <value>
#EXAMPLE: /gadmin setupgrade examplegang member_limit 5 - sets the gang member limit to 5 for the gang "examplegang"
#NOTE: for coloured_description, the value must be 0 or 1, setting to 1 will allow access, 0 will deny access
levels-v2:
limit: 100
starting-requirement: 1000
increase-requirement-by: 1000
rewards:
for-each:
message:
enabled: true
message:
- ''
- '&a&lGang Levelup &8- &e&lLevel %level%'
- '&fCongrats on leveling up :-)'
- ''
commands:
enabled: true
commands:
- 'gadmin addstat %gang% coins 5'
for-specific:
'10':
message:
enabled: true
message:
- ''
- '&a&lGang Levelup &8- &d&lLevel %level%'
- '&fCongrats on leveling up :-)'
- ''
commands:
enabled: true
commands:
- 'gadmin addstat %gang% coins 5'
levels:
2:
requirements: #u can use any gang stat as a requirement (playerkills, points, blocksmined, bankbalance, kothwins, blocksplaced, tokensgained)
blocksmined: 1000
blocksplaced: 0
playerkills: 5
bankbalance: 0
points: 0
kothwins: 0
requirements_message:
- ''
- '&c&lGang Levelup Failure'
- '&fYou need the following for this level:'
- ''
- '&c&l | &fBlocks Mined: &c1k'
- '&c&l | &fPlayer Kills: &c5'
- ''
sound: 'ENTITY_PLAYER_LEVELUP' # Set to NONE and it will disable the sound
levelup_commands:
- 'gadmin addstat %gang% coins 5'
levelup_message:
- ''
- '&a&lGang Levelup &8- &5&lLevel 2'
- '&fCongrats on leveling up, you have unlocked:'
- ''
- '&d&l | &f10x Gang Coins'
- ''
3:
requirements:
blocksmined: 25000
blocksplaced: 0
playerkills: 25
bankbalance: 0
points: 0
kothwins: 0
requirements_message:
- ''
- '&c&lGang Levelup Failure'
- '&fYou need the following for this level:'
- ''
- '&c&l | &fBlocks Mined: &c25k'
- '&c&l | &fPlayer Kills: &c25'
- ''
sound: 'ENTITY_PLAYER_LEVELUP'
levelup_commands:
- 'gadmin setupgrade %gang% member_limit 4'
- 'gadmin addstat %gang% coins 15'
levelup_message:
- ''
- '&a&lGang Levelup &8- &3&lLevel 3'
- '&fCongrats on leveling up, you have unlocked:'
- ''
- '&b&l | &f4x Member Limit'
- '&b&l | &f15x Gang Coins'
- ''
4:
requirements:
blocksmined: 150000
blocksplaced: 0
playerkills: 100
bankbalance: 0
points: 50
kothwins: 0
requirements_message:
- ''
- '&c&lGang Levelup Failure'
- '&fYou need the following for this level:'
- ''
- '&c&l | &fBlocks Mined: &c150k'
- '&c&l | &fPlayer Kills: &c150'
- '&c&l | &fGang Points: &c50'
- ''
sound: 'ENTITY_PLAYER_LEVELUP'
levelup_commands:
- 'gadmin setupgrade %gang% coloured_description 1'
- 'gadmin addstat %gang% coins 15'
- 'gadmin addstat %gang% points 10'
levelup_message:
- ''
- '&a&lGang Levelup &8- &6&lLevel 4'
- '&fCongrats on leveling up, you have unlocked:'
- ''
- '&e&l | &cC&6o&el&ao&3u&9r&5e&cd &fGang Description'
- '&e&l | &f15x Gang Coins'
- '&e&l | &f10x Gang Points'
- ''
5:
requirements:
blocksmined: 350000
blocksplaced: 0
playerkills: 250
bankbalance: 0
points: 100
kothwins: 0
requirements_message:
- ''
- '&c&lGang Levelup Failure'
- '&fYou need the following for this level:'
- ''
- '&c&l | &fBlocks Mined: &c350k'
- '&c&l | &fPlayer Kills: &c250'
- '&c&l | &fGang Points: &c100'
- ''
sound: 'ENTITY_PLAYER_LEVELUP'
levelup_commands:
- 'gadmin setupgrade %gang% shop_discount 5'
- 'gadmin addstat %gang% coins 20'
- 'gadmin addstat %gang% points 10'
levelup_message:
- ''
- '&a&lGang Levelup &8- &6&lLevel 5'
- '&fCongrats on leveling up, you have unlocked:'
- ''
- '&e&l | &f5% Gang Shop Discount'
- '&e&l | &f20x Gang Coins'
- '&e&l | &f10x Gang Points'
- ''
6:
requirements:
blocksmined: 750000
blocksplaced: 0
playerkills: 350
bankbalance: 0
points: 200
kothwins: 0
requirements_message:
- ''
- '&c&lGang Levelup Failure'
- '&fYou need the following for this level:'
- ''
- '&c&l | &fBlocks Mined: &c750k'
- '&c&l | &fPlayer Kills: &c350'
- '&c&l | &fGang Points: &c200'
- ''
sound: 'ENTITY_PLAYER_LEVELUP'
levelup_commands:
- 'gadmin setupgrade %gang% member_limit 5'
- 'gadmin addstat %gang% coins 15'
- 'gadmin addstat %gang% points 10'
levelup_message:
- ''
- '&a&lGang Levelup &8- &6&lLevel 6'
- '&fCongrats on leveling up, you have unlocked:'
- ''
- '&e&l | &f5x Member Limit'
- '&e&l | &f15x Gang Coins'
- '&e&l | &f10x Gang Points'
- ''
7:
requirements:
blocksmined: 1500000
blocksplaced: 0
playerkills: 500
bankbalance: 0
points: 0
kothwins: 0
requirements_message:
- ''
- '&c&lGang Levelup Failure'
- '&fYou need the following for this level:'
- ''
- '&c&l | &fBlocks Mined: &c1.5M'
- '&c&l | &fPlayer Kills: &c500'
- ''
sound: 'ENTITY_PLAYER_LEVELUP'
levelup_commands:
- 'gadmin setupgrade %gang% max_allies 2'
- 'gadmin addstat %gang% coins 35'
- 'gadmin addstat %gang% points 15'
levelup_message:
- ''
- '&a&lGang Levelup &8- &6&lLevel 7'
- '&fCongrats on leveling up, you have unlocked:'
- ''
- '&e&l | &f2x Ally Limit'
- '&e&l | &f35x Gang Coins'
- '&e&l | &f15x Gang Points'
- ''
8:
requirements:
blocksmined: 2000000
blocksplaced: 0
playerkills: 750
bankbalance: 0
points: 250
kothwins: 0
requirements_message:
- ''
- '&c&lGang Levelup Failure'
- '&fYou need the following for this level:'
- ''
- '&c&l | &fBlocks Mined: &c2M'
- '&c&l | &fPlayer Kills: &c750'
- '&c&l | &fGang Points: &c250'
- ''
sound: 'ENTITY_PLAYER_LEVELUP'
levelup_commands:
- 'gadmin setupgrade %gang% member_limit 5'
- 'gadmin addstat %gang% coins 30'
- 'gadmin addstat %gang% points 20'
levelup_message:
- ''
- '&a&lGang Levelup &8- &6&lLevel 8'
- '&fCongrats on leveling up, you have unlocked:'
- ''
- '&e&l | &f5x Member Limit'
- '&e&l | &f30x Gang Coins'
- '&e&l | &f20x Gang Points'
- ''
9:
requirements:
blocksmined: 2500000
blocksplaced: 0
playerkills: 1000
bankbalance: 0
points: 0
kothwins: 0
requirements_message:
- ''
- '&c&lGang Levelup Failure'
- '&fYou need the following for this level:'
- ''
- '&c&l | &fBlocks Mined: &c2.5M'
- '&c&l | &fPlayer Kills: &c1k'
- ''
sound: 'ENTITY_PLAYER_LEVELUP'
levelup_commands:
- 'gadmin setupgrade %gang% coin_multiplier 5'
- 'gadmin addstat %gang% coins 35'
- 'gadmin addstat %gang% points 25'
levelup_message:
- ''
- '&a&lGang Levelup &8- &6&lLevel 9'
- '&fCongrats on leveling up, you have unlocked:'
- ''
- '&e&l | &f5% Coin Multiplier'
- '&e&l | &f30x Gang Coins'
- '&e&l | &f20x Gang Points'
- ''
10:
requirements:
blocksmined: 3500000
blocksplaced: 0
playerkills: 2500
bankbalance: 0
points: 350
kothwins: 0
requirements_message:
- ''
- '&c&lGang Levelup Failure'
- '&fYou need the following for this level:'
- ''
- '&c&l | &fBlocks Mined: &c3.5M'
- '&c&l | &fPlayer Kills: &c2.5k'
- ''
sound: 'ENTITY_PLAYER_LEVELUP'
levelup_commands:
- 'gadmin setupgrade %gang% max_allies 3'
- 'gadmin setupgrade %gang% member_limit 6'
- 'gadmin addstat %gang% coins 100'
- 'gadmin addstat %gang% points 50'
levelup_message:
- ''
- '&a&lGang Levelup &8- &6&lLevel 10'
- '&fCongrats on leveling up, you have unlocked:'
- ''
- '&e&l | &f3x Gang Allies'
- '&e&l | &f6x Member Limit'
- '&e&l | &f100x Gang Coins'
- '&e&l | &f50x Gang Points'
- ''
milestones_rewards:
blocksmined:
25000:
sound: 'ENTITY_PLAYER_LEVELUP' # Set to NONE and it will disable the sound
commands:
- 'gadmin addstat %gang% points 5'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eMining Milestone #1 &fand received:'
- '&b&l • &f5x Gang Points'
- ''
75000:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eMining Milestone #2 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
250000:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eMining Milestone #3 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
500000:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eMining Milestone #4 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
750000:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eMining Milestone #5 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
1000000:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eMining Milestone #6 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
2000000:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eMining Milestone #7 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
3000000:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eMining Milestone #8 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
4000000:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eMining Milestone #9 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
5000000:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eMining Milestone #10 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
kills:
25:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eKills Milestone #1 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
50:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eKills Milestone #2 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
100:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eKills Milestone #3 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
250:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eKills Milestone #4 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
1000:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eKills Milestone #5 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
1500:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eKills Milestone #6 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
3000:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eKills Milestone #7 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
3750:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eKills Milestone #8 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
4250:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eKills Milestone #9 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
5000:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eKills Milestone #10 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
blocksplaced:
10000:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eBuilder Milestone #1 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
mobkills:
10000:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eButcher Milestone #1 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
bosskills:
100:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eMastery Milestone #1 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
kothwins:
1:
sound: 'ENTITY_PLAYER_LEVELUP'
commands:
- 'gadmin addstat %gang% points 10'
message:
- ''
- '&a&lGang Milestone Complete'
- '&fYour gang completed &eKoTH Milestone #1 &fand received:'
- '&b&l • &f10x Gang Points'
- ''
Last updated