LastLineControl 是一款轻量且灵活的 Minecraft 服务器插件,赋予管理员对飞行模式(Flight)和上帝模式(God)的完全控制权。专为注重平衡性与公平竞技的生存服及防破坏(grief)服务器而设计。
功能
限制在上帝/飞行模式下的行为。 每项限制均可在 config.yml 中为上帝模式和飞行模式分别独立开启或关闭:
- 拾取物品
- 破坏与放置方块
- 丢弃物品
- PvP(攻击玩家)
- 攻击生物
- 打开箱子
- 打开容器(木桶、熔炉、发射器、投掷器、漏斗、烟熏炉、高炉、酿造台)
- 使用弓和弩射击
- 使用打火石
- 交互末影水晶
- 交互末影箱和潜影盒
- 交互物品展示框和盔甲架
- 发射投射物(末影珍珠、雪球、三叉戟、溅射/滞留药水)
- 进入载具(船、矿车)
- 使用刷怪蛋
灵活配置: 上帝模式和飞行模式的每种限制在 config.yml 中均有独立的 true/false 开关。
绕过权限: 每种限制都配有专用的 lastline.bypass.<action> 权限,以便豁免特定玩家。
更新检测器: 在服务器启动和管理员加入时,插件会检查 Modrinth 以获取新版本,并在控制台和聊天窗口中通知。采用标准的语义化版本比较机制。
ActionBar 通知: 限制提示信息显示在快捷栏上方——避免刷屏。
状态持久化: 上帝模式和飞行模式的状态会在玩家重连和服务器重启后保留。
创造/旁观者模式支持: 自动跳过对处于创造模式或旁观者模式玩家的限制。
命令
| 命令 |
描述 |
权限 |
/fly |
切换自己的飞行模式 |
lastline.fly |
/fly <player> |
切换指定玩家的飞行模式 |
lastline.admin |
/god |
切换自己的上帝模式 |
lastline.god |
/god <player> |
切换指定玩家的上帝模式 |
lastline.admin |
/llc reload |
重载插件配置 |
lastline.admin |
权限
| 权限 |
描述 |
默认值 |
lastline.admin |
完全访问权限,可切换他人的模式 |
OP |
lastline.god |
对自己使用 /god |
false |
lastline.fly |
对自己使用 /fly |
false |
lastline.bypass.pickup |
绕过拾取物品限制 |
false |
lastline.bypass.block-break |
绕过破坏方块限制 |
false |
lastline.bypass.block-place |
绕过放置方块限制 |
false |
lastline.bypass.drop-item |
绕过丢弃物品限制 |
false |
lastline.bypass.pvp |
绕过 PvP 限制 |
false |
lastline.bypass.hit-mob |
绕过攻击生物限制 |
false |
lastline.bypass.chest |
绕过箱子限制 |
false |
lastline.bypass.containers |
绕过容器限制 |
false |
lastline.bypass.projectiles |
绕过投射物限制 |
false |
lastline.bypass.vehicles |
绕过载具限制 |
false |
lastline.bypass.interact-bow |
绕过弓的限制 |
false |
lastline.bypass.interact-flint |
绕过打火石的限制 |
false |
lastline.bypass.interact-crystal |
绕过末影水晶的限制 |
false |
lastline.bypass.interact-enderchest |
绕过末影箱的限制 |
false |
lastline.bypass.interact-shulker |
绕过潜影盒的限制 |
false |
lastline.bypass.interact-entities |
绕过实体交互限制 |
false |
lastline.bypass.spawn-eggs |
绕过刷怪蛋限制 |
false |
LastLineControl is a lightweight and flexible plugin for Minecraft servers, giving administrators full control over Flight and God modes. Designed specifically for survival and grief servers where balance and fair play matter.
Features
Restrict actions in god/fly modes. Each restriction can be toggled independently for god mode and fly mode in config.yml:
- Item pickup
- Breaking and placing blocks
- Dropping items
- PvP (hitting players)
- Hitting mobs
- Opening chests
- Opening containers (barrels, furnaces, dispensers, droppers, hoppers, smokers, blast furnaces, brewing stands)
- Shooting bows and crossbows
- Using flint and steel
- Interacting with end crystals
- Interacting with ender chests and shulker boxes
- Interacting with item frames and armor stands
- Launching projectiles (ender pearls, snowballs, tridents, splash/lingering potions)
- Entering vehicles (boats, minecarts)
- Using spawn eggs
Flexible config: Every restriction has its own true/false toggle in config.yml for both god and fly mode separately.
Bypass permissions: Each restriction has a dedicated lastline.bypass.<action> permission so specific players can be exempted.
Update checker: On server start and on admin join, the plugin checks Modrinth for a newer version and notifies in console and chat. Uses proper semantic version comparison.
ActionBar notifications: Restriction messages appear above the hotbar — no chat spam.
State persistence: God and fly modes survive player reconnects and server restarts.
Creative/Spectator support: Restrictions are automatically skipped for players in Creative or Spectator mode.
Commands
| Command |
Description |
Permission |
/fly |
Toggle flight mode for yourself |
lastline.fly |
/fly <player> |
Toggle flight mode for a player |
lastline.admin |
/god |
Toggle god mode for yourself |
lastline.god |
/god <player> |
Toggle god mode for a player |
lastline.admin |
/llc reload |
Reload plugin configuration |
lastline.admin |
Permissions
| Permission |
Description |
Default |
lastline.admin |
Full access, toggle modes for others |
OP |
lastline.god |
Use /god for yourself |
false |
lastline.fly |
Use /fly for yourself |
false |
lastline.bypass.pickup |
Bypass item pickup restriction |
false |
lastline.bypass.block-break |
Bypass block break restriction |
false |
lastline.bypass.block-place |
Bypass block place restriction |
false |
lastline.bypass.drop-item |
Bypass item drop restriction |
false |
lastline.bypass.pvp |
Bypass PvP restriction |
false |
lastline.bypass.hit-mob |
Bypass mob hitting restriction |
false |
lastline.bypass.chest |
Bypass chest restriction |
false |
lastline.bypass.containers |
Bypass container restriction |
false |
lastline.bypass.projectiles |
Bypass projectile restriction |
false |
lastline.bypass.vehicles |
Bypass vehicle restriction |
false |
lastline.bypass.interact-bow |
Bypass bow restriction |
false |
lastline.bypass.interact-flint |
Bypass flint and steel restriction |
false |
lastline.bypass.interact-crystal |
Bypass end crystal restriction |
false |
lastline.bypass.interact-enderchest |
Bypass ender chest restriction |
false |
lastline.bypass.interact-shulker |
Bypass shulker box restriction |
false |
lastline.bypass.interact-entities |
Bypass entity interaction restriction |
false |
lastline.bypass.spawn-eggs |
Bypass spawn egg restriction |
false |
评论 0
登录后参与评分
还没有评论,来抢沙发吧