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

Magic/In-Game-Customization

来自Minecraft插件百科
跳转至: 导航搜索

For users that want to make small changes, or quickly test changes, there is the /mconfig command which lets you change configuration in-game.

Command Usage

The mconfig command follows this general format:

/mconfig <action> <type> <key>

Actions: disable, enable, configure
Types: spell, wand, recipe, mob, item, class, path, automaton, effect, attribute

After using any of these commands, you must use /magic load before the configuration will be applied in-game.

Enabling and Disabling

You can quickly disable spells, wands or other pieces of Magic with this command. For example:

/mconfig disable spell blink

Will disable the blink spell, effectively removing it from the game. If you change your mind, you can use

/mconfig enable spell blink

To bring it back.

Configuring

Spell, wand and other configuration properties and parameters can be adjusted with this command. For example, to increase the cooldown on nuke you can use

/mconfig configure spell blink parameters.cooldown 360000

Configuration keys here use a dotted format, so this would apply the following:

blink:
  parameters:
    cooldown: 360000

Under The Hood

When using this command, Magic will put your changes in a special _customizations.yml file. For instance, if disabling a spell the following will be put in plugins/Magic/spells/_customizations.yml:

blink:
  enabled: false

These special files are always loaded last, so any changes you have made in-game will override any other custom configs you've made. Please keep this in mind!