Sidebar

1. Introduction

You can use the builtin sidebar module to display any placeholder of information. You can however also choose to disable this module and use another sidebar/scoreboard plugin instead.




1. Setup

This module requires you to have ProtocolLib installed.


You can configure the sidebar in the config.yml file.

enabled: true

refresh-speed: 20

title: '&6KingdomCraft'

contents:
- ''
- '&7Kingdom'
- '{kingdom}'
- ''
- '&7Rank:'
- '{rank}'
- ''
- '&7Locatie'
- '{region}'
- ''
- '&fkingdomcraft.nl'


1.1. enabled

Enable or disable the sidebar module. Disable this if you are using another scoreboard/sidebar plugin.

1.2. refresh-speed

The sidebar refreshes after a certain interval. 20 ticks = 1 second.

1.3. title

This is the title of the sidebar.

1.4. contents

This is the content of the sidebar.

You can use all the builtin kingdomcraft placeholders as well as placeholders from PlaceholderAPI or MVdWPlaceholderAPI.


2. Commands

2.1 Toggle sidebar

You can show or hide the sidebar for yourself with this command.

/k scoreboard toggle
/k sbtoggle

kingdom.scoreboard.toggle

2.2 Refresh

This will refresh the sidebar for everyone or a single player. This is useful to reset the sidebar if another plugin has interferred.

/k scoreboard refresh
/k scoreboard refresh <player>

kingdom.scoreboard.refresh