Guest User

AirBar_CONFIG

a guest
Feb 17th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.45 KB | None | 0 0
  1. # ------------------------------ #
  2. #
  3. # AirBar 2
  4. # (c) Maxim Van de Wynckel
  5. #
  6. # ------------------------------ #
  7.  
  8. # About: Everyone knows the shiny boss bar on the top of the screen.
  9. # On first sight this plugin does the same exact thing as any
  10. # other BossBar plugin. However it has loads of preset effects,
  11. # loads of placeholders, its light as air (maybe even lighter than
  12. # a feather) but above all: it is extremely customizable.
  13. # 1.9 servers can create up to 4 boss bars running at the same time
  14. # the boss bars can change color, change the amount of segments and
  15. # just like in 1.8 also change the progress.
  16. # If you are not a fan of multiple boss bars you can even set it to
  17. # use a single bar instead for event triggers, etc...
  18. #
  19. # Features:
  20. # - 5000+ placeholders on launch (more coming every month)
  21. # - 30+ preset effects on launch (added less regulary but still added)
  22. # - 20+ trigger events (trigger a boss bar with a plugin)
  23. # - Configure the whole animation using a GUI (AnimationCreator)
  24. # - Change the progress value by starting with |25/100|Bar is at 25%
  25. # |{health}/20|Your health is 50%
  26. # - Change the color for each frame (1.9)
  27. # |color:red| (see documentation for available colors)
  28. # - Change the amount of segments for each frame (1.9)
  29. # |segments:6| (see documentation for available segments)
  30. # - Announcements: Change between boss bar's every X seconds
  31. # - Run once: For announcements or triggered boss bars you can set the
  32. # the frames to only run once (so don't loop)
  33.  
  34. # Permissions: To use the airbar groups give them the permission
  35. # airbar.group.<group>
  36. # Make sure to remove them from the other groups
  37. # when giving a new permission.
  38. # Above that you can 'trigger' airbar's using trigger
  39. # effects.
  40.  
  41. # Commands: List of main commands
  42. # /airbar help - Show all commands
  43. # /airbar reload - Reload the configuration
  44.  
  45. # Variables: These variables can be used in the TEXT section
  46. # of both the header as the footer.
  47. #
  48. # {PLAYER} - Player name
  49. # {PLAYERNICK} - Player nickname
  50. # {SERVER} - Server name
  51. # {PLAYERCOUNT} - Server player count
  52. # {BUNGEECOUNT} - Bungee network player count
  53. # 5000+ more ... see spigot page
  54.  
  55. # Formatting: These are formatting tags allowing you to format the animations
  56. # or placeholders.
  57. #
  58. # Substring: This allows you to split a word (even a placeholder) in parts
  59. # example: <substring begin=0 end=3>Hello World</substring> = Hel
  60. # usage: This can be used to split placeholders when creating a typewriter
  61. # or to split the colors in a placeholder.
  62. #
  63. # Scroll: This creates a scrolling animation of the text inside it. It accepts
  64. # two arguments (the length and space between scrolls).
  65. # example: <scroll width=20 spaces=20>&2This is a &atest</scroll>
  66. #
  67. # PLENTY MORE! See spigot page
  68.  
  69. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  70. # GENERAL PLUGIN SETTINGS
  71. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  72.  
  73. ## Config version (DO NOT EDIT)
  74. config: 2
  75.  
  76. ## Language file
  77. lang: 'en'
  78.  
  79. ## Debug mode
  80. debug: false
  81.  
  82. ## Log to file
  83. log:
  84. enabled: true
  85. # Reset log on startup
  86. reset: true
  87.  
  88. ## Update checking
  89. update:
  90. check: false # RECOMMENDED YOU LEAVE THIS TRUE
  91.  
  92. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  93. # PLUGIN SPECIFIC SETTINGS
  94. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  95.  
  96. # Placeholder settings
  97. placeholder:
  98. # logs the memory usage of placeholders on startup
  99. log-memory: false
  100. # Clear unused placeholders that are not enabled.
  101. clear-unused: true
  102. # Config cache only
  103. # This will only use placeholders in the config
  104. # HOWEVER: IT WILL BREAK ALL CUSTOM PLACEHOLDERS!
  105. # IT WILL ALSO PREVENT ANY HOOKS (PlaceholderAPI)
  106. config-cache: false
  107.  
  108. # Toggling allows you to disable the airbar
  109. database:
  110. # If you want the toggle to stay even when your users
  111. # log off you can enable this. Keep in mind that this requires a
  112. # MySQL or SQLite database.
  113. # If you are configuring the plugin for the first time it is advised
  114. # to stay away from these settings until you managed the airbar
  115. # set up.
  116. persistent: false
  117. # Database configuration is SIMILAR to http://wiki.bukkit.org/Bukkit.yml#database
  118. # with isolation, url, driver, ...
  119. # Database name
  120. database: "airbar"
  121. # Database username
  122. username: bukkit
  123. # Database isolation type
  124. isolation: SERIALIZABLE
  125. # Database driver
  126. driver: org.sqlite.JDBC
  127. # Database password
  128. password: walrus
  129. # Database driver URL
  130. # {DIR} will be replaced with the plugin directory
  131. # {NAME} will be replaced wit the plugin name
  132. url: jdbc:sqlite:{DIR}{NAME}.db
  133. # Save interval in ticks
  134. save-interval: 6000
  135.  
  136. # Disabled worlds. Add your world name in this list to
  137. # disable it.
  138. disabled-worlds:
  139. - 'example_world'
  140.  
  141. # Following tweaks are for 1.8.X servers
  142. tweaks-1.8:
  143. # Since 1.8 the bossbar is only visible when looking directly to a boss
  144. # this means for every movement the boss has to move. How further it is away
  145. # the more it has to move
  146. entity-distance: 28
  147. # Since 1.8 the bossbar is only visible when looking directly to a boss
  148. # this means for every movement the boss has to move. The move threshold is
  149. # a tweak that only triggers a movement of the boss when the change is bigger than
  150. # specified. Note that large thresholds may cause disappearing boss bar's.
  151. movement-threshold: 1
  152. # This is a DEBUG tweak/test. This will make the wither that is used to show
  153. # the boss bar visible, so you can use it to tweak the entity-distance and
  154. # movement threshold. Keep in mind that this requires a relog as well.
  155. visible-entity: false
  156.  
  157. # Following tweaks are for 1.9.X servers
  158. tweaks-1.9:
  159. # Make the sky darker during showing a boss bar (maybe to draw attention to it)
  160. darken-sky: false
  161. # Create a fog effect during the boss bar
  162. create-fog: false
  163. # Bossbar sound during showing the airbar
  164. sound: false
  165. # Default amount of segments (if not specified in the individual groups
  166. # or in the individual lines)
  167. default-segments: 1
  168. # Default color (if not specified in the individual groups
  169. # or in the individual lines)
  170. default-color: PINK # Default boss bar color in 1.8
  171. # Use one single bar. When false it will create a new bar on new overrides
  172. # or when having permission on multiple bars.
  173. # Multiple bars means multiple packets per bar (more bandwidth and CPU)
  174. single-bar: false
  175.  
  176. # While you can use this plugin to show a bar "in the air" you define
  177. # using permissions, you can also switch between airbar groups using
  178. # announcements. Announcements allow you to 'switch' between the different
  179. # groups a player has permission to. This allows you for example to show
  180. # some server advertising but do not show it to donators (if you make sure they
  181. # don't have permission to the "advertisement")
  182. announcements:
  183. # Do you want to enable announcements for the airbar plugin
  184. # enabling this will loop through all airbar groups that have "is-announcement" enabled
  185. # and the player has permission to.
  186. # It will change between the groups every "change-interval" in seconds
  187. enabled: false
  188. # The interval to change between announcements (Every x seconds)
  189. change-interval: 60
  190.  
  191. # This section contains all pre-configured AirBar's
  192. airbar:
  193. # You can create multiple groups to send
  194. # different airbar's to different players
  195. default:
  196. # The airbar supports color codes and frames
  197. text:
  198. # This example shows a simple switching frame every 2 seconds.
  199. # The bossbar remains at 100% on both frames
  200. - '|segments:6|color:yellow|&6&lServer Name'
  201. - '|segments:10|color:green|&e&lBy Uzumaki'
  202. - '|segments:12|color:blue|&6&lEdit in plugins\AirBar\Config.yml'
  203. - '|segments:20|color:pink|&e&lRank {PREFIX}'
  204. - '|segments:12|color:purple|&6&lMoney {Money}'
  205. - '|segments:10|color:red|&e&lOnline &b{PLAYERCOUNT}'
  206. - '|segments:10|color:pink|&b&lWelcome &2{PLAYERNICK}'
  207. # The interval in ticks to switch text
  208. interval: 20
  209. # Define if the text should be randomized. Animation formatting tags
  210. # won't be affected.
  211. # Enabling randomizing overrides the run-once (meaning you can't randomize and run once)
  212. random: false
  213. # If you only want the frames/text to run one time
  214. # set this to true. This will only loop through the frames
  215. # once.
  216. # Please NOTE: The run-once will only work on triggered airbar
  217. # or announcements.
  218. # The bar will be removed after the interval of the last frame.
  219. run-once: false
  220. # If you set this 'airbar group' as an announcement it will be
  221. # used in the announcement loop. If:
  222. # 1) The player has permission to this group
  223. # 2) is-announcement is set to true
  224. is-announcement: false
  225. # Default color of the boss bar. Only works on 1.9!
  226. # Will be overridden by a |color:xxxx| tag in a line
  227. # Available colors:
  228. # PINK
  229. # BLUE
  230. # RED
  231. # GREEN
  232. # YELLOW
  233. # PURPLE
  234. # WHITE
  235. color: PINK
  236. # Default segments in the boss bar (just for the looks). Only works on 1.9!
  237. # Will be overridden by a |segments:xx| tag in a line
  238. # Available options:
  239. # 1,6,10,12,20
  240. # Leave 1 or 0 if you are not sure
  241. segments: 1
  242. example-maxim-is-cool:
  243. # The airbar supports color codes and frames
  244. text:
  245. # |5| = Bossbar at 5%
  246. - '|5|&aM'
  247. - '|10|&aM&2a'
  248. - '|15|&aM&2a&6x'
  249. - '|20|&aM&2a&6x&ei'
  250. - '|25|&aM&2a&6x&ei&bm'
  251. - '|30|&aM&2a&6x&ei&bm&9v'
  252. - '|35|&aM&2a&6x&ei&bm&9v&1d'
  253. - '|40|&aM&2a&6x&ei&bm&9v&1d&5w'
  254. - '|45|&aM&2a&6x&ei&bm&9v&1d&5w '
  255. - '|50|&aM&2a&6x&ei&bm&9v&1d&5w &di'
  256. - '|55|&aM&2a&6x&ei&bm&9v&1d&5w &di&cs'
  257. - '|60|&aM&2a&6x&ei&bm&9v&1d&5w &di&cs '
  258. - '|65|&aM&2a&6x&ei&bm&9v&1d&5w &di&cs &4C'
  259. - '|70|&aM&2a&6x&ei&bm&9v&1d&5w &di&cs &4C&7o'
  260. - '|75|&aM&2a&6x&ei&bm&9v&1d&5w &di&cs &4C&7o&ao'
  261. - '|80|&aM&2a&6x&ei&bm&9v&1d&5w &di&cs &4C&7o&ao&2l'
  262. - '|85|&aM&2a&6x&ei&bm&9v&1d&5w &di&cs &4C&7o&ao&2l&f!'
  263. - '|90|&aM&2a&6x&ei&bm&9v&1d&5w &di&cs &4C&7o&ao&2l&f!!'
  264. - '|95|&aM&2a&6x&ei&bm&9v&1d&5w &di&cs &4C&7o&ao&2l&f!'
  265. - '&aM&2a&6x&ei&bm&9v&1d&5w &di&cs &4C&7o&ao&2l'
  266. - '&aM&2a&6x&ei&bm&9v&1d&5w &di&cs &4C&7o&ao&2l'
  267. - '&aM&2a&6x&ei&bm&9v&1d&5w &di&cs &4C&7o&ao&2l'
  268. - '&aM&2a&6x&ei&bm&9v&1d&5w &di&cs &4C&7o&ao&2l'
  269. - '&aM&2a&6x&ei&bm&9v&1d&5w &di&cs &4C&7o&ao&2l'
  270. - '&aM&2a&6x&ei&bm&9v&1d&5w &di&cs &4C&7o&ao&2l'
  271. - '|95|&aM&2a&6x&ei&bm&9v&1d&5w &di&cs &4C&7o&ao'
  272. - '|90|&aM&2a&6x&ei&bm&9v&1d&5w &di&cs &4C&7o'
  273. - '|85|&aM&2a&6x&ei&bm&9v&1d&5w &di&cs &4C'
  274. - '|80|&aM&2a&6x&ei&bm&9v&1d&5w &di&cs '
  275. - '|75|&aM&2a&6x&ei&bm&9v&1d&5w &di&cs'
  276. - '|70|&aM&2a&6x&ei&bm&9v&1d&5w &di'
  277. - '|65|&aM&2a&6x&ei&bm&9v&1d&5w '
  278. - '|60|&aM&2a&6x&ei&bm&9v&1d&5w'
  279. - '|55|&aM&2a&6x&ei&bm&9v&1d'
  280. - '|50|&aM&2a&6x&ei&bm&9v'
  281. - '|45|&aM&2a&6x&ei&bm'
  282. - '|40|&aM&2a&6x&ei'
  283. - '|35|&aM&2a&6x'
  284. - '|30|&aM&2a'
  285. - '|25|&aM'
  286. - '|20|'
  287. - '|15|&2&l|'
  288. - '|10|&2&l/'
  289. - '|5|&2&l-'
  290. - '|0|&2&l|'
  291. # The interval in ticks to switch text
  292. interval: 1
  293. # Define if the text should be randomized. Animation formatting tags
  294. # won't be affected.
  295. # Enabling randomizing overrides the run-once (meaning you can't randomize and run once)
  296. random: false
  297. # If you only want the frames/text to run one time
  298. # set this to true. This will only loop through the frames
  299. # once.
  300. # Please NOTE: The run-once will only work on triggered airbar
  301. # or announcements.
  302. # The bar will be removed after the interval of the last frame.
  303. run-once: true
  304. # If you set this 'airbar group' as an announcement it will be
  305. # used in the announcement loop. If:
  306. # 1) The player has permission to this group
  307. # 2) is-announcement is set to true
  308. is-announcement: true
  309. # The following example: airbar.group.example-ram
  310. # will show a fast blinking text with the progress bar being the current RAM usage
  311. example-ram:
  312. # The airbar supports color codes
  313. text:
  314. # |{usedram}/{maxram}| = When both placeholders are replaced they act as
  315. # the percentage for the boss bar. {usedram} for example is 256 MB and {maxram} is 512MB
  316. # this means it is 256/512 what is 50%
  317. # When the "/" is not defined, it will be based on 100 (see example maxim-is-cool)
  318. # |segments:6| = will show 6 lines/segments
  319. - '|{usedram}/{maxram}|segments:6|<rainbow>&lCURRENT RAM USAGE </rainbow>&7&o {usedram} MB'
  320. # The interval in ticks to switch text
  321. interval: 1
  322. # Define if the text should be randomized. Animation formatting tags
  323. # won't be affected.
  324. # Enabling randomizing overrides the run-once (meaning you can't randomize and run once)
  325. random: false
  326. # If you only want the frames/text to run one time
  327. # set this to true. This will only loop through the frames
  328. # once.
  329. # Please NOTE: The run-once will only work on triggered airbar
  330. # or announcements.
  331. # The bar will be removed after the interval of the last frame.
  332. run-once: false
  333. # If you set this 'airbar group' as an announcement it will be
  334. # used in the announcement loop. If:
  335. # 1) The player has permission to this group
  336. # 2) is-announcement is set to true
  337. is-announcement: false
  338. # The following example: airbar.group.example-tps
  339. # will show a fast blinking text with the progress bar being the current TPS usage
  340. example-tps:
  341. # The airbar supports color codes
  342. text:
  343. # In this example only the value is dynamic. Also is the placeholder a decimal instead
  344. # of a round number.
  345. # The main feature is that on Minecraft 1.9 the color will change depending on the TPS
  346. # |color:xxx| is the tag to set a color, what I did was used the "whenrange" effect.
  347. # this effect will test is a 'value' is in range of 'begin' and 'end', and show the result
  348. # if this is the case. I made this effect 3 times, for three different ranges showing
  349. # red,yellow and green respectively.
  350. - '|{tps}/20|color:<whenrange begin="0" end="8" value="{tps}">red</whenrange><whenrange begin="9" end="15" value="{tps}">yellow</whenrange><whenrange begin="16" end="20" value="{tps}">green</whenrange>|<whenrange begin="0" end="8" value="{tps}">&c</whenrange><whenrange begin="9" end="15" value="{tps}">&e</whenrange><whenrange begin="16" end="20" value="{tps}">&a</whenrange>&lCURRENT Ticks per Second &7&o {tps}'
  351. # The interval in ticks to switch text
  352. interval: 1
  353. # Define if the text should be randomized. Animation formatting tags
  354. # won't be affected.
  355. # Enabling randomizing overrides the run-once (meaning you can't randomize and run once)
  356. random: false
  357. # If you only want the frames/text to run one time
  358. # set this to true. This will only loop through the frames
  359. # once.
  360. # Please NOTE: The run-once will only work on triggered airbar
  361. # or announcements.
  362. # The bar will be removed after the interval of the last frame.
  363. run-once: false
  364. # If you set this 'airbar group' as an announcement it will be
  365. # used in the announcement loop. If:
  366. # 1) The player has permission to this group
  367. # 2) is-announcement is set to true
  368. is-announcement: false
Add Comment
Please, Sign In to add comment