Advertisement
Guest User

Untitled

a guest
Dec 7th, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.71 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: none
  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: 1
  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: 15
  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: 60
  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: 3
  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: false
  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: true
  171. # Make here your custom colors
  172. # command = /party color <command>
  173. # code = code of the color
  174. list-colors:
  175. green:
  176. command: "green"
  177. code: "&2"
  178. dynamic:
  179. priority: 10
  180. kills: 100
  181. members: 5
  182. orange:
  183. command: "orange"
  184. code: "&6&l"
  185. dynamic:
  186. priority: 10
  187. kills: 500
  188. members: 5
  189. red:
  190. command: "red"
  191. code: "&c&l"
  192. dynamic:
  193. priority: 10
  194. kills: 2000
  195. members: 5
  196. purple:
  197. command: "purple"
  198. code: "&5&l"
  199. dynamic:
  200. priority: 10
  201. kills: 5000
  202. members: 10
  203. # Password system (Allows to use /party join <party>, you can still disable via permissions passwords)
  204. join-password:
  205. # Allow create parties with password (/party create <party> <password>)
  206. enable: false
  207. # When use /party join, auto leave from current party
  208. bypass-leave: false
  209. # Regex of the chars (Use "\\" instead "\") (For ALL utf characters use "[\p{L}\s]+")
  210. allowed-chars: "[a-zA-Z0-9]+"
  211. # Hashes: MD5, SHA-1, SHA-256
  212. hash: "MD5"
  213. encode: "UTF-8"
  214. length-min: 1
  215. length-max: 16
  216. # Permissions List:
  217. # party.(sendmessage/home/desc/motd/invite/kick/claim)
  218. # party.edit.(home/desc/motd/prefix/suffix/password)
  219. # party.admin.(rename/rank/teleport)
  220. # '*'
  221. #
  222. # Not commands: party.(warnondamage/autocommand/bypasscooldown)
  223. # You can negate a permission with -
  224. ranks:
  225. member:
  226. rank: 5
  227. name: "Member"
  228. chat: "&eUser"
  229. default: true
  230. permissions:
  231. - party.sendmessage
  232. - party.home
  233. - party.desc
  234. - party.motd
  235. moderator:
  236. rank: 10
  237. name: "Moderator"
  238. chat: "&a&lModerator"
  239. permissions:
  240. - -party.edit.home
  241. - -party.edit.desc
  242. - -party.edit.motd
  243. - -party.edit.prefix
  244. - -party.edit.suffix
  245. - -party.admin.password
  246. - -party.admin.rename
  247. - -party.admin.rank
  248. - -party.admin.teleport
  249. - -party.autocommand
  250. - '*'
  251. leader:
  252. rank: 20
  253. name: "Leader"
  254. chat: "&c&lLeader"
  255. permissions:
  256. - -party.edit.prefix
  257. - -party.edit.suffix
  258. - -party.admin.teleport
  259. - '*'
  260. description:
  261. length-min: 3
  262. length-max: 16
  263. # Regex of the chars (Use "\\" instead "\") (For ALL utf characters use "[\p{L}\s]+")
  264. allowed-chars: '[a-zA-Z0-9 .,]+'
  265. censored-words: []
  266. motd:
  267. length-min: 3
  268. # SQL limit: 255 chars
  269. length-max: 100
  270. # Delay before motd printing in ticks (20 ticks = 1 second)
  271. delay: 20
  272. # Regex of the chars (Use "\\" instead "\") (For ALL utf characters use "[\p{L}\s]+")
  273. allowed-chars: '[a-zA-Z0-9\\ .,]+'
  274. new-line-code: '\\n'
  275. censored-words: []
  276. kills:
  277. # Save in data.yml each kill of parties
  278. save-kills: true
  279. which-save:
  280. neutral-mobs: false
  281. hostile-mobs: false
  282. players: true
  283. tablist:
  284. # Use ProtocolLib (4+) [IT BROKES SKINS]
  285. enable: false
  286. # Leave empty to disable
  287. # You need to use JSON text
  288. in-party: "{\"text\":\"%player%\",\"color\":\"aqua\"}"
  289. out-party: ""
  290. # Header & Footer, leave empty to disable
  291. header:
  292. in-party: "&b> %party% <"
  293. out-party: "&cOut of party"
  294. footer:
  295. in-party: "&b&lParties"
  296. out-party: "&b&lParties"
  297. tag:
  298. # Set a tag name on players head (Use Minecraft ScoreboardTeams system)
  299. # To avoid Minecraft bugs characters limit is 16 (party name included)
  300. tag-system: false
  301. # Base-tag is TRUE | Custom-tag is FALSE
  302. which-tag-system: true
  303. # Show name of the party
  304. base-tag:
  305. # Warning: If you select this the max length for the party name is 10 chars. Overflow this will be bug plugin.
  306. #
  307. # Formats for the tag [ PREFIX | PLAYER NAME | SUFFIX]
  308. format-prefix: "[%party%] "
  309. format-suffix: ""
  310. # Show a customizable name
  311. custom-tag:
  312. # Prefix are the /party prefix command
  313. prefix: true
  314. format-prefix: "[%prefix%] "
  315. # Suffix are the /party suffix command
  316. suffix: false
  317. format-suffix: " [%suffix%]"
  318. allowed-chars: '[a-zA-Z0-9 .,]+'
  319. max-length: 6
  320. min-lenght: 3
  321. censored-words: []
  322. chat:
  323. chat-format: "&4&l[&e&lClans&4&l] %rank_chat% %player% &r&c&l» &b%message%"
  324. # Allow sending messages with color codes (&1, &2, etc..)
  325. allow-colors: false
  326. # Chat cooldown in seconds
  327. chat-cooldown: 0
  328. spy-chat-format: "&7[SPY] [Party:%party%] %player%: %message%"
  329. party-broadcast-format: "&4&l[&e&lClans&4&l] %message%"
  330. format-group: "[%name%] "
  331. list:
  332. enable: true
  333. # Sort system:
  334. # kills = Total kills.
  335. # players = Total players online.
  336. # allplayers = Total players.
  337. # name = Alphabetical order
  338. ordered-by: kills
  339. # Filter parties if number of online players is less than X.
  340. filter-min: 1
  341. parties-per-page: 10
  342. # Show max X parties (-1 is unlimited)
  343. limit-parties: 10
  344. # Hide some parties from the list (Type the name of party)
  345. hidden-parties: []
  346. follow-party:
  347. # When player join in a world, whole the party will follow him
  348. # If you wanna use a server follow alternative, install Parties into your bungeecord plugins folder
  349. enable: false
  350. # Type of teleport:
  351. # 1 = Teleport into world spawn
  352. # 2 = Same point of followed player
  353. type-of-teleport: 1
  354. # Minimum rank to let partymates follow you (0 = all ranks)
  355. needed-rank: 0
  356. # Minimum rank to follow the party (0 = all ranks)
  357. minimum-rank-to-follow: 0
  358. # Timeout before player can re-use portal in seconds, important to fix join portals spam (20 ticks = 1 second)
  359. timeout-portal: 100
  360. # List of worlds that would use follow-party feature ('*' = all worlds)
  361. list-worlds:
  362. - '*'
  363. auto-command:
  364. # All partymates use the same command that use the leader (Rank permission: party.autocommand)
  365. enable: false
  366. # Important: Blacklist/whitelist your commands to prevent exploits (Pay for example)
  367. # Blacklist/whitelist your commands with a "start-with" check (Block /pay to prevent commands like "/pay bla bla", "/paymember bla", "/payment")
  368. # If you whitelist a command, you will bypass it (if it is blacklisted)
  369. # You can insert '*' for all commands
  370. blacklist:
  371. - "/pay"
  372. - "/money"
  373. whitelist: []
  374. censor:
  375. # Party names to censure
  376. enable: false
  377. case-sensitive: false
  378. contains: []
  379. starts-with: []
  380. ends-with: []
  381. exp:
  382. # Exp system
  383. enable: false
  384. # Divide exp
  385. divide-between-players: true
  386. share-if-more-than: 1
  387. # Tags:
  388. # %number% = Number of players
  389. # %exp% = Exp value
  390. formula: "%exp% / %number%"
  391. # Range in blocks between players in a party to share experience, -1 is unlimited (Every online player of the party)
  392. range: 15
  393. # Give exp via SkillAPI (ExpSource MOB)
  394. skillapi:
  395. enable: false
  396. # SkillAPI sources
  397. exp-source: "MOB"
  398. placeholders:
  399. # This options are used to customize Parties placeholders
  400. # You can customize every external placeholder
  401. # Use classic placeholders inside the option!
  402. color-name: "%color_name%"
  403. color-code: "%color_code%"
  404. color-command: "%color_command%"
  405. desc: "%desc%"
  406. kills: "%kills%"
  407. motd: "%motd%"
  408. party: "%party%"
  409. prefix: "%prefix%"
  410. rank-name: "%rank_name%"
  411. rank-chat: "%rank_chat%"
  412. suffix: "%suffix%"
  413. banmanager:
  414. # Enable BanManager support
  415. enable: false
  416. prevent-chat-muted: true
  417. # Warning: BanManager doesn't works good with offline-mode uuid
  418. auto-kick-banned: true
  419. dynmap:
  420. # Enable Dynmap support
  421. enable: false
  422. show-party-homes: true
  423. hide-by-default: false
  424. settings:
  425. # Minimum party players to show up the marker on Dynmap
  426. minimum-players: 3
  427. markers:
  428. layer: "Party homes"
  429. # HTML Allowed. Tags: %party%, %prefix%, %suffix%, %kills%
  430. label: "<b>%party%</b>'s home"
  431. # Dynmap icons
  432. icon: "house"
  433. griefprevention:
  434. enable: false
  435. # To perform the command you need to be the Owner of the claim, or Manager
  436. need-to-be-owner-claim: false
  437. sub-commands:
  438. trust: "trust"
  439. container: "container"
  440. access: "access"
  441. remove: "remove"
  442. vault:
  443. # Enable Vault support (Use permission 'parties.admin.vaultbypass' to bypass commands)
  444. enable: false
  445. confirm-command:
  446. # True: use confirm command, False: buy when the command is used
  447. enable: true
  448. # Timeout in ms
  449. timeout: 10000
  450. # Set a price for these commands (in Double, 1.1, 1.5, etc..)
  451. price-commands:
  452. create: 0
  453. join: 0
  454. home: 0
  455. set-home: 0
  456. desc: 0
  457. motd: 0
  458. color: 0
  459. prefix: 0
  460. suffix: 0
  461. teleport: 0
  462. claim: 0
  463. commands:
  464. # Change commands (For the help page see messages configuration file)
  465. command-party: "clan"
  466. command-party-desc: "clan help page"
  467. command-help: "help"
  468. command-p: "p"
  469. command-p-desc: "Send a party message"
  470. command-create: "create"
  471. command-password: "password"
  472. command-join: "join"
  473. command-accept: "accept"
  474. command-deny: "deny"
  475. command-ignore: "ignore"
  476. command-leave: "leave"
  477. command-list: "stats"
  478. command-info: "info"
  479. command-members: "users"
  480. command-home: "base"
  481. command-sethome: "setbase"
  482. command-teleport: "teleport"
  483. command-desc: "desc"
  484. command-motd: "motd"
  485. command-chat: "chat"
  486. command-invite: "invite"
  487. command-color: "color"
  488. command-prefix: "prefix"
  489. command-suffix: "suffix"
  490. command-rank: "rank"
  491. command-kick: "kick"
  492. command-delete: "delete"
  493. command-rename: "rename"
  494. command-silent: "silent"
  495. command-spy: "spy"
  496. command-reload: "reload"
  497. sub-command-on: "on"
  498. sub-command-off: "off"
  499. # Sub-command of /party create <partyname> fixed (if enabled)
  500. sub-command-fixed: "fixed"
  501. # Sub-command used to remove something (desc, prefix, suffix, etc..)
  502. sub-command-remove: "remove"
  503. # Command to migrate SQL/YAML database
  504. command-migrate: "migrate"
  505. # Command for GriefPrevention support
  506. command-claim: "claim"
  507. # Command to buy commands (Vault support)
  508. command-confirm: "confirm"
  509. dont-edit-this:
  510. config-version: 17
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement