Advertisement
Guest User

config.yml

a guest
Feb 19th, 2017
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.40 KB | None | 0 0
  1. # ------------------------------ #
  2. #
  3. # FeatherBoard 3
  4. # Runs like a feather on your server
  5. # (c) Maxim Van de Wynckel
  6. #
  7. # ------------------------------ #
  8.  
  9. # Permissions: To use the action groups give them the permission
  10. # featherboard.group.<group>
  11. # Make sure to remove them from the other groups
  12. # when giving a new permission.
  13.  
  14. # Variables: These variables can be used in the TEXT section
  15. # of both the header as the footer.
  16. #
  17. # {PLAYER} - Player name
  18. # {PLAYERNICK} - Player nickname
  19. # {SERVER} - Server name
  20. # {PLAYERCOUNT} - Server player count
  21. # {BUNGEECOUNT} - Bungee network player count
  22. # 5000+ more ... see spigot page
  23.  
  24. # Formatting: These are formatting tags allowing you to format the animations
  25. # or placeholders.
  26. #
  27. # Substring: This allows you to split a word (even a placeholder) in parts
  28. # example: <substring begin=0 end=3>Hello World</substring> = Hel
  29. # usage: This can be used to split placeholders when creating a typewriter
  30. # or to split the colors in a placeholder.
  31. #
  32. # Scroll: This creates a scrolling animation of the text inside it. It accepts
  33. # two arguments (the length and space between scrolls).
  34. # example: <scroll width=20 spaces=20>&2This is a &atest</scroll>
  35. #
  36. # PLENTY MORE! See spigot page
  37.  
  38. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  39. # GENERAL PLUGIN SETTINGS
  40. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  41.  
  42. ## Config version (DO NOT EDIT)
  43. config: 3
  44.  
  45. ## Language file
  46. lang: 'en'
  47.  
  48. ## Debug mode
  49. debug: false
  50.  
  51. ## Log to file
  52. log:
  53. enabled: true
  54. # Reset log on startup
  55. reset: false
  56.  
  57. ## Update checking
  58. update:
  59. check: true # RECOMMENDED YOU LEAVE THIS TRUE
  60.  
  61. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  62. # PLUGIN SPECIFIC SETTINGS
  63. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  64.  
  65. # Placeholder settings
  66. placeholder:
  67. # logs the memory usage of placeholders on startup
  68. log-memory: false
  69. # Clear unused placeholders that are not enabled.
  70. clear-unused: true
  71. # Config cache only
  72. # This will only use placeholders in the config
  73. # HOWEVER: IT WILL BREAK ALL CUSTOM PLACEHOLDERS!
  74. # IT WILL ALSO PREVENT ANY HOOKS (PlaceholderAPI)
  75. config-cache: false
  76.  
  77. # Tweaks to increase performance (Use at own risk)
  78. tweaks:
  79. # This option does not send scoreboard remove packets
  80. # to the client on quit. This can increase performance on servers
  81. # where players quit a lot (hubs, ...)
  82. #
  83. # Removal of the plugin requires you to manually delete the scoreboard.dat in the worlds
  84. # /data folder
  85. #
  86. # Enabling this can cause the scoreboard not to work anymore. Use at your own risk
  87. keepScoreboardOnQuit: false
  88. # Some placeholders have a slow process behind them. Meaning they might contact a database
  89. # and take a while to 'resolve'. This will never cause lagg since the placeholders are loaded
  90. # separate from the sending. But can slow down the animation because it has to wait
  91. # for the placeholder to be loaded. When having multiple lines like a text that shows
  92. # the information about the placeholders you put below it, this can cause problems.
  93. # Enabling this will output a message in the console and ingame to operators
  94. # saying when a placeholder is causing delays.
  95. detect-placeholderdelay: false
  96. # Putting this to true will SPAM your console with timings report per placeholder/animation
  97. # refresh. Used for debugging purposes.
  98. # This requires detect-placeholderdelay to true
  99. verbose-placeholder-timings: false
  100. # Ignore placeholder problems
  101. # When set to true, the placeholder will not be disabled
  102. # this also means that no ERRORS will be logged -> no troubleshooting
  103. ignore-placeholder-problems: false
  104.  
  105. # Toggling allows you to disable the scoreboard
  106. database:
  107. # If you want the toggle to stay even when your users
  108. # log off you can enable this. Keep in mind that this requires a
  109. # MySQL or SQLite database.
  110. # If you are configuring the plugin for the first time it is advised
  111. # to stay away from these settings until you managed the scoreboard
  112. # set up.
  113. persistent: false
  114. # Database configuration is SIMILAR to http://wiki.bukkit.org/Bukkit.yml#database
  115. # with isolation, url, driver, ...
  116. # Database name
  117. database: "featherboard"
  118. # Database username
  119. username: bukkit
  120. # Database isolation type
  121. isolation: SERIALIZABLE
  122. # Database driver
  123. driver: org.sqlite.JDBC
  124. # Database password
  125. password: walrus
  126. # Database driver URL
  127. # {DIR} will be replaced with the plugin directory
  128. # {NAME} will be replaced wit the plugin name
  129. url: jdbc:sqlite:{DIR}{NAME}.db
  130. # Save interval in ticks
  131. save-interval: 6000
  132.  
  133. # Disabled worlds. Add your world name in this list to
  134. # disable it.
  135. disabled-worlds:
  136. - 'example_world'
  137.  
  138. # Show delay on join. Usefull if you wish to let the user
  139. # enjoy a Title MOTD without having the scoreboard obstructing
  140. # the view.
  141. show-delay: 0
  142.  
  143. # Anti Flicker will use a new engine that will allow you to use fast animations
  144. # without any flicker.
  145. # You can disable this feature if you do not have fast refresh rates.
  146. antiflicker: true
  147.  
  148. # Scoreboard assigning. The boards can be assigned by various ways.
  149. # default the scoreboards will be assigned by permissions.
  150. # You can only have one way of assigning the scoreboards
  151. #
  152. # PERMISSION - Assign scoreboards based on permissions
  153. # This is the default setting (since 2014)
  154. # featherboard.group.<scoreboard>
  155. #
  156. # GROUP - Assign scoreboards based on Vault groups
  157. # this means the scoreboard name has to
  158. # have the name of your Vault group.
  159. #
  160. # WORLD - Assign scoreboards based on the world
  161. # the player is in.
  162. #
  163. # NONE - Do no assign scoreboards and just rely on
  164. # manual assigning (triggers, etc...)
  165. scoreboard-assigning: "PERMISSION"
  166.  
  167. # GUI: This is a feature enabling a GUI to select a specific scoreboard
  168. # The GUI will show all scoreboards you have permission to. It is not very
  169. # configurable in the way you can't control the location or order of the scoreboards
  170. # For a more configurable GUI I recommend DeluxeMenus
  171. gui:
  172. # This is the title of the GUI
  173. title: "Scoreboards"
  174. # Size of the GUI (leave to -1 to make it dynamic)
  175. # Sizes: 9,27,54
  176. size: -1
  177.  
  178. # A list of different scoreboards
  179. boards:
  180. # Default FeatherBoard comes with a board called "default". All players have the permission
  181. # featherboard.group.default (by default) meaning all players should see the scoreboard unless
  182. # the permission is negated.
  183. #
  184. # You can create as many boards as you want as long as the name is unique. It is advised to give logical
  185. # names such as "vip-board", "mcmmo-levelup", ...
  186. default:
  187. # Every section here are different lines. The first section will be used as the title
  188. # the following sections will be used as the lines on the scoreboard (max 15)
  189. # Just as the scoreboard names you can name these 'lines' whatever you want. But to make
  190. # things simple I will use logical names such as "title", "spacer", "header", ...
  191. title:
  192. # Every line has its own frames. The animation will loop through these frames on intervals
  193. # that you configure below.
  194. # Put all your frames under 'text:'. You can make as many lines as you want and use
  195. # placeholders and preset effects.
  196. # Keep in mind that there is a limit in line width!
  197. text:
  198. # To create cool looking animations you create yourself
  199. # you can use the graphical tool AnimationCreator
  200. # https://www.spigotmc.org/resources/animationcreator.6001/
  201. # For all placeholders: https://www.spigotmc.org/wiki/mvdw-placeholders/
  202. # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
  203. - '<glow glowsize="5">StudyCraft</glow>'
  204. # Interval is the animation interval in TICKS (20 ticks is one second).
  205. # Every X ticks the animation goes to the next frame (see above)
  206. # Once all frames are finished it will start over from the first one
  207. interval: 2
  208. # If you don't want a static order of the frames and want to show each frame at random
  209. # you can enable this option.
  210. random: false
  211. # A scoreboard is dynamic. The lines can change length due to smaller placeholders or scrolling text.
  212. # that is why it is advised to have something on your scoreboard that is bigger then all other lines.
  213. # These lines (usually a header or footer) are also good for decoration.
  214. header:
  215. text:
  216. - '&2&l&m---------------'
  217. interval: 10
  218. random: true
  219. player-label:
  220. text:
  221. - '&b>&e&lTên:&r&6{player}'
  222. interval: 100
  223. random: false
  224. player-line4:
  225. text:
  226. - '&b>&e&lRank:&r{userprefixcolor}'
  227. interval: 2
  228. random: false
  229. player-line1:
  230. text:
  231. - '&b>&e&lTiền:&r&6{money}'
  232. interval: 2
  233. random: false
  234. player-line2:
  235. text:
  236. - '&b>&e&lXu:&r&6{playerpoints_balance}'
  237. interval: 2
  238. random: false
  239. player-line3:
  240. - '&b>&e&lCấp độ đảo:&r&6{uskyblock_level}'
  241. interval: 2
  242. random: false
  243. player-line5:
  244. - '&b>Tọa độ home:{uskyblock_home_x}-{uskyblock_home_y}-{uskyblock_home_z}'
  245. server-line1:
  246. text:
  247. - '&b>&e&lSố người đang chơi:&r&6{onlineplayers}'
  248. interval: 2
  249. random: false
  250. server-line2:
  251. text:
  252. - '&b>&e&lPing:&r&6{ping}'
  253. interval: 2
  254. random: false
  255. # This is the same as the header. It is not needed since you already use the header as the longest line
  256. # but it looks cleaner having a footer.
  257. footer:
  258. text:
  259. - '&2&l&m---------------'
  260. interval: 10
  261. random: true
  262. # This is a combat scoreboard example showing
  263. # combat related information.
  264. # DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD
  265. # (Unless you want it to show all the time)
  266. # You still need to 'trigger' this scoreboard in the vanilla_combat
  267. combat-scoreboard-example:
  268. # Lets just use the title,header and footer from the example above
  269. # for in depth configuration look above.
  270. #
  271. # When designing a board that is used when triggered on an event. You have
  272. # to think (before looking at the placeholders) what is relevant.
  273. # For example: When I think of combat my first thoughts are:
  274. # - Health: To see how much you have left
  275. # - Possible cooldown timers
  276. # - With who am I in combat?
  277. # - Target health
  278. # - mcMMO attacking level?
  279. #
  280. # Next you have to think what is important during that event:
  281. # - Combat: not too much distraction (no animations, smaller scoreboard)
  282. #
  283. # Once you know those things start looking for placeholders. A lot of events such
  284. # as mcmmo have placeholders that can only be used in such events.
  285. title:
  286. text:
  287. # To create cool looking animations you create yourself
  288. # you can use the graphical tool AnimationCreator
  289. # https://www.spigotmc.org/resources/animationcreator.6001/
  290. # For all placeholders: https://www.spigotmc.org/wiki/mvdw-placeholders/
  291. # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
  292. - '<single><delay times="10">&l><</delay></single>'
  293. - '<single>&f&ler</single>' # <single> will allow the frame to only run ONCE
  294. - '<single>&f&lherB</single>'
  295. - '<single>&f&lherBo</single>'
  296. - '<single>&f&latherBoa</single>'
  297. - '<single>&f&leatherBoar</single>'
  298. - ' <delay times="100">&f&lFeatherBoard&1&l3</delay>' # <delay> will repeat the line X times
  299. interval: 2
  300. random: false
  301. header:
  302. text:
  303. - '&a&m+-----------------+'
  304. interval: 10
  305. random: true
  306. combat-label:
  307. text:
  308. - '&8&l> &7&lCombat target:'
  309. interval: 100
  310. random: false
  311. combat-data:
  312. text:
  313. - '{vanilla-combat_opponent_name}'
  314. interval: 2
  315. random: false
  316. spacer1:
  317. text: []
  318. interval: 100
  319. health-label:
  320. text:
  321. - '&8&l> &7&lHealth stats:'
  322. interval: 100
  323. random: false
  324. health-data-1:
  325. text:
  326. - '&aYou: {healthbar}'
  327. interval: 1
  328. random: false
  329. health-data-2:
  330. text:
  331. - '&cTarget: {vanilla-combat_opponent_healthbar}'
  332. interval: 1
  333. random: false
  334. footer:
  335. text:
  336. - '&a&m+-----------------+'
  337. interval: 10
  338. random: true
  339. # This is an example for mcMMO when you level up
  340. # DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD
  341. # (Unless you want it to show all the time)
  342. # You still need to 'trigger' this scoreboard in the 'mcmmo-levelup'
  343. mcmmo-levelup:
  344. title:
  345. text:
  346. # To create cool looking animations you create yourself
  347. # you can use the graphical tool AnimationCreator
  348. # https://www.spigotmc.org/resources/animationcreator.6001/
  349. # For all placeholders: https://www.spigotmc.org/wiki/mvdw-placeholders/
  350. # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
  351. - '<single><delay times="10">&l><</delay></single>'
  352. - '<single>&f&ler</single>' # <single> will allow the frame to only run ONCE
  353. - '<single>&f&lherB</single>'
  354. - '<single>&f&lherBo</single>'
  355. - '<single>&f&latherBoa</single>'
  356. - '<single>&f&leatherBoar</single>'
  357. - ' <delay times="100">&f&lFeatherBoard&1&l3</delay>' # <delay> will repeat the line X times
  358. interval: 2
  359. random: false
  360. header:
  361. text:
  362. - '&a&m+-----------------+'
  363. interval: 10
  364. random: true
  365. info-label:
  366. text:
  367. # mcMMO-levelup comes with several event specific placeholders
  368. - '&bCongrats! Level up: {mcmmo-levelup_levelsgained}'
  369. interval: 10
  370. spacer1: # This is a spacer an empty line
  371. text:
  372. - ''
  373. interval: 10
  374. # Do you want to randomize the animation frames?
  375. random: false
  376. skill-label: # You can add elements to the group and name them like you want
  377. # Lets make a static label
  378. text:
  379. - '&9&l> &e&lSkill:'
  380. interval: 10 # The interval is not important since its just 1 static text.
  381. # Do you want to randomize the animation frames?
  382. random: false
  383. skill:
  384. # Lets make a static label
  385. text:
  386. - '{mcmmo-levelup_skill_name}'
  387. interval: 10 # The interval is not important since its just 1 static text.
  388. # Do you want to randomize the animation frames?
  389. random: false
  390. spacer2: # This is a spacer an empty line
  391. text:
  392. - ''
  393. interval: 100
  394. # Do you want to randomize the animation frames?
  395. random: false
  396. skilllevel-label: # You can add elements to the group and name them like you want
  397. # Lets make a static label
  398. text:
  399. - '&b&l> &e&lCurrent level:'
  400. interval: 10 # The interval is not important since its just 1 static text.
  401. # Do you want to randomize the animation frames?
  402. random: false
  403. skilllevel:
  404. # Lets make a static label
  405. text:
  406. - '{mcmmo-levelup_skilllevel}'
  407. interval: 10 # The interval is not important since its just 1 static text.
  408. # Do you want to randomize the animation frames?
  409. random: false
  410. footer:
  411. text:
  412. - '&a&m+-----------------+'
  413. interval: 10
  414. random: true
  415. # This is an example for Towny when you enter a town
  416. # DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD
  417. # (Unless you want it to show all the time)
  418. # You still need to 'trigger' this scoreboard in the 'towny-town'
  419. towny-town-example:
  420. # Lets just use the title,header and footer from the example above
  421. # for in depth configuration look above.
  422. title:
  423. text:
  424. # To create cool looking animations you create yourself
  425. # you can use the graphical tool AnimationCreator
  426. # https://www.spigotmc.org/resources/animationcreator.6001/
  427. # For all placeholders: https://www.spigotmc.org/wiki/mvdw-placeholders/
  428. # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
  429. - '<single><delay times="10">&l><</delay></single>'
  430. - '<single>&f&ler</single>' # <single> will allow the frame to only run ONCE
  431. - '<single>&f&lherB</single>'
  432. - '<single>&f&lherBo</single>'
  433. - '<single>&f&latherBoa</single>'
  434. - '<single>&f&leatherBoar</single>'
  435. - ' <delay times="100">&f&lFeatherBoard&1&l3</delay>' # <delay> will repeat the line X times
  436. interval: 2
  437. random: false
  438. header:
  439. text:
  440. - '&a&m+-------------------+'
  441. interval: 10
  442. random: true
  443. town-label:
  444. text:
  445. - '&bYou are in town:'
  446. interval: 100
  447. town-data:
  448. text:
  449. - '{towny_currenttown_name}'
  450. interval: 100
  451. spacer1:
  452. text: []
  453. interval: 100
  454. townboard-label:
  455. text:
  456. - '&bTown board:'
  457. interval: 100
  458. townboard:
  459. text:
  460. - '&a<scroll minwidth="28" width="30">{towny_currenttown_townboard}</scroll>'
  461. interval: 3
  462. spacer2:
  463. text: []
  464. interval: 100
  465. population-label:
  466. text:
  467. - '&bPopulation:'
  468. interval: 100
  469. poplulation-data:
  470. text:
  471. - '{towny_currenttown_residents}'
  472. interval: 100
  473. footer:
  474. text:
  475. - '&a&m+-------------------+'
  476. interval: 10
  477. random: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement