Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/toxicity188/betterhud
A multiplatform server-side implementation of HUD in Minecraft, supporting Bukkit(with Folia), Velocity, and Fabric.
https://github.com/toxicity188/betterhud
bukkit-plugin fabric-server folia-plugin hud minecraft paper-plugin purpur-plugin resourcepack spigot-plugin velocity-plugin
Last synced: 2 days ago
JSON representation
A multiplatform server-side implementation of HUD in Minecraft, supporting Bukkit(with Folia), Velocity, and Fabric.
- Host: GitHub
- URL: https://github.com/toxicity188/betterhud
- Owner: toxicity188
- License: mit
- Created: 2024-03-02T15:28:35.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2025-01-13T10:57:37.000Z (8 days ago)
- Last Synced: 2025-01-19T16:06:56.225Z (2 days ago)
- Topics: bukkit-plugin, fabric-server, folia-plugin, hud, minecraft, paper-plugin, purpur-plugin, resourcepack, spigot-plugin, velocity-plugin
- Language: Kotlin
- Homepage: https://modrinth.com/mod/betterhud2
- Size: 3.82 MB
- Stars: 138
- Watchers: 3
- Forks: 34
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: changelog/1.10.1.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
![-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](https://www.codefactor.io/repository/github/toxicity188/betterhud/badge/master?style=for-the-badge)](https://www.codefactor.io/repository/github/toxicity188/betterhud/overview/master)### Multiplatform server-side HUD implementation of Minecraft
This project implements a server-side HUD.- Supports auto-generating resource pack.
- Supports display image(include png sequence), text, head.
- Supports animation.### Platform
- Bukkit(including Folia) 1.19-1.21.4
- Velocity 3.3-3.4
- Fabric server 1.21.2-1.21.4### Library
- [kotlin stdlib](https://github.com/JetBrains/kotlin): Implements better functional programming.
- [adventure](https://github.com/KyoriPowered/adventure): Implements multi-platform component.
- [bstats](https://bstats.org/getting-started/include-metrics): Implements metrics.
- [exp4j](https://github.com/fasseg/exp4j): Implements equation.
- [snakeyaml](https://github.com/snakeyaml/snakeyaml): Implements yaml parser.
- [gson](https://github.com/google/gson): Implements json parser/writer.
- [better command](https://github.com/toxicity188/BetterCommand): Implements multi-platform supporting command.
- [expiring map](https://github.com/jhalterman/expiringmap): Implements cache map.### Dependency
- Bukkit: No
- Velocity: No
- Fabric server: [Fabric API](https://modrinth.com/mod/fabric-api)### Build
Requires Java 21 Eclipse Adoptium.- Build all available jar: ./gradlew build
- Build Bukkit plugin: ./gradlew pluginJar
- Build Velocity plugin: ./gradlew velocityJar
- Build Fabric server side mod: ./gradlew fabricJar
- Build source code jar: ./gradlew sourcesJar
- Build dokka-based docs jar: ./gradlew javadocJar### API
Get from maven central![Maven Central Version](https://img.shields.io/maven-central/v/io.github.toxicity188/BetterHud-standard-api?style=for-the-badge) (BetterHud)
![Maven Central Version](https://img.shields.io/maven-central/v/io.github.toxicity188/BetterCommand?style=for-the-badge) (BetterCommand)[Bukkit example plugin](https://github.com/toxicity188/BetterHud-MMOCore)
![Maven Central Version](https://img.shields.io/maven-central/v/io.github.toxicity188/BetterHud-bukkit-api) (BetterHud for Bukkit)
``` kotlin
repositories {
mavenCentral()
}dependencies {
compileOnly("io.github.toxicity188:BetterHud-standard-api:VERSION") //Standard api
compileOnly("io.github.toxicity188:BetterHud-bukkit-api:VERSION") //Platform api
compileOnly("io.github.toxicity188:BetterCommand:VERSION") //BetterCommand library
}
```[Fabric example mod](https://github.com/toxicity188/betterhud-fabric-example)
![Maven Central Version](https://img.shields.io/maven-central/v/io.github.toxicity188/BetterHud-fabric-api) (BetterHud for Fabric)
``` kotlin
repositories {
mavenCentral()
}dependencies {
compileOnly("io.github.toxicity188:BetterHud-standard-api:VERSION") //Standard api
modCompileOnly("io.github.toxicity188:BetterHud-fabric-api:VERSION") //Platform api
compileOnly("io.github.toxicity188:BetterCommand:VERSION") //BetterCommand library
}
```Get from Jitpack
[![](https://jitpack.io/v/toxicity188/BetterHud.svg)](https://jitpack.io/#toxicity188/BetterHud)
``` kotlin
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](https://github.com/SkriptLang/Skript/releases)
```
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 playercommand /pointremove:
trigger:
#compass marker remove
point remove "test1" to player
point remove "test2" to playercommand /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::*}
```