Перейти к содержимому
Mineforgian

Данные могли устареть: источник временно недоступен, показан кэш.

PineLib

A modern minecraft plugin library designed with simplicity in mind.

Загрузки
162
Подписчики
0
Обновлён
17 апреля 2026 г.
Лицензия
MIT

Опубликован 9 июля 2025 г.

PineLib

PineLib is a modern minecraft plugin library designed with simplicity in mind while still offering powerful features.

Features

Menus

We have a simple menu system that allows you to create menus with ease. Whether it's a simple chest menu, renaming items with anvils*, displaying recipes with droppers/crafters or even a fully custom UI, PineLib gives you the tools to create it all.

*anvils require ProtocolLib installed in order to work.

Countdowns

We also have countdowns which both support Bukkit and Adventure API. These countdowns will automatically update themselves such as draining boss bars; they can also display information about themselves such as the time remaining using placeholders. (Not PlaceholderAPI)

Placeholders

Placeholders are a simple template you can use to display information within the countdowns. All placeholders are formatted as %%{placeholder}%% and the following placeholders can be used:

  • seconds - The number of seconds remaining.
  • minutes - The number of minutes remaining.
  • hours - The number of hours remaining.
  • percentage - The percentage of the countdown remaining.
  • progress - The amount of ticks remaining.
  • raw_progress - percentage but represented as a number between 0 and 1.

Installation

To utilize PineLib, you obviously need to have it installed on your server. You can just download it from the modrinth page and place it in your servers plugin folder; however, if you want to use PineLib in your own plugin, first we need to set PineLib as a dependency like so:

name: PineLibUser
version: '1.0-SNAPSHOT'
main: com.example.pinelibuser.PineLibUser
api-version: '1.21'
prefix: PineLib
authors: [ Piny ]
description: Cool plugin using cool libraries
website: https://example.com
depend:
    - PineLib

now to actually use PineLib in your plugin, you will need to add it to your build.gradle file like so:

repositories {
    maven { url 'https://jitpack.io' }
}

dependencies {
    compileOnly 'com.github.NotPiny:PineLib:v1.2.0-BETA'
}

Usage

Using PineLib in your plugin is simple and designed to feel just as natural as using any code within your own plugin. You don't need to worry about getting the instance of PineLib when you use the features it provides. For information on how to use specific features, please refer to the documentation in the wiki.

Ченджлог

v1.2.0-BETAБета1.21.9, 1.21.10, 1.21.11 · 1 сентября 2025 г.
  • Add consumer for when ContainerMenu is closed
1.1-SNAPSHOTБета1.21.6, 1.21.7, 1.21.8 · 22 августа 2025 г.

Built jar file for bb600e1 with the changelog:

  • Update README.md to include usage info
  • Fix AnvilMenu.java
  • Move all other menus extensions of generic ContainerMenu.java class
1.0-SNAPSHOTБета1.21.6, 1.21.7, 1.21.8 · 21 августа 2025 г.

Correct accidently left in placeholder plugin.yml description.

Комментарии

Загружаем…