toxicity188 / BetterHud

A multi-platform server-side implementation of HUD in Minecraft, supporting Bukkit(with Folia), Velocity, and Fabric.
https://modrinth.com/mod/betterhud2
MIT License
115 stars 27 forks source link
bukkit-plugin fabric-server folia-plugin hud minecraft paper-plugin purpur-plugin resourcepack spigot-plugin velocity
![-0001-export](https://github.com/toxicity188/BetterHud/assets/114675706/ccbf4bd3-9133-44ee-b277-985eae4349ae) Welcome to BetterHud! [SpigotMC](https://www.spigotmc.org/resources/115559/) | [Hangar](https://hangar.papermc.io/toxicity188/BetterHud) | [Modrinth](https://modrinth.com/plugin/betterhud2) | [Github](https://github.com/toxicity188/BetterHud) [![GitHub Release](https://img.shields.io/github/v/release/toxicity188/BetterHud?display_name=release&style=for-the-badge&logo=kotlin)](https://github.com/toxicity188/BetterHud/releases/latest) [![Discord](https://img.shields.io/badge/Discord-%235865F2.svg?style=for-the-badge&logo=discord&logoColor=white)](https://discord.com/invite/rePyFESDbk) [![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/toxicity188/BetterHud?style=for-the-badge&logo=github)](https://github.com/toxicity188/BetterHud/issues) [![Static Badge](https://img.shields.io/badge/WIKI-blue?style=for-the-badge)](https://github.com/toxicity188/BetterHud/wiki) ![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/toxicity188/BetterHud?style=for-the-badge)

Multi-platform server-side HUD implementation of Minecraft.

This project implements a server-side HUD.

Platform

Library

Dependency

Build

Requires Java 17, 21 Eclipse Adoptium.

API

repositories {
    mavenCentral()
    maven("https://jitpack.io")
}

dependencies {
    compileOnly("net.kyori:adventure-api:VERSION") //Adventure api.
    compileOnly("com.github.toxicity188:BetterHud:VERSION") //BetterHud.
    compileOnly("com.github.toxicity188:BetterCommand:VERSION") //BetterCommand library.
}

Use BetterHud with Skript

Go to download Skript

command /pointadd:
    trigger:
        #compass marker add
        point add location at 0, 0, 0 in world "world" named "test1" to player
        point add location at 10, 0, 0 in world "world" named "test2" with icon "other" to player

command /pointremove:
    trigger:
        #compass marker remove
        point remove "test1" to player
        point remove "test2" to player

command /popup:
    trigger:
        #show popup with custom event
        set {_o::rand} to random integer between 1 to 100
        show popup "test_popup" to player with variable of {_o::*}