
?️ 区域发现系统:玩家进入 WorldGuard 区域时会自动发现该区域并获得自定义奖励。
? 完全可配置的 GUI:基于渐变的精美菜单,支持锁定/未锁定状态、自定义物品及 HeadDatabase 支持。
? 玩家进度追踪:持久化数据库存储(H2、SQLite 或 MySQL)记录所有玩家的发现进度。
⏱️ 智能冷却系统:基于 LuckPerms 组别的传送冷却时间,管理员可绕过限制。
? 丰富的集成支持:支持 WorldGuard 区域、WorldEdit、LuckPerms 组别、ItemsAdder 和 HeadDatabase。
? 游戏内区域编辑器:通过直观的 GUI 直接创建、编辑和删除区域,无需触碰配置文件。
? 多数据库支持:根据您的服务器需求在 H2(嵌入式)、SQLite 或 MySQL 之间进行选择。
? 渐变与十六进制颜色:在所有消息和菜单中全面支持颜色渐变和十六进制颜色。
? 更新通知器:自动检查新版本并在玩家加入时通知管理员。

玩家命令
| 命令 | 描述 |
|---|---|
/codex |
打开主 Codex 菜单 |
/codex help |
显示命令帮助 |
/codex stats |
查看已发现的区域 |
/codex list |
列出所有可用区域 |
管理员命令
| 命令 | 描述 |
|---|---|
/codex create <name> |
创建新区域 |
/codex delete <name> |
删除现有区域 |
/codex edit <name> <field> <value> |
编辑区域属性 |
/codex editor <name> |
打开区域的 GUI 编辑器 |
/codex reload |
重新加载配置 |
/codex reset |
重置所有玩家的发现进度 |

| 权限 | 描述 | 默认值 |
|---|---|---|
codex.use |
使用玩家命令 | true |
codex.view |
查看已发现的区域 | true |
codex.list |
列出所有区域 | true |
codex.create |
创建区域 | op |
codex.edit |
编辑区域 | op |
codex.delete |
删除区域 | op |
codex.admin |
所有管理员权限 | op |
codex.reset |
重置所有发现进度 | op |

config.yml
prefix: '<gradient:#FCEF00:#FFF652><bold>Codex</bold></gradient> &7» '
database:
# h2, sqlite or mysql
type: h2
# H2 / SQLite settings (file-based)
file: codex
# MySQL settings (only used when type: mysql)
host: localhost
port: 3306
name: nxcodex
username: root
password: ''
private-games:
enabled: true
password-length: 4
number-formatting:
mode: 0 # 0 = formatted (1,000), 1 = short (1K), 2 = raw (1000.00)
formatted: '#,###.##'
short: en_US
update-notifier:
enabled: true
on-join: true
integration:
itemsadder:
enabled: true
plugin: "ItemsAdder"
head-database:
enabled: true
plugin: "HeadDatabase"
teleportation:
# LuckPerms group-based cooldowns
enabled: true
cooldown:
default: 5 # seconds
admin: 0
vip: 3 # custom group example
codex.yml
menu:
title: "<gradient:#FCEF00:#FFF652><bold>Codex</bold></gradient>"
size: 54
items:
filler:
material: "GRAY_STAINED_GLASS_PANE"
slot: [0,1,2,3,4,5,6,7,8,9,17,18,26,27,35,36,44,45,53]
name: " "
locked_material:
material: "BARRIER"
name: "<gradient:#FCEF00:#FFF652><bold>Locked</bold></gradient>"
lore:
- "&7This zone is locked."
- "&7You cannot access it yet."
codex:
zone:
spawn:
slot: 10
material: "GRASS_BLOCK"
# custom-model-data: 1234 # Optional
# hdb: "12345" # HeadDatabase ID
name: "<gradient:#FCEF00:#FFF652><bold>Spawn</bold></gradient>"
lore:
- "&7The main spawn point."
- "&7Click to teleport."
cordinates:
x: 0
y: 64
z: 0
world: "world"
region: "spawn_region" # WorldGuard region
reward:
commands:
- "give %player_name% diamond 5"
- "eco give %player_name% 1000"
dungeon:
slot: 11
material: "NETHERITE_SWORD"
name: "<gradient:#8B0000:#FF0000><bold>Dark Dungeon</bold></gradient>"
lore:
- "&7A dangerous and mysterious place"
- "&cRecommended level: 50+"
cordinates:
x: -500
y: 30
z: -500
world: "world"
region: "dark_dungeon"
reward:
commands:
- "give %player_name% diamond_sword{Enchantments:[{id:sharpness,lvl:5}]} 1"
- "eco give %player_name% 5000"
lang.yml
help:
- '<gradient:#FCEF00:#FFF652><bold>Codex</bold></gradient> &7» &eHelp'
- 'B7F5➤ &f/codex &7- Opens the Codex menu'
- 'B7F5➤ &f/codex create <name> &7- Creates a new zone'
- 'B7F5➤ &f/codex delete <name> &7- Deletes a zone'
- 'B7F5➤ &f/codex edit <name> <field> <value> &7- Edits a zone'
- 'B7F5➤ &f/codex list &7- Lists all zones'
- 'B7F5➤ &f/codex reload &7- Reloads configuration'
- 'B7F5➤ &f/codex reset &7- Resets all discoveries'
- 'B7F5➤ &f/codex editor <name> &7- Opens zone editor'
- 'B7F5➤ &f/codex help &7- Shows this help'
discovery:
- '&eYou discovered the zone &f%name%&e!'
- '&eReward:'
- '&7%reward%'
teleport: success: '&a已传送至区域 &f%name%&a。' failed: '&c传送失败。请检查该区域是否存在以及世界是否已加载。'
error: no-permission: '&c您没有权限执行此命令。' zone-not-found: '&c区域 &f%name% &c不存在。' cooldown: '&c请等待 &f%time%s &c后再进行传送。'
由 **NoxuWT** ❤️ 开发
你是这个资源的作者?登录后可认领此资源。
相似资源
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
ExyliaPlugins 的库。
通过对话框或铁砧界面帮助你的 Anthme
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧