⚔ DuelPlugin v1.5.0 ⚔
由 Johnlee 制作 | 辅助:Chunkzz
原生 Minecraft 版本:1.21
测试过的 Minecraft 版本:1.21
如何安装
将 DuelPlugin-1.5.0.jar 放入服务器的 /plugins 文件夹。
重启服务器(不是重载,而是完全重启)。
插件会在首次运行时自动创建其数据文件。
默认情况下,所有玩家都拥有全部权限。
1v1 决斗
核心功能。向任何在线玩家发起 1v1 生死决斗挑战。
/duel <player> — 向某人发起决斗挑战。
对方玩家会在聊天栏中看到可点击的 [ACCEPT] 和 [DECLINE] 按钮。他们有 60 秒的时间做出回应。
一旦接受,双方玩家的赌注箱将会打开。将你想要押注的物品放在箱子左侧。你可以在右侧看到对手的押注物品。双方必须点击 [ACCEPT] 以锁定赌注,或关闭箱子以取消。
双方确认后,开始 5 秒倒计时,随后双方传送至远离出生点的随机竞技场进行战斗。直到一名玩家的生命值降至半颗心以下,该玩家即判负。不会造成实际死亡,也不会掉落物品。
赢家将获得他们的押注物品 PLUS 输家的押注物品。如果 10 分钟内无人获胜,则判定为平局,双方玩家拿回各自的物品。
/duel quit — 放弃当前决斗(计为失败)。
决斗结束后,双方玩家传送回决斗前的位置。
排行榜与称号
每场决斗的胜利与失败都会记录在全服排行榜上。
/duel leaderboard — 查看排名前 20 的决斗玩家。
/duel lb — 同上,缩写形式。
排行榜显示每位玩家的胜场、败场、在线状态和排名。前 3 名拥有特殊图标。
称号 - 如果你进入前 20 名,你可以装备一个彩色称号,它会显示在你的头顶和聊天栏中:
/duel title equip — 显示你的排名称号。
/duel title unequip — 隐藏你的排名称号。
称号示例:
#1 ✦⭐ TOP 1 ⭐✦ (金色,传说级)
#2 ✦⚔ TOP 2 ⚔✦ (白色)
#3 ✦⚔ TOP 3 ⚔✦ (金色)
#4-20 彩色排名徽章
当排名发生变化时,称号会自动更新。
训练模式
练习与具有四个难度等级的 AI 骷髅进行战斗。
/duel training — 显示所有难度。
/duel training normal — 铁甲骷髅。
/duel training hard — 钻石甲,附魔。
/duel training hell — 下界合金甲 + 保护 III,速度快。
/duel training mace — 战锤连击骷髅。
NORMAL - 铁甲。在远处射击箭矢,近距离切换为铁剑。适合新手。
HARD - 钻石甲。弓附带冲击 I 和火焰附加。剑附带击退 I 和锋利 III。移动速度更快。
HELL - 全套下界合金甲,附带保护 III 和 40 点生命值。弓附带冲击 II、力量 III、火焰附加。剑附带击退 II、火焰附加 II、锋利 III。速度极快。残酷无情。
MACE - 全套下界合金甲,附带保护 III 和 40 点生命值。使用风之电荷将自己抛向空中,然后使用战锤猛砸下来(风爆 III)。每 3-5 秒重复一次。
/duel quit — 离开你的训练会话。
训练有 10 分钟的时间限制。边界范围 50 格。
公会系统
创建公会,招募成员,并与敌对公会展开战争。
/duel clan — 显示所有公会命令。
创建与管理公会
/duel clan create <name> — 创建你自己的公会(最多 16 个字符,仅允许字母、数字和下划线)。
/duel clan invite <player> — 邀请某人(仅限会长)。
/duel clan info — 查看你的公会详情。
/duel clan leave — 离开你的公会。
/duel clan disband — 解散你的公会(仅限会长)。
公会战争
公会间的全面团队战斗:
宣战 — /duel clan war <clan name>(仅限会长)。敌方会长拥有 60 秒时间接受挑战。
会长赌注 — 双方会长各获得一个赌注箱用于押注物品。
成员招募 — 所有在线成员将收到 [加入战争] / [拒绝] 按钮。需在 30 秒内做出响应。
战争开始 — 所有人传送至战场。公会 1 在一侧,公会 2 在另一侧。当生命值降至半颗心时,将被淘汰。边界范围 80 格。
胜利 — 最后存活的公会获胜。胜者获得 +1 胜场,败者获得 +1 败场。获胜公会的会长将获得所有押注物品。限时 10 分钟(若无胜者则平局)。
公会排行榜
/duel clan leaderboard — 查看公会排名。
/duel clan lb — 同上,更简短的命令。
其他命令
/duel info — 显示插件版本及致谢信息。
/duelaccept — 接受决斗。
/dueldecline — 拒绝决斗。
数据文件
创建于 plugins/DuelPlugin/ 目录下:
leaderboard.yml — 玩家决斗胜/负记录与头衔
clans.yml — 氏族数据、成员信息、战争记录
⚔ DuelPlugin v1.5.0 ⚔
Made by Johnlee | Helper: Chunkzz
Native MC Version: 1.21
Tested MC Versions: 1.21
HOW TO INSTALL
Drop DuelPlugin-1.5.0.jar into your server's /plugins folder.
Restart your server (not reload - full restart).
The plugin auto-creates its data files on first run.
All permissions are enabled by default for all players.
1v1 DUELING
The core feature. Challenge any online player to a 1v1 fight to the death.
/duel <player> — Challenge someone to a duel.
The other player gets clickable [ACCEPT] and [DECLINE] buttons in chat. They have 60 seconds to respond.
Once accepted, a bet chest opens for both players. Place any items you want to wager on the left side of the chest. You can see what your opponent bets on the right side. Both players must click [ACCEPT] to lock in the bet, or close the chest to cancel.
After both accept, a 5-second countdown starts, then both players teleport to a random arena far away from spawn. Fight until one player's health drops to half a heart - that player loses. No actual death occurs, no items are dropped.
The winner gets their bet items back PLUS the loser's bet items. If no one wins in 10 minutes, it's a draw and both players get their items back.
/duel quit — Forfeit your current duel (counts as a loss).
After the duel ends, both players teleport back to where they were before.
LEADERBOARD & TITLES
Every duel win and loss is tracked on a server-wide leaderboard.
/duel leaderboard — View the Top 20 duel players.
/duel lb — Same thing, shorter.
The leaderboard shows each player's wins, losses, online status, and rank. Top 3 get special icons.
TITLES - If you're in the Top 20, you can equip a colored title that shows above your head and in chat:
/duel title equip — Show your rank title.
/duel title unequip — Hide your rank title.
Title examples:
#1 ✦⭐ TOP 1 ⭐✦ (gold, legendary)
#2 ✦⚔ TOP 2 ⚔✦ (white)
#3 ✦⚔ TOP 3 ⚔✦ (gold)
#4-20 Colored rank badges
Titles update automatically when rankings change.
TRAINING MODE
Practice fighting against an AI skeleton with four difficulty levels.
/duel training — Show all difficulties.
/duel training normal — Iron armor skeleton.
/duel training hard — Diamond armor, enchanted.
/duel training hell — Netherite + Prot 3, fast.
/duel training mace — Mace combo skeleton.
NORMAL - Iron armor. Shoots arrows far away, switches to iron sword up close. Good for beginners.
HARD - Diamond armor. Bow has Punch 1 and Flame. Sword has Knockback 1 and Sharpness 3. Faster movement.
HELL - Full netherite with Protection 3 and 40 HP. Bow has Punch 2, Power 3, Flame. Sword has Knockback 2, Fire Aspect 2, Sharpness 3. Very fast. Brutal.
MACE - Full netherite with Protection 3 and 40 HP. Uses wind charge to launch into the air, then smashes down with a Mace (Wind Burst 3). Repeats every 3-5 seconds.
/duel quit — Leave your training session.
Training has a 10-minute time limit. 50-block boundary.
CLAN SYSTEM
Create a clan, recruit members, and wage war against rival clans.
/duel clan — Show all clan commands.
Creating & Managing a Clan
/duel clan create <name> — Create your own clan (up to 16 chars, letters/numbers/underscores).
/duel clan invite <player> — Invite someone (leader only).
/duel clan info — View your clan's details.
/duel clan leave — Leave your clan.
/duel clan disband — Delete your clan (leader only).
Clan Wars
Full team battles between clans:
Declare War — /duel clan war <clan name> (leader only). Enemy leader has 60 seconds to accept.
Leader Betting — Both leaders get a bet chest to wager items.
Member Recruitment — All online members get [JOIN WAR] / [DECLINE] buttons. 30 seconds to respond.
The War — Everyone teleports to a war zone. Clan 1 on one side, Clan 2 on the other. When health drops to half a heart, you're eliminated. 80-block boundary.
Victory — Last clan standing wins. Winner gets +1 win, loser gets +1 loss. Winning leader gets all bet items. 10-minute time limit (draw if no winner).
Clan Leaderboard
/duel clan leaderboard — View clan rankings.
/duel clan lb — Same thing, shorter.
OTHER COMMANDS
/duel info — Show plugin version and credits.
/duelaccept — Accept a duel.
/dueldecline — Decline a duel.
DATA FILES
Created in plugins/DuelPlugin/:
leaderboard.yml — Player duel wins/losses/titles
clans.yml — Clan data, members, war records
评论 0
登录后参与评分
还没有评论,来抢沙发吧