Elements
A utility library for Paper 1.21+ game developers. Including Buttons, Menus, Config/Storage Serialization and much more.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
Elements

A utility library for Paper 1.21+ plugin developers.
---
Features
- Countdowns - Clickable inventory items with event handling - Countdowns - Inventory GUIs with pagination, scrolling, and confirmations - Countdowns - Per-player scoreboards with animated content - Countdowns - Annotation-driven JSON/YAML storage - Countdowns - Dynamic text replacement - Countdowns - Scheduled tasks with lifecycle management
Installation
Currently hosted via JitPack.
Maven
```xml <repositories> <repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository> </repositories>
<dependency> <groupId>com.github.muckmuck96</groupId> <artifactId>elements</artifactId> <version>1.0.0</version> </dependency> ```
Gradle
```groovy repositories { maven { url 'https://jitpack.io' } }
dependencies { implementation 'com.github.muckmuck96:elements:1.0.0' } ```
Quick Start
```java public class MyPlugin extends JavaPlugin { private Registry registry; private MetadataRegistry metadata;
@Override public void onEnable() { registry = Elements.register(this);
// Enable registries you need registry.enable(ButtonRegistry.class); registry.enable(MenuRegistry.class); metadata = registry.enable(MetadataRegistry.class); }
@Override public void onDisable() { if (metadata != null) metadata.saveAll(); } } ```
Documentation
See the Wiki for full documentation.
Requirements
- Paper 1.21+ - Java 21+
License
MIT