Skip to content

InformationPlugin

dhohmann edited this page Oct 17, 2017 · 9 revisions

Description

This plugin gives the server owner the possibility to display information for each player. It makes use of the vanilla scoreboard which is displayed on the right side of the screen. By default, the display area is hidden, it has to be enabled by the client.

Commands

Command Description
/infoplugin hide Enables the scoreboard for the player and displays all defined information
/infoplugin show Disables the scoreboard for the player

Configuration

Inside the configuration files, various changes can be applied to fulfill the desires of the server owner.

config.yml

This is the default configuration file from bukkit.

Property Description
onstartup.showcommands Set this to true and the commands of this plugin will be displayed for each player when they join the server.
onstartup.showlines Set this to true and the lines specified in the language file will be displayed for each player when they join the server.
scoreboard.enable Set this to false to disable the information scoreboard.
scoreboard.updatetime This defines the time in seconds the server will wait between the update calls for the scoreboard.

scoreboard.yml

This is the configuration file used for building the content of the scoreboard.

Property Description
title This defines the title of the scoreboard.
lines Here you can define the content of the scoreboard. Please always use a list.

Various placeholders are supported for the scoreboard lines. You can find all placeholders here. Most placeholders will be replaced related to the player using the scoreboard. Some placeholders will remain untouched.

languages/*.yml

All files in the language folder will contain labels for a certain language. The plugin will automatically choose the language of the server. If the language is not supported, feel free to write your own language file.

A language file for this plugin is structured as followed:

Property Description
onstartup.availablecommands This will be used as a header for the list of all commands provided by this plugin.
onstartup.lines This represents the lines that will be showed to the player when he joins.
Clone this wiki locally