Skip to content

Main Config

KASUNHapangama edited this page May 31, 2023 · 14 revisions

╔═══╗╔╗ ╔═══╗╔═══╗╔═══╗╔═══╗╔═══╗╔══╗ ╔═══╗╔═══╗╔═══╗╔═══╗╔═══╗ ╚╗╔╗║║║ ║╔══╝║╔═╗║╚╗╔╗║║╔══╝║╔═╗║║╔╗║ ║╔═╗║║╔═╗║║╔═╗║╚╗╔╗║║╔═╗║ ║║║║║║ ║╚══╗║║ ║║ ║║║║║╚══╗║╚═╝║║╚╝╚╗║║ ║║║║ ║║║╚═╝║ ║║║║║╚══╗ ║║║║║║ ╔╗║╔══╝║╚═╝║ ║║║║║╔══╝║╔╗╔╝║╔═╗║║║ ║║║╚═╝║║╔╗╔╝ ║║║║╚══╗║ ╔╝╚╝║║╚═╝║║╚══╗║╔═╗║╔╝╚╝║║╚══╗║║║╚╗║╚═╝║║╚═╝║║╔═╗║║║║╚╗╔╝╚╝║║╚═╝║ ╚═══╝╚═══╝╚═══╝╚╝ ╚╝╚═══╝╚═══╝╚╝╚═╝╚═══╝╚═══╝╚╝ ╚╝╚╝╚═╝╚═══╝╚═══╝

Discord Leaderboards Plugin Configuration FREE VERSION Github https://github.com/KASUNHapangama/DiscordLeaderboards Discord https://dsc.gg/sundevs | KASUN#8771

#STORAGE SETTINGS (H2) (MYSQL) Available Options Local Databases - H2 (Default) Remote Databases - MYSQL (Beta - Under Development) ###storage-method: 'h2'

#Remote Mysql Database Settings you don't have to change anything if you are using H2 adderss must contain port eg:- localhost:3306 address: 'localhost' database: 'minecraft' username: 'root' password: '' remote databases may case lag depends on connection delay

#Main Settings

###scheduledelaymins: 5

Delay between schedule check Default 5 High Delay = Low Cpu Usage Low Delay = High Accenture Timings

###leaderboards:

  • 'example'

you have to list leaderboard name (filename) here for load them you can disable the leaderboard by removing them from this list all leaderboard configs must be inside the leaderboards folder and must follow default template as example leaderboard

#Default Settings

You can change these values for each leaderboard in their own config file witch you can find inside leaderboards folder

webhook-url: '-' #Required !!! webhook-avatar-url: 'https://cdn.discordapp.com/attachments/1074520108514431026/1104804320349802596/Board_3.png' webhook-user-name: 'DLeaderBoards'

embed-title: 'Leaderboard' #Required !!! embed-url: '-' embed-colour: '#00ffee' embed-footer: '-' embed-image: '-' embed-thumbnail: '-'

#Debug Settings Reserved for Plugin Developer, Do not Change Anything Here It May Break Your Plugin pluginversion: "0.1.2" firsttime: true

Clone this wiki locally