- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
Magic/FAQ
如何自定义法术和法杖? |
---|
请勿编辑 "defaults" 文件夹内的文件. 这个文件就在 "plugins/Magic" 中如果你在这里配置内容它会覆盖为默认设置。包括修改默认法术配置、禁用法术、创建法术、创建法杖在内的操作都会被重置
请记住,自行加入任何自定义的文件都会被“添加”至默认设置里,如果你想彻底推翻原有配置,或者复制默认的全部设置,那么最好在config.yml中找到"loaddefaultspells: false"设置成false以关闭 请查阅 自定义获取更多信息 ]) |
My broomstick won't move! |
---|
You're using Paper and have set armor_stand_tick to false. Set it back to true.Broomsticks (and other things) in Magic use armor stands, so turning off their ability to move will break them. ]) |
'How do I change the Spell Point Cooldown? |
---|
You can change the spell point cooldown globally or per-spell by editing the spell config. See SP Balancing for more information.
]) |
I'm getting errors from my configs! |
---|
First, check to make sure you are using spaces in your yaml configs, and not tabs.
It's a good idea to get an editor that understands Yaml, rather than using something like Notepad. Also make sure you do not have any leading spaces at the top level, Try to use a Yaml validation tool to see where your errors are before asking for help. The in-game editor ( |
My wand is acting weird in creative mode |
---|
Wands don't really work in creative mode, there's not much I can do about that. ]) |
How do I localize or change the text in this plugin? |
---|
All of Magic's in-game text can be changed in plugins/Magic/messages.yml
See the Messages Section for more information. ]) |
How do I turn on the Harry Potter/Star Wars/Bending/Guns? |
---|
See the Examples section. ]) |
How do I change shop prices? |
---|
See here for information on customizing shops: Shops
]) |
How can I start making my own spells, wands and recipes? |
---|
All of the survival configs can be seen here: https://github.com/elBukkit/MagicPlugin/tree/master/Magic/src/main/resources/examples/survival
This is a great place to start learning about the plugin. The best way to learn is to example a spell you are familiar with in-game to see how it works. earthquake and singularity are good spells to look at if you're curious how some of the more complex spells work. The Customization section https://github.com/elBukkit/MagicPlugin/wiki/Customization is also a good place to start. You can also visit the elMakers sandbox server for a live spell editor that has syntax highlighting error detection, auto-complete, and lets you test your spells out live on the server at |
How can I see crafting recipes? |
---|
All of the survival crafting recipes can be seen here: crafting configs
They are also viewable on your server, in plugins/Magic/defaults/crafting.defaults.yml ]) |
Sometimes my wands randomly stop working! |
---|
If you are running on CraftBukkit/Spigot 1.7, make sure to use the special CB Build. In particular, creative mode and many plugins will destroy the special custom data attached to wands. Magic works much better on 1.8 servers.
If you are running on 1.8 or above, it may be a plugin that is improperly saving and restoring items. |
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.
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. |