Advertisement
Guest User

config

a guest
Jan 31st, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.08 KB | None | 0 0
  1. #
  2. # Parties Config file
  3. #
  4. # For a better configuration:
  5. # - Use Notepad++
  6. # - View -> Symbols -> Show White Space and TAB (Active)
  7. # - Don't use arrows, but spaces
  8. # - Set format (syntax) editor to YAML
  9. #
  10. #
  11. # Available tags:
  12. # ColorCodes (ex: &1, &2, &3, &a, &b, &c, &r, &l)
  13. # %party% = Name of the party
  14. # %desc% = Description of the party
  15. # %motd% = MOTD of the party
  16. # %kills% = Kills of the party
  17. # %color_name% = Party color name
  18. # %color_command% = Party color command
  19. # %color_code% = Party color code
  20. # %prefix% = Prefix of the party
  21. # %suffix% = Suffix of the party
  22. # %players% = Number of players online in the party
  23. # %sender% or %player% = Name of the sender/player
  24. # %rank_name% = Rank name
  25. # %rank_chat% = Customizable rank string (Config.yml: format-rank-leader and format-rank-member)
  26. # %message% = Message of the player
  27. # %world% = Name of the world where the player is (ex: world_nether)
  28. # %price% = Price of the command (Only some commands, see vault section)
  29. #
  30. functions:
  31. # Check and download updates
  32. download-updates: false
  33. # Send a message to admins if is available an update
  34. warn-updates-in-game: true
  35. # Show in help page only commands that you have the permission to perform
  36. per-permission-help: true
  37. # Commands per help page
  38. commands-per-page: 9
  39. # Enable tab support (/party <tab> to see every allowed command)
  40. command-tab: true
  41. # Allow the creation of parties without a leader (fixed parties)
  42. # Admins with 'parties.admin.fixed.edit' permission can join parties and edit their info (ex: description, prefix, etc..)
  43. enable-fixed-party: false
  44. # When a player join into the server, put him into a party (if he doesn't have one)
  45. default-party:
  46. enable: false
  47. party: default
  48. # See invisible allies (Use ScoreboardTeams system)
  49. see-allies-invisible: false
  50. # Message upon login and logout of partymates
  51. join-leave-messages: false
  52. # Enable bungeecord listener (Insert parties in bungeecord plugin folder too)
  53. bungeecord: false
  54. storage:
  55. # What type of storage Parties should use?
  56. # Available types:
  57. # none = Parties data is saved into memory (A reload reset everything, disable log if used on it)
  58. # yaml = Save all data into a yaml file
  59. # mysql = Save all data into a MySQL Database
  60. log-storage-type: yaml
  61. database-storage-type: yaml
  62. log-settings:
  63. # Log format
  64. # %date% = Date as yyyy-MM-dd
  65. # %time% = Time as HH:mm:ss
  66. # %position% = Debug purpose, show caller class (USE IT TO REPORT BUGS)
  67. # %level% = Mode of the message
  68. # %message% = Message
  69. format: "%date% [%time%] (%level%) {%position%} %message%"
  70. # Log chat of parties
  71. chat: true
  72. # Print messages on the console
  73. print-console: true
  74. # Levels:
  75. # 1: Basic log level
  76. # 2: Log all events that interacts with the database
  77. # 3: Debug level (Log a lot of events)
  78. log-level: 3
  79. migrate-settings:
  80. # Used to initialize MySQL database even if type set to another storage
  81. force-mysql: false
  82. # Command migrate can be used only via console
  83. migrate-only-console: true
  84. # Rename old data.yml (Empty to overwrite)
  85. migration-suffix: "_backup"
  86. storage-settings:
  87. yaml:
  88. database-name: "data.yml"
  89. log-name: "log.txt"
  90. mysql:
  91. url: "jdbc:mysql://localhost:3306/database"
  92. username: "username"
  93. password: "password"
  94. varchar-size: 255
  95. # Size of the connection pool
  96. pool-size: 10
  97. # Lifetime of each connection, in milliseconds (Default: 30 minutes = 1800000ms)
  98. conn-lifetime: 1800000
  99. # Connection timeout, drop connection if the query take too long (Default: 15 seconds = 15000ms)
  100. conn-timeout: 10000
  101. tables:
  102. parties: "parties_parties"
  103. players: "parties_players"
  104. spies: "parties_spies"
  105. log: "parties_log"
  106. none:
  107. disband-on-leader-left: true
  108. # Delete empty parties after tot seconds
  109. delay-delete-party: 600
  110. party:
  111. # Max members of a party (-1 is unlimited)
  112. max-members: -1
  113. # Regex of the chars (Use "\\" instead of "\") (For ALL utf characters use "[\p{L}\s]+")
  114. allowed-chars: '[a-zA-Z0-9]+'
  115. # If you use tag-name system, set max to 10 to avoid bugs
  116. min-length-name: 3
  117. max-length-name: 10
  118. # Cooldown for rename command (in seconds)
  119. rename-cooldown: 300
  120. # Placeholder for chat handlers (like PlaceholderAPI)
  121. # For example: "[%party%] "
  122. # If there is no party, you should see "" else "[%party%] "
  123. party-placeholder: "[%party%] "
  124. prevent-friendly-fire:
  125. # Prevent fighting between players in a party
  126. enable: true
  127. # When partymates hit together, leaders will be warned
  128. # Give permission "party.warnondamage" to the party leaders
  129. warn-players-on-fight: true
  130. # Worlds protected from friendly fire ('*' = all worlds)
  131. list-worlds:
  132. - '*'
  133. invite:
  134. # Invite timeout in seconds
  135. timeout: 20
  136. # Enable revoke command (Do again /party invite <player>)
  137. revoke: true
  138. # Don't invite players that doesn't have the permission to join in parties
  139. prevent-invite-player-no-permission-join: true
  140. home:
  141. # Party home cooldown before teleport, in seconds
  142. # Bypass cooldown with the permission parties.home.%time%
  143. cooldown: 0
  144. # Cancel the teleport if player is moving or he got hitted
  145. cancel-if-move: true
  146. # Walk distance to deny the teleport
  147. distance-cancel: 3
  148. teleport:
  149. # Enable teleport command, teleport every partymate to the command sender
  150. enable: false
  151. # Delay between every teleport command
  152. delay: 60
  153. color:
  154. # Enable color command
  155. # By default: placeholder isn't set in messages.yml, you need to put it wherever you want
  156. # Placeholders: %color_name%, %color_command% and %color_code%
  157. enable: false
  158. # Enable color command (disable it if you are using dynamic colors)
  159. color-command: true
  160. # Give to parties a color based on their stats
  161. # Add to each color a priority value and the relative statistic minimum value (Supported: kills, members)
  162. # Example:
  163. # red:
  164. # command: "red"
  165. # code: "&c"
  166. # dynamic:
  167. # priority: 10
  168. # kills: 100
  169. # members: 5
  170. dynamic-color: false
  171. # Make here your custom colors
  172. # command = /party color <command>
  173. # code = code of the color
  174. list-colors:
  175. red:
  176. command: "red"
  177. code: "&c"
  178. green:
  179. command: "green"
  180. code: "&a"
  181. yourcustomcolor:
  182. command: "special"
  183. code: "&9&n"
  184. # Password system (Allows to use /party join <party>, you can still disable via permissions passwords)
  185. join-password:
  186. # Allow create parties with password (/party create <party> <password>)
  187. enable: false
  188. # When use /party join, auto leave from current party
  189. bypass-leave: false
  190. # Regex of the chars (Use "\\" instead "\") (For ALL utf characters use "[\p{L}\s]+")
  191. allowed-chars: "[a-zA-Z0-9]+"
  192. # Hashes: MD5, SHA-1, SHA-256
  193. hash: "MD5"
  194. encode: "UTF-8"
  195. length-min: 1
  196. length-max: 16
  197. # Permissions List:
  198. # party.(sendmessage/home/desc/motd/invite/kick/claim)
  199. # party.edit.(home/desc/motd/prefix/suffix/password)
  200. # party.admin.(rename/rank/teleport)
  201. # '*'
  202. #
  203. # Not commands: party.(warnondamage/autocommand/bypasscooldown)
  204. # You can negate a permission with -
  205. ranks:
  206. member:
  207. rank: 5
  208. name: "Member"
  209. chat: "&bMember"
  210. default: true
  211. permissions:
  212. - party.sendmessage
  213. - party.home
  214. - party.desc
  215. - party.motd
  216. - party.claim
  217. moderator:
  218. rank: 10
  219. name: "Moderator"
  220. chat: "&cModerator"
  221. permissions:
  222. - -party.edit.home
  223. - -party.edit.desc
  224. - -party.edit.motd
  225. - -party.edit.prefix
  226. - -party.edit.suffix
  227. - -party.admin.password
  228. - -party.admin.rename
  229. - -party.admin.rank
  230. - -party.admin.teleport
  231. - -party.autocommand
  232. - '*'
  233. leader:
  234. rank: 20
  235. name: "Leader"
  236. chat: "&4&lLeader"
  237. permissions:
  238. - '*'
  239. description:
  240. length-min: 3
  241. length-max: 16
  242. # Regex of the chars (Use "\\" instead "\") (For ALL utf characters use "[\p{L}\s]+")
  243. allowed-chars: '[a-zA-Z0-9 .,]+'
  244. censored-words: []
  245. motd:
  246. length-min: 3
  247. # SQL limit: 255 chars
  248. length-max: 100
  249. # Delay before motd printing in ticks (20 ticks = 1 second)
  250. delay: 20
  251. # Regex of the chars (Use "\\" instead "\") (For ALL utf characters use "[\p{L}\s]+")
  252. allowed-chars: '[a-zA-Z0-9\\ .,]+'
  253. new-line-code: '\\n'
  254. censored-words: []
  255. kills:
  256. # Save in data.yml each kill of parties
  257. save-kills: false
  258. which-save:
  259. neutral-mobs: false
  260. hostile-mobs: false
  261. players: true
  262. tablist:
  263. # Use ProtocolLib (4+) [IT BROKES SKINS]
  264. enable: false
  265. # Leave empty to disable
  266. # You need to use JSON text
  267. in-party: "{\"text\":\"%player%\",\"color\":\"aqua\"}"
  268. out-party: ""
  269. # Header & Footer, leave empty to disable
  270. header:
  271. in-party: "&b> %party% <"
  272. out-party: "&cOut of party"
  273. footer:
  274. in-party: "&b&lParties"
  275. out-party: "&b&lParties"
  276. tag:
  277. # Set a tag name on players head (Use Minecraft ScoreboardTeams system)
  278. # To avoid Minecraft bugs characters limit is 16 (party name included)
  279. tag-system: false
  280. # Base-tag is TRUE | Custom-tag is FALSE
  281. which-tag-system: true
  282. # Show name of the party
  283. base-tag:
  284. # Warning: If you select this the max length for the party name is 10 chars. Overflow this will be bug plugin.
  285. #
  286. # Formats for the tag [ PREFIX | PLAYER NAME | SUFFIX]
  287. format-prefix: "[%party%] "
  288. format-suffix: ""
  289. # Show a customizable name
  290. custom-tag:
  291. # Prefix are the /party prefix command
  292. prefix: true
  293. format-prefix: "[%prefix%] "
  294. # Suffix are the /party suffix command
  295. suffix: false
  296. format-suffix: " [%suffix%]"
  297. allowed-chars: '[a-zA-Z0-9 .,]+'
  298. max-length: 6
  299. min-lenght: 3
  300. censored-words: []
  301. chat:
  302. chat-format: "&b[Party] %rank_chat% %player%&r&7: &b%message%"
  303. # Allow sending messages with color codes (&1, &2, etc..)
  304. allow-colors: false
  305. # Chat cooldown in seconds
  306. chat-cooldown: 0
  307. spy-chat-format: "&7[SPY] [Party:%party%] %player%: %message%"
  308. party-broadcast-format: "&b[Party] %message%"
  309. format-group: "[%name%] "
  310. list:
  311. enable: true
  312. # Sort system:
  313. # kills = Total kills.
  314. # players = Total players online.
  315. # allplayers = Total players.
  316. # name = Alphabetical order
  317. ordered-by: players
  318. # Filter parties if number of online players is less than X.
  319. filter-min: 1
  320. parties-per-page: 8
  321. # Show max X parties (-1 is unlimited)
  322. limit-parties: -1
  323. # Hide some parties from the list (Type the name of party)
  324. hidden-parties: []
  325. follow-party:
  326. # When player join in a world, whole the party will follow him
  327. # If you wanna use a server follow alternative, install Parties into your bungeecord plugins folder
  328. enable: false
  329. # Type of teleport:
  330. # 1 = Teleport into world spawn
  331. # 2 = Same point of followed player
  332. type-of-teleport: 1
  333. # Minimum rank to let partymates follow you (0 = all ranks)
  334. needed-rank: 0
  335. # Minimum rank to follow the party (0 = all ranks)
  336. minimum-rank-to-follow: 0
  337. # Timeout before player can re-use portal in seconds, important to fix join portals spam (20 ticks = 1 second)
  338. timeout-portal: 100
  339. # List of worlds that would use follow-party feature ('*' = all worlds)
  340. list-worlds:
  341. - '*'
  342. auto-command:
  343. # All partymates use the same command that use the leader (Rank permission: party.autocommand)
  344. enable: false
  345. # Important: Blacklist/whitelist your commands to prevent exploits (Pay for example)
  346. # Blacklist/whitelist your commands with a "start-with" check (Block /pay to prevent commands like "/pay bla bla", "/paymember bla", "/payment")
  347. # If you whitelist a command, you will bypass it (if it is blacklisted)
  348. # You can insert '*' for all commands
  349. blacklist:
  350. - "/pay"
  351. - "/money"
  352. whitelist: []
  353. censor:
  354. # Party names to censure
  355. enable: false
  356. case-sensitive: false
  357. contains: []
  358. starts-with: []
  359. ends-with: []
  360. exp:
  361. # Exp system
  362. enable: false
  363. # Divide exp
  364. divide-between-players: true
  365. share-if-more-than: 1
  366. # Tags:
  367. # %number% = Number of players
  368. # %exp% = Exp value
  369. formula: "%exp% / %number%"
  370. # Range in blocks between players in a party to share experience, -1 is unlimited (Every online player of the party)
  371. range: 15
  372. # Give exp via SkillAPI (ExpSource MOB)
  373. skillapi:
  374. enable: false
  375. # SkillAPI sources
  376. exp-source: "MOB"
  377. placeholders:
  378. # This options are used to customize Parties placeholders
  379. # You can customize every external placeholder
  380. # Use classic placeholders inside the option!
  381. color-name: "%color_name%"
  382. color-code: "%color_code%"
  383. color-command: "%color_command%"
  384. desc: "%desc%"
  385. kills: "%kills%"
  386. motd: "%motd%"
  387. party: "%party%"
  388. prefix: "%prefix%"
  389. rank-name: "%rank_name%"
  390. rank-chat: "%rank_chat%"
  391. suffix: "%suffix%"
  392. banmanager:
  393. # Enable BanManager support
  394. enable: false
  395. prevent-chat-muted: true
  396. # Warning: BanManager doesn't works good with offline-mode uuid
  397. auto-kick-banned: true
  398. dynmap:
  399. # Enable Dynmap support
  400. enable: false
  401. show-party-homes: true
  402. hide-by-default: false
  403. settings:
  404. # Minimum party players to show up the marker on Dynmap
  405. minimum-players: 3
  406. markers:
  407. layer: "Party homes"
  408. # HTML Allowed. Tags: %party%, %prefix%, %suffix%, %kills%
  409. label: "<b>%party%</b>'s home"
  410. # Dynmap icons
  411. icon: "house"
  412. griefprevention:
  413. enable: false
  414. # To perform the command you need to be the Owner of the claim, or Manager
  415. need-to-be-owner-claim: false
  416. sub-commands:
  417. trust: "trust"
  418. container: "container"
  419. access: "access"
  420. remove: "remove"
  421. vault:
  422. # Enable Vault support (Use permission 'parties.admin.vaultbypass' to bypass commands)
  423. enable: false
  424. confirm-command:
  425. # True: use confirm command, False: buy when the command is used
  426. enable: true
  427. # Timeout in ms
  428. timeout: 10000
  429. # Set a price for these commands (in Double, 1.1, 1.5, etc..)
  430. price-commands:
  431. create: 0
  432. join: 0
  433. home: 0
  434. set-home: 0
  435. desc: 0
  436. motd: 0
  437. color: 0
  438. prefix: 0
  439. suffix: 0
  440. teleport: 0
  441. claim: 0
  442. commands:
  443. # Change commands (For the help page see messages configuration file)
  444. command-party: "party"
  445. command-party-desc: "Parties help page"
  446. command-help: "help"
  447. command-p: "p"
  448. command-p-desc: "Send a party message"
  449. command-create: "create"
  450. command-password: "password"
  451. command-join: "join"
  452. command-accept: "accept"
  453. command-deny: "deny"
  454. command-ignore: "ignore"
  455. command-leave: "leave"
  456. command-list: "list"
  457. command-info: "info"
  458. command-members: "members"
  459. command-home: "home"
  460. command-sethome: "sethome"
  461. command-teleport: "teleport"
  462. command-desc: "desc"
  463. command-motd: "motd"
  464. command-chat: "chat"
  465. command-invite: "invite"
  466. command-color: "color"
  467. command-prefix: "prefix"
  468. command-suffix: "suffix"
  469. command-rank: "rank"
  470. command-kick: "kick"
  471. command-delete: "delete"
  472. command-rename: "rename"
  473. command-silent: "silent"
  474. command-spy: "spy"
  475. command-reload: "reload"
  476. sub-command-on: "on"
  477. sub-command-off: "off"
  478. # Sub-command of /party create <partyname> fixed (if enabled)
  479. sub-command-fixed: "fixed"
  480. # Sub-command used to remove something (desc, prefix, suffix, etc..)
  481. sub-command-remove: "remove"
  482. # Command to migrate SQL/YAML database
  483. command-migrate: "migrate"
  484. # Command for GriefPrevention support
  485. command-claim: "claim"
  486. # Command to buy commands (Vault support)
  487. command-confirm: "confirm"
  488. dont-edit-this:
  489. config-version: 17
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement