Advertisement
CallMeRedix

Untitled

Oct 7th, 2017
404
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. #            4000+ 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: 2
  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.  
  101. # Toggling allows you to disable the scoreboard
  102. database:
  103.  # If you want the toggle to stay even when your users
  104.   # log off you can enable this. Keep in mind that this requires a
  105.   # MySQL or SQLite database.
  106.   # If you are configuring the plugin for the first time it is advised
  107.   # to stay away from these settings until you managed the scoreboard
  108.   # set up.
  109.   persistent: false
  110.   # Database configuration is SIMILAR to http://wiki.bukkit.org/Bukkit.yml#database
  111.   # with isolation, url, driver, ...
  112.   # Database name
  113.   database: "featherboard"
  114.   # Database username
  115.   username: bukkit
  116.   # Database isolation type
  117.   isolation: SERIALIZABLE
  118.   # Database driver
  119.   driver: org.sqlite.JDBC
  120.   # Database password
  121.   password: walrus
  122.   # Database driver URL
  123.   # {DIR} will be replaced with the plugin directory
  124.   # {NAME} will be replaced wit the plugin name
  125.   url: jdbc:sqlite:{DIR}{NAME}.db
  126.   # Save interval in ticks
  127.   save-interval: 6000
  128.  
  129. # Disabled worlds. Add your world name in this list to
  130. # disable it.
  131. disabled-worlds:
  132. - 'example_world'
  133.  
  134. # Show delay on join. Usefull if you wish to let the user
  135. # enjoy a Title MOTD without having the scoreboard obstructing
  136. # the view.
  137. show-delay: 0
  138.  
  139. # Anti Flicker will use a new engine that will allow you to use fast animations
  140. # without any flicker.
  141. # You can disable this feature if you do not have fast refresh rates.
  142. antiflicker: true
  143.  
  144. # A list of different scoreboards
  145. boards:
  146.  # Default FeatherBoard comes with a board called "default". All players have the permission
  147.   # featherboard.group.default  (by default) meaning all players should see the scoreboard unless
  148.   # the permission is negated.
  149.   #
  150.   # You can create as many boards as you want as long as the name is unique. It is advised to give logical
  151.   # names such as "vip-board", "mcmmo-levelup", ...
  152.   default:
  153.    # Every section here are different lines. The first section will be used as the title
  154.     # the following sections will be used as the lines on the scoreboard (max 15)
  155.     # Just as the scoreboard names you can name these 'lines' whatever you want. But to make
  156.     # things simple I will use logical names such as "title", "spacer", "header", ...
  157.     title:
  158.      # Every line has its own frames. The animation will loop through these frames on intervals
  159.       # that you configure below.
  160.       # Put all your frames under 'text:'. You can make as many lines as you want and use
  161.       # placeholders and preset effects.
  162.       # Keep in mind that there is a limit in line width!
  163.       text:
  164.      # To create cool looking animations you create yourself
  165.       # you can use the graphical tool AnimationCreator
  166.       # https://www.spigotmc.org/resources/animationcreator.6001/
  167.       # For all placeholders:   https://www.spigotmc.org/wiki/mvdw-placeholders/
  168.       # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
  169.       - '<single><delay times="10">&l><</delay></single>'
  170.       - '<single>&f&ler</single>' # <single> will allow the frame to only run ONCE
  171.       - '<single>&f&lherB</single>'
  172.       - '<single>&f&lherBo</single>'
  173.       - '<single>&f&latherBoa</single>'
  174.       - '<single>&f&leatherBoar</single>'
  175.       - ' <delay times="10">&f&lFeatherBoard&1&l3</delay>' # <delay> will repeat the line X times
  176.       - '<glow glowsize="5">FeatherBoard</glow>'
  177.       # Interval is the animation interval in TICKS (20 ticks is one second).
  178.       # Every X ticks the animation goes to the next frame (see above)
  179.       # Once all frames are finished it will start over from the first one
  180.       interval: 2
  181.       # If you don't want a static order of the frames and want to show each frame at random
  182.       # you can enable this option.
  183.       random: false
  184.     # A scoreboard is dynamic. The lines can change length due to smaller placeholders or scrolling text.
  185.     # that is why it is advised to have something on your scoreboard that is bigger then all other lines.
  186.     # These lines (usually a header or footer) are also good for decoration.
  187.     header:
  188.       text:
  189.      - '<rainbow>&m+---------------------+</rainbow>'
  190.       interval: 10
  191.       random: true
  192.     player-label:
  193.       text:
  194.      - '&b&l> &e&lPlayer Info:'
  195.       interval: 100
  196.       random: false
  197.     player-line1:
  198.       text:
  199.      - '&o<cmd repeatmiddle="20">{player}</cmd>'
  200.       - '&o<cmd repeatmiddle="20">{locale}</cmd>'
  201.       interval: 2
  202.       random: false
  203.     player-line2:
  204.       text:
  205.      - '{ping} &7ms latency'
  206.       interval: 2
  207.       random: false
  208.     # For empty lines just add another 'section' but just don't put any text
  209.     # in it so it acts like an empty line.
  210.     spacer1:
  211.       text: []
  212.       interval: 100
  213.       random: false
  214.     news-info:
  215.       text:
  216.      - '&b&l> &e&lNews:'
  217.       interval: 100
  218.       random: false
  219.     news:
  220.      # Lets create some animated news
  221.       # News is something you need to write quick
  222.       # and usually you don't want to spend ages on creating
  223.       # some cool effect. That is why FeatherBoard features
  224.       # several presets you can use.
  225.       text:
  226.      - '<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>'
  227.       interval: 2 # When using preset effects. The interval will apply to that effect
  228.       # Do you want to randomize the animation frames?
  229.       random: false
  230.     # For empty lines just add another 'section' but just don't put any text
  231.     # in it so it acts like an empty line.
  232.     spacer2:
  233.       text: []
  234.       interval: 100
  235.       random: false
  236.     timesplayed-label: #Switch between site, times played and health
  237.       text:
  238.      - '&b&l> &e&lSite:'
  239.       - '&b&l> &e&lPlayed:'
  240.       - '&b&l> &e&lHealth:'
  241.       interval: 100
  242.       random: false
  243.     timesplayed: #Switch between site, times played and health
  244.       text:
  245.      - 'www.mvdw-software.com'
  246.       - '{stat_timesplayed}'
  247.       - '{healthbar}'
  248.       interval: 100
  249.       random: false
  250.     # For empty lines just add another 'section' but just don't put any text
  251.     # in it so it acts like an empty line.
  252.     spacer3:
  253.       text: []
  254.       interval: 100
  255.       random: false
  256.     server-label:
  257.       text:
  258.      - '&b&l> &e&lServer Info:'
  259.       interval: 100
  260.       random: false
  261.     server-line1:
  262.       text:
  263.      - '<repeat times=200>{usedram} &7MB &8&l/ &f{totalram} &7MB</repeat>' #Refresh the ram 200 times
  264.       - '<repeat times=100>{tps_rounded} &7TPS &7&o(Avg {avgtps_rounded})</repeat>' #Refresh the tps 100 times
  265.       interval: 1
  266.       random: false
  267.     server-line2:
  268.       text:
  269.      - '{onlineplayers} &aonline players'
  270.       interval: 10
  271.       random: false
  272.     # This is the same as the header. It is not needed since you already use the header as the longest line
  273.     # but it looks cleaner having a footer.
  274.     footer:
  275.       text:
  276.      - '<rainbow>&m+---------------------+</rainbow>'
  277.       interval: 10
  278.       random: true
  279.     # This is a combat scoreboard example showing
  280.   # combat related information.
  281.   # DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD
  282.   # (Unless you want it to show all the time)
  283.   # You still need to 'trigger' this scoreboard in the vanilla_combat
  284.   combat-scoreboard-example:
  285.    # Lets just use the title,header and footer from the example above
  286.     # for in depth configuration look above.
  287.     #
  288.     # When designing a board that is used when triggered on an event. You have
  289.     # to think (before looking at the placeholders) what is relevant.
  290.     # For example: When I think of combat my first thoughts are:
  291.     # - Health: To see how much you have left
  292.     # - Possible cooldown timers
  293.     # - With who am I in combat?
  294.     # - Target health
  295.     # - mcMMO attacking level?
  296.     #
  297.     # Next you have to think what is important during that event:
  298.     # - Combat: not too much distraction (no animations, smaller scoreboard)
  299.     #
  300.     # Once you know those things start looking for placeholders. A lot of events such
  301.     # as mcmmo have placeholders that can only be used in such events.
  302.     title:
  303.       text:
  304.      # To create cool looking animations you create yourself
  305.       # you can use the graphical tool AnimationCreator
  306.       # https://www.spigotmc.org/resources/animationcreator.6001/
  307.       # For all placeholders:   https://www.spigotmc.org/wiki/mvdw-placeholders/
  308.       # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
  309.       - '&f&lRedixMC'
  310.       - '&e&lRedixMC'
  311.       - '&6&lRedixMC'
  312.       - '&e&lRedixMC'
  313.       interval: 2
  314.       random: false
  315.     header:
  316.       text:
  317.      - '&a&m+-----------------+'
  318.       interval: 10
  319.       random: true
  320.     combat-label:
  321.       text:
  322.      - '&8&l> &7&lCombat target:'
  323.       interval: 100
  324.       random: false
  325.     combat-data:
  326.       text:
  327.      - '{vanilla-combat_opponent_name}'
  328.       interval: 2
  329.       random: false
  330.     spacer1:
  331.       text: []
  332.       interval: 100
  333.     health-label:
  334.       text:
  335.      - '&8&l> &7&lHealth stats:'
  336.       interval: 100
  337.       random: false
  338.     health-data-1:
  339.       text:
  340.       - '&aYou: {healthbar}'
  341.       interval: 1
  342.       random: false
  343.     health-data-2:
  344.       text:
  345.       - '&cTarget: {vanilla-combat_opponent_healthbar}'
  346.       interval: 1
  347.       random: false
  348.     footer:
  349.       text:
  350.      - '&a&m+-----------------+'
  351.       interval: 10
  352.       random: true
  353.   # This is an example for mcMMO when you level up
  354.   # DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD
  355.   # (Unless you want it to show all the time)
  356.   # You still need to 'trigger' this scoreboard in the 'mcmmo-levelup'
  357.   mcmmo-levelup:
  358.     title:
  359.       text:
  360.      # To create cool looking animations you create yourself
  361.       # you can use the graphical tool AnimationCreator
  362.       # https://www.spigotmc.org/resources/animationcreator.6001/
  363.       # For all placeholders:   https://www.spigotmc.org/wiki/mvdw-placeholders/
  364.       # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
  365.       - '<single><delay times="10">&l><</delay></single>'
  366.       - '<single>&f&ler</single>' # <single> will allow the frame to only run ONCE
  367.       - '<single>&f&lherB</single>'
  368.       - '<single>&f&lherBo</single>'
  369.       - '<single>&f&latherBoa</single>'
  370.       - '<single>&f&leatherBoar</single>'
  371.       - ' <delay times="100">&f&lFeatherBoard&1&l3</delay>' # <delay> will repeat the line X times
  372.       interval: 2
  373.       random: false
  374.     header:
  375.       text:
  376.      - '&a&m+-----------------+'
  377.       interval: 10
  378.       random: true
  379.     info-label:
  380.       text:
  381.      # mcMMO-levelup comes with several event specific placeholders
  382.       - '&bCongrats! Level up: {mcmmo-levelup_levelsgained}'
  383.       interval: 10
  384.     spacer1: # This is a spacer an empty line
  385.       text:
  386.      - ''
  387.       interval: 10
  388.       # Do you want to randomize the animation frames?
  389.       random: false
  390.     skill-label: # You can add elements to the group and name them like you want
  391.       # Lets make a static label
  392.       text:
  393.      - '&9&l> &e&lSkill:'
  394.       interval: 10 # The interval is not important since its just 1 static text.
  395.       # Do you want to randomize the animation frames?
  396.       random: false
  397.     skill:
  398.      # Lets make a static label
  399.       text:
  400.      - '{mcmmo-levelup_skill_name}'
  401.       interval: 10 # The interval is not important since its just 1 static text.
  402.       # Do you want to randomize the animation frames?
  403.       random: false
  404.     spacer2: # This is a spacer an empty line
  405.       text:
  406.      - ''
  407.       interval: 100
  408.       # Do you want to randomize the animation frames?
  409.       random: false
  410.     skilllevel-label: # You can add elements to the group and name them like you want
  411.       # Lets make a static label
  412.       text:
  413.      - '&b&l> &e&lCurrent level:'
  414.       interval: 10 # The interval is not important since its just 1 static text.
  415.       # Do you want to randomize the animation frames?
  416.       random: false
  417.     skilllevel:
  418.      # Lets make a static label
  419.       text:
  420.      - '{mcmmo-levelup_skilllevel}'
  421.       interval: 10 # The interval is not important since its just 1 static text.
  422.       # Do you want to randomize the animation frames?
  423.       random: false
  424.     footer:
  425.       text:
  426.      - '&a&m+-----------------+'
  427.       interval: 10
  428.       random: true
  429.   # This is an example for Towny when you enter a town
  430.   # DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD
  431.   # (Unless you want it to show all the time)
  432.   # You still need to 'trigger' this scoreboard in the 'towny-town'
  433.   towny-town-example:
  434.    # Lets just use the title,header and footer from the example above
  435.     # for in depth configuration look above.
  436.     title:
  437.       text:
  438.      # To create cool looking animations you create yourself
  439.       # you can use the graphical tool AnimationCreator
  440.       # https://www.spigotmc.org/resources/animationcreator.6001/
  441.       # For all placeholders:   https://www.spigotmc.org/wiki/mvdw-placeholders/
  442.       # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
  443.       - '<single><delay times="10">&l><</delay></single>'
  444.       - '<single>&f&ler</single>' # <single> will allow the frame to only run ONCE
  445.       - '<single>&f&lherB</single>'
  446.       - '<single>&f&lherBo</single>'
  447.       - '<single>&f&latherBoa</single>'
  448.       - '<single>&f&leatherBoar</single>'
  449.       - ' <delay times="100">&f&lFeatherBoard&1&l3</delay>' # <delay> will repeat the line X times
  450.       interval: 2
  451.       random: false
  452.     header:
  453.       text:
  454.      - '&a&m+-------------------+'
  455.       interval: 10
  456.       random: true
  457.     town-label:
  458.       text:
  459.      - '&bYou are in town:'
  460.       interval: 100
  461.     town-data:
  462.       text:
  463.      - '{towny_currenttown_name}'
  464.       interval: 100
  465.     spacer1:
  466.       text: []
  467.       interval: 100
  468.     townboard-label:
  469.       text:
  470.      - '&bTown board:'
  471.       interval: 100
  472.     townboard:
  473.       text:
  474.      - '&a<scroll minwidth="28" width="30">{towny_currenttown_townboard}</scroll>'
  475.       interval: 3
  476.     spacer2:
  477.       text: []
  478.       interval: 100
  479.     population-label:
  480.       text:
  481.      - '&bPopulation:'
  482.       interval: 100
  483.     poplulation-data:
  484.       text:
  485.      - '{towny_currenttown_residents}'
  486.       interval: 100
  487.     footer:
  488.       text:
  489.      - '&a&m+-------------------+'
  490.       interval: 10
  491.       random: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement