EndPortal 插件 - 用户指南
? 关于该插件
EndPortal - 一个用于管理进入末地维度访问权限的插件。允许你启用/禁用传送门、设置自动开闭时间,并向玩家显示传送门状态。
版本: 2.0.0 | Minecraft: 1.21+ | 平台: Paper, Spigot, Purpur, Folia
? 管理员命令
主命令: /endportal(别名:/ep, /portal)
权限: endportal.admin(默认仅限 OP)
| 命令 |
描述 |
/endportal on |
启用传送门 |
/endportal off |
禁用传送门 |
/endportal toggle |
切换传送门状态 |
/endportal status |
显示状态和计划 |
/endportal schedule-open <date> <time> |
安排开启时间 |
/endportal schedule-close <date> <time> |
安排关闭时间 |
/endportal cancel |
取消所有已安排的事件 |
/endportal reload |
重新加载配置 |
/endportal help |
显示帮助信息 |
命令示例:
/endportal on
/endportal schedule-open 31.12.2025 20:00
/endportal schedule-close 01.01.2026 06:00
/endportal cancel
? 玩家命令
主命令: /endcount(别名:/ec, /counter)
权限: endcount.use(默认所有人可用)
| 命令 |
描述 |
/endcount |
切换计数器显示 |
/endcount on |
启用计数器 |
/endcount off |
禁用计数器 |
/endcount status |
显示传送门状态 |
/endcount help |
显示帮助信息 |
? 日期和时间格式
格式: dd.MM.yyyy HH:mm
正确示例:
31.12.2025 23:59 ✅
01.01.2026 00:00 ✅
15.06.2025 18:30 ✅
错误示例:
31.12.2025 23.59 ❌ (使用了点号而非冒号)
33.12.2025 19:22 ❌ (12月没有33日)
31-12-2025 23:59 ❌ (使用了连字符而非点号)
重要提示:
- 日期中使用点号:
31.12.2025
- 时间中使用冒号:
20:00
- 时间为24小时制
- 日期和时间必须是在未来
示例:
message: "&c&l警告!"
message: "&6[&cEndPortal&6] &f消息内容"
? 占位符
| 占位符 |
描述 |
示例 |
{status} |
传送门状态 |
Open, Closed |
{time} |
距离事件的时间 |
2h 30m 15s |
{datetime} |
日期和时间 |
31.12.2025 20:00 |
{minutes} |
距离事件的分钟数 |
5 |
? 权限
| 权限 |
描述 |
默认值 |
endportal.admin |
所有管理员命令 |
OP |
endcount.use |
计数器相关命令 |
所有人 |
设置方法 (LuckPerms):
/lp group admin permission set endportal.admin true
? 使用示例
节日活动
/endportal off
/endportal schedule-open 31.12.2025 20:00
/endportal schedule-close 01.01.2026 06:00
每周访问(周末)
/endportal schedule-open 27.12.2025 18:00
/endportal schedule-close 29.12.2025 23:59
维护期间
/endportal off
# 完成后执行:
/endportal on
❓ 常见问题
传送门即使被禁用仍在工作
- 检查 config.yml 中的
block-teleportation: true 设置
- 使用
/endportal reload 重新加载配置
错误提示“无效的数据/时间格式”
- 检查格式:
31.12.2025 20:00(注意冒号!)
- 日期必须有效(例如不能是 33.12)
- 时间必须是未来的时间
计数器未显示
- 使用
/endcount on 启用
- 检查是否拥有
endcount.use 权限
计划的事件未执行
- 确认设定时间是否为未来时间
- 检查服务器日志
- 使用
/endportal status 查看当前状态
EndPortal Plugin - User Guide
? About the Plugin
EndPortal - a plugin for managing access to The End dimension. Allows you to enable/disable the portal, schedule automatic opening/closing, and display portal status to players.
Version: 2.0.0 | Minecraft: 1.21+ | Platform: Paper, Spigot, Purpur, Folia
? Admin Commands
Main command: /endportal (aliases: /ep, /portal)
Permission: endportal.admin (OP only by default)
| Command |
Description |
/endportal on |
Enable the portal |
/endportal off |
Disable the portal |
/endportal toggle |
Toggle portal state |
/endportal status |
Show status and schedule |
/endportal schedule-open <date> <time> |
Schedule opening |
/endportal schedule-close <date> <time> |
Schedule closing |
/endportal cancel |
Cancel all scheduled events |
/endportal reload |
Reload configuration |
/endportal help |
Show help |
Command Examples:
/endportal on
/endportal schedule-open 31.12.2025 20:00
/endportal schedule-close 01.01.2026 06:00
/endportal cancel
? Player Commands
Main command: /endcount (aliases: /ec, /counter)
Permission: endcount.use (everyone by default)
| Command |
Description |
/endcount |
Toggle counter |
/endcount on |
Enable counter |
/endcount off |
Disable counter |
/endcount status |
Show portal status |
/endcount help |
Show help |
? Date and Time Format
Format: dd.MM.yyyy HH:mm
Correct examples:
31.12.2025 23:59 ✅
01.01.2026 00:00 ✅
15.06.2025 18:30 ✅
Incorrect examples:
31.12.2025 23.59 ❌ (dot instead of colon)
33.12.2025 19:22 ❌ (December 33rd doesn't exist)
31-12-2025 23:59 ❌ (dashes instead of dots)
Important:
- Use dots in date:
31.12.2025
- Use colon in time:
20:00
- Time in 24-hour format
- Date and time must be in the future
Examples:
message: "&c&lWARNING!"
message: "&6[&cEndPortal&6] &fMessage"
? Placeholders
| Placeholder |
Description |
Example |
{status} |
Portal status |
Open, Closed |
{time} |
Time until event |
2h 30m 15s |
{datetime} |
Date and time |
31.12.2025 20:00 |
{minutes} |
Minutes until event |
5 |
? Permissions
| Permission |
Description |
Default |
endportal.admin |
All admin commands |
OP |
endcount.use |
Counter commands |
Everyone |
Setup (LuckPerms):
/lp group admin permission set endportal.admin true
? Usage Examples
Holiday Event
/endportal off
/endportal schedule-open 31.12.2025 20:00
/endportal schedule-close 01.01.2026 06:00
Weekly Access (weekends)
/endportal schedule-open 27.12.2025 18:00
/endportal schedule-close 29.12.2025 23:59
Maintenance
/endportal off
# After completion:
/endportal on
❓ Common Issues
Portal works even though it's disabled
- Check
block-teleportation: true in config.yml
- Use
/endportal reload
Error "Invalid data/time format"
- Check format:
31.12.2025 20:00 (colon!)
- Day must exist (not 33.12)
- Time must be in the future
Counter not displaying
- Use
/endcount on
- Check
endcount.use permission
Scheduled event didn't execute
- Check that time was in the future
- Check server logs
- Use
/endportal status
评论 0
登录后参与评分
还没有评论,来抢沙发吧