Advertisement
Guest User

Untitled

a guest
Mar 14th, 2018
1,323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 10.79 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: true
  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.   #Choose if friendly fire is disabled or enabled
  62.   friendlyFire: true
  63.   #Choose if gang leaders are able to toggle on/off friendly fire (if value above set to false they still won't be able)
  64.   friendlyFireTogglableByLeader: true
  65.   #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.
  66.   showBankBalanceToOthers: false
  67.   #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)
  68.   parseColorCodesInNames: false
  69.   #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
  70.   ignoreColorCodesInNames: true
  71.   gangNameFormat:
  72.    #Default gang name format (used when useLevelBased is set to false)
  73.     default: '&f[%gang%]'
  74.     #Gang name for gangless players (set to '' to display none)
  75.     noGang: ''
  76.     #Choose if you want to use the level based gang name format
  77.     useLevelBased: false
  78.     #Custom gang name format amount depending on its level. Format is LEVEL:AMOUNT
  79.     levelBased:
  80.       1: '&a[%gang%] &f'
  81.       2: '&b[%gang%] &f'
  82.       3: '&6&l[%gang%] &f'
  83.   maxMembers:
  84.    #Default amount of max members (used when useLevelBased is set to false)
  85.     default: 5
  86.     #Choose if you want to use the level based max members amount
  87.     useLevelBased: false
  88.     #Custom maximum members amount depending on its level. Format is LEVEL:AMOUNT
  89.     levelBased:
  90.       1: 5
  91.       2: 10
  92.       3: 20
  93.   maxHomes:
  94.    #Default amount of max homes (used when useLevelBased is set to false)
  95.     default: 5
  96.     #Choose if you want to use the level based max homes amount
  97.     useLevelBased: false
  98.     #Custom maximum homes amount depending on its level. Format is LEVEL:AMOUNT
  99.     levelBased:
  100.       1: 2
  101.       2: 5
  102.       3: 10
  103.   #Rewards for upgrading the gang to higher level. Following commands will be executed for every online gang member.
  104.   #Placeholders:
  105.   #{PLAYER} - will be replaced with name of each of online gang members
  106.   #{GANG} - will be replaced with gang name
  107.   #{LEVEL} - will be replaced with new gang's level
  108.   levelUpRewards:
  109.     1:
  110.       commands:
  111.        - msg {PLAYER} Congratulations!
  112.         - give {PLAYER} diamond 64
  113.     2:
  114.       commands:
  115.        - msg {PLAYER} Congratulations!
  116.         - give {PLAYER} diamond 128
  117.   #All gang related commands will be disabled in these worlds
  118.   disableGangsInWorlds:
  119.    - flat
  120.   #Players won't be able to set gang homes in these worlds
  121.   disableHomesInWorlds:
  122.    - world_nether
  123.   #Friendly fire will be disabled in these worlds (regardless of per-gang settings)
  124.   disableFriendlyFireInWorlds:
  125.    - example
  126. fights:
  127.  #If set to false players won't be able to move from the beginning location until fight starts
  128.   freezeBeforeStart: true
  129.   #Delay in seconds before fight starts, players can join then so recommended value is higher than 5
  130.   delayBeforeStart: 30
  131.   #Minimal players amount that can be chosen when challenging other gang for a fight
  132.   minMembersAmount: 2
  133.   #Maximal players amount that can be chosen when challenging other gang for a fight
  134.   maxMembersAmount: 5
  135.   #Minimal entry fee that can be chosen when challenging other gang for a fight
  136.   minMoneyAmount: 100.0
  137.   #Maximal entry fee that can be chosen when challenging other gang for a fight
  138.   maxMoneyAmount: 1000000.0
  139.   #Enable fight time limit?
  140.   enableFightTimeLimit: true
  141.   #After that time (in seconds) fight will end with no winner and loser if enableFightTimeLimit set to true.
  142.   fightTimeLimit: 300
  143.   #Delay (in seconds) before players get teleported out of arena after winning a fight
  144.   delayBeforeTeleport: 15
  145.   #Players without gangsplus.fightcommands won't be able to use these commands during fights
  146.   disableCommandsDuringFight:
  147.    - /espawn
  148.     - /spawn
  149.     - /tpa
  150.     - /etpa
  151. cooldowns:
  152.  #Cooldowns before teleports, set to 0 to disable
  153.   home: 5
  154.   fightJoin: 0
  155. prices:
  156.  #Gang's creation price
  157.   create: 1000000
  158.   #Level up price from each level. Format is FROMLEVEL:PRICE
  159.   levelup:
  160.     1: 100000
  161.     2: 300000
  162.     3: 500000
  163. settings:
  164.  #Date format; more info: https://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html
  165.   dateFormat: "dd.MM.yyyy, HH:mm"
  166.   #Format of online player's name, $name will be replaced with player's nickname
  167.   onlinePlayerNameFormat: "&a%player%&b"
  168.   #How many gangs should be shown on the gangs list per page
  169.   gangsPerPage: 10
  170.   #How many gangs should be shown in /g top
  171.   gangsTopLimit: 10
  172.   #Choose the default order criteria for /g top. Valid values: ALL, KILLS, DEATHS, KDR, WON, LOST, WLR, LEVEL, MEMBERS, MEMBERS_ONLINE, BANK, MONEY
  173.   gangsTopDefaultOrder: LEVEL
  174.   #Players who damaged the player within these X seconds before them getting killed will be given an assist
  175.   assistDamageDelay: 60
  176.   #Choose if all data should be saved instantly or periodically (every X minutes set in dataSaveInterval)
  177.   saveDataPeriodically: false
  178.   #Periodical save interval (in minutes), takes effect when saveDataPeriodically is set to true
  179.   dataSaveInterval: 1
  180.   #Choose if gang home locations should be checked if they're safe before teleporting the player/setting the home
  181.   safeCheckHomes: true
  182.   #Choose if online players only should be rewarded for having the gang level up
  183.   levelUpRewardOnlinePlayersOnly: true
  184. messages:
  185.  #Format of messages sent by the plugin to gang members. Placeholders: %gang%, %message%
  186.   inGang: "&b%gang% > &7%message%"
  187.   #Format of messages sent by the plugin to players present in certain fight arena. Placeholders: %arena%, %message%
  188.   inArena: "&bFight > &7%message%"
  189.   #Format of gang chat messages. Placeholders: %gang%, %rank%, %player%, %message%
  190.   gangChatFormat: "&a[%gang%]&7 %rank% &b%player%&7: %message%"
  191.   #Format of ally chat messages. Placeholders: %gang%, %rank%, %player%, %message%
  192.   allyChatFormat: "&b[%gang%]&7 %rank% %player%: %message%"
  193. commands:
  194.  #Format of /g info output
  195.   #Placeholders: %date%, %level%, %kills%, %deaths%, %assists%, %kdr%, %fightswon%, %fightslost%, %wlr%, %leader%, %membersamount%, %members%, %onlinemembersamount%, %onlinemembers%, %bank%
  196.   info:
  197.    - "&7----------------[ &3%name% profile &7]----------------"
  198.     - "&7- Created on: &b%date%"
  199.     - "&7- Level: &b%level%"
  200.     - "&7- Kills: &b%kills%&7, deaths: &b%deaths%&7, assists: &b%assists%&7, K/D ratio: &b%kdr%"
  201.     - "&7- Fights won: &b%fightswon%&7, lost: &b%fightslost%&7, W/L ratio: &b%wlr%"
  202.     - "&7- Leader: &b%leader%"
  203.     - "&7- Members (%membersamount%): &b%members%"
  204.     - "&7- Online members (%onlinemembersamount%): &b%onlinemembers%"
  205.     - "&7- Bank account: &b$%bank%"
  206.     - "&7- Allied gangs: &b%allies%"
  207.   #Format of /g player output
  208.   #Placeholders: %date%, %kills%, %deaths%, %assists%, %kdr%, %gang%, %gangrank%
  209.   #Use the {INGANG} tag to make particular line be displayed only when the player is in a gang
  210.   playerinfo:
  211.    - "&7----------------[ &3%name% profile &7]----------------"
  212.     - "&7- Registered on: &b%date%"
  213.     - "&7- Kills: &b%kills%&7, deaths: &b%deaths%&7, assists: &b%assists%&7, K/D ratio: &b%kdr%"
  214.     - "{INGANG}&7- Gang: &b%gang%"
  215.     - "{INGANG}&7- Rank in gang: &b%gangrank%"
  216.   #Choose whether correct command usage shall be sent when doing /g
  217.   sendGangCmdUsage: true
  218. ranks:
  219.  #Ranks numbers and their names, you can add as many as you want
  220.   ranks:
  221.     1: "Newbie"
  222.     2: "Rookie"
  223.     3: "Veteran"
  224.     4: "Officer"
  225.     5: "Leader"
  226.   #Numbers of required ranks to perform certain actions/commands
  227.   requiredRanks:
  228.     fightAccept: 4
  229.     fightChallenge: 4
  230.     fightJoin: 1
  231.     fightLeave: 1
  232.     ally: 4
  233.     delhome: 4
  234.     demote: 5
  235.     deposit: 1
  236.     disband: 5
  237.     friendlyfire: 4
  238.     home: 2
  239.     invite: 3
  240.     kick: 5
  241.     leave: 1
  242.     levelup: 4
  243.     listhomes: 4
  244.     neutral: 4
  245.     promote: 5
  246.     regroup: 2
  247.     sethome: 4
  248.     uninvite: 4
  249.     withdraw: 4
  250. #Alliances settings
  251. alliances:
  252.  #Enable pvp between allied factions?
  253.   allowPvp: false
  254.   #Allow fights between allied factions (allowPvp value doesn't matter, they will be always able hurt to each other during the fight)
  255.   allowFights : true
  256.   #Enable ally chat?
  257.   enableAllyChat: true
  258. #Logging settings
  259. log:
  260.  #Choose whether the gang chat will be logged in your server log
  261.   gangChatLogEnable: false
  262.   #Set the format of logged gang chat messages
  263.   gangChatLogFormat: "%gang% %player%: %message%"
  264.   #Choose whether the gang chat will be logged in your server log
  265.   allyChatLogEnable: false
  266.   #Set the format of logged gang chat messages
  267.   allyChatLogFormat: "%gang% %player%: %message%"
  268. #Commands executed when particular events occur.
  269. eventCommands:
  270.  #Executed when player joins a gang
  271.   #Placeholders:
  272.   #{GANG} - will be replaced with the gang's name
  273.   #{PLAYER} - will be replaced with the player's name
  274.   gangJoin: []
  275.   #Executed when player leaves a gang
  276.   #Placeholders:
  277.   #{GANG} - will be replaced with the gang's name
  278.   #{PLAYER} - will be replaced with the player's name
  279.   gangLeave: []
  280.   #Executed when player gets kicked from a gang.
  281.   #Placeholders:
  282.   #{GANG} - will be replaced with the gang's name
  283.   #{KICKEDBY} - will be replaced with the player's who kicked name
  284.   #{PLAYER} - will be replaced with the player's who was kicked name
  285.   gangKick: []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement