Facebook
From Mustard Meerkat, 5 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 230
  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.       - '<single><delay times="10">&5&L><</delay></single>'
  204.       - '<single>&5&LOrder</single>' # <single> will allow the frame to only run ONCE
  205.       - '<single> &5LLof</single>'
  206.       - '<single> &5&LKnight</single>'
  207.       - ' <delay times="10">&5&LOrder of Knight&5&L</delay>' # <delay> will repeat the line X times
  208.       - '<glow glowsize="5">Order of Knight</glow>'
  209.       # Interval is the animation interval in TICKS (20 ticks is one second).
  210.       # Every X ticks the animation goes to the next frame (see above)
  211.       # Once all frames are finished it will start over from the first one
  212.       interval: 2
  213.       # If you don't want a static order of the frames and want to show each frame at random
  214.       # you can enable this option.
  215.       random: false
  216.     # A scoreboard is dynamic. The lines can change length due to smaller placeholders or scrolling text.
  217.     # that is why it is advised to have something on your scoreboard that is bigger then all other lines.
  218.     # These lines (usually a header or footer) are also good for decoration.
  219.     header:
  220.       text:
  221.       - '&7&M---------------------'
  222.       interval: 10
  223.       random: true
  224.     player-label:
  225.       text:
  226.       - '&b&l> &e&lPlayer Info:'
  227.       interval: 100
  228.       random: false
  229.     player-line1:
  230.       text:
  231.       - '&o<cmd repeatmiddle="20">{player}</cmd>'
  232.       - '&o<cmd repeatmiddle="20">{locale}</cmd>'
  233.       interval: 2
  234.       random: false
  235.     player-line2:
  236.       text:
  237.       - '{ping} &7ms latency'
  238.       interval: 2
  239.       random: false
  240.     # For empty lines just add another 'section' but just don't put any text
  241.     # in it so it acts like an empty line.
  242.     spacer1:
  243.       text: []
  244.       interval: 100
  245.       random: false
  246.     news-info:
  247.       text:
  248.       - '&b&l> &e&lNews:'
  249.       interval: 100
  250.       random: false
  251.     news:
  252.       # Lets create some animated news
  253.       # News is something you need to write quick
  254.       # and usually you don't want to spend ages on creating
  255.       # some cool effect. That is why FeatherBoard features
  256.       # several presets you can use.
  257.       text:
  258.       - '<scroll width="29">&cAttention! &7Please do not forget to give this plugin a &e{star_galaxy}{star_galaxy}{star_galaxy}{star_galaxy}{star_galaxy}&7 rating!</scroll>'
  259.       interval: 2 # When using preset effects. The interval will apply to that effect
  260.       # Do you want to randomize the animation frames?
  261.       random: false
  262.     # For empty lines just add another 'section' but just don't put any text
  263.     # in it so it acts like an empty line.
  264.     spacer2:
  265.       text: []
  266.       interval: 100
  267.       random: false
  268.     timesplayed-label: #Switch between site, times played and health
  269.       text:
  270.       - '&b&l> &e&lSite:'
  271.       - '&b&l> &e&lPlayed:'
  272.       - '&b&l> &e&lHealth:'
  273.       interval: 100
  274.       random: false
  275.     timesplayed: #Switch between site, times played and health
  276.       text:
  277.       - 'www.mvdw-software.com'
  278.       - '{stat_timesplayed}'
  279.       - '{healthbar}'
  280.       interval: 100
  281.       random: false
  282.     # For empty lines just add another 'section' but just don't put any text
  283.     # in it so it acts like an empty line.
  284.     spacer3:
  285.       text: []
  286.       interval: 100
  287.       random: false
  288.     server-label:
  289.       text:
  290.       - '&b&l> &e&lServer Info:'
  291.       interval: 100
  292.       random: false
  293.     server-line1:
  294.       text:
  295.       - '<repeat times=200>{usedram} &7MB &8&l/ &f{totalram} &7MB</repeat>' #Refresh the ram 200 times
  296.       - '<repeat times=100>{tps_rounded} &7TPS &7&o(Avg {avgtps_rounded})</repeat>' #Refresh the tps 100 times
  297.       interval: 1
  298.       random: false
  299.     server-line2:
  300.       text:
  301.       - '{onlineplayers} &aonline players'
  302.       interval: 10
  303.       random: false
  304.     # This is the same as the header. It is not needed since you already use the header as the longest line
  305.     # but it looks cleaner having a footer.
  306.     footer:
  307.       text:
  308.       - '&7&M---------------------'
  309.       interval: 10
  310.       random: true
  311.     # This is a combat scoreboard example showing
  312.   # combat related information.
  313.   # DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD
  314.   # (Unless you want it to show all the time)
  315.   # You still need to 'trigger' this scoreboard in the vanilla_combat
  316.   combat-scoreboard-example:
  317.     # Lets just use the title,header and footer from the example above
  318.     # for in depth configuration look above.
  319.     #
  320.     # When designing a board that is used when triggered on an event. You have
  321.     # to think (before looking at the placeholders) what is relevant.
  322.     # For example: When I think of combat my first thoughts are:
  323.     # - Health: To see how much you have left
  324.     # - Possible cooldown timers
  325.     # - With who am I in combat?
  326.     # - Target health
  327.     # - mcMMO attacking level?
  328.     #
  329.     # Next you have to think what is important during that event:
  330.     # - Combat: not too much distraction (no animations, smaller scoreboard)
  331.     #
  332.     # Once you know those things start looking for placeholders. A lot of events such
  333.     # as mcmmo have placeholders that can only be used in such events.
  334.     title:
  335.       text:
  336.       # To create cool looking animations you create yourself
  337.       # you can use the graphical tool AnimationCreator
  338.       # https://www.spigotmc.org/resources/animationcreator.6001/
  339.       # For all placeholders:   https://www.spigotmc.org/wiki/mvdw-placeholders/
  340.       # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
  341.       - '<single><delay times="10">&l><</delay></single>'
  342.       - '<single>&5&LOrder</single>' # <single> will allow the frame to only run ONCE
  343.       - '<single>&5&Lof</single>'
  344.       - '<single>&5&LKnight</single>'
  345.       - ' <delay times="100">&5&LOrder of Knight&5&L</delay>' # <delay> will repeat the line X times
  346.       interval: 2
  347.       random: false
  348.     header:
  349.       text:
  350.       - '&a&m+-----------------+'
  351.       interval: 10
  352.       random: true
  353.     combat-label:
  354.       text:
  355.       - '&8&l> &7&lCombat target:'
  356.       interval: 100
  357.       random: false
  358.     combat-data:
  359.       text:
  360.       - '{vanilla-combat_opponent_name}'
  361.       interval: 2
  362.       random: false
  363.     spacer1:
  364.       text: []
  365.       interval: 100
  366.     health-label:
  367.       text:
  368.       - '&8&l> &7&lHealth stats:'
  369.       interval: 100
  370.       random: false
  371.     health-data-1:
  372.       text:
  373.       - '&aYou: {healthbar}'
  374.       interval: 1
  375.       random: false
  376.     health-data-2:
  377.       text:
  378.       - '&cTarget: {vanilla-combat_opponent_healthbar}'
  379.       interval: 1
  380.       random: false
  381.     footer:
  382.       text:
  383.       - '&a&m+-----------------+'
  384.       interval: 10
  385.       random: true
  386.   # This is an example for mcMMO when you level up
  387.   # DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD
  388.   # (Unless you want it to show all the time)
  389.   # You still need to 'trigger' this scoreboard in the 'mcmmo-levelup'
  390.   mcmmo-levelup:
  391.     title:
  392.       text:
  393.       # To create cool looking animations you create yourself
  394.       # you can use the graphical tool AnimationCreator
  395.       # https://www.spigotmc.org/resources/animationcreator.6001/
  396.       # For all placeholders:   https://www.spigotmc.org/wiki/mvdw-placeholders/
  397.       # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
  398.       - '<single><delay times="10">&l><</delay></single>'
  399.       - '<single>&5&LOrder</single>' # <single> will allow the frame to only run ONCE
  400.       - '<single>&5&Lof</single>'
  401.       - '<single>&5&LKnight</single>'
  402.       - ' <delay times="100">&5&LOrder of Knight&5&L</delay>' # <delay> will repeat the line X times
  403.       interval: 2
  404.       random: false
  405.     header:
  406.       text:
  407.       - '&a&m+-----------------+'
  408.       interval: 10
  409.       random: true
  410.     info-label:
  411.       text:
  412.       # mcMMO-levelup comes with several event specific placeholders
  413.       - '&bCongrats! Level up: {mcmmo-levelup_levelsgained}'
  414.       interval: 10
  415.     spacer1: # This is a spacer an empty line
  416.       text:
  417.       - ''
  418.       interval: 10
  419.       # Do you want to randomize the animation frames?
  420.       random: false
  421.     skill-label: # You can add elements to the group and name them like you want
  422.       # Lets make a static label
  423.       text:
  424.       - '&9&l> &e&lSkill:'
  425.       interval: 10 # The interval is not important since its just 1 static text.
  426.       # Do you want to randomize the animation frames?
  427.       random: false
  428.     skill:
  429.       # Lets make a static label
  430.       text:
  431.       - '{mcmmo-levelup_skill_name}'
  432.       interval: 10 # The interval is not important since its just 1 static text.
  433.       # Do you want to randomize the animation frames?
  434.       random: false
  435.     spacer2: # This is a spacer an empty line
  436.       text:
  437.       - ''
  438.       interval: 100
  439.       # Do you want to randomize the animation frames?
  440.       random: false
  441.     skilllevel-label: # You can add elements to the group and name them like you want
  442.       # Lets make a static label
  443.       text:
  444.       - '&b&l> &e&lCurrent level:'
  445.       interval: 10 # The interval is not important since its just 1 static text.
  446.       # Do you want to randomize the animation frames?
  447.       random: false
  448.     skilllevel:
  449.       # Lets make a static label
  450.       text:
  451.       - '{mcmmo-levelup_skilllevel}'
  452.       interval: 10 # The interval is not important since its just 1 static text.
  453.       # Do you want to randomize the animation frames?
  454.       random: false
  455.     footer:
  456.       text:
  457.       - '&a&m+-----------------+'
  458.       interval: 10
  459.       random: true
  460.   # This is an example for Towny when you enter a town
  461.   # DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD
  462.   # (Unless you want it to show all the time)
  463.   # You still need to 'trigger' this scoreboard in the 'towny-town'
  464.   towny-town-example:
  465.     # Lets just use the title,header and footer from the example above
  466.     # for in depth configuration look above.
  467.     title:
  468.       text:
  469.       # To create cool looking animations you create yourself
  470.       # you can use the graphical tool AnimationCreator
  471.       # https://www.spigotmc.org/resources/animationcreator.6001/
  472.       # For all placeholders:   https://www.spigotmc.org/wiki/mvdw-placeholders/
  473.       # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
  474.       - '<single><delay times="10">&l><</delay></single>'
  475.       - '<single>&5&LOrder</single>' # <single> will allow the frame to only run ONCE
  476.       - '<single>&5&Lof</single>'
  477.       - '<single>&5&LKnight</single>'
  478.       - ' <delay times="100">&5&LOrder of Knight&5&L</delay>' # <delay> will repeat the line X times
  479.       interval: 2
  480.       random: false
  481.     header:
  482.       text:
  483.       - '&a&m+-------------------+'
  484.       interval: 10
  485.       random: true
  486.     town-label:
  487.       text:
  488.       - '&bYou are in town:'
  489.       interval: 100
  490.     town-data:
  491.       text:
  492.       - '{towny_currenttown_name}'
  493.       interval: 100
  494.     spacer1:
  495.       text: []
  496.       interval: 100
  497.     townboard-label:
  498.       text:
  499.       - '&bTown board:'
  500.       interval: 100
  501.     townboard:
  502.       text:
  503.       - '&a<scroll minwidth="28" width="30">{towny_currenttown_townboard}</scroll>'
  504.       interval: 3
  505.     spacer2:
  506.       text: []
  507.       interval: 100
  508.     population-label:
  509.       text:
  510.       - '&bPopulation:'
  511.       interval: 100
  512.     poplulation-data:
  513.       text:
  514.       - '{towny_currenttown_residents}'
  515.       interval: 100
  516.     footer:
  517.       text:
  518.       - '&a&m+-------------------+'
  519.       interval: 10
  520.       random: true