Advertisement
Guest User

Untitled

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