⛏ FeverMine
自动挖矿 • 稀有度 • 自定义方块生成
FeverMine 是一款 Minecraft 插件,允许你创建完全可配置的自动矿洞,支持不同的稀有度、加权方块生成以及自动再生功能。
创建矿洞,自定义其区域,配置方块分布,让你的服务器挖矿体验自动进化!
━━━━━━━━━━━━━━━━━━━━
✦ 特性
- 自动矿洞再生 — 矿洞在可配置的冷却时间后会自动再生。
- 自定义矿洞区域 — 使用两个位置点定义每个矿洞的确切边界。
- 多种稀有度 — 创建自定义稀有度,拥有独立的显示名称、出现概率和方块分布。
- 加权方块生成 — 控制每种方块在矿洞中出现的概率。
- 可配置设置 — 配置矿洞、消息、冷却时间和数据库设置。
- SQLite 与 MySQL 支持 — 可选择本地 SQLite 数据库或远程 MySQL 数据库。
- PlaceholderAPI 集成 — 在任何支持 PlaceholderAPI 的地方显示矿洞信息、稀有度和冷却时间。
- HEX 颜色支持 — 使用 HEX 颜色自定义消息和稀有度名称。
- 命令权限控制 — 分别控制对每个 FeverMine 命令的访问权限。
━━━━━━━━━━━━━━━━━━━━
⚙ 命令
主命令:/fevermine
别名:/fmine, /mine
| 命令 |
描述 |
/fevermine create <id> |
创建一个自动矿洞 |
/fevermine delete <id> |
删除一个自动矿洞 |
/fevermine reload |
重新加载插件配置 |
/fevermine list |
显示所有自动矿洞 |
/fevermine info <id> |
显示关于某个矿洞的信息 |
/fevermine reset <id> |
根据配置的概率随机选择一个新的稀有度 |
/fevermine set <id> <rarity> |
设置特定的稀有度并重置冷却时间 |
权限
| 权限 |
描述 |
fevermine.command.create |
创建矿洞 |
fevermine.command.delete |
删除矿洞 |
fevermine.command.reload |
重新加载配置 |
fevermine.command.list |
查看矿洞列表 |
fevermine.command.info |
查看矿洞信息 |
fevermine.command.reset |
随机重置矿洞稀有度 |
fevermine.command.set |
设置特定矿洞稀有度 |
━━━━━━━━━━━━━━━━━━━━
⛏ 自定义矿洞
每个矿洞都可以拥有自己的配置,包括:
- 唯一 ID
- 再生冷却时间
- 区域坐标
- 多种稀有度
- 稀有度选择概率
- 自定义方块分布
示例:
mines:
default:
cooldown: 60
pos1:
world: "world"
x: 100
y: 64
z: 100
pos2:
world: "world"
x: 120
y: 50
z: 120
━━━━━━━━━━━━━━━━━━━━
✧ 稀有度系统
FeverMine 支持可自定义的稀有度,具有独立的生成概率和方块分布。
示例稀有度配置:
rarity:
common:
display_name: "AEE7ACommon"
chance: 50
blocks:
STONE: 40
GRANITE: 21
COBBLESTONE: 21
COAL_ORE: 4
DIAMOND_ORE: 1
mythic:
display_name: "&#F265F2Mythic"
chance: 30
blocks:
STONE: 36
GRANITE: 20
COBBLESTONE: 20
DIAMOND_ORE: 2
legendary:
display_name: "&#FFC800Legendary"
chance: 20
blocks:
STONE: 27
GRANITE: 22
COBBLESTONE: 22
DIAMOND_ORE: 3
ANCIENT_DEBRIS: 1
稀有度的选择基于配置的概率,允许你创建自己的进度系统。
━━━━━━━━━━━━━━━━━━━━
⚙ 数据库
FeverMine 支持两种数据库类型。
SQLite — 轻量级本地数据库。适合小型服务器。
MySQL — 适用于大型服务器设置的远程数据库选项。
数据库类型和连接设置可以在 config.yml 中进行配置。
database:
type: SQLITE # SQLITE or MYSQL
sqlite:
file: "database.db"
mysql:
host: "localhost"
port: 3306
database: "fevermine"
username: "root"
password: "password"
━━━━━━━━━━━━━━━━━━━━
✦ PlaceholderAPI
FeverMine 集成了 PlaceholderAPI。
可用的占位符:
| 占位符 |
描述 |
%fevermine_<id>_display_name% |
矿洞显示名称 |
%fevermine_<id>_cooldown% |
距离再生的剩余时间 |
%fevermine_<id>_current_rarity% |
当前矿洞稀有度 |
%fevermine_<id>_previous_rarity% |
前一次矿洞稀有度 |
%fevermine_<id>_next_rarity% |
下一次矿洞稀有度 |
将 <id> 替换为你的矿洞的唯一 ID。
示例:
%fevermine_default_current_rarity%
%fevermine_default_cooldown%
━━━━━━━━━━━━━━━━━━━━
? 配置
FeverMine 包含三个主要配置文件:
config.yml — 通用插件设置、冷却格式化以及数据库配置。
messages.yml — 支持 HEX 颜色的可自定义插件消息。
mines.yml — 矿洞区域、稀有度、生成概率和方块分布。
━━━━━━━━━━━━━━━━━━━━
? 要求
| 属性 |
值 |
| 插件 |
FeverMine |
| 版本 |
1.0.0 |
| Java |
21 |
| Minecraft |
1.21.11 – 1.26.2 |
| 服务端软件 |
Spigot / Paper / Purpur |
| 依赖 |
PlaceholderAPI |
| 数据库 |
SQLite / MySQL |
必需依赖: PlaceholderAPI
━━━━━━━━━━━━━━━━━━━━
FeverMine — 让你的矿洞进化。
⛏ FeverMine
Automated Mines • Rarities • Custom Block Generation
FeverMine is a Minecraft plugin that allows you to create fully configurable automatic mines with different rarities, weighted block generation, and automatic regeneration.
Create mines, customize their regions, configure block distributions, and let your server's mining experience evolve automatically!
━━━━━━━━━━━━━━━━━━━━
✦ Features
- Automatic Mine Regeneration — Mines automatically regenerate after a configurable cooldown.
- Custom Mine Regions — Define the exact boundaries of each mine using two positions.
- Multiple Rarities — Create custom rarities with individual display names, chances, and block distributions.
- Weighted Block Generation — Control the probability of each block appearing in a mine.
- Customizable Configuration — Configure mines, messages, cooldowns, and database settings.
- SQLite & MySQL Support — Choose between a local SQLite database or a MySQL database.
- PlaceholderAPI Integration — Display mine information, rarities, and cooldowns anywhere PlaceholderAPI is supported.
- HEX Color Support — Customize messages and rarity names using HEX colors.
- Command Permissions — Control access to every FeverMine command separately.
━━━━━━━━━━━━━━━━━━━━
⚙ Commands
Main command: /fevermine
Aliases: /fmine, /mine
| Command |
Description |
/fevermine create <id> |
Create an automatic mine |
/fevermine delete <id> |
Delete an automatic mine |
/fevermine reload |
Reload the plugin configuration |
/fevermine list |
Display all automatic mines |
/fevermine info <id> |
Display information about a mine |
/fevermine reset <id> |
Randomly select a new rarity based on configured chances |
/fevermine set <id> <rarity> |
Set a specific rarity and reset the cooldown |
Permissions
| Permission |
Description |
fevermine.command.create |
Create mines |
fevermine.command.delete |
Delete mines |
fevermine.command.reload |
Reload configuration |
fevermine.command.list |
View the mine list |
fevermine.command.info |
View mine information |
fevermine.command.reset |
Randomly reset mine rarity |
fevermine.command.set |
Set a specific mine rarity |
━━━━━━━━━━━━━━━━━━━━
⛏ Custom Mines
Each mine can have its own configuration, including:
- Unique ID
- Regeneration cooldown
- Region coordinates
- Multiple rarities
- Rarity selection chances
- Custom block distribution
Example:
mines:
default:
cooldown: 60
pos1:
world: "world"
x: 100
y: 64
z: 100
pos2:
world: "world"
x: 120
y: 50
z: 120
━━━━━━━━━━━━━━━━━━━━
✧ Rarity System
FeverMine supports customizable rarities with independent generation chances and block distributions.
Example rarity configuration:
rarity:
common:
display_name: "AEE7ACommon"
chance: 50
blocks:
STONE: 40
GRANITE: 21
COBBLESTONE: 21
COAL_ORE: 4
DIAMOND_ORE: 1
mythic:
display_name: "&#F265F2Mythic"
chance: 30
blocks:
STONE: 36
GRANITE: 20
COBBLESTONE: 20
DIAMOND_ORE: 2
legendary:
display_name: "&#FFC800Legendary"
chance: 20
blocks:
STONE: 27
GRANITE: 22
COBBLESTONE: 22
DIAMOND_ORE: 3
ANCIENT_DEBRIS: 1
Rarity selection is based on configured chances, allowing you to create your own progression system.
━━━━━━━━━━━━━━━━━━━━
⚙ Database
FeverMine supports two database types.
SQLite — A lightweight local database. Ideal for smaller servers.
MySQL — A remote database option for larger server setups.
Database type and connection settings can be configured in config.yml.
database:
type: SQLITE # SQLITE or MYSQL
sqlite:
file: "database.db"
mysql:
host: "localhost"
port: 3306
database: "fevermine"
username: "root"
password: "password"
━━━━━━━━━━━━━━━━━━━━
✦ PlaceholderAPI
FeverMine integrates with PlaceholderAPI.
Available placeholders:
| Placeholder |
Description |
%fevermine_<id>_display_name% |
Mine display name |
%fevermine_<id>_cooldown% |
Time remaining until regeneration |
%fevermine_<id>_current_rarity% |
Current mine rarity |
%fevermine_<id>_previous_rarity% |
Previous mine rarity |
%fevermine_<id>_next_rarity% |
Next mine rarity |
Replace <id> with your mine's unique ID.
Example:
%fevermine_default_current_rarity%
%fevermine_default_cooldown%
━━━━━━━━━━━━━━━━━━━━
? Configuration
FeverMine includes three main configuration files:
config.yml — General plugin settings, cooldown formatting, and database configuration.
messages.yml — Customizable plugin messages with HEX color support.
mines.yml — Mine regions, rarities, generation chances, and block distributions.
━━━━━━━━━━━━━━━━━━━━
? Requirements
| Property |
Value |
| Plugin |
FeverMine |
| Version |
1.0.0 |
| Java |
21 |
| Minecraft |
1.21.11 – 1.26.2 |
| Server Software |
Spigot / Paper / Purpur |
| Dependency |
PlaceholderAPI |
| Databases |
SQLite / MySQL |
Required Dependency: PlaceholderAPI
━━━━━━━━━━━━━━━━━━━━
FeverMine — Make Your Mines Evolve.
评论 0
登录后参与评分
还没有评论,来抢沙发吧