Advertisement
Guest User

AHHHHHHHHHHHHHHHHHHHHHH

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