MonitoringMinecraft MonitoringMinecraft

PineLib

Плагин PaperPurpurSpigot

Современная библиотека для разработки плагинов Майнкрафт с упором на простоту.

191 скачивание 0 подписчиков
Оцените первым

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.

Смотри также

Похожие подборки плагины — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
1683 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
MigosMc
MigosMc Java + BE
1704 онлайн
1.8 — 26.2 версия
🌿 MigosMc.net | Гриферский сервер с войс-чатом | Награды за онлайн ⭐ ВЫЖИВАНИЕ⭐ ОДИНБЛОК⭐ МИНИ-ИГРЫ
CLOUDWORLD
2 онлайн
1.16.5 — 1.21.11 версия
Пвп, Арены, Дуэли, Кейсы, донаты, /free, приваты, спавн,
F19T
F19T Java
0 онлайн
1.16.5 версия
F19T - Выкован в огне.Закален хаосом.
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.8. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат