Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.44 KB | None | 0 0
  1. #
  2. # Main configuration file
  3. #
  4. # You can find a list of available tags here: https://alessiodp.com/docs/parties/placeholders/
  5. #
  6.  
  7. # / = = = = = = = = = = = = = = = = \
  8. # | PARTIES SETTINGS |
  9. # \ = = = = = = = = = = = = = = = = /
  10. parties:
  11. updates:
  12. # Check for updates, recommended. Parties will check for updates when the server finish to load
  13. check: true
  14. # Send a message to admins if an update is available
  15. warn: true
  16. # Message upon login and logout of partymates
  17. join-leave-messages: false
  18. bungeecord-sync:
  19. # Sync Parties plugins that are installed into your bungeecord server
  20. # You don't need to install it into Bungeecord too
  21. # This will let you synchronize database between different servers
  22. enable: false
  23. # Choose which things dispatch between servers
  24. dispatch:
  25. broadcasts: true
  26. chat: true
  27.  
  28.  
  29. # / = = = = = = = = = = = = = = = = \
  30. # | STORAGE SETTINGS |
  31. # \ = = = = = = = = = = = = = = = = /
  32. storage:
  33. # What type of storage Parties should use?
  34. # Available types:
  35. # none = Parties data is saved into memory (A reload reset everything, disable log if used on it)
  36. # File based:
  37. # * txt = Output to file (ONLY LOG)
  38. # * yaml = Save all data into a YAML file (ONLY DATABASE)
  39. # SQL based:
  40. # * mysql = Save all data into a MySQL database
  41. # * sqlite = Save all data into a SQLite database
  42. log-storage-type: none
  43. database-storage-type: yaml
  44. log-settings:
  45. # Log format
  46. # %date% = Date as yyyy-MM-dd
  47. # %time% = Time as HH:mm:ss
  48. # %position% = Debug purpose, show caller class (USE IT TO REPORT BUGS)
  49. # %level% = Mode of the message
  50. # %message% = Message
  51. format: "%date% [%time%] (%level%) {%position%} %message%\n"
  52. # Log chat of parties
  53. chat: true
  54. # Print messages on the console
  55. print-console: true
  56. # Levels:
  57. # 1: Basic log level
  58. # 2: Log all events that interacts with the database
  59. # 3: Debug level (Log a lot of events)
  60. log-level: 1
  61.  
  62. migrate-settings:
  63. # Used to initialize an unused database to make it migratable
  64. initialize-storage:
  65. yaml: false
  66. mysql: false
  67. sqlite: false
  68. # Command migrate can be used only via console
  69. migrate-only-console: true
  70. # Rename old data.yml (Empty to overwrite)
  71. migration-suffix: "_backup"
  72.  
  73. storage-settings:
  74. file-based:
  75. # File based DBs: YAML
  76. txt:
  77. log-name: "log.txt"
  78. yaml:
  79. database-name: "data.yml"
  80.  
  81. sql-based:
  82. # SQL based DBs: MySQL, SQLite
  83. general-settings:
  84. varchar-size: 255
  85. upgrade:
  86. save-old-table: true
  87. old-table-suffix: "_backup"
  88. tables:
  89. parties: "parties_parties"
  90. players: "parties_players"
  91. log: "parties_log"
  92. versions: "parties_versions"
  93. mysql:
  94. address: "localhost"
  95. port: "3306"
  96. database: "database"
  97. username: "username"
  98. password: "password"
  99. # Size of the connection pool
  100. pool-size: 10
  101. # Lifetime of each connection, in milliseconds (Default: 30 minutes = 1800000ms)
  102. connection-lifetime: 1800000
  103. # Property used to alert when the connection is not using a valid SSL certificate
  104. use-ssl: false
  105. # Charset used by tables
  106. charset: "utf8"
  107. sqlite:
  108. # SQLite is a SQL database that store data into a file
  109. database-name: "database.db"
  110.  
  111. none:
  112. disband-on-leader-left: true
  113. # Delete empty parties after tot seconds
  114. delay-delete-party: 600
  115.  
  116.  
  117. # / = = = = = = = = = = = = = = = = \
  118. # | ADDITIONAL SETTINGS |
  119. # \ = = = = = = = = = = = = = = = = /
  120. additional:
  121. auto-command:
  122. # All partymates will use the same command that the leader uses (Rank permission: party.autocommand)
  123. # You can configure the leader with rank permissions
  124. enable: false
  125. # Choose which command should be repeated
  126. # You need to use regex here
  127. # By default it will allows any command except /party, /pay or /money)
  128. regex-whitelist: '^(?!(\/party|\/pay|\/money)).*'
  129.  
  130. exp-system:
  131. # Documentation here: https://alessiodp.com/docs/parties/expsystem/
  132. enable: true
  133. levels:
  134. enable: false
  135. # Modes: progressive, fixed, custom
  136. mode: progressive
  137. # Make infinite levels with a progressive multiplier
  138. progressive:
  139. # Level 1: 100, Level 2: 200, Level 3: 400
  140. level-start: 100
  141. level-multiplier: "*2"
  142. # Fixed levels experience cap
  143. # Example: Level 1 is 100, Level 2 is 600, Level 3 is 1600
  144. fixed:
  145. - 100
  146. - 500
  147. - 1000
  148. # Use a custom formula, it is a function of total experience
  149. # Only for EXPERTS (math functions knowledge required)
  150. # Use it only if you need a complex formula to calculate the
  151. # level from the total experience
  152. custom:
  153. # Use javascript code here.
  154. # Default formula is: f(x) = 2 log2(x/100)
  155. # Use x as %total_exp% to obtain current level.
  156. # By default, this is: 100, 200, 400, 800 of TOTAL experience
  157. # If you use the custom mode, you cannot use anymore placeholders
  158. # to calculate how many exp you need to level up.
  159. formula: "2 + (Math.log(%total_exp%/100) / Math.log(2))"
  160. exp-drop:
  161. # Enable exp dropping
  162. enable: true
  163. sharing:
  164. # Enable exp sharing between players
  165. # Useless if you are collecting exp for the party
  166. # Useful if you are collecting exp for each player
  167. enable: true
  168. if-more-than: 1
  169. range: 30
  170. # Special tags:
  171. # %exp% = Experience dropped
  172. # %number_players% = Number of players in range
  173. # %level% = Current level of the party
  174. divide-formula: "%exp% / %number_players%"
  175. exp-to-get:
  176. # Choose which kind of experience to get
  177. # 1. normal = Minecraft normal experience
  178. # 2. skillapi = Get the experience of each mob from SkillAPI config
  179. normal: true
  180. skillapi: true
  181. convert-exp-into:
  182. # You can choose how to transfer the exp
  183. # 1. party = send the exp to the party (total experience)
  184. # 2. normal = send it as vanilla Minecraft experience
  185. # 3. skillapi = send it as SkillAPI experience
  186. # Read the documentation for more information about exp convert
  187. normal: party
  188. skillapi: party
  189. # When Parties get mob experience, remove it from the mob
  190. # (mobs will not drop experience anymore)
  191. # If you want just level up the party, you can still let your players
  192. # level up, by leaving this option to false
  193. remove-real-exp: false
  194. addons:
  195. skillapi:
  196. # Enable support for SkillAPI
  197. enable: false
  198. exp-source: "MOB"
  199. mythicmobs:
  200. # Enable support for MythicMobs entities
  201. # Parties will get exp and skillapi-exp of custom mobs
  202. enable: true
  203. # If enabled, Parties will ONLY get experience from MM drops
  204. # Useful if you have customized every mob drop
  205. handle-only-mm-mobs: true
  206.  
  207. follow-party:
  208. # When the party leader joins a world, the party will follow him
  209. enable: false
  210. # Enable the command /party follow to toggle this feature
  211. toggle-command: false
  212. # Type of teleport:
  213. # 1 = Teleport into world spawn
  214. # 2 = Same point of followed player
  215. type-of-teleport: 1
  216. # Minimum rank to let partymates follow you (0 = all ranks)
  217. rank-needed: 0
  218. # Minimum rank to follow the party (0 = all ranks)
  219. minimum-rank-to-follow: 0
  220. # Timeout before player can re-use portal in seconds, important to fix join portals spam (20 ticks = 1 second)
  221. timeout-portal: 100
  222. # List of worlds that would use follow-party feature ('*' = all worlds)
  223. list-worlds:
  224. - '*'
  225.  
  226. mute:
  227. # Enable mute command
  228. # If an user use mute command, it will stop to receive every notification
  229. enable: false
  230. block:
  231. invite: true
  232.  
  233. placeholders:
  234. # This options are used to customize Parties placeholders
  235. # You can customize every external placeholder
  236. # Use classic placeholders inside the option!
  237. color-name: "%color_name%"
  238. color-code: "%color_code%"
  239. color-command: "%color_command%"
  240. desc: "%desc%"
  241. # Total experience of the party
  242. experience-total: "%experience_total%"
  243. # Level number of the party
  244. experience-level: "%experience_level%"
  245. # Current and necessary number of experience to level up.
  246. # Example: 100/400 = %experience_levelup_current% / %experience_levelup_necessary%
  247. experience-levelup-current: "%experience_levelup_current%"
  248. experience-levelup-necessary: "%experience_levelup_necessary%"
  249. kills: "%kills%"
  250. motd: "%motd%"
  251. party: "%party%"
  252. rank-name: "%rank_name%"
  253. rank-chat: "%rank_chat%"
  254. customs:
  255. example1: "[%color_code%%party%] "
  256. example2: "[%rank_chat% %party%] "
  257.  
  258.  
  259. # / = = = = = = = = = = = = = = = = \
  260. # | ADDONS SETTINGS |
  261. # \ = = = = = = = = = = = = = = = = /
  262. addons:
  263. # BanManager is used to auto kick banned users and prevents to speak into party chat if an user is muted
  264. banmanager:
  265. enable: false
  266. prevent-chat-muted: true
  267. # Warning: BanManager doesn't work good with offline-mode UUIDs
  268. auto-kick-banned: true
  269.  
  270. # You can create a mark for each party home
  271. dynmap:
  272. enable: false
  273. hide-by-default: false
  274. settings:
  275. # Minimum party players to show up the marker on Dynmap
  276. minimum-players: 3
  277. markers:
  278. layer: "Party homes"
  279. # HTML Allowed. Tags: %party%, %kills%
  280. label: "<b>%party%</b>'s home"
  281. # Dynmap icons
  282. icon: "house"
  283.  
  284. # Give GP permissions to your entire party
  285. griefprevention:
  286. # This will enable "/party claim <permission>" command
  287. enable: false
  288. # To perform the command you need to be the Owner of the claim, or Manager
  289. need-to-be-owner-claim: false
  290. sub-commands:
  291. trust: "trust"
  292. container: "container"
  293. access: "access"
  294. remove: "remove"
  295.  
  296. # Give a price to each command
  297. vault:
  298. # Enable Vault support (Use permission 'parties.admin.vaultbypass' to bypass commands)
  299. enable: false
  300. confirm-command:
  301. # This will enable "/party confirm" command
  302. # True: use confirm command
  303. # False: buy when the command is used
  304. enable: true
  305. # Timeout in ms
  306. timeout: 10000
  307. # Set a price for these commands (use doubles, 1.1, 1.5, etc..)
  308. price-commands:
  309. claim: 0.0
  310. color: 0.0
  311. create: 0.0
  312. desc: 0.0
  313. home: 0.0
  314. join: 0.0
  315. motd: 0.0
  316. set-home: 0.0
  317. teleport: 0.0
  318.  
  319.  
  320. # / = = = = = = = = = = = = = = = = \
  321. # | COMMANDS SETTINGS |
  322. # \ = = = = = = = = = = = = = = = = /
  323. commands:
  324. # Enable tab support (/party <tab> to see every allowed command)
  325. tab-support: true
  326. help-pages:
  327. commands-per-page: 9
  328. descriptions:
  329. party: "Parties help page"
  330. p: "Send a party message"
  331. main-commands:
  332. help: "help"
  333. party: "party"
  334. p: "p"
  335. accept: "accept"
  336. chat: "chat"
  337. claim: "claim"
  338. color: "color"
  339. confirm: "confirm"
  340. create: "create"
  341. delete: "delete"
  342. deny: "deny"
  343. desc: "desc"
  344. follow: "follow"
  345. home: "home"
  346. ignore: "ignore"
  347. info: "info"
  348. invite: "invite"
  349. join: "join"
  350. kick: "kick"
  351. leave: "leave"
  352. list: "list"
  353. migrate: "migrate"
  354. motd: "motd"
  355. mute: "mute"
  356. password: "password"
  357. protection: "protection"
  358. rank: "rank"
  359. reload: "reload"
  360. rename: "rename"
  361. sethome: "sethome"
  362. spy: "spy"
  363. teleport: "teleport"
  364. version: "version"
  365. sub-commands:
  366. on: "on"
  367. off: "off"
  368. silent: "silent"
  369. # Sub-command of "/party create <partyname> fixed" (if enabled)
  370. fixed: "fixed"
  371. # Sub-command used to remove something (desc, motd, etc..)
  372. remove: "remove"
  373. order:
  374. - help
  375. - create
  376. - accept
  377. - deny
  378. - join
  379. - ignore
  380. - mute
  381. - p
  382. - leave
  383. - invite
  384. - info
  385. - list
  386. - chat
  387. - desc
  388. - motd
  389. - protection
  390. - follow
  391. - home
  392. - sethome
  393. - color
  394. - claim
  395. - teleport
  396. - password
  397. - rank
  398. - rename
  399. - kick
  400. - spy
  401. - delete
  402. - reload
  403. - version
  404. - migrate
  405.  
  406. # End of configuration file
  407. dont-edit-this:
  408. version: 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement