Advertisement
Guest User

Untitled

a guest
Jul 26th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 10.04 KB | None | 0 0
  1. database:
  2. #Database backend type, can be set to mysql or sqlite
  3.   type: sqlite
  4.   #MySQL database host
  5.   mySQLHost: localhost
  6.   #MySQL connection port number
  7.   mySQLPort: 3306
  8.   #MySQL database name
  9.   mySQLDatabase: db
  10.   #MySQL database user
  11.   mySQLUser: root
  12.   #MySQL user's password
  13.   mySQLPassword: ""
  14.   #MySQL table names
  15.   tableNames:
  16.     alliances: "alliances"
  17.     arenas: "arenas"
  18.     gangs: "gangs"
  19.     players: "players"
  20. modules:
  21. #Enable alliances?
  22.   alliances: true
  23.   #Enable gang bank accounts?
  24.   bank: true
  25.   #Enable gang chat?
  26.   chat: true
  27.   #Enable fights?
  28.   fights: true
  29.   #Enable homes?
  30.   homes: false
  31. broadcasts:
  32. #Choose how messages will be broadcasted. Valid values are message/title/subtitle
  33.   type: message
  34.   broadcast:
  35.   #Choose if certain actions should be broadcasted
  36.     gangCreate: true
  37.     gangDisband: true
  38.     gangDisbandByAdmin: true
  39.     gangJoin: true
  40.     gangKick: true
  41.     gangLeaderChange: true
  42.     gangLeave: true
  43.     gangLevelUp: true
  44.     fightStart: true
  45.     fightEnd: true
  46. gangs:
  47. #Gang name regex, don't change it unless you know how it works
  48.   allowedNameCharacters: '[^a-zA-Z0-9\\ ]'
  49.   #Choose if spaces are allowed in gang name
  50.   allowSpaces: false
  51.   #Minimum gang name length
  52.   minGangNameLength: 3
  53.   #Maximum gang name length
  54.   maxGangNameLength: 32
  55.   #Maximal gang level
  56.   maxGangLevel: 5
  57.   #Player won't be able to create gangs with names containing following words/phrases
  58.   bannedNames:
  59.   - ass
  60.    - noob
  61.    - fuck
  62.    - shit
  63.    - pussy
  64.   #Choose if friendly fire is disabled or enabled
  65.   friendlyFire: true
  66.   #Choose if gang leaders are able to toggle on/off friendly fire (if value above set to false they still won't be able)
  67.   friendlyFireTogglableByLeader: true
  68.   #Show gang's bank balance to other players (even those who aren't members of that gang)? Players with gangsplus.checkbalance will be still able to see it.
  69.   showBankBalanceToOthers: true
  70.   #Choose if color codes in gang names should be parsed as colors (remember you have to add the ampersand (&) to allowedNameCharacters in order to allow using colors)
  71.   parseColorCodesInNames: false
  72.   #Choose if color codes in gang names should be ignored. For instance, when set to true &aExample will be the same as Example. It's recommended to set it to true
  73.   ignoreColorCodesInNames: true
  74.   gangNameFormat:
  75.   #Default gang name format (used when useLevelBased is set to false)
  76.     default: '&f[%gang%]'
  77.     #Gang name for gangless players (set to '' to display none)
  78.     noGang: ''
  79.     #Choose if you want to use the level based gang name format
  80.     useLevelBased: false
  81.     #Custom gang name format amount depending on its level. Format is LEVEL:AMOUNT
  82.     levelBased:
  83.       1: '&a[%gang%] &f'
  84.       2: '&b[%gang%] &f'
  85.       3: '&6&l[%gang%] &f'
  86.   maxMembers:
  87.   #Default amount of max members (used when useLevelBased is set to false)
  88.     default: 5
  89.     #Choose if you want to use the level based max members amount
  90.     useLevelBased: false
  91.     #Custom maximum members amount depending on its level. Format is LEVEL:AMOUNT
  92.     levelBased:
  93.       1: 5
  94.       2: 10
  95.       3: 20
  96.   maxHomes:
  97.   #Default amount of max homes (used when useLevelBased is set to false)
  98.     default: 0
  99.     #Choose if you want to use the level based max homes amount
  100.     useLevelBased: true
  101.     #Custom maximum homes amount depending on its level. Format is LEVEL:AMOUNT
  102.     levelBased:
  103.       1: 0
  104.       2: 0
  105.       3: 0
  106.   #Rewards for upgrading the gang to higher level. Following commands will be executed for every online gang member.
  107.   #Placeholders:
  108.   #{PLAYER} - will be replaced with name of each of online gang members
  109.   #{GANG} - will be replaced with gang name
  110.   #{LEVEL} - will be replaced with new gang's level
  111.   levelUpRewards:
  112.     1:
  113.       commands:
  114.       - msg {PLAYER} Congratulations on ranking up to a new gang level!
  115.        - eco give {PLAYER} 20000
  116.     2:
  117.       commands:
  118.       - msg {PLAYER} Congratulations on ranking up to a new gang level!
  119.        - eco give {PLAYER} 40000
  120.   #All gang related commands will be disabled in these worlds
  121.   disableGangsInWorlds:
  122.   - flat
  123.   #Players won't be able to set gang homes in these worlds
  124.   disableHomesInWorlds:
  125.   - mainworld
  126.    - freeworld
  127.   #Friendly fire will be disabled in these worlds (regardless of per-gang settings)
  128.   disableFriendlyFireInWorlds:
  129.   - example
  130. fights:
  131. #If set to false players won't be able to move from the beginning location until fight starts
  132.   freezeBeforeStart: true
  133.   #Delay in seconds before fight starts, players can join then so recommended value is higher than 5
  134.   delayBeforeStart: 20
  135.   #Minimal players amount that can be chosen when challenging other gang for a fight
  136.   minMembersAmount: 2
  137.   #Maximal players amount that can be chosen when challenging other gang for a fight
  138.   maxMembersAmount: 5
  139.   #Minimal entry fee that can be chosen when challenging other gang for a fight
  140.   minMoneyAmount: 500000.0
  141.   #Maximal entry fee that can be chosen when challenging other gang for a fight
  142.   maxMoneyAmount: 10000000000.0
  143.   #Enable fight time limit?
  144.   enableFightTimeLimit: false
  145.   #After that time (in seconds) fight will end with no winner and loser if enableFightTimeLimit set to true.
  146.   fightTimeLimit: 300
  147.   #Delay (in seconds) before players get teleported out of arena after winning a fight
  148.   delayBeforeTeleport: 15
  149.   #Players without gangsplus.fightcommands won't be able to use these commands during fights
  150.   disableCommandsDuringFight:
  151.   - /espawn
  152.    - /spawn
  153.    - /tpa
  154.    - /etpa
  155.    - /warp
  156.    - /plot
  157.    - /trade
  158.    - /plotme
  159.    - /plots
  160.    - /home
  161. cooldowns:
  162. #Cooldowns before teleports, set to 0 to disable
  163.   home: 5
  164.   fightJoin: 0
  165. prices:
  166. #Gang's creation price
  167.   create: 1000000
  168.   #Level up price from each level. Format is FROMLEVEL:PRICE
  169.   levelup:
  170.     1: 100000
  171.     2: 300000
  172.     3: 500000
  173. settings:
  174. #Date format; more info: https://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html
  175.   dateFormat: "dd.MM.yyyy, HH:mm"
  176.   #Format of online player's name, $name will be replaced with player's nickname
  177.   onlinePlayerNameFormat: "&a%player%&b"
  178.   #How many gangs should be shown on the gangs list per page
  179.   gangsPerPage: 10
  180.   #How many gangs should be shown in /g top
  181.   gangsTopLimit: 10
  182.   #Choose the default order criteria for /g top. Valid values: ALL, KILLS, DEATHS, KDR, WON, LOST, WLR, LEVEL, MEMBERS, MEMBERS_ONLINE, BANK, MONEY
  183.   gangsTopDefaultOrder: LEVEL
  184.   #Players who damaged the player within these X seconds before them getting killed will be given an assist
  185.   assistDamageDelay: 60
  186.   #Choose if all data should be saved instantly or periodically (every X minutes set in dataSaveInterval)
  187.   saveDataPeriodically: false
  188.   #Periodical save interval (in minutes), takes effect when saveDataPeriodically is set to true
  189.   dataSaveInterval: 1
  190.   #Choose if gang home locations should be checked if they're safe before teleporting the player/setting the home
  191.   safeCheckHomes: true
  192. messages:
  193. #Format of messages sent by the plugin to gang members. Placeholders: %gang%, %message%
  194.   inGang: "&e%gang% > &f%message%"
  195.   #Format of messages sent by the plugin to players present in certain fight arena. Placeholders: %arena%, %message%
  196.   inArena: "&eFight > &f%message%"
  197.   #Format of gang chat messages. Placeholders: %gang%, %rank%, %player%, %message%
  198.   gangChatFormat: "&a[%gang%]&7 %rank% &b%player%&7: %message%"
  199.   #Format of ally chat messages. Placeholders: %gang%, %rank%, %player%, %message%
  200.   allyChatFormat: "&b[%gang%]&7 %rank% %player%: %message%"
  201. commands:
  202. #Format of /g info output
  203.   #Placeholders: %date%, %level%, %kills%, %deaths%, %assists%, %kdr%, %fightswon%, %fightslost%, %wlr%, %leader%, %membersamount%, %members%, %onlinemembersamount%, %onlinemembers%, %bank%
  204.   info:
  205.   - "&7----------------[ &3%name% profile &7]----------------"
  206.    - "&7- Created on: &b%date%"
  207.    - "&7- Level: &b%level%"
  208.    - "&7- Kills: &b%kills%&7, deaths: &b%deaths%&7, assists: &b%assists%&7, K/D ratio: &b%kdr%"
  209.    - "&7- Fights won: &b%fightswon%&7, lost: &b%fightslost%&7, W/L ratio: &b%wlr%"
  210.    - "&7- Leader: &b%leader%"
  211.    - "&7- Members (%membersamount%): &b%members%"
  212.    - "&7- Online members (%onlinemembersamount%): &b%onlinemembers%"
  213.    - "&7- Bank account: &b$%bank%"
  214.    - "&7- Allied gangs: &b%allies%"
  215.   #Format of /g player output
  216.   #Placeholders: %date%, %kills%, %deaths%, %assists%, %kdr%, %gang%, %gangrank%
  217.   #Use the {INGANG} tag to make particular line be displayed only when the player is in a gang
  218.   playerinfo:
  219.   - "&7----------------[ &3%name% profile &7]----------------"
  220.    - "&7- Registered on: &b%date%"
  221.    - "&7- Kills: &b%kills%&7, deaths: &b%deaths%&7, assists: &b%assists%&7, K/D ratio: &b%kdr%"
  222.    - "{INGANG}&7- Gang: &b%gang%"
  223.    - "{INGANG}&7- Rank in gang: &b%gangrank%"
  224. ranks:
  225. #Ranks numbers and their names, you can add as many as you want
  226.   ranks:
  227.     1: "Newbie"
  228.     2: "Rookie"
  229.     3: "Veteran"
  230.     4: "Officer"
  231.     5: "Leader"
  232.   #Numbers of required ranks to perform certain actions/commands
  233.   requiredRanks:
  234.     fightAccept: 4
  235.     fightChallenge: 4
  236.     fightJoin: 1
  237.     fightLeave: 1
  238.     ally: 4
  239.     delhome: 4
  240.     demote: 5
  241.     deposit: 1
  242.     disband: 5
  243.     friendlyfire: 4
  244.     home: 2
  245.     invite: 3
  246.     kick: 5
  247.     leave: 1
  248.     levelup: 4
  249.     listhomes: 4
  250.     neutral: 4
  251.     promote: 5
  252.     regroup: 2
  253.     sethome: 4
  254.     uninvite: 4
  255.     withdraw: 4
  256. #Alliances settings
  257. alliances:
  258. #Enable pvp between allied factions?
  259.   allowPvp: false
  260.   #Allow fights between allied factions (allowPvp value doesn't matter, they will be always able hurt to each other during the fight)
  261.   allowFights : true
  262.   #Enable ally chat?
  263.   enableAllyChat: true
  264. #Logging settings
  265. log:
  266. #Choose whether the gang chat will be logged in your server log
  267.   gangChatLogEnable: false
  268.   #Set the format of logged gang chat messages
  269.   gangChatLogFormat: "%gang% %player%: %message%"
  270.   #Choose whether the gang chat will be logged in your server log
  271.   allyChatLogEnable: false
  272.   #Set the format of logged gang chat messages
  273.   allyChatLogFormat: "%gang% %player%: %message%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement