CasterOS
CasterOS 是一款功能强大且易于使用的 Minecraft PaperMC 服务器魔法系统。它允许玩家通过简单的命令或咒语施放各种法术,支持法术连击、状态效果以及自定义法术逻辑。CasterOS 旨在保持灵活性,使服务器管理员能够轻松添加或修改法术,以契合服务器的风格。
✨ 主要特性
-
简易法术系统:
只需编辑配置文件即可添加、移除或更改法术。每个法术都可以拥有独立的效果、粒子效果和音效。
-
自定义咒语:
玩家通过说出或输入你在 spells.yml 中定义的魔法词语(咒语)来施放法术。
-
法术协同与状态效果:
法术之间可以相互交互,产生连击或施加特殊效果,从而丰富游戏深度。
-
魔杖支持:
玩家可以获得一把特殊的魔杖(一根具有独特名称和标签的木棍)。
注意:由于 Minecraft 的限制,若要使用自定义魔杖贴图,则需要资源包。
-
/wand 命令:
在游戏中即时获取魔杖并开始施法。
-
无需重启重载:
更改法术配置后,可在游戏中直接重载——无需重启服务器。
-
易于扩展:
开发者可以通过创建新类并注册来实现新法术的添加。
? 快速上手
-
安装:
将 CasterOS JAR 文件放入服务器的 plugins 文件夹中。
-
配置法术:
打开 spells.yml 以添加或编辑法术、咒语及别名。
-
(可选)自定义魔杖纹理:
如果你希望魔杖拥有自定义外观,你需要一个设置了正确 CustomModelData 的资源包。
-
获取你的魔杖:
在游戏中使用 /wand 命令领取你的魔法魔杖,开始施法吧!
? 文件概览
plugin.yml — 插件信息与命令定义
spells.yml — 所有法术设置与咒语
src/main/java/com/casteros/paper/ — 插件主代码
src/main/java/com/casteros/paper/spell/ — 所有法术文件
? 如何添加新法术
- 在
com.casteros.paper.spell 包中创建一个实现 Spell 接口的新类。
- 在
SpellRegistry.java 中注册你的法术。
- 在
spells.yml 中添加你的法术,并指定唯一的咒语。
⚠️ 重要提示:自定义纹理
Minecraft 不允许 插件在没有资源包的情况下更改物品纹理或模型。
如果你希望魔杖拥有自定义外观,必须使用资源包。
? 许可证
CasterOS 是开源软件,采用 MIT License 发布。
CasterOS
CasterOS is a powerful and easy-to-use magic system for Minecraft PaperMC servers. It lets players cast a variety of spells using simple commands or incantations, with support for spell combos, status effects, and custom spell logic. CasterOS is designed to be flexible, so server owners can easily add or change spells to fit their server’s style.
✨ Main Features
-
Easy Spell System:
Add, remove, or change spells just by editing a config file. Each spell can have its own effects, particles, and sounds.
-
Custom Incantations:
Players cast spells by saying or typing magic words (incantations) that you define in spells.yml.
-
Spell Synergy & Status Effects:
Spells can interact with each other, creating combos or applying special effects for deeper gameplay.
-
Magic Wand Support:
Players can get a special magic wand (a stick with a unique name and tag).
Note: For a custom wand image, a resource pack is required due to Minecraft limitations.
-
/wand Command:
Instantly gives you a magic wand for spellcasting.
-
Reload Without Restart:
Change your spell config and reload it in-game—no server restart needed.
-
Easy to Extend:
Developers can add new spells by creating a new class and registering it.
? Getting Started
-
Install:
Put the CasterOS JAR file in your server’s plugins folder.
-
Configure Spells:
Open spells.yml to add or edit spells, incantations, and aliases.
-
(Optional) Custom Wand Texture:
If you want a custom image for the magic wand, you’ll need a resource pack with the right CustomModelData setting.
-
Get Your Wand:
Use /wand in-game to receive your magic wand and start casting spells!
? File Overview
plugin.yml — Plugin info and commands
spells.yml — All spell settings and incantations
src/main/java/com/casteros/paper/ — Main plugin code
src/main/java/com/casteros/paper/spell/ — All spell files
? How to Add a New Spell
- Make a new class in
com.casteros.paper.spell that implements the Spell interface.
- Register your spell in
SpellRegistry.java.
- Add your spell to
spells.yml with a unique incantation.
⚠️ Important: Custom Textures
Minecraft does not allow plugins to change item textures or models without a resource pack.
If you want your magic wand to have a custom look, you must use a resource pack.
? License
CasterOS is open-source and released under the MIT License.
评论 0
登录后参与评分
还没有评论,来抢沙发吧