Advertisement
Guest User

Untitled

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