• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

Difference between revisions of "Magic/FAQ"

From Minecraft插件百科
Jump to: navigation, search
m
Line 14: Line 14:
  
 
<center>{{hide|标题='''我要怎么修改技能点的冷却?''' |内容=
 
<center>{{hide|标题='''我要怎么修改技能点的冷却?''' |内容=
你可以全局修改技能点冷却或者每一个技能的技能点冷却(需要在法术配置里面修改)。请查阅[[Magic/SpellPoints#balancing-sp|SP调整]] 获取更多信息
+
你可以全局修改技能点冷却或者每一个技能的技能点冷却(需要在法术配置里面修改)。请查阅[[Magic/Spell Points#SP调整|SP调整]] 获取更多信息
 
}}</center>
 
}}</center>
  

Revision as of 23:49, 30 May 2021

如何自定义法术和法杖?
请勿编辑 "defaults" 文件夹内的文件. 这个文件就在 plugins/Magic 中如果你在这里配置内容它会覆盖为默认设置。包括修改默认法术配置、禁用法术、创建法术、创建法杖在内的操作都会被重置

请记住,自行加入任何自定义的文件都会被“添加”至默认设置里,如果你想彻底推翻原有配置,或者复制默认的全部设置,那么最好在config.yml中找到"loaddefaultspells: false&quot设置成false以关闭

请查阅 自定义获取更多信息

我的扫帚怎么不动了?!
如果你使用Paper核心且在paper.yml里设置了 armor_stand_tick 为false,请把它改成true

扫帚或者其他一些什么东西,其实是通过盔甲架做出那种效果,所以在paper中关闭这些功能就会让它们无法使用

我要怎么修改技能点的冷却?
你可以全局修改技能点冷却或者每一个技能的技能点冷却(需要在法术配置里面修改)。请查阅SP调整 获取更多信息
我的配置出错了!
首先你要确认是不是使用了TAB代替了空格,YAML语法不认TAB

最好用一个专门的YAML语法编辑器如Notepad++而不是Win自带的记事本

同样也要确保没有在最高层次前加空格,例如 potter就很好, example potter则不行

尝试使用 YAML语法检测工具看看哪里语法错了(疑似要翻墙)

游戏内编辑器 (/mconfig editor)可以帮你纠错

创造模式下法杖好像不太正常?
法杖在创造模式并不能完全正常工作, 有时候就是这样无能为力
怎么本地化/修改插件内文本?
所有Magic的游戏内文本都可以在plugins/Magic/messages.yml里修改

详情请看 语言

我怎么玩哈利波特/星球大战/Bending/Guns?
看看 示例
我怎么修改商店价格?
自定义商店的内容请点此链接查看: [Magic/Shops#修改价格 Shops]
我怎么制作一个生存服的技能、法杖或配方?
针对生存服有配置好的,可以试试这个: https://github.com/elBukkit/MagicPlugin/tree/master/Magic/src/main/resources/examples/survival

藉此可能是一个好的开始,你可以在游戏里放一个熟悉的法术,然后看看它是怎么运行的

earthquake(地震) 和 singularity (奇点)是比较复杂的法术里较好的学习范例。自定义请参考[Magic/Customization 自定义]

我怎么去看合成配方?
所有生存合成配方在这可以找到: 合成设置

在服务端里也可以看到,路径: plugins/Magic/defaults/crafting.defaults.yml

有时候法杖会随机停止工作
如果你在 CraftBukkit/Spigot 1.7上运行Magic,请确保使用了特定的版本 CB Build.通常情况下,创造模式和许多插件会破坏法杖上特殊的自定义数据。Magic本身最好在1.8+运行

如果你在1.8+遇到这个问题, 则可能是因为某个插件不正常地保存或恢复物品导致的

I can't see spell icons they're just diamond axes!
You will need to use the Resource Pack for the spell and wand icons to show up properly.
What is the rank progression?
Wands progress from Beginner, to Student, Apprentice, Master, Engineer, Architect and Conduit. The Engineer and Architect ranks are not available by default, you have to add the engineering examples with /mconfig example add engineering. Conduit is further locked, you will get instructions on how to allow that if you want, when adding the engineering example.
A player has lost their wand, what can I do?
The "restore" command can be used to restore a player's bound wands. This only works if the wands are set to "bound" in the configs and have bound to the player.

/wandp <player> restore

Will restore a player's wands. Only one wand of each type is saved, so this may not work well for players that keep multiple different wands.

How do I allow spells to target NPCs?
Spells won't target NPCs by default. You can turn this on by adding "target_npc: true" to a spell's parameters. To turn this on for all spells, use the "default" entry in spells.yml, like so:
default:
 parameters:
   target_npc: true
How do I change it so players can't use specific spells in a region?
This can be done using WorldGuard 6.2 or higher, Magic will add some custom flags:
region flag arena -w world blocked-spells kill,torture

For more info see the Regions section.