一个允许玩家控制生物生成的Spigot插件。
GreenChunk是一个插件,旨在帮助玩家轻松识别和定位游戏世界中的史莱姆区块。史莱姆区块是史莱姆可以生成的特定区域,对于想要收集史莱姆球或创建史莱姆农场的玩家来说很有价值。
# 核心功能:
1. 游戏内命令来检查你是否在史莱姆区块内:通过输入`/slime`,玩家可以立即找到自己是否当前位于史莱姆区块内。插件会在玩家位置显示绿色或红色的消息,以指示是否存在史莱姆区块。
2. 史莱姆地图物品:玩家可以使用可配置的物品(默认是史莱姆球)来打开图形用户界面(GUI),该界面显示史莱姆区块地图。此地图显示周围区域并突出显示史莱姆区块,使玩家更容易找到和导航到它们。
3. 基于权限的访问:服务器管理员可以通过配置权限来控制哪些玩家可以访问插件的功能。
4. 可配置的消息和设置:插件允许服务器管理员自定义消息、用于打开史莱姆区块地图的物品,以及启用或禁用史莱姆地图物品功能。
5. 多语言支持:GreenChunk内置了对不同语言的支持,使其能够服务于全球受众。可以通过在插件的GitHub存储库中创建拉取请求来添加新语言。
> 总而言之,GreenChunk是一个用户友好的Minecraft插件,可以帮助玩家轻松找到史莱姆区块。通过提供一个简单的命令和一个方便的基于GUI的地图,玩家可以节省寻找这些宝贵资源的时间和精力。
# 游戏内图片
### 史莱姆区块地图GUI

### 史莱姆区块聊天

# 权限 & 命令
| 命令 | 描述 | 权限 | 默认 |
|--|--|--|--|
| `/slime` | 检查当前位置的史莱姆 | `greenchunk.check` | `true`|
| `/slimemap` | 打开当前位置周围的史莱姆区块地图 | `greenchunk.map` | `true`|
| `/greenchunkreload` | 重新加载GreenChunk配置 | `greenchunk.reload` | `false`|
| `/slimereload` | 重新加载GreenChunk配置 | `greenchunk.reload` | `false`|
| | 允许玩家使用史莱姆地图物品 | `greenchunk.map.item` | `true`|
| | 允许玩家使用物品检查史莱姆区块 | `greenchunk.item` | `true`|
# Config.yml
```yml
# 如果您能翻译或创建新语言,请创建拉取请求
# https://github.com/Hynse/GreenChunk
# 如果您想更改语言,只需取消注释该部分
### 英语 ------------------------------------------------------
# Configuration for the SlimeCommand
slime-command:
messages:
not-in-chunk: "&cYou are not in a slime chunk (&e%d&7,&e%d&c)!"
in-chunk: "&aYou are in a slime chunk (&e%d&a, &e%d&a)!"
no-permission: '&cYou do not have permission to use this command!'
not-player: '&cYou must be a player to use this command!'
# Configuration for the ReloadCommand
reload-command:
messages:
reload-config: '&eGreenChunk config reloaded.'
no-permission: '&cYou do not have permission to use this command!'
error-reload-config: '&cSomething went wrong reloading GreenChunk config, see the console for more.'
# Configuration for the Gui Map
gui:
messages:
title: 'Slime Maps'
no-permission: '&cYou do not have permission to use this command!'
not-player: '&cYou must be a player to use this command!'
not-slimechunk: 'Not Slime Chunk'
is-slimechunk: 'Is Slime Chunk'
item: 'You do not have permission to use item!'
# Slimemap Settings
enableSlimeMapItem: true
slimeMapItem: SLIME_BALL
### ---------------------------------------------------------------
### 简体中文 --------------------------------------------
##slime-command:
# messages:
# not-in-chunk: '&c你不在X:&e%d&c, Z:&e%d&c的史莱姆区块内!'
# in-chunk: '&a你在X:&e%d&a, Z:&e%d&a的史莱姆区块内!'
# no-permission: '&c&c你没有权限使用这个指令!'
# not-player: '&c你必须是玩家才能使用该命令!'
#reload-command:
# messages:
# reload-config: '&eGreenChunk配置已重新加载'
# no-permission: '&c你没有权限使用这个指令!'
# error-reload-config: '&c重新加载GreenChunk配置出现了问题,请查看控制台获取更多信息'
#gui:
# messages:
# title: 'Slime Maps'
# no-permission: '&cYou do not have permission to use this command!'
# not-player: '&cYou must be a player to use this command!'
# not-slimechunk: 'Not Slime Chunk'
# is-slimechunk: 'Is Slime Chunk'
# item: '&cYou do not have permission to use item!'
#enableSlimeMapItem: true
#slimeMapItem: SLIME_BALL
### ---------------------------------------------------------------
### 泰国语 --------------------------------------------
#slime-command:
# messages:
# not-in-chunk: "&cคุณไม่ได้อยู่ในสลามชักค์ (&e%d&7,&e%d)&c!"
# in-chunk: "&aคุณอยู่ในสลามชักค์ (&e%d&7,&e%d)&a!"
# no-permission: "&cคุณไม่มีสิทธิ์ในการใช้คำสั่งนี้!"
# not-player: "&cคุณต้องเป็นผู้เล่นเท่านั้นที่จะใช้คำสั่งนี้!"
#reload-command:
# messages:
# reload-config: "&eGreenChunk รีโหลดคอนฟิกแล้ว"
# no-permission: "&cคุณไม่มีสิทธิ์ในการใช้คำสั่งนี้!"
# error-reload-config: "&cเกิดข้อผิดพลาดขณะโหลดคอนฟิก GreenChunk โปรดดูที่คอนโซลสำหรับข้อมูลเพิ่มเติม"
#gui:
# messages:
# title: 'Slime Maps'
# no-permission: '&cYou do not have permission to use this command!'
# not-player: '&cYou must be a player to use this command!'
# not-slimechunk: 'Not Slime Chunk'
# is-slimechunk: 'Is Slime Chunk'
# item: 'You do not have permission to use item!'
#enableSlimeMapItem: true
#slimeMapItem: SLIME_BALL
### ---------------------------------------------------------------```
```
## 贡献
如果您想为GreenChunk做出贡献,请随时提交包含您更改的拉取请求。 欢迎并感谢所有贡献。
## 许可证
本插件使用 MIT 许可。 更多信息请参阅 [LICENSE.md](https://github.com/Hynse/GreenChunk/blob/master/LICENSE.md)。
### 特别感谢 [morepaperlib](https://github.com/A248/MorePaperLib) 提供便捷的多平台支持。