Advertisement
Guest User

Untitled

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