Configuration
command: sbsettings
aliases: []
storage:
type: sqlite
mysql:
host: localhost
port: 3306
database: minecraft
username: root
password: ""
scoreboard:
update-ticks: 20
title: "&f%player_name%"
lines:
- "�FF11$ &f%vault_eco_balance_formatted%"
- "&#FF0000🗡 &f%statistic_player_kills%"
- "&#FA7600☠ &f%statistic_deaths%"
- "&#FFE400⌚ &f%statistic_time_played%"
dialog:
title: "Settings - Scoreboard"
on: "&aON"
off: "&cOFF"
columns: 1
button-width: 250
buttons:
scoreboard:
text: "Scoreboard: %state%"
row: all
money:
text: "Show Money: %state%"
row: 1
kills:
text: "Show Kills: %state%"
row: 2
deaths:
text: "Show Deaths: %state%"
row: 3
playtime:
text: "Show Playtime: %state%"
row: 4
close:
text: "Close"
command: ""
messages:
reloaded: "&aScoreboardSettings reloaded."| Key | Description |
|---|---|
type: under storage: | sqlite (saved in plugins/ScoreboardSettings/data.db) or mysql |
update-ticks: under scoreboard: | How often the scoreboard updates. 20 ticks = 1 second |
lines: under scoreboard: | The first line is row 1, the second is row 2 and so on |
text: under dialog: → buttons: → <id>: | Button text. %state% becomes the on or off text |
row: under dialog: → buttons: → <id>: | The rows the button hides: a number (1), a list ([2, 3]) or all for the whole scoreboard |
command: under dialog: → close: | A command the player runs when they press Close, without the slash. Empty only closes the dialog |
Each button's id (money, kills, ...) is what gets saved for the player. If you rename an id, players lose that setting.