Advertisement
Guest User

Untitled

a guest
Apr 1st, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.94 KB | None | 0 0
  1. #
  2. # Parties Config file
  3. #
  4. # For a better configuration:
  5. # - Use Notepad++
  6. # - View -> Show White Space and TAB (Active)
  7. # - Don't use arrows, but spaces
  8. # - Setting format editor to YAML
  9. #
  10. #
  11. # Available tags:
  12. # ColorCodes (ex: &1, &2, &3, &a, &b, &c, &r, &l)
  13. # %party% = Show name of party
  14. # %sender% or %player% = Show name of sender/player
  15. # %rank% = Show a customizable string (format-rank-leader and format-rank-member)
  16. # %message% = Show the message of player
  17. # %desc% = Show the party description
  18. # %prefix% & %suffix% = Prefix and Suffix placeholders
  19. # %world% = Show the name of world of sender/player (ex: world_nether)
  20. # %group% = If PEX/GM is active will display the name of group customizable (format-group)
  21. #
  22. functions:
  23. # If found an update then download it
  24. download-updates: false
  25. # Send a message to admins if is available an update
  26. warn-updates-in-game: true
  27. # If you can't use a command that will not be printed in the help page
  28. per-permission-help: true
  29. # Permissions for help page
  30. permission-page-help: 9
  31. # Allow creation of parties without a leader (fixed)
  32. enable-fixed-party: false
  33. # When a player join put him into a party (if he doesn't have one)
  34. default-party:
  35. enable: false
  36. party: default
  37. # See invisible allies (Use ScoreboardTeams system)
  38. see-allies-invisible: false
  39. # Active for bungeecord support (Insert parties in bungeecord plugin folder too)
  40. bungeecord: false
  41. log:
  42. # Enable log system (Into file log.txt)
  43. enable: false
  44. # Prefix for logs (Ex: 15-1-15 [10:00] )
  45. # Tags: %date%, %time% and %position% (To report a bug use %position% tag inside log)
  46. prefix: "%date% [%time%] "
  47. # Log chat of the parties
  48. chat: true
  49. # Levels:
  50. # 1: Log creation/deletion/invitation of a party
  51. # 2: Log all events which edit database of a party
  52. # 3: Debug level (Log a lot of events)
  53. mode: 1
  54. # file = Save all logs into log.txt
  55. # sql = Save all logs in a SQL Database
  56. type: file
  57. file:
  58. name: log.txt
  59. sql:
  60. url: "jdbc:mysql://localhost:3306/database"
  61. username: "username"
  62. password: "password"
  63. log-table: "log"
  64. database:
  65. # none = Dont save parties (A reload reset everything)
  66. # file = Save all data in a configuration file
  67. # sql = Save all data in a SQL Database
  68. type: file
  69. # Command migrate can be used only via console
  70. migrate-only-console: true
  71. file:
  72. # Default is data (data.yml)
  73. name: data
  74. sql:
  75. enable: false
  76. url: "jdbc:mysql://localhost:3306/database"
  77. username: "username"
  78. password: "password"
  79. tables:
  80. spies: "spies"
  81. players: "players"
  82. parties: "parties"
  83. none:
  84. disband-on-leaders-left: true
  85. # Delete empty parties after tot seconds
  86. delay-delete-party: 600
  87. party:
  88. # Max members in a party (-1 is unlimited)
  89. max-members: 10
  90. # Regex of the chars (Use "\\" instead "\") (For ALL utf characters use "[\p{L}\s]+")
  91. allowed-chars: '[a-zA-Z0-9]+'
  92. # If you use tag-name system, for avoid bugs set max to 10
  93. min-length-name: 3
  94. max-length-name: 4
  95. # Placeholder for chat handlers
  96. # One tag: %party% (Example: "[%party%] ")
  97. party-placeholder: "&2[&a%party%&2] &8: "
  98. # Allow colorized name (Example: /party create &cPar&bty
  99. prevent-friendly-fire:
  100. # Prevent fighting between players in a party
  101. enable: true
  102. # When a partymate hit another partymate will be sent a warn to leaders
  103. # Give permission "party.warnondamage" to the party leaders
  104. warn-players-on-fight: false
  105. # List of worlds which prevent friendly fire ('*' = all worlds)
  106. list-worlds:
  107. - 'world'
  108. invite:
  109. # In seconds
  110. timeout: 20
  111. # Can revoke invite of the party (Do again /party invite <player>)
  112. revoke: true
  113. # Don't invite players without permission for join in the party
  114. prevent-invite-player-no-permission-join: true
  115. home:
  116. # Party home cooldown in seconds (-1 is unlimited)
  117. # Can be bypassed by permission parties.home.%time%
  118. cooldown: 0
  119. # Deny teleport if player move or be hitted
  120. cancel-if-move: true
  121. # Distance for deny teleport
  122. distance-cancel: 3
  123. # Password system (Allows to use /party join <party>, you can still disable via permissions passwords)
  124. join-password:
  125. # Allow create parties with password (/party create <party> <password>)
  126. enable: false
  127. # When use /party join, auto leave from current party
  128. bypass-leave: false
  129. # Regex of the chars (Use "\\" instead "\") (For ALL utf characters use "[\p{L}\s]+")
  130. allowed-chars: "[a-zA-Z0-9]+"
  131. # Hashes: MD5, SHA-1, SHA-256
  132. hash: "MD5"
  133. encode: "UTF-8"
  134. length-min: 1
  135. length-max: 16
  136. # Permissions List:
  137. # party.(sendmessage/home/desc/motd/invite/kick/claim)
  138. # party.edit.(home/desc/motd/prefix/suffix/password/rank)
  139. # '*'
  140. #
  141. # Not commands: party.(warnondamage/autocommand)
  142. # You can negate a permission with -
  143. ranks:
  144. member:
  145. rank: 5
  146. name: "Member"
  147. chat: ""
  148. default: true
  149. permissions:
  150. - party.sendmessage
  151. - party.desc
  152. moderator:
  153. rank: 10
  154. name: "Assistant"
  155. chat: "&r∩&r"
  156. permissions:
  157. - -party.edit.desc
  158. - -party.edit.rank
  159. - -party.autocommand
  160. - '*'
  161. leader:
  162. rank: 20
  163. name: "Leader"
  164. chat: "&r∈&r"
  165. permissions:
  166. - '*'
  167.  
  168. description:
  169. length-min: 3
  170. length-max: 16
  171. # Regex of the chars (Use "\\" instead "\") (For ALL utf characters use "[\p{L}\s]+")
  172. allowed-chars: '[a-zA-Z0-9 .,]+'
  173. remove-word: "remove"
  174. censored-words: []
  175. motd:
  176. length-min: 3
  177. # SQL limit: 255 chars
  178. length-max: 100
  179. # Delayed motd in ticks (20 ticks = 1 second)
  180. delay: 20
  181. # Regex of the chars (Use "\\" instead "\") (For ALL utf characters use "[\p{L}\s]+")
  182. allowed-chars: '[a-zA-Z0-9\\ .,]+'
  183. new-line-code: '\\n'
  184. remove-word: "remove"
  185. censored-words: []
  186. kills:
  187. # Save in data.yml each kill of party
  188. save-kills: true
  189. which-save:
  190. neutral-mobs: true
  191. hostile-mobs: true
  192. players: true
  193. tablist:
  194. # Use ProtocolLib (4+) [IT BROKES SKINS]
  195. enable: false
  196. # Leaves blank to unchange
  197. # Using json text
  198. in-party: "{\"text\":\"%player%\",\"color\":\"aqua\"}"
  199. out-party: ""
  200. # Header & Footer, leave blank to disable
  201. header:
  202. in-party: "&b> %party% <"
  203. out-party: "&cOut of party"
  204. footer:
  205. in-party: "&b&lParties"
  206. out-party: "&b&lParties"
  207. tag:
  208. # Set a tag name ahead players head (Use ScoreboardTeams system)
  209. # To avoid Minecraft bugs characters limit is 16 (party name included)
  210. tag-system: false
  211. # Base-tag is TRUE | Custom-tag is FALSE
  212. which-tag-system: true
  213. # Show name of party
  214. base-tag:
  215. # Warning: If you select this the max length for the party name is 10 chars. Overflow this will be bug plugin.
  216. #
  217. # Formats for the tag [ PREFIX | PLAYER NAME | SUFFIX]
  218. format-prefix: "[%party%] "
  219. format-suffix: ""
  220. # Show a customizable name
  221. custom-tag:
  222. # Prefix are the /party prefix command
  223. prefix: true
  224. format-prefix: "[%prefix%] "
  225. # Suffix are the /party suffix command
  226. suffix: false
  227. format-suffix: " [%suffix%]"
  228. remove-word: "remove"
  229. allowed-chars: '[a-zA-Z0-9 .,]+'
  230. max-length: 6
  231. min-lenght: 3
  232. censored-words: []
  233. chat:
  234. chat-format: "&2[&a%party%&2] &r%rank%%player% &2&m--&r&2> &a%message%"
  235. spy-chat-format: "&7[Party:%party%] %player%: %message%"
  236. party-broadcast-format: "%message%"
  237. format-group: "[%name%] "
  238. list:
  239. # Sort system:
  240. # kills = Total kills party.
  241. # players = Total players online.
  242. # allplayers = Total players
  243. # name = Alphabetical order
  244. ordered-by: players
  245. # Filter parties with number of online players less than X.
  246. filter-min: 1
  247. parties-per-page: 8
  248. # Hide some parties from list (Type the name of party)
  249. hidden-parties: []
  250. follow-party:
  251. # When player join in a world whole party follow him
  252. # If you wanna use a server follow alternative install Parties into your bungeecord plugins folder
  253. enable: false
  254. # Type of teleport:
  255. # 1 = Teleport into world spawn
  256. # 2 = Same point of followed player
  257. type-of-teleport: 1
  258. # Needed rank to be followed by the party (0 = all ranks)
  259. needed-rank: 0
  260. # Minimum rank of player who can follow the party (0 = all ranks)
  261. minimum-rank-to-follow: 0
  262. # Seconds to wait before player can re-use portal, used to fix spam join portals (20 ticks = 1 second)
  263. timeout-portal: 100
  264. # List of worlds which use follow-party ('*' = all worlds)
  265. list-worlds:
  266. - '*'
  267. auto-command:
  268. # All party use the same command which use the leader (Rank permission: party.autocommand)
  269. enable: false
  270. # Important: Blacklist/whitelist your commands to prevent exploits (Pay for example)
  271. # Blacklist/whitelist your commands with a "start-with" check (Block /pay to prevent commands like "/pay bla bla", "/paymember bla", "/payment")
  272. # If you whitelist a command, you will bypass it if blacklisted
  273. blacklist:
  274. - "/pay"
  275. - "/money"
  276. # You can insert '*' for all commands
  277. whitelist:
  278. - '*'
  279. censor:
  280. # Censor name party system
  281. enable: false
  282. case-sensitive: false
  283. contains: []
  284. start-with: []
  285. end-with: []
  286. exp:
  287. # Exp system
  288. enable: true
  289. # Divide exp
  290. divide-between-players: false
  291. # Range in blocks between player in a party share experience, -1 is unlimited (Everyone player in the party online)
  292. range: 20
  293. # Give exp via SkillAPI (ExpSource MOB)
  294. skillapi:
  295. enable: true
  296. # SkillAPI sources
  297. exp-source: "MOB"
  298. banmanager:
  299. # Enable BanManager support
  300. enable: false
  301. prevent-chat-muted: true
  302. # Warning: BanManager doesn't works good with offline-mode uuid
  303. auto-kick-banned: true
  304. dynmap:
  305. # Enable dynmap support
  306. enable: false
  307. show-party-homes: true
  308. hide-by-default: false
  309. settings:
  310. # Minimum players in party to show up marker on dynmap
  311. minimum-players: 3
  312. markers:
  313. layer: "Party homes"
  314. # HTML Allowed. Tags: %party%, %prefix%, %suffix%, %kills%
  315. label: "<b>%party%</b>'s home"
  316. # Dynmap icons
  317. icon: "house"
  318. griefprevention:
  319. enable: false
  320. # To add permissions you need to be Owner of the claim, or Manager
  321. need-to-be-owner-claim: false
  322. sub-commands:
  323. trust: "trust"
  324. container: "container"
  325. access: "access"
  326. remove: "remove"
  327. vault:
  328. # Enable Vault support (Use permission 'parties.admin.vaultbypass' to bypass commands)
  329. enable: false
  330. confirm-command:
  331. # True: use confirm command, False: buy when use command
  332. enable: true
  333. # Timeout in ms
  334. timeout: 10000
  335. # Set a price for these commands (in Double, 1.1, 1.5, etc..)
  336. price-commands:
  337. create: 0
  338. home: 0
  339. set-home: 0
  340. desc: 0
  341. motd: 0
  342. prefix: 0
  343. suffix: 0
  344. commands:
  345. # Change commands (For the help page see messages configuration file)
  346. command-party: "clan"
  347. command-party-desc: "Parties help page"
  348. command-help: "help"
  349. command-p: "c"
  350. command-p-desc: "Send a party message"
  351. command-create: "create"
  352. command-password: "password"
  353. command-join: "join"
  354. command-accept: "accept"
  355. command-deny: "deny"
  356. command-ignore: "ignore"
  357. command-leave: "leave"
  358. command-list: "list"
  359. command-info: "info"
  360. command-members: "members"
  361. command-home: "home"
  362. command-sethome: "sethome"
  363. command-desc: "desc"
  364. command-motd: "motd"
  365. command-chat: "chat"
  366. command-invite: "invite"
  367. command-prefix: "prefix"
  368. command-suffix: "suffix"
  369. command-rank: "rank"
  370. command-kick: "kick"
  371. command-delete: "delete"
  372. command-rename: "rename"
  373. command-silent: "silent"
  374. command-spy: "spy"
  375. command-reload: "reload"
  376. sub-command-on: "on"
  377. sub-command-off: "off"
  378. # Sub-command of /party create <partyname> fixed (if enabled)
  379. sub-command-fixed: "fixed"
  380. # Command to migrate SQL/YAML database
  381. command-migrate: "migrate"
  382. # Command for GriefPrevention support
  383. command-claim: "claim"
  384. # Command to buy commands (Vault support)
  385. command-confirm: "confirm"
  386. dont-edit-this:
  387. config-version: 13
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement