Guest User

AirBar_CONFIG

a guest
Jun 5th, 2017
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.66 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: false
  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. - 'bb'
  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&lCreated By GamingHard'
  201. - '|segments:10|color:green|&e&lHave Fun'
  202. - '|segments:20|color:pink|&e&lTanks For Download'
  203. # The interval in ticks to switch text
  204. interval: 70
  205. # Define if the text should be randomized. Animation formatting tags
  206. # won't be affected.
  207. # Enabling randomizing overrides the run-once (meaning you can't randomize and run once)
  208. random: false
  209. # If you only want the frames/text to run one time
  210. # set this to true. This will only loop through the frames
  211. # once.
  212. # Please NOTE: The run-once will only work on triggered airbar
  213. # or announcements.
  214. # The bar will be removed after the interval of the last frame.
  215. run-once: false
  216. # If you set this 'airbar group' as an announcement it will be
  217. # used in the announcement loop. If:
  218. # 1) The player has permission to this group
  219. # 2) is-announcement is set to true
  220. is-announcement: false
  221. # Default color of the boss bar. Only works on 1.9!
  222. # Will be overridden by a |color:xxxx| tag in a line
  223. # Available colors:
  224. # PINK
  225. # BLUE
  226. # RED
  227. # GREEN
  228. # YELLOW
  229. # PURPLE
  230. # WHITE
  231. color: RED
  232. # Default segments in the boss bar (just for the looks). Only works on 1.9!
  233. # Will be overridden by a |segments:xx| tag in a line
  234. # Available options:
  235. # 1,6,10,12,20
  236. # Leave 1 or 0 if you are not sure
  237. segments: 1
  238. example-maxim-is-cool:
  239. # The airbar supports color codes and frames
  240. text:
  241. # |5| = Bossbar at 5%
  242. - '|segments:6|color:yellow|&6&lCreated By GamingHard'
  243. - '|segments:10|color:green|&e&lHave Fun'
  244. - '|segments:20|color:pink|&e&lTanks For 1000 Subs'
  245. # The interval in ticks to switch text
  246. interval: 20
  247. # Define if the text should be randomized. Animation formatting tags
  248. # won't be affected.
  249. # Enabling randomizing overrides the run-once (meaning you can't randomize and run once)
  250. random: false
  251. # If you only want the frames/text to run one time
  252. # set this to true. This will only loop through the frames
  253. # once.
  254. # Please NOTE: The run-once will only work on triggered airbar
  255. # or announcements.
  256. # The bar will be removed after the interval of the last frame.
  257. run-once: true
  258. # If you set this 'airbar group' as an announcement it will be
  259. # used in the announcement loop. If:
  260. # 1) The player has permission to this group
  261. # 2) is-announcement is set to true
  262. is-announcement: true
  263. # The following example: airbar.group.example-ram
  264. # will show a fast blinking text with the progress bar being the current RAM usage
  265. example-ram:
  266. # The airbar supports color codes
  267. text:
  268. # |{usedram}/{maxram}| = When both placeholders are replaced they act as
  269. # the percentage for the boss bar. {usedram} for example is 256 MB and {maxram} is 512MB
  270. # this means it is 256/512 what is 50%
  271. # When the "/" is not defined, it will be based on 100 (see example maxim-is-cool)
  272. # |segments:6| = will show 6 lines/segments
  273. - '|{usedram}/{maxram}|segments:6|<rainbow>&lCURRENT RAM USAGE </rainbow>&7&o {usedram} MB'
  274. # The interval in ticks to switch text
  275. interval: 1
  276. # Define if the text should be randomized. Animation formatting tags
  277. # won't be affected.
  278. # Enabling randomizing overrides the run-once (meaning you can't randomize and run once)
  279. random: false
  280. # If you only want the frames/text to run one time
  281. # set this to true. This will only loop through the frames
  282. # once.
  283. # Please NOTE: The run-once will only work on triggered airbar
  284. # or announcements.
  285. # The bar will be removed after the interval of the last frame.
  286. run-once: false
  287. # If you set this 'airbar group' as an announcement it will be
  288. # used in the announcement loop. If:
  289. # 1) The player has permission to this group
  290. # 2) is-announcement is set to true
  291. is-announcement: false
  292. # The following example: airbar.group.example-tps
  293. # will show a fast blinking text with the progress bar being the current TPS usage
  294. example-tps:
  295. # The airbar supports color codes
  296. text:
  297. # In this example only the value is dynamic. Also is the placeholder a decimal instead
  298. # of a round number.
  299. # The main feature is that on Minecraft 1.9 the color will change depending on the TPS
  300. # |color:xxx| is the tag to set a color, what I did was used the "whenrange" effect.
  301. # this effect will test is a 'value' is in range of 'begin' and 'end', and show the result
  302. # if this is the case. I made this effect 3 times, for three different ranges showing
  303. # red,yellow and green respectively.
  304. - '|{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}'
  305. # The interval in ticks to switch text
  306. interval: 20
  307. # Define if the text should be randomized. Animation formatting tags
  308. # won't be affected.
  309. # Enabling randomizing overrides the run-once (meaning you can't randomize and run once)
  310. random: false
  311. # If you only want the frames/text to run one time
  312. # set this to true. This will only loop through the frames
  313. # once.
  314. # Please NOTE: The run-once will only work on triggered airbar
  315. # or announcements.
  316. # The bar will be removed after the interval of the last frame.
  317. run-once: false
  318. # If you set this 'airbar group' as an announcement it will be
  319. # used in the announcement loop. If:
  320. # 1) The player has permission to this group
  321. # 2) is-announcement is set to true
  322. is-announcement: false
Add Comment
Please, Sign In to add comment