Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Patbox/SidebarAPI

Simple API for Fabric server side sidebars
https://github.com/Patbox/SidebarAPI

Last synced: about 2 months ago
JSON representation

Simple API for Fabric server side sidebars

Awesome Lists containing this project

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