TheLuckPillars

插件

· 作者 qpalzm123

一个基础的幸运柱插件

0 本站下载 0 关注 更新于 5 天前

最新 1.0.1 · 26.3 · Bukkit / Paper

一键开服(送7天)

TheLuckPillars (Lucky Pillars)

简介: 一个面向 Paper 1.20+ 的多人小游戏插件:玩家站在各自的柱子上,持续获得随机物品,活到最后的人获胜。支持指南针投票、多种特殊模式、多世界竞技场与战绩统计。


🇬🇧 English Description

Features

  • Core Gameplay: Players spawn on pillars, get random loot, and fight to be the last one alive.
  • Voting System: Right-click the compass in the waiting lobby to vote for special game modes.
  • Special Modes: TNT Rain, Lava Rise, Player Swap, Fast/Slow Loot, Knockback modifiers, One-Hit, Jump Boost, Magma Floor, Lucky Blocks, etc.
  • Multiverse Support: Different arenas can be in different worlds. Supports simultaneous matches.
  • Arena GUI: /pill arenas to view and join available arenas visually.
  • Map Reset: Automatically restores all blocks and clears entities within the arena boundary after each match.
  • Stats: Tracks player wins and statistics.

Information

  • Plugin Name: TheLuckPillars
  • Version: 1.0.0
  • Main Command: /pill
  • Languages: Chinese (Default), English
  • Default Start Players: 4
  • Default Max Players per Pillar: 1 (Changeable via /pill teammax)
  • Default Match Time: 1800s (Draw on timeout)
  • Tested Environment: Paper 1.21.11, Multiverse-Core 5.8.2, Java 21+

Installation

  1. Place TheLuckPillars-1.0.0.jar into your server's plugins/ folder.
  2. (Optional) Install Multiverse-Core for multi-world arenas.
  3. Restart the server.
  4. Configure config.yml, messages.yml, and set up your arena.
  5. Permissions: pill.play (Default: true), pill.admin (Default: OP).

Commands

Command Description Permission
/pill create <arena> Create a new arena pill.admin
/pill del <arena> Delete an arena pill.admin
/pill lobby Set main lobby to current location pill.admin
/pill pos <1|2> <arena> Set arena boundary corners pill.admin
/pill pl add <arena> Add a pillar at current location pill.admin
/pill pl del <arena> Remove the last added pillar pill.admin
/pill waitlobby <arena> Set waiting lobby spawn for the arena pill.admin
/pill waitpos <1|2> <arena> Set waiting lobby clear/restore corners pill.admin
/pill event <arena> mob-invasion Trigger a mob invasion manually pill.admin
/pill enable <arena> Enable the arena pill.admin
/pill disable <arena> Disable the arena pill.admin
/pill teammax <arena> <num> Set max players per pillar pill.admin
/pill maxtime <arena> [sec] Set max match time pill.admin
/pill start [arena] Force start the match pill.admin
/pill stop [arena] Stop the match pill.admin
/pill autojoin Join the arena with most players pill.play
/pill join <arena> Join a specific arena pill.play
/pill leave Leave the match and return to lobby pill.play
/pill list List all arenas Everyone
/pill arenas Open arena selection GUI pill.play
/pill stat [player] View stats pill.play
/pill reload Reload config and language files pill.admin

Game Flow

  1. Players join the waiting lobby, inventory is cleared, and they receive a compass and a bed.
  2. Once start-players is reached, a countdown begins.
  3. When the countdown ends, the arena snapshot is saved, players are teleported to their pillars, and the match starts.
  4. Random loot is dispensed periodically. Players fight until only one remains.
  5. Dead players become spectators. Use the bed in spectator inventory to return to the lobby.
  6. After the match, the arena map is fully reset, and players are returned to the main lobby.

🇨🇳 中文描述 (Chinese Description)

核心特性

  • 核心玩法:玩家各自站在一根柱子上,持续获得随机物品,活到最后的人获胜。
  • 模式投票:等待期间右键指南针打开投票菜单,选择本局特殊模式(如 TNT 雨、岩浆上涨、位置互换等)。
  • 多世界支持:配合 Multiverse-Core,不同竞技场可位于不同世界,支持多场比赛同时进行。
  • 竞技场 GUI:使用 /pill arenas 打开地图列表,直观查看并点击加入。
  • 自动地图重置:比赛结束后自动恢复边界内所有方块(含流体、容器内容),并清除边界内非玩家实体。
  • 战绩统计:记录玩家的胜场数据。

基本信息

  • 插件名:TheLuckPillars
  • 版本:1.0.0
  • 主命令:/pill
  • 语言:中文(默认),支持英文
  • 默认倒计时开始人数:4 人(settings.start-players)
  • 默认每柱人数:1 人(/pill teammax 可改)
  • 默认比赛最大时间:1800 秒(超时平局)
  • 已测试环境:Paper 1.21.11, Multiverse-Core 5.8.2, Java 21+

安装与配置

  1. 将 TheLuckPillars-1.0.0.jar 放入服务端 plugins/ 目录。
  2. 可选:安装 Multiverse-Core(用于多世界竞技场)。
  3. 重启服务器。首次启动会生成 config.yml、messages.yml(中文)等配置文件。
  4. 权限节点:pill.play 默认所有人可用;pill.admin 默认 OP。

快速开始

  1. 创建竞技场:/pill create 竞技场1
  2. 设置边界:先站到最低角输入 /pill pos 1 竞技场1,再飞到最高角输入 /pill pos 2 竞技场1。
  3. 设置等待大厅:/pill waitlobby 竞技场1
  4. 添加柱子:站在每根柱子顶部输入 /pill pl add 竞技场1
  5. 启用竞技场:/pill enable 竞技场1
  6. 加入游戏:/pill autojoin 或 /pill join 竞技场1

游戏模式 (Voting Modes)

模式 效果
none 纯基础对局,关闭幸运事件
normal 基础对局,保留随机幸运事件
tnt-rain 竞技场上空持续落下 TNT
lava-rise 岩浆从底部一层层上涨
player-swap 周期性随机交换玩家位置
fast-loot / slow-loot 改变发物品间隔
low-knockback / high-knockback 改变击退效果
long-reach 攻击距离变长 (1.20.5+)
one-hit 一击必杀
jump-speed 获得跳跃提升与速度
magma-floor 脚下方块周期性变成岩浆块
no-attack-cooldown 取消武器攻击冷却
lucky-block 概率获得幸运方块

幸运事件

  • 天降恩惠:所有存活玩家回满血量和饱食度。
  • 自由翱翔:临时获得飞行能力。
  • 背包大乱斗:随机打乱物品栏。
  • 稳如泰山:持续期间免疫击退。
  • 生物入侵:生成一群敌对生物。

注意事项

  • 床的使用:等待期间和死亡旁观时,右键床可返回大厅;比赛存活时不可用,需使用 /pill leave。
  • 不死图腾:放在背包任意位置即可生效,掉入虚空时会传送回安全位置。
  • 环境要求:JDK 17+,Maven 3.8+。插件使用 Bukkit API,击退事件依赖 Paper 服务端。

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源