# Dropinfo 🧾
[English](https://modrinth.com/plugin/dropitem#english) | [中文](#中文)
---
## 🇨🇳 中文
### 🔍 插件简介
Minecraft Paper/Folia 1.21.X 服务端插件,为掉落物提供智能名称显示方案
### ✨ 功能特性
- 🎯 **智能显示** - 自动适配客户端语言的物品名称
- 🛡 **性能优先** - 动态密度检测防止卡顿(默认半径3格)
- ⚡ **双核支持** - 完美兼容 Paper 和 Folia 服务端
- 🔧 **热重载** - 支持通过命令实时重载配置
- 📊 **数据监控** - 内置性能模式开关(减少70%资源占用)
### 📥 安装方法
1. 下载最新版本 Dropinfo-*.jar
2. 将文件放入服务器 `plugins/` 目录
3. 重启服务器
### ⚙️ 配置文件 (`config.yml`)
```yaml
// 检查间隔(单位:tick,20tick=1秒)
check-interval: 120
// 检测半径(单位:方块)
radius: 2.5
// 最大允许的周围掉落物数量
max-items: 8
// 性能模式(true=禁用所有名称显示)
performance-mode: false
```
### 📋 命令列表
命令 权限 描述
---
/dropinfo reload dropinfo.reload 重载配置文件
---
/dropinfo version dropinfo.info 显示插件版本
---
## 🇺🇸 English
### 🔍 Introduction
A smart item display solution for Minecraft Paper/Folia 1.21.X servers
### ✨ Features
- 🎯 Smart Display - Auto-adapt item names to client language
- 🛡 Performance First - Dynamic density detection (default 3 blocks radius)
- ⚡ Dual Core - Full compatibility with Paper & Folia
- 🔧 Hot Reload - Reload config via command
- 📊 Metrics - Built-in performance mode (70% less resource usage)
### 📥 Installation
1. Download latest Dropinfo-*.jar
1. Place in server plugins/ folder
1. Restart server
⚙️ Configuration (config.yml)
```yaml
// Check interval (in ticks, 20 ticks=1s)
check-interval: 120
// Detection radius (blocks)
radius: 2.5
// Max nearby items allowed
max-items: 8
// Performance mode (true=disable all names)
performance-mode: false
```
### 📋 Commands
Command Permission Description
---
/dropinfo reload dropinfo.reload Reload config
---
/dropinfo version dropinfo.info Show version
---