VirtualDisplay
VirtualDisplay is a server display information customization plugin, it can customize your Scoreboard, Title, ActionBar, Tab, BossBar, F3 Brand. Why is it virtual? Because it is completely based on packets, all information is displayed completely on the client side and will not affect any content on the server side.
Support version:
1.17.x~1.19.x
Dependency:
- ProtocolLib: https://ci.dmulloy2.net/job/ProtocolLib/
- Customize multiple types of information placements: Scoreboard, Title, ActionBar, Tab, BossBar, F3 Brand.
- PlaceholderAPI support
- Fully packet based, great compatibility
- Easy-to-understand configuration files
- Animation Support (only for scoreboard and f3 brand)
- Hex color support
- Scoreboard toggle support (with sqlite/mysql support)
- Fully customizable plugin messages
- Condition/Priority/Delay/Event Trigger Support
- Fine-grained packet control for maximum bandwidth savings
- Scoreboard: Customize the scoreboard content, which is displayed on the right side of the screen
- Title: Customize the title message in the center of the screen
- ActionBar: Customize the actionbar message on the health bar
- Tab: Customize the header/footer of the tab interface
- BossBar: Customize a bossbar-based message to display at the top of the screen
- F3 Brand: Customize the server brand information displayed in the F3 debug information
- SoundGUI: Shows all the sound enumerations provided by bukkit, you can listen to them one by one, and then use these enumerations in other plugins(like GUI), useful for making sound effects
- /vtd toggle: Toggle the scoreboard
- /vtd title <target> <title> <subtitle> [fadeIn] [stay] [fadeOut]: Send the title to the specified player, * is for all players
- /vtd actionbar <target> <message>: Send a actionbar to the specified player, * is for all players
- /vtd soundgui: Opens a GUI to display all sound enumeration types
- /vtd reload: Reload the configuration
Permissions:
- virtualdisplay.command.title: Allow use of /vtd title command
- virtualdisplay.command.reload: Allow use of /vtd reloadcommand
- virtualdisplay.command.actionbar: Allow use of /vtd actionbar command
- virtualdisplay.command.soundgui: Allow use of /vtd soundgui command
- virtualdisplay.command.toggle: Allow use of /vtd toggle command
- %player_name%
- %player_display_name%
- %player_world%"
- %player_x%"
- %player_y%"
- %player_z%"
- %player_pitch%"
- %player_yaw%"
- %player_health%"
- %player_max_health%"
- %player_food%"
- %player_level%"
- %player_exp%"
- %server_online%"
- %server_max%"
API:
Code:
// Get API Instance
val api = VirtualDisplay.getAPI();
// API
interface VirtualDisplayAPI {
/**
* Send a actionbar to player
*
* @param player Player to send actionbar to
* @param message Message to send
*/
fun sendActionBar(player: Player, message: String)
/**
* Send a title to player
*
* @param player Player to send title to
* @param title Title to send
* @param subtitle Subtitle to send
* @param fadeIn Time to fade in
* @param stay Time to stay
* @param fadeOut Time to fade out
*/
fun sendTitle(player: Player, title: String, subtitle: String, fadeIn: Int, stay: Int, fadeOut: Int)
/**
* Send a custom F3 Brand to player
*
* @param player Player to send F3 Brand to
* @param brand Brand to send
*/
fun sendBrand(player: Player, brand: String)
}