Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #config.yml version 1.3.0-SNAPSHOT
- database:
- #Database backend, can be set to mysql or sqlite
- backend: sqlite
- #MySQL database host
- mySQLHost: localhost
- #MySQL connection port number
- mySQLPort: 3306
- #MySQL database name
- mySQLDatabase: db
- #MySQL database user
- mySQLUser: root
- #MySQL user's password
- mySQLPassword: ""
- #Alliances table name
- alliancesTable: "alliances"
- #Gangs table name
- gangsTable: "gangs"
- #Homes table name
- homesTable: "homes"
- #Invitations table name
- invitationsTable: "invitations"
- #players table name
- playersTable: "players"
- modules:
- #Enable homes?
- homes: true
- #Enable fights?
- fights: true
- #Enable gang chat?
- gangChat: true
- #Enable gang bank accounts?
- gangBank: true
- #Enable alliances?
- alliances: true
- settings:
- broadcast:
- #Choose if certain actions should be broadcasted
- gangCreate: true
- gangDisband: true
- gangDisbandByAdmin: true
- gangJoin: true
- gangLeave: true
- gangKick: true
- gangLevelUp: true
- fightStart: true
- fightEnd: true
- cooldowns:
- #Cooldowns before teleports, set to 0 to disable
- home: 5
- fightJoin: 0
- #Toggle debug mode
- debug: false
- #Choose how messages will be broadcasted. Valid values are message/title/subtitle
- broadcastType: message
- #Gang name regex, don't change it unless you know how it works
- allowedNameCharacters: '[^a-zA-Z0-9\\ ]'
- #Choose if spaces are allowed in gang name
- allowSpaces: false
- #Minimal gang name length
- minGangNameLength: 3
- #Maximal gang name length
- maxGangNameLength: 32
- #Maximal gang level
- maxGangLevel: 5
- #If set to true gang names in chat will be different for each level (customGangNameFormats config section)
- useCustomGangNames: true
- #If value above set to false this format will be applied for each gang regardless of it's level
- defaultGangNameFormat: '&f[$gang]'
- #If set to true maximal gang members amount will be different for each level (maxMembers config section)
- useCustomMaxMembers: true
- #If value above set to false this max members amount will be applied for each gang regardless of it's level
- defaultMaxMembers: 5
- #If set to true maximal homes amount will be different for each level (maxHomes config section)
- useCustomMaxHomes: true
- #If value above set to false this max homes amount will be applied for each gang regardless of it's level
- defaultMaxHomes: 1
- #Format of messages sent to gang members. Use $gang for gangs name and $message for the message text
- inGangMsgFormat: "&b$gang > &7$message"
- #Format of messages sent to players present in certain fight arena. Use $message for the message text
- inArenaMsgFormat: "&3Fight > &7$message"
- #Choose if friendly fire is disabled or enabled
- friendlyFire: true
- #Choose if gang leaders are able to toggle on/off friendly fire (if value above set to false they still won't be able)
- friendlyFireTogglableByLeader: true
- #Choose if kills and deaths should be counted only during gang fights
- countKillsDeathsOnlyDuringFights: false
- #If set to true plugin will log all damage given by player (including arrows and snowballs thrown by player) and count the kill even if player dies naturally (but not later than 5 minutes from the last damage), if set to false it will log only kills when player is killed directly by other player
- advancedKillTracking: true
- #If set to false players won't be able to move from the beginning location until fight starts
- freezeBeforeFightStart: true
- #Delay in seconds before fight starts, players can join then so recommended value is higher than 5
- delayBeforeFightStart: 30
- #Minimal players amount that can be chosen when challenging other gang for a fight
- minFightMembersAmount: 1
- #Maximal players amount that can be chosen when challenging other gang for a fight
- maxFightMembersAmount: 5
- #Minimal entry fee that can be chosen when challenging other gang for a fight
- minFightMoneyAmount: 100
- #Maximal entry fee that can be chosen when challenging other gang for a fight
- maxFightMoneyAmount: 1000000
- #Show gang's balance to other players (even those who aren't members of that gang)? Players with gangsplus.checkbalance will be still able to see it.
- showGangBalanceToOthers: false
- #How many gangs should be shown on the gangs list per page
- gangsPerPage: 10
- #Enable fight time limit?
- enableFightTimeLimit: true
- #After that time (in seconds) fight will end with no winner and loser if enableFightTimeLimit set to true.
- fightTimeLimit: 300
- #Highlight online players (from player's gang) names?
- showOnlinePlayers: true
- #Highlight online players (from all gangs) names?
- showOnlinePlayersInAllGangs: false
- #Format of online player's name, $name will be replaced with player's nickname
- onlinePlayerNameFormat: "&a$player&b"
- #Delay in seconds before players get teleported out of arena after winning a fight
- delayBeforeTeleport: 15
- #Custom gang name formats shown on chat depending on it's level. Format is LEVEL:FORMAT, use $gang for gang's name.
- customGangNameFormats:
- 1: '&a[$gang] &f'
- 2: '&b[$gang] &f'
- 3: '&6&l[$gang] &f'
- prices:
- #Gang's creation price
- create: 1000000
- #Level up price from each level. Format is FROMLEVEL:PRICE
- levelup:
- 1: 100000
- 2: 300000
- 3: 500000
- #Custom maximal members amount depending on it's level. Format is LEVEL:AMOUNT
- maxMembers:
- 1: 5
- 2: 10
- 3: 20
- #Custom homes members amount depending on it's level. Format is LEVEL:AMOUNT
- maxHomes:
- 1: 1
- 2: 5
- 3: 20
- #Players won't be able to set gang homes in these worlds
- disableHomesInWorlds:
- - world_nether
- #Players without gangsplus.fightcommands won't be able to use these commands during fights
- disabledCommandsDuringFight:
- - /espawn
- - /spawn
- - /tpa
- - /etpa
- #Player won't be able to create gangs with names containing following words/phrases
- bannedNames:
- - ass
- - noob
- #Rewards for upgrading the gang to higher level. Following commands will be executed for every online gang member.
- #Placeholders:
- #{PLAYER} - will be replaced with name of each of online gang members
- #{GANG} - will be replaced with gang name
- #{LEVEL} - will be replaced with new gang's level
- levelUpRewards:
- 1:
- commands:
- - msg {PLAYER} Congratulations!
- - give {PLAYER} diamond 64
- 2:
- commands:
- - msg {PLAYER} Congratulations!
- - give {PLAYER} diamond 128
- #Alliances settings
- alliances:
- #Enable pvp between allied factions?
- allowPvp: false
- #Allow fights between allied factions (allowPvp value doesn't matter, they will be always able hurt to each other during the fight)
- allowFights : true
- #Enable ally chat?
- enableAllyChat: true
- #All gang related commands will be disabled in these worlds
- disableGangsInWorlds:
- - flat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement