Quill 图标

Quill

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 2.5.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/quilllib
资源信息

Minecraft 版本: 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3

平台: paper purpur

标签: library storage utility

资源介绍

Quill

Quill is a comprehensive utility library for Paper plugins, providing a wide range of tools and systems to simplify plugin development. It offers everything from configuration management to advanced item creation, all with a clean and intuitive API.

Features

  • ? Configuration System - Annotation-based configuration with automatic updating
  • ? Chat System - Advanced message handling with MiniMessage support
  • ? JSON Storage - Flexible and type-safe data storage system
  • ? Item Management - Powerful item creation and manipulation
  • ? Scoreboard System - Simple yet flexible scoreboard creation
  • ? Events System - Streamlined event handling with filtering
  • ?️ Utility Classes - Comprehensive collection of utility methods
  • ? Plugin Hooks - Built-in integration with PlaceholderAPI and Vault

Installation

1. Server Installation

First, download and install the Quill plugin on your server:

  1. Download the latest version from Releases
  2. Place the JAR file in your server's plugins folder
  3. Restart your server

2. Development Integration

Gradle (Kotlin DSL)
repositories {
    maven("https://jitpack.io")
}

dependencies {
    compileOnly("com.github.xLevitate:Quill:2.6.0")
}
Gradle (Groovy)
repositories {
    maven { url 'https://jitpack.io' }
}

dependencies {
    compileOnly 'com.github.xLevitate:Quill:2.6.0'
}
Maven
<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>com.github.xLevitate</groupId>
        <artifactId>Quill</artifactId>
        <version>2.6.0</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

Quick Start

Chat System

// Send formatted message
Chat.sendMessage(player, "<gradient:green:blue>Welcome to the server!</gradient>");

// Send title
Chat.sendTitle(player, "<gold>Welcome!", "<gray>Enjoy your stay");

Configuration

@Configuration("config.yml")
public class MyConfig {
    @Comment("Enable or disable the plugin")
    private boolean enabled = true;

    @Comment("Custom message")
    private String message = "<green>Hello!</green>";
}

Item Creation

ItemStack item = new ItemWrapper()
    .plugin(plugin)
    .material(Material.DIAMOND_SWORD)
    .name("<gradient:blue:purple>Mystic Blade</gradient>")
    .lore(Arrays.asList(
        "<gray>A legendary weapon",
        "<blue>Damage: +50</blue>"
    ))
    .build();

Event Handling

Events.listen(plugin, PlayerJoinEvent.class)
    .filter(event -> !event.getPlayer().hasPlayedBefore())
    .handle(event -> {
        Player player = event.getPlayer();
        Chat.sendMessage(player, "<green>Welcome to the server!");
    });

Documentation

For detailed documentation, please visit our Wiki.

Requirements

  • Java 17 or higher
  • Paper 1.20.4 or higher
  • (Optional) PlaceholderAPI for placeholder support
  • (Optional) Vault for economy support

Support

If you encounter any issues or have questions:

  1. Check the Wiki
  2. Open an Issue
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Bring 'em here | Crafteable nametags

价格:0 墨喵币
下载量:0

查看详情
Project: Create MP

价格:0 墨喵币
下载量:0

查看详情
Elden Witchcraft

价格:0 墨喵币
下载量:0

查看详情
ElytraKey

价格:0 墨喵币
下载量:0

查看详情