Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Patbox/SidebarAPI
Simple API for Fabric server side sidebars
https://github.com/Patbox/SidebarAPI
Last synced: 11 days ago
JSON representation
Simple API for Fabric server side sidebars
- Host: GitHub
- URL: https://github.com/Patbox/SidebarAPI
- Owner: Patbox
- License: lgpl-3.0
- Created: 2021-05-23T14:22:33.000Z (over 3 years ago)
- Default Branch: 1.21
- Last Pushed: 2024-08-28T19:52:13.000Z (3 months ago)
- Last Synced: 2024-10-20T11:28:29.779Z (23 days ago)
- Language: Java
- Size: 131 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-fabric-server-mods - \[GitHub\
README
# Sidebar API
It's a small, jij-able library for creation of server side sidebars (scoreboards)
with full support of Minecraft's text components
(which allow custom fonts/colors and unlimited line length).## Usage:
Add it to your dependencies like this:```
repositories {
maven { url 'https://maven.nucleoid.xyz' }
}dependencies {
modImplementation include("eu.pb4:sidebar-api:[TAG]")
}
```After that creating a new sidebar is as easy as creating new instance of
Sidebar class, setting its content and adding players to it.### Proposed priorities:
- LOWEST - Fallback sidebars
- LOW - General sidebars visible most of the time (with basic information like player's currency)
- NORMAL - Sidebars visible only in selected areas/worlds/etc
- HIGH - Sidebars that are visible after certain actions for only seconds (level ups, voting, etc)
- OVERRIDE - Only for development