Advertisement
Guest User

Untitled

a guest
Nov 15th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.68 KB | None | 0 0
  1. #
  2. # Main configuration file
  3. #
  4. # You can find a list of available tags here: https://alessiodp.com/wiki/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: txt
  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: 3
  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. # <ip>:<port>
  95. address: "localhost: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: true
  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. # Important: Blacklist/whitelist your commands to prevent exploits (Pay for example)
  126. # Blacklist/whitelist your commands with a "start-with" check (Block /pay to prevent commands like "/pay bla bla", "/paymember bla", "/payment")
  127. # If you whitelist a command, you will bypass it (if it is blacklisted)
  128. # You can insert '*' for all commands
  129. blacklist:
  130. - "/pay"
  131. - "/money"
  132. whitelist: []
  133.  
  134. censor-system:
  135. # This censor system is used when a player create a party or set description/motd/etc..
  136. enable: false
  137. case-sensitive: false
  138. contains: []
  139. starts-with: []
  140. ends-with: []
  141. regexes: []
  142.  
  143. exp-system:
  144. # Wiki here: https://alessiodp.com/wiki/parties/expsystem
  145. enable: false
  146. levels:
  147. enable: true
  148. # Modes: progressive, fixed, custom
  149. mode: progressive
  150. # Make infinite levels with a progressive multiplier
  151. progressive:
  152. # Level 1: 100, Level 2: 200, Level 3: 400
  153. level-start: 100
  154. level-multiplier: "*2"
  155. # Fixed levels experience cap
  156. # Example: Level 1 is 100, Level 2 is 600, Level 3 is 1600
  157. fixed:
  158. - 100
  159. - 500
  160. - 1000
  161. # Use a custom formula, it is a function of total experience
  162. # Only for EXPERTS (math functions knowledge required)
  163. # Use it only if you need a complex formula to calculate the
  164. # level from the total experience
  165. custom:
  166. # Use javascript code here.
  167. # Default formula is: f(x) = 2 log2(x/100)
  168. # Use x as %total_exp% to obtain current level.
  169. # By default, this is: 100, 200, 400, 800 of TOTAL experience
  170. # If you use the custom mode, you cannot use anymore placeholders
  171. # to calculate how many exp you need to level up.
  172. formula: "2 + (Math.log(%total_exp%/100) / Math.log(2))"
  173. exp-drop:
  174. # Enable exp dropping
  175. enable: true
  176. sharing:
  177. # Enable exp sharing between players
  178. # Useless if you are collecting exp for the party
  179. # Useful if you are collecting exp for each player
  180. enable: false
  181. if-more-than: 1
  182. range: 30
  183. # Special tags:
  184. # %exp% = Experience dropped
  185. # %number_players% = Number of players in range
  186. divide-formula: "%exp% / %number_players%"
  187. exp-to-get:
  188. # Choose which kind of experience to get
  189. # 1. normal = Minecraft normal experience
  190. # 2. skillapi = Get the experience of each mob from SkillAPI config
  191. normal: true
  192. skillapi: false
  193. convert-exp-into:
  194. # You can choose how to transfer the exp
  195. # 1. party = send the exp to the party (total experience)
  196. # 2. normal = send it as vanilla Minecraft experience
  197. # 3. skillapi = send it as SkillAPI experience
  198. # Read the wiki for more information about exp convert
  199. normal: party
  200. skillapi: party
  201. # When Parties get mob experience, remove it from the mob
  202. # (mobs will not drop experience anymore)
  203. # If you want just level up the party, you can still let your players
  204. # level up, by leaving this option to false
  205. remove-real-exp: false
  206. addons:
  207. skillapi:
  208. # Enable support for SkillAPI
  209. enable: false
  210. exp-source: "MOB"
  211. mythicmobs:
  212. # Enable support for MythicMobs entities
  213. # Parties will get exp and skillapi-exp of custom mobs
  214. enable: false
  215. # If enabled, Parties will ONLY get experience from MM drops
  216. # Useful if you have customized every mob drop
  217. handle-only-mm-mobs: true
  218.  
  219. follow-party:
  220. # When player join in a world, the party will be teleported into it
  221. enable: false
  222. # Type of teleport:
  223. # 1 = Teleport into world spawn
  224. # 2 = Same point of followed player
  225. type-of-teleport: 1
  226. # Minimum rank to let partymates follow you (0 = all ranks)
  227. rank-needed: 0
  228. # Minimum rank to follow the party (0 = all ranks)
  229. minimum-rank-to-follow: 0
  230. # Timeout before player can re-use portal in seconds, important to fix join portals spam (20 ticks = 1 second)
  231. timeout-portal: 100
  232. # List of worlds that would use follow-party feature ('*' = all worlds)
  233. list-worlds:
  234. - '*'
  235.  
  236. mute:
  237. # Enable mute command
  238. # If an user use mute command, it will stop to receive every notification
  239. enable: false
  240. block:
  241. invite: true
  242.  
  243. placeholders:
  244. # This options are used to customize Parties placeholders
  245. # You can customize every external placeholder
  246. # Use classic placeholders inside the option!
  247. color-name: "%color_name%"
  248. color-code: "%color_code%"
  249. color-command: "%color_command%"
  250. desc: "%desc%"
  251. # Total experience of the party
  252. experience-total: "%experience_total%"
  253. # Level number of the party
  254. experience-level: "%experience_level%"
  255. # Current and necessary number of experience to level up.
  256. # Example: 100/400 = %experience_levelup_current% / %experience_levelup_necessary%
  257. experience-levelup-current: "%experience_levelup_current%"
  258. experience-levelup-necessary: "%experience_levelup_necessary%"
  259. kills: "%kills%"
  260. motd: "%motd%"
  261. party: "%party%"
  262. rank-name: "%rank_name%"
  263. rank-chat: "%rank_chat%"
  264. customs:
  265. example1: "[%color_code%%party%] "
  266. example2: "[%rank_chat% %party%] "
  267.  
  268.  
  269. # / = = = = = = = = = = = = = = = = \
  270. # | ADDONS SETTINGS |
  271. # \ = = = = = = = = = = = = = = = = /
  272. addons:
  273. # BanManager is used to auto kick banned users and prevents to speak into party chat if an user is muted
  274. banmanager:
  275. enable: false
  276. prevent-chat-muted: true
  277. # Warning: BanManager doesn't work good with offline-mode UUIDs
  278. auto-kick-banned: true
  279.  
  280. # You can create a mark for each party home
  281. dynmap:
  282. enable: false
  283. hide-by-default: false
  284. settings:
  285. # Minimum party players to show up the marker on Dynmap
  286. minimum-players: 3
  287. markers:
  288. layer: "Party homes"
  289. # HTML Allowed. Tags: %party%, %kills%
  290. label: "<b>%party%</b>'s home"
  291. # Dynmap icons
  292. icon: "house"
  293.  
  294. # Give GP permissions to your entire party
  295. griefprevention:
  296. # This will enable "/party claim <permission>" command
  297. enable: false
  298. # To perform the command you need to be the Owner of the claim, or Manager
  299. need-to-be-owner-claim: false
  300. sub-commands:
  301. trust: "trust"
  302. container: "container"
  303. access: "access"
  304. remove: "remove"
  305.  
  306. # Give a price to each command
  307. vault:
  308. # Enable Vault support (Use permission 'parties.admin.vaultbypass' to bypass commands)
  309. enable: false
  310. confirm-command:
  311. # This will enable "/party confirm" command
  312. # True: use confirm command
  313. # False: buy when the command is used
  314. enable: true
  315. # Timeout in ms
  316. timeout: 10000
  317. # Set a price for these commands (use doubles, 1.1, 1.5, etc..)
  318. price-commands:
  319. claim: 0.0
  320. color: 0.0
  321. create: 0.0
  322. desc: 0.0
  323. home: 0.0
  324. join: 0.0
  325. motd: 0.0
  326. set-home: 0.0
  327. teleport: 0.0
  328.  
  329.  
  330. # / = = = = = = = = = = = = = = = = \
  331. # | COMMANDS SETTINGS |
  332. # \ = = = = = = = = = = = = = = = = /
  333. commands:
  334. # Enable tab support (/party <tab> to see every allowed command)
  335. tab-support: true
  336. help-pages:
  337. commands-per-page: 9
  338. descriptions:
  339. party: "Parties help page"
  340. p: "Send a party message"
  341. main-commands:
  342. help: "help"
  343. party: "party"
  344. p: "p"
  345. accept: "accept"
  346. chat: "chat"
  347. claim: "claim"
  348. color: "color"
  349. confirm: "confirm"
  350. create: "create"
  351. delete: "delete"
  352. deny: "deny"
  353. desc: "desc"
  354. home: "home"
  355. ignore: "ignore"
  356. info: "info"
  357. invite: "invite"
  358. join: "join"
  359. kick: "kick"
  360. leave: "leave"
  361. list: "list"
  362. migrate: "migrate"
  363. motd: "motd"
  364. mute: "mute"
  365. password: "password"
  366. protection: "protection"
  367. rank: "rank"
  368. reload: "reload"
  369. rename: "rename"
  370. sethome: "sethome"
  371. spy: "spy"
  372. teleport: "teleport"
  373. sub-commands:
  374. on: "on"
  375. off: "off"
  376. silent: "silent"
  377. # Sub-command of "/party create <partyname> fixed" (if enabled)
  378. fixed: "fixed"
  379. # Sub-command used to remove something (desc, motd, etc..)
  380. remove: "remove"
  381. order:
  382. - help
  383. - create
  384. - accept
  385. - deny
  386. - join
  387. - ignore
  388. - mute
  389. - p
  390. - leave
  391. - invite
  392. - info
  393. - list
  394. - chat
  395. - desc
  396. - motd
  397. - protection
  398. - home
  399. - sethome
  400. - color
  401. - claim
  402. - teleport
  403. - password
  404. - rank
  405. - rename
  406. - kick
  407. - spy
  408. - delete
  409. - reload
  410. - migrate
  411.  
  412. # End of configuration file
  413. dont-edit-this:
  414. version: 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement