CCWeapons
CCWeapons 为你的 Paper 服务器添加了 19 种自定义武器。每种武器都有自己独特的能力、规则和合成配方,因此它们的感觉与原版装备以及彼此之间都截然不同。进度(如灵魂、充能和等级)存储在物品本身内部。
所有内容均可配置。 可以完全禁用任何武器,并且可以在一个简单的 config.yml 中单独更改或禁用任何合成配方。
命令和功能
| 命令 |
描述 |
权限 |
/ccweapons |
显示命令帮助 |
无 |
/ccweapons guide |
打开游戏内武器指南(点击武器可查看其兼容附魔) |
无 |
/ccweapons enchantments <weapon> |
列出武器的兼容附魔 |
无 |
/ccweapons give <player> <weapon> [amount] |
给予玩家一把武器(最多 64 把) |
ccweapons.admin.give |
/ccweapons reload |
重新加载配置和所有配方 |
ccweapons.admin.reload |
别名:/weapons 和 /ccw。权限 ccweapons.admin 包含两个管理员权限,并默认授予 OP(操作员)。
功能
- 带有 54 槽 GUI 的游戏内武器指南
- 在配置文件中完全禁用任何武器
- 分别更改或禁用任何合成配方(形状、材料和数量)
- 使用一个命令重新加载所有内容,无需重启
- 能力状态(冷却时间、充能、灵魂)会在操作栏或物品上显示
- 武器只能获得适合它们的附魔,且无法在锻造台上升级
- 武器由物品数据识别,因此在铁砧中重命名不会破坏它们
武器
| 武器 |
基础物品 |
属性 |
能力 |
| Legacy Wooden / Stone / Iron / Golden / Diamond Sword(经典木/石/铁/金/钻石剑) |
对应的剑 |
4 / 5 / 6 / 4 / 7 伤害,无攻击冷却 |
战斗方式类似 Minecraft 1.8。按住右键进行格挡(来自近战、投射物和爆炸的伤害减少 50%)。横扫攻击被禁用。锋利度每级增加 1.25 伤害,对亡灵额外增加 2.5 伤害,节肢杀手对节肢动物额外增加 2.5 伤害并使其减速。 |
| Vampiric Mace(吸血战锤) |
战锤 |
5 伤害,0.6 攻击速度 |
恢复你造成伤害的 20%。每次击杀玩家永久增加 +1 颗心(最大生命值最高可达 1024)。死亡时失去所有额外生命。 |
| Vampiric Netherite Sword(吸血下界合金剑) |
下界合金剑 |
7 伤害,1.6 攻击速度 |
同 Vampiric Mace(吸血战锤) |
| Vampiric Netherite Axe(吸血下界合金斧) |
下界合金斧 |
9 伤害,1.0 攻击速度 |
同 Vampiric Mace(吸血战锤) |
| Cursed Dagger(诅咒匕首) |
铁剑 |
恰好 4 伤害,2.4 攻击速度,2 格范围 |
无视护甲、盾牌和防御效果,且伤害永远不会增加或减少。只有 Legacy Sword(经典剑)的格挡对其有效。伤害类附魔被禁用。 |
| Evolving Sword(进化之剑) |
下界合金剑 |
初始 2 伤害,1.6 攻击速度 |
击中目标时获得武器经验值:对玩家获得 5 XP,对其他生物获得 1 XP。每级增加 +0.5 伤害,最高至 128 级。每级需要 50 XP,且每达到一级需额外增加 25 XP。 |
| Mobility Dagger(机动匕首) |
铁剑 |
6 伤害,2.0 攻击速度 |
手持时拥有 IV 级疾跑速度。右键向前传送 4 格(6 秒冷却时间)。如果目的地被阻挡则失败。 |
| Teleport Bow(传送弓) |
弓 |
普通弓 |
将你传送到箭矢落点,无论是方块还是实体。目的地需要有足够的空余空间。 |
| Wind Charge Axe(风之充能斧) |
钻石斧 |
7 伤害,1.0 攻击速度 |
右键发射风之充能球。最多可容纳 64 次充能,每秒恢复 1 次,即使它位于你的背包中的任何位置。 |
| Dash Sword(冲刺之剑) |
钻石剑 |
普通钻石剑 |
右键朝你注视的方向冲刺。最多可容纳 3 次冲刺,每 4 秒恢复 1 次,即使它位于你的背包中的任何位置。冲刺会重置摔落伤害。 |
| Frost Scythe(霜冻镰刀) |
下界合金锄 |
普通下界合金锄 |
命中施加 2 秒缓慢。右键释放向前最多 10 格的霜冻波,施加 IV 级缓慢并防止跳跃 2 秒。最多可容纳 2 次充能,每 8 秒恢复 1 次,即使它位于你的背包中的任何位置。 |
| Thunder Hammer(雷霆战锤) |
战锤 |
普通战锤 |
每次成功命中获得 1 次充能。达到 5 次充能时,右键对你瞄准的方块或敌人召唤闪电(最远 30 格)。造成 8 点伤害并击退 5 格范围内的所有实体,除了你自己。 |
| Gravity Mace(重力战锤) |
战锤 |
普通战锤 |
右键将 7 格范围内的所有活体生物拉向你并将其抛向空中。潜行并右键改为将它们推开。短暂获得 II 级抗性提升。24 秒冷却时间。 |
| Soul Reaper(灵魂收割者) |
下界合金锄 |
8 伤害,0.8 攻击速度 |
收集灵魂:击杀生物获得 1 个,击杀玩家获得 5 个,最多 120 个。右键消耗 10 个灵魂释放冲击波(6 格范围,6 伤害,II 级缓慢),潜行并右键消耗 20 个灵魂释放强力冲击波(9 格范围,10 伤害,IV 级缓慢)。1 秒冷却时间。在 25 个灵魂时:12 伤害。在 50 个灵魂时:10% 生命窃取。在 100 个灵魂时:剑一样的攻击速度。 |
| Blood Pact Blade(血契之刃) |
下界合金剑 |
普通下界合金剑 |
右键牺牲 8 颗心并获得持续 30 秒的 VI 级力量。你需要超过 8 颗心,因此该能力永远不会杀死你。60 秒冷却时间。 |
配置
所有内容均在 config.yml 中设置。对于每种武器,你可以设置:
enabled:开启或关闭整个武器。禁用的武器无法合成或给予,在指南中隐藏,且其能力对已存在的物品停止工作。
recipe.enabled:仅开启或关闭合成配方,武器本身仍可通过 /ccweapons give 获得。
recipe.shape、recipe.ingredients 和 recipe.amount:更改武器的合成方式及获得的数量。
编辑文件后,运行 /ccweapons reload。
默认合成配方
所有配方均为形状合成(3x3 网格),且每个都需要一颗下界之星。确切布局位于 config.yml 中。
| 武器 |
材料 |
| Legacy Wooden / Stone / Iron / Golden / Diamond Sword |
2橡木木板 / 圆石 / 铁锭 / 金锭 / 钻石,1下界之星 |
| Vampiric Mace |
重型核心,微风之杖,下界合金锭,2下界之星 |
| Vampiric Netherite Sword |
2下界合金锭,木棍,2下界之星 |
| Vampiric Netherite Axe |
3下界合金锭,2木棍,2下界之星 |
| Cursed Dagger |
龙首,2附魔台,铁锭,木棍,2下界之星 |
| Evolving Sword |
2经验瓶,下界合金锭,木棍,下界之星 |
| Mobility Dagger |
末影珍珠,2铁锭,微风之杖,下界之星 |
| Teleport Bow |
3末影珍珠,3线,2下界之星 |
| Wind Charge Axe |
2钻石,2旋风电荷,2微风之杖,下界之星 |
| Dash Sword |
3微风之杖,末影珍珠,2下界合金锭,下界之星 |
| Frost Scythe |
2冰砖,2蓝冰,下界合金锭,下界之星 |
| Thunder Hammer |
2避雷针,流星锤,微风之杖,下界之星 |
| Gravity Mace |
2末影珍珠,流星锤,黑曜石,下界之星 |
| Soul Reaper |
2灵魂沙,2下界合金锭,骨头,下界之星 |
| Blood Pact Blade |
4红石块,下界合金锭,烈焰棒,下界之星 |
要求
AI 使用披露(点击展开)
本着透明的原则,以下是本项目中生成式 AI 的使用情况:
- 项目描述: 本页面是在 AI 助手的帮助下编写的。
- 配置文件:
config.yml 的结构和注释是在 AI 助手的帮助下创建的。
- 游戏内消息: 游戏中显示的大多数消息(聊天和操作栏消息、菜单文本和项目描述)都是在 AI 助手的帮助下编写的。
CCWeapons
CCWeapons adds 19 custom weapons to your Paper server. Every weapon has its own ability, its own rules and its own crafting recipe, so they feel different from vanilla gear and from each other. Progress like souls, charges and levels is stored inside the item itself.
Everything is configurable. Every weapon can be disabled completely, and every crafting recipe can be changed or disabled on its own, all in one simple config.yml.
Commands and features
| Command |
Description |
Permission |
/ccweapons |
Shows the command help |
none |
/ccweapons guide |
Opens the in-game weapon guide (click a weapon to see its compatible enchantments) |
none |
/ccweapons enchantments <weapon> |
Lists the compatible enchantments of a weapon |
none |
/ccweapons give <player> <weapon> [amount] |
Gives a weapon to a player (up to 64) |
ccweapons.admin.give |
/ccweapons reload |
Reloads the config and all recipes |
ccweapons.admin.reload |
Aliases: /weapons and /ccw. The permission ccweapons.admin includes both admin permissions and is given to operators by default.
Features
- In-game weapon guide with a 54-slot GUI
- Disable any weapon completely in the config
- Change or disable any crafting recipe separately (shape, ingredients and amount)
- Reload everything with one command, no restart needed
- Ability status (cooldowns, charges, souls) is shown in the action bar or on the item
- Weapons can only receive enchantments that fit them, and they cannot be upgraded at the smithing table
- Weapons are recognised by item data, so renaming them in an anvil does not break them
Weapons
| Weapon |
Base item |
Stats |
Ability |
| Legacy Wooden / Stone / Iron / Golden / Diamond Sword |
matching sword |
4 / 5 / 6 / 4 / 7 damage, no attack cooldown |
Combat like Minecraft 1.8. Hold right-click to block (50% less damage from melee, projectiles and explosions). Sweep attacks are disabled. Sharpness adds 1.25 damage per level, Smite 2.5 against undead, Bane of Arthropods 2.5 against arthropods and slows them. |
| Vampiric Mace |
mace |
5 damage, 0.6 attack speed |
Heals you for 20% of the damage you deal. Every player kill gives +1 permanent heart (max health up to 1024). All bonus hearts are lost when you die. |
| Vampiric Netherite Sword |
netherite sword |
7 damage, 1.6 attack speed |
Same as Vampiric Mace |
| Vampiric Netherite Axe |
netherite axe |
9 damage, 1.0 attack speed |
Same as Vampiric Mace |
| Cursed Dagger |
iron sword |
exactly 4 damage, 2.4 attack speed, 2 blocks reach |
Ignores armor, shields and defensive effects, and the damage can never be increased or reduced. Only the blocking of a Legacy Sword still works against it. Damage enchantments are disabled. |
| Evolving Sword |
netherite sword |
starts at 2 damage, 1.6 attack speed |
Gains weapon XP when you hit something: 5 XP for players, 1 XP for other living entities. Each level adds +0.5 damage, up to level 128. A level needs 50 XP plus 25 more for every level already reached. |
| Mobility Dagger |
iron sword |
6 damage, 2.0 attack speed |
Speed IV while held. Right-click to teleport 4 blocks forward (6 second cooldown). Fails if the destination is blocked. |
| Teleport Bow |
bow |
normal bow |
Teleports you to where the arrow lands, on blocks and on entities. Needs enough free space at the destination. |
| Wind Charge Axe |
diamond axe |
7 damage, 1.0 attack speed |
Right-click to fire a wind charge. Holds up to 64 charges and restores 1 per second, even while it is anywhere in your inventory. |
| Dash Sword |
diamond sword |
normal diamond sword |
Right-click to dash in the direction you are looking. Holds up to 3 dashes and restores 1 every 4 seconds, even while it is anywhere in your inventory. Dashing resets fall damage. |
| Frost Scythe |
netherite hoe |
normal netherite hoe |
Hits apply Slowness for 2 seconds. Right-click to release a frost wave up to 10 blocks forward that applies Slowness IV and prevents jumping for 2 seconds. Holds 2 charges and restores 1 every 8 seconds, even while it is anywhere in your inventory. |
| Thunder Hammer |
mace |
normal mace |
Every successful hit grants 1 charge. At 5 charges, right-click to strike lightning at the block or enemy you are aiming at (up to 30 blocks). It deals 8 damage and knocks back everything within 5 blocks, except you. |
| Gravity Mace |
mace |
normal mace |
Right-click to pull all living entities within 7 blocks towards you and launch them into the air. Sneak and right-click to push them away instead. Grants brief Resistance II. 24 second cooldown. |
| Soul Reaper |
netherite hoe |
8 damage, 0.8 attack speed |
Collects souls: 1 for creature kills, 5 for player kills, up to 120. Right-click spends 10 souls on a shockwave (6 blocks, 6 damage, Slowness II), sneak and right-click spends 20 souls on a strong one (9 blocks, 10 damage, Slowness IV). 1 second cooldown. At 25 souls: 12 damage. At 50 souls: 10% life steal. At 100 souls: sword-like attack speed. |
| Blood Pact Blade |
netherite sword |
normal netherite sword |
Right-click to sacrifice 8 hearts and gain Strength VI for 30 seconds. You need more than 8 hearts, so the ability can never kill you. 60 second cooldown. |
Configuration
Everything is set in config.yml. For every weapon you can set:
enabled: turns the whole weapon on or off. A disabled weapon cannot be crafted or given, is hidden in the guide, and its abilities stop working on items that already exist.
recipe.enabled: turns only the crafting recipe on or off, the weapon itself stays available through /ccweapons give.
recipe.shape, recipe.ingredients and recipe.amount: change how the weapon is crafted and how many you get.
After editing the file, run /ccweapons reload.
Default crafting recipes
All recipes are shaped (3x3 grid) and every one of them needs a Nether Star. The exact layout is in config.yml.
| Weapon |
Ingredients |
| Legacy Wooden / Stone / Iron / Golden / Diamond Sword |
2 oak planks / cobblestone / iron ingots / gold ingots / diamonds, 1 Nether Star |
| Vampiric Mace |
Heavy Core, Breeze Rod, Netherite Ingot, 2 Nether Stars |
| Vampiric Netherite Sword |
2 Netherite Ingots, Stick, 2 Nether Stars |
| Vampiric Netherite Axe |
3 Netherite Ingots, 2 Sticks, 2 Nether Stars |
| Cursed Dagger |
Dragon Head, 2 Enchanting Tables, Iron Ingot, Stick, 2 Nether Stars |
| Evolving Sword |
2 Experience Bottles, Netherite Ingot, Stick, Nether Star |
| Mobility Dagger |
Ender Pearl, 2 Iron Ingots, Breeze Rod, Nether Star |
| Teleport Bow |
3 Ender Pearls, 3 Strings, 2 Nether Stars |
| Wind Charge Axe |
2 Diamonds, 2 Wind Charges, 2 Breeze Rods, Nether Star |
| Dash Sword |
3 Breeze Rods, Ender Pearl, 2 Netherite Ingots, Nether Star |
| Frost Scythe |
2 Packed Ice, 2 Blue Ice, Netherite Ingot, Nether Star |
| Thunder Hammer |
2 Lightning Rods, Mace, Breeze Rod, Nether Star |
| Gravity Mace |
2 Ender Pearls, Mace, Obsidian, Nether Star |
| Soul Reaper |
2 Soul Sand, 2 Netherite Ingots, Bone, Nether Star |
| Blood Pact Blade |
4 Redstone Blocks, Netherite Ingot, Blaze Rod, Nether Star |
Requirements
AI usage disclosure (click to open)
In the interest of transparency, here is where generative AI was used in this project:
- Project description: this page was written with the help of an AI assistant.
- Configuration file: the structure and the comments of
config.yml were created with the help of an AI assistant.
- In-game messages: most of the messages shown in game (chat and action bar messages, menu texts and item descriptions) were written with the help of an AI assistant.
评论 0
登录后参与评分
还没有评论,来抢沙发吧