Advertisement
Guest User

Untitled

a guest
Apr 15th, 2022
838
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 11.74 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.   #Whether kill/assist/deaths statistics should be counted in worlds with disabled gangs (from disableGangsInWorlds) as well
  123.   countPlayerStatsInDisabledWorlds: true
  124.   #Players won't be able to set gang homes in these worlds
  125.   disableHomesInWorlds:
  126.    - world_nether
  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: 30
  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: 100.0
  141.   #Maximal entry fee that can be chosen when challenging other gang for a fight
  142.   maxMoneyAmount: 1000000.0
  143.   #Enable fight time limit?
  144.   enableFightTimeLimit: true
  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.   #If set to true, gangs will have to join same amounts of players to the fight (2 vs 2, 3 vs 3 etc.)
  150.   fightsRequireEqualMembersAmount: false
  151.   #Players without gangsplus.fightcommands won't be able to use any commands except /fight during fights
  152.   disableAllCommandsDuringFight: false
  153.   #Players without gangsplus.fightcommands won't be able to use these commands during fights
  154.   disableCommandsDuringFight:
  155.    - /espawn
  156.     - /spawn
  157.     - /tpa
  158.     - /etpa
  159.   #These commands will be disabled for everyone on the server when there's at least 1 fight in progress
  160.   globalDisableCommandsDuringFight: { }
  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.   #Choose if gang home locations should be checked if they're safe before teleporting the admin to a home
  193.   safeCheckHomesAdmin: true
  194.   #Choose if online players only should be rewarded for having the gang level up
  195.   levelUpRewardOnlinePlayersOnly: true
  196. messages:
  197.  #Format of messages sent by the plugin to gang members. Placeholders: %gang%, %message%
  198.   inGang: "&b%gang% > &7%message%"
  199.   #Format of messages sent by the plugin to players present in certain fight arena. Placeholders: %arena%, %message%
  200.   inArena: "&bFight > &7%message%"
  201.   #Format of gang chat messages. Placeholders: %gang%, %rank%, %player%, %message%
  202.   gangChatFormat: "&a[%gang%]&7 %rank% &b%player%&7: %message%"
  203.   #Format of ally chat messages. Placeholders: %gang%, %rank%, %player%, %message%
  204.   allyChatFormat: "&b[%gang%]&7 %rank% %player%: %message%"
  205. commands:
  206.  #Format of /g info output
  207.   #Placeholders: %date%, %level%, %kills%, %deaths%, %assists%, %kdr%, %fightswon%, %fightslost%, %wlr%, %leader%, %membersamount%, %members%, %onlinemembersamount%, %onlinemembers%, %bank%
  208.   info:
  209.    - "&7----------------[ &3%name% profile &7]----------------"
  210.     - "&7- Created on: &b%date%"
  211.     - "&7- Level: &b%level%"
  212.     - "&7- Kills: &b%kills%&7, deaths: &b%deaths%&7, assists: &b%assists%&7, K/D ratio: &b%kdr%"
  213.     - "&7- Fights won: &b%fightswon%&7, lost: &b%fightslost%&7, W/L ratio: &b%wlr%"
  214.     - "&7- Leader: &b%leader%"
  215.     - "&7- Members (%membersamount%): &b%members%"
  216.     - "&7- Online members (%onlinemembersamount%): &b%onlinemembers%"
  217.     - "&7- Bank account: &b$%bank%"
  218.     - "&7- Allied gangs: &b%allies%"
  219.   #Format of /g player output
  220.   #Placeholders: %date%, %kills%, %deaths%, %assists%, %kdr%, %gang%, %gangrank%
  221.   #Use the {INGANG} tag to make particular line be displayed only when the player is in a gang
  222.   playerinfo:
  223.    - "&7----------------[ &3%name% profile &7]----------------"
  224.     - "&7- Registered on: &b%date%"
  225.     - "&7- Kills: &b%kills%&7, deaths: &b%deaths%&7, assists: &b%assists%&7, K/D ratio: &b%kdr%"
  226.     - "{INGANG}&7- Gang: &b%gang%"
  227.     - "{INGANG}&7- Rank in gang: &b%gangrank%"
  228.   #Choose whether correct command usage shall be sent when doing /g
  229.   sendGangCmdUsage: true
  230. ranks:
  231.  #Ranks numbers and their names, you can add as many as you want
  232.   ranks:
  233.     1: "Newbie"
  234.     2: "Rookie"
  235.     3: "Veteran"
  236.     4: "Officer"
  237.     5: "Leader"
  238.   #Numbers of required ranks to perform certain actions/commands
  239.   requiredRanks:
  240.     fightAccept: 4
  241.     fightChallenge: 4
  242.     fightJoin: 1
  243.     fightLeave: 1
  244.     ally: 4
  245.     delhome: 4
  246.     demote: 5
  247.     deposit: 1
  248.     disband: 5
  249.     friendlyfire: 4
  250.     home: 2
  251.     invite: 3
  252.     kick: 5
  253.     leave: 1
  254.     levelup: 4
  255.     listhomes: 4
  256.     neutral: 4
  257.     promote: 5
  258.     regroup: 2
  259.     sethome: 4
  260.     uninvite: 4
  261.     withdraw: 4
  262. #Alliances settings
  263. alliances:
  264.  #Enable pvp between allied factions?
  265.   allowPvp: false
  266.   #Allow fights between allied factions (allowPvp value doesn't matter, they will be always able hurt to each other during the fight)
  267.   allowFights: true
  268.   #Enable ally chat?
  269.   enableAllyChat: true
  270.   #Max number of alliances a gang can have
  271.   limit: 10
  272. #Logging settings
  273. log:
  274.  #Choose whether the gang chat will be logged in your server log
  275.   gangChatLogEnable: false
  276.   #Set the format of logged gang chat messages
  277.   gangChatLogFormat: "%gang% %player%: %message%"
  278.   #Choose whether the gang chat will be logged in your server log
  279.   allyChatLogEnable: false
  280.   #Set the format of logged gang chat messages
  281.   allyChatLogFormat: "%gang% %player%: %message%"
  282. #Commands executed when particular events occur.
  283. eventCommands:
  284.  #Executed when player joins a gang
  285.   #Placeholders:
  286.   #{GANG} - will be replaced with the gang's name
  287.   #{PLAYER} - will be replaced with the player's name
  288.   gangJoin: [ ]
  289.   #Executed when player leaves a gang
  290.   #Placeholders:
  291.   #{GANG} - will be replaced with the gang's name
  292.   #{PLAYER} - will be replaced with the player's name
  293.   gangLeave: [ ]
  294.   #Executed when player gets kicked from a gang.
  295.   #Placeholders:
  296.   #{GANG} - will be replaced with the gang's name
  297.   #{KICKEDBY} - will be replaced with the player's who kicked name
  298.   #{PLAYER} - will be replaced with the player's who was kicked name
  299.   gangKick: [ ]
  300. #Default values for placeholders used in external plugins
  301. placeholders:
  302.   default: ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement