Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- config.yml :
- # ------------------------------------ #
- #
- # FeatherBoard 4
- # Runs like a feather on your server
- # (c) Maxim Van de Wynckel
- #
- # ------------------------------------ #
- # Plugin requirements:
- # (Required) MVdWPlaceholderAPI 2 or higher
- # Permissions: To use the action groups give them the permission
- # featherboard.group.<group>
- # Make sure to remove them from the other groups
- # when giving a new permission.
- # Variables: These variables can be used in the TEXT section
- # of both the header as the footer.
- #
- # {PLAYER} - Player name
- # {PLAYERNICK} - Player nickname
- # {SERVER} - Server name
- # {PLAYERCOUNT} - Server player count
- # {BUNGEECOUNT} - Bungee network player count
- # 5000+ more ... see spigot page
- # Formatting: These are formatting tags allowing you to format the animations
- # or placeholders.
- #
- # Substring: This allows you to split a word (even a placeholder) in lines
- # example: <substring begin=0 end=3>Hello World</substring> = Hel
- # usage: This can be used to split placeholders when creating a typewriter
- # or to split the colors in a placeholder.
- #
- # Scroll: This creates a scrolling animation of the text inside it. It accepts
- # two arguments (the length and space between scrolls).
- # example: <scroll width=20 spaces=20>&2This is a &atest</scroll>
- #
- # PLENTY MORE! See spigot page
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
- # GENERAL PLUGIN SETTINGS
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
- ## Config version (DO NOT EDIT)
- config: 4
- ## Language file
- lang: 'en'
- ## Debug mode
- debug: false
- ## Log to file
- log:
- enabled: true
- # Reset log on startup
- reset: true
- ## Update checking
- update:
- # RECOMMENDED YOU LEAVE THIS TRUE
- # Support for older versions is not provided
- check: true
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
- # PLUGIN SPECIFIC SETTINGS
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
- # Toggling allows you to disable the scoreboard
- database:
- # If you want the toggle to stay even when your users
- # log off you can enable this. Keep in mind that this requires a
- # MySQL or SQLite database.
- # If you are configuring the plugin for the first time it is advised
- # to stay away from these settings until you managed the scoreboard
- # set up.
- persistent: false
- # Database configuration is SIMILAR to http://wiki.bukkit.org/Bukkit.yml#database
- # with isolation, url, driver, ...
- # Database name
- database: "featherboard"
- # Database username
- username: bukkit
- # Database password
- password: walrus
- # Database driver URL
- # {DIR} will be replaced with the plugin directory
- # {NAME} will be replaced wit the plugin name
- url: jdbc:sqlite:{DIR}{NAME}.db
- # Save interval in ticks
- save-interval: 6000
- # Disabled worlds. Add your world name in this list to disable it.
- disabled-worlds:
- - 'example_world'
- # Scoreboard assigning. The boards can be assigned by various ways.
- # default the scoreboards will be assigned by permissions.
- # You can have multiple ways of assigning a scoreboard, but
- # keep in mind that it uses a "first come first served" principal
- # Multiple assign methods is only recommended when using things like
- # TIME or WORLD in combination with something else.
- #
- # PERMISSION - Assign scoreboards based on permissions
- # This is the default setting (since 2014)
- # featherboard.group.<scoreboard>
- #
- # GROUP - Assign scoreboards based on Vault groups
- # this means the scoreboard name has to
- # have the name of your Vault group.
- #
- # WORLD - Assign scoreboards based on the world
- # the player is in.
- #
- # TIME - Assign the scoreboard based on the day.
- # "day" for Day and "night" for night.
- #
- # NONE - Do no assign scoreboards and just rely on
- # manual assigning (triggers, etc...)
- #
- # LANGUAGE - Client language (en,nl,fr) Two letter language code
- #
- # PLACEHOLDER:* - Assign the scoreboard based on a placeholder
- # this method can be very intensive for certain non cached
- # placeholders.
- # It will look for scoreboardname.yml files matching the result
- # of the placeholder.
- # Replace "*" with an actual placeholder (ex. "PLACEHOLDER:{isflying}" )
- # KEEP IN MIND: Fast switching scoreboards is not a good thing.
- #
- # SPAWN_DISTANCE - Assign the scoreboard based on the distance to the world's spawn
- # Name your scoreboard: "spawn_distance_*" where * is a number
- # representing the distance. (ex. "spawn_distance_10")
- # The example would math the scoreboard if you are within 10 blocks
- # to the spawn.
- scoreboard-assigning:
- - 'PERMISSION'
- # GUI: This is a feature enabling a GUI to select a specific scoreboard
- # The GUI will show all scoreboards you have permission to. It is not very
- # configurable in the way you can't control the location or order of the scoreboards
- # For a more configurable GUI I recommend DeluxeMenus
- gui:
- # This is the title of the GUI
- title: "Scoreboards"
- # Size of the GUI (leave to -1 to make it dynamic)
- # Sizes: 9,27,54
- size: -1
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
- # ADVANCED SETTINGS
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
- # Placeholder settings
- placeholder:
- # Placeholder update method
- # COMPATIBLE - Only downloads compatible placeholders.
- # FORCE - Force download all placeholders.
- # UPDATE_ONLY - Only update existing downloaded placeholders.
- update-method: "COMPATIBLE"
- # Clear unused placeholders that are not enabled.
- clear-unused: true
- # Config cache only
- # This will only keep placeholders you use in the config
- # This breaks:
- # 1) MVdWPlaceholderAPI hooked plugins that make you use placeholders
- # in their plugins.
- # 2) Plugins that add custom placeholders to MVdWPlaceholderAPI
- config-cache: false
- # Scoreboards file path. This is the folder path containing the .yml files containing
- # the scoreboards.
- scoreboards-location: "scoreboards"
- # Modules file path. This is the folder path containing the JAR files for additional
- # placeholder or featherboard modules.
- modules-location: "modules"
- # Tweaks to increase or tune performance
- tweaks:
- # Reset all scoreboard on startup
- # this is similar to manually deleting the scoreboard.dat
- reset-scoreboard-data: false
- # This option does not send scoreboard remove packets
- # to the client on join.
- keep-scoreboard-join: false
- # This option does not send scoreboard remove packets
- # to the client on quit. This can increase performance on servers
- # where players quit a lot (hubs, ...)
- #
- # Removal of the plugin requires you to manually delete the scoreboard.dat in the worlds
- # /data folder
- #
- # Enabling this can cause the scoreboard not to work anymore. Use at your own risk
- keep-scoreboard-quit: false
- # Trust or do not trust scoreboard scripts.
- # Normally you leave this to true
- # When disabled scoreboard scripts will be disabled
- trust-scoreboard-scripts: true
- # Some placeholders have a slow process behind them. Meaning they might contact a database
- # and take a while to 'resolve'. This will never cause lag since the placeholders are loaded
- # separate from the sending. But can slow down the animation because it has to wait
- # for the placeholder to be loaded. When having multiple lines like a text that shows
- # the information about the placeholders you put below it, this can cause problems.
- # Enabling this will output a message in the console and ingame to operators
- # saying when a placeholder is causing delays.
- detect-animation-lag: false
- # Putting this to true will SPAM your console with timings report per placeholder/animation
- # refresh. Used for debugging purposes.
- # This requires detect-placeholderdelay to true
- verbose-animation-timings: false
- # Show delay on join. Useful if you wish to let the user
- # enjoy a Title MOTD without having the scoreboard obstructing
- # the view.
- # Please note that there is a static show-delay build in of 5 ticks that you can
- # not change. This is because a lot of data is send in the first moment a player
- # joins.
- show-delay: 0
- # The update speed multiplier can increase the update speed of the scoreboard
- # A normal scoreboard would have a max refresh rate of 20 ticks per second
- # When changing this multiplier you can make this slower or faster.
- # Support for faster multipliers is not provided as it depends on your server
- # hardware if it can handle it.
- # This feature is mostly meant for advanced users that want to create something unique
- # or when stress testing.
- speed-multiplier: 1.0
- # Scoreboard script engine to use
- scoreboard-script-engine: "JavaScript"
- scoreboard-update:
- # Scoreboard update method
- # This is the method used to send the scoreboard.
- # ANTI_FLICKER_V1 - This method works for 1.7-1.13. It will prevent the
- # scoreboard lines from jumping.
- # This is the only supported method for Cauldron servers.
- # Pros:
- # - No flickering or jumping lines
- # - Fast animations
- # - Less packets after the scoreboard is loaded
- # - Static line support with ~72 characters
- # Cons:
- # - This method sends more packets when the scoreboard first loads
- # - Maximum of 28 characters with colors
- # ANTI_FLICKER_V2 - This method works for 1.9-1.13. It will prevent the
- # scoreboard lines from jumping.
- # This method is in BETA
- # Pros:
- # - No flickering or jumping lines
- # - Fast animations
- # - Full 68-70 character animations
- # Cons:
- # - More CPU/RAM usage than V1 due to frame buffer
- # - Scoreboards will have a delay of 3 ticks (not really noticeable)
- # - Does not work with Team plugins, 'especially' those that use packets
- #
- #
- # SWITCH_LINES - This method works for 1.7-1.13. It will reset individual
- # scoreboard lines that need updating. Causing jumping lines.
- # DISCONTINUED - NO LONGER OFFICIALLY SUPPORTED
- # SWITCH_OBJECTIVE - This method works for 1.9-1.13. It will swap out
- # the scoreboard objective. Causing flicker.
- # DISCONTINUED - NO LONGER OFFICIALLY SUPPORTED
- method: 'ANTI_FLICKER_V1'
- animation-update:
- # Animation update method
- # This is the method used to update the line animations
- # (Updating the frames, placeholders ,...)
- # EFFICIENT - Will update the scoreboards using X workers.
- # The advantage is that it makes optimal use of the
- # processor to update the animations.
- # The downside is that some placeholders
- # may delay the scoreboard.
- # Use this if you have many scoreboards
- # OPTIMAL - This default option will assign a dedicated worker
- # per scoreboard config. Lines are therefor synchronized.
- # If you have no idea what the other strategies do, use this
- # SYNCHRONOUS - This option will update all scoreboard lines of all
- # scoreboards in a single worker. Meaning that for many
- # boards this can cause delays.
- # Use this if you have no more than 2 different scoreboards
- # ASYNCHRONOUS - This option will create a task for each scoreboard line
- # it was default for FeatherBoard 3 and previous versions.
- # However it is not really optimized.
- method: 'OPTIMAL'
- My scoreboard was named : prison
- folder: scoreboard >> prison.yml
- settings:
- # If you quickly want to change the
- # the label color change it here.
- # It replaces $setting_label-color$ throughout the entire config
- label-color: "&e"
- # Show or hide the health
- # This is an example of the script
- show-health: true
- # The priority of the scoreboard. The higher the number -> higher priority
- # Used when having more than one scoreboard assigned
- priority: 10
- # Example of pre processing script
- # This section is optional
- script-pre: |
- if (settings['show-health'] == "true"){
- board.getMeta().setSetting("enable-health","");
- }else{
- board.getMeta().setSetting("enable-health","|disabled|");
- }
- # This section is required. Those are your scoreboard lines
- lines:
- # Every section here are different lines. The first section will be used as the title
- # the following sections will be used as the lines on the scoreboard (max 15)
- # Just as the scoreboard names you can name these 'lines' whatever you want. But to make
- # things simple I will use logical names such as "title", "spacer", "header", ...
- title:
- # Every line has its own frames. The animation will loop through these frames on intervals
- # that you configure below.
- # Put all your frames under 'text:'. You can make as many lines as you want and use
- # placeholders and preset effects.
- # Keep in mind that there is a limit in line width!
- frames:
- # To create cool looking animations you create yourself
- # you can use the graphical tool AnimationCreator
- # https://www.spigotmc.org/resources/animationcreator.6001/
- # For all placeholders: https://www.spigotmc.org/wiki/mvdw-placeholders/
- # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
- - '<single><delay times="10">&l><</delay></single>'
- - '<single>&f&lra</single>' # <single> will allow the frame to only run ONCE
- - '<single>&f&laraF</single>'
- - '<single>&f&laraFi</single>'
- - '<single>&f&larFi</single>'
- - '<single>&f&laraFigh</single>'
- - ' <delay times="15">&f&lAr&4&l&faFight</delay>' # <delay> will repeat the line X times
- #- '<glow glowsize="5">AraFight</glow>' # This is the basic glow effect without custom colors
- - '<glow glowsize="5" startglowcolor="&c&l" glowcolor="&4&l" endglowcolor="&c&l" normalcolor="&f&l">AraFight</glow>'
- # Interval is the animation interval in TICKS (20 ticks is one second).
- # Every X ticks the animation goes to the next frame (see above)
- # Once all frames are finished it will start over from the first one
- interval: 2
- # If you don't want a static order of the frames and want to show each frame at random
- # you can enable this option.
- random: false
- # A scoreboard is dynamic. The lines can change length due to smaller placeholders or scrolling text.
- # that is why it is advised to have something on your scoreboard that is bigger then all other lines.
- # These lines (usually a header or footer) are also good for decoration.
- header:
- frames:
- - '<rainbow>&m+---------------------+</rainbow>'
- interval: 10
- random: true
- player-label:
- frames:
- - '&b&l> $setting_label-color$&lJoueur:'
- interval: 100
- random: false
- player-line1:
- frames:
- - '&o<cmd repeatmiddle="20">{player}</cmd>'
- interval: 2
- random: false
- player-line2:
- frames:
- - '{ping} &7ms'
- interval: 2
- random: false
- # For empty lines just add another 'section' but just don't put any text
- # in it so it acts like an empty line.
- spacer1:
- frames: []
- interval: 100
- random: false
- news-info:
- frames:
- - '&b&l> $setting_label-color$&lNews:'
- interval: 100
- random: false
- news:
- # Lets create some animated news
- # News is something you need to write quick
- # and usually you don't want to spend ages on creating
- # some cool effect. That is why FeatherBoard features
- # several presets you can use.
- frames:
- - '<scroll width="29">&aLe serveur ouvre bientôt ! &6{star_galaxy}</scroll>'
- interval: 2 # When using preset effects. The interval will apply to that effect
- # Do you want to randomize the animation frames?
- random: false
- # For empty lines just add another 'section' but just don't put any text
- # in it so it acts like an empty line.
- spacer2:
- frames: []
- interval: 100
- random: false
- timesplayed-label: #Switch between site, times played and health
- text:
- - '&b&l> $setting_label-color$&lArgent:'
- - '&b&l> $setting_label-color$&lRankup:'
- - '$setting_enable-health$&b&l> $setting_label-color$&lProgression:'
- - '&b&l> $setting_label-color$&lBlocs minés:'
- interval: 100
- random: false
- timesplayed: #Switch between site, times played and health
- frames:
- - '{ezrankspro_balance_formatted}'
- - '{ezrankspro_nextrankup}'
- - '{ezrankspro_progressbar}'
- - '{ezblocks_blocksmined}'
- interval: 100
- random: false
- # For empty lines just add another 'section' but just don't put any text
- # in it so it acts like an empty line.
- spacer3:
- frames: []
- interval: 100
- random: false
- server-label:
- frames:
- - '&b&l> $setting_label-color$&lInfos:'
- interval: 100
- random: false
- server-line1:
- frames:
- - '&a{time}'
- interval: 1
- random: false
- server-line2:
- frames:
- - '{onlineplayers} &ajoueurs connectés'
- interval: 100
- random: false
- server-line3:
- frames:
- - '&b www.arafight.net'
- interval: 100
- random: false
- # This is the same as the header. It is not needed since you already use the header as the longest line
- # but it looks cleaner having a footer.
- footer:
- frames:
- - '<rainbow>&m+---------------------+</rainbow>'
- interval: 10
- random: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement