差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
插件手册:magic:home [2019/02/15 15:52] – [法杖指令 wand command] 玛莎莎 | 插件手册:magic:home [2019/02/15 16:15] (当前版本) – [相关内容] 玛莎莎 | ||
---|---|---|---|
行 73: | 行 73: | ||
==== 实用程序指令 ==== | ==== 实用程序指令 ==== | ||
- | * /magic load : Reload | + | * /magic load : 重启config文件, 升级魔咒配置 |
- | /magic save : Force saving of player data. Also saves other data, like lost wands and image maps. | + | |
- | /magic commit : Commit all changes (like casting " | + | |
- | /magic cancel : Cancel all in-progress construction batches. | + | |
- | /magic list [wands | automata | maps | tasks] < | + | |
- | /magic clean < | + | |
- | /magic clean ALL : Clear all wands from all worlds. | + | |
- | /spells : Lists all spells that a player knows about. A player may view detailed information about any spells they have permission to cast. This command is safe to give to players, though it removes some of the mystery. Players can see the same information in-game about spells they have on their wands (via the lore tooltips). | + | |
- | ===== 目录 | + | ==== |
+ | mage命令可用于检查或修改特定的玩家信息。 | ||
+ | |||
+ | * /mage check < | ||
+ | * /mage debug < | ||
+ | * /mage describe < | ||
+ | * /mage configure < | ||
+ | * /mage reset < | ||
+ | |||
+ | ==== 施法指令 ==== | ||
+ | **/ | ||
+ | |||
+ | 例如,“boom”、“kamikazee”、“kaboom”和“nuke”都是“boomspell”的变体,主要是调整“size”参数。例如,“核弹”是“20号”——想看看10倍的核弹是什么样子的吗?尝试/ | ||
+ | |||
+ | cast 命令的参数使用与spells.yml相同的名称和格式,并成对传递——例如%%/ | ||
+ | |||
+ | 详细的拼写参数spell parameter 文档 [[https:// | ||
+ | |||
+ | ==== Debugging Utilities ==== | ||
+ | While working on new spells, you may find a few useful utilities: | ||
+ | |||
+ | /cast | ||
+ | The cast command can be used to quickly try out different parameters for spells. See above. | ||
+ | |||
+ | /wand override | ||
+ | The /wand override command can be used to modify the way a specific wand casts a spell. Examples: | ||
+ | |||
+ | # Make all spells cast by this wand permanent (dangerous!) | ||
+ | /wand override bypass_undo true | ||
+ | # Decrease the cooldown on only the blink spell | ||
+ | /wand override blink.cooldown 0 | ||
+ | # Slow down Magic Missile | ||
+ | /wand override missile.velocity 5 | ||
+ | /mage debug | ||
+ | This will enable debug output for spells cast by the specified player. A number can be provided to increase level of detail of output. | ||
+ | |||
+ | # Toggle debug on/off. | ||
+ | /mage debug NathanWolf | ||
+ | # Show a ton of information, | ||
+ | /mage debug NathanWolf 20 | ||
+ | /mage check | ||
+ | Useful for debugging issues with permissions. If a spell seems randomly uncastable by a player, use this command on them while they are holding a wand with that spell active. | ||
+ | |||
+ | /wand save | ||
+ | If you have created or modified a wand in-game, you can save it to a configuration file. For instance "/wand save awesome" | ||
+ | ===== 相关内容 | ||
* [[插件手册: | * [[插件手册: | ||
* [[插件手册: | * [[插件手册: | ||
* [[插件手册: | * [[插件手册: | ||
+ | * [[插件手册: | ||
* [[插件手册: | * [[插件手册: | ||
+ | * [[插件手册: | ||
+ | * [[插件手册: | ||
+ | * [[插件手册: | ||
+ |