插件手册:magic:home

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
插件手册:magic:home [2019/02/15 15:52]
玛莎莎 [法杖指令 wand command]
插件手册:magic:home [2019/02/15 16:15] (当前版本)
玛莎莎 [相关内容]
行 73: 行 73:
  
 ====  实用程序指令 ==== ====  实用程序指令 ====
-  * /magic load : Reload config filesupdate spell configurations. +  * /magic load : 重启config文件升级魔咒配置 spell configurations 
-/magic save : Force saving of player data. Also saves other data, like lost wands and image maps. +  /magic save : 强制保存玩家数据。同时保存其他数据,例如法杖和图像地图 
-/magic commit : Commit all changes (like casting "Commit" on all players) +  /magic commit : 提交所有更改(如对所有玩家强制执行“提交”) 
-/magic cancel : Cancel all in-progress construction batches. +  /magic cancel : 取消所有在建工程批次 
-/magic list [wands | automata | maps | tasks] <player>List all lost wands, maps or automata. The "tasks" parameter can be used to check for runaway tasks in any plugin. +  /magic list [wands | automata | maps | tasks] <player>列出所有丢失的法杖,地图和自动机。  "tasks" 参数可用于检查任何插件中的失控任务 
-/magic clean <player>Clear unowned lost wands, or a specific player's lost wands. +  /magic clean <player>清除无主丢失的魔杖或特定玩家丢失的魔杖 
-/magic clean ALL : Clear all wands from all worlds. +  /magic clean ALL : 清除所有世界的魔杖 
-/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).+  /spells : 列出玩家知道的所有魔咒。玩家可以查看他们有权施放的任何魔咒的详细信息。这个命令对玩家来说是安全的,尽管它丧失了一些神秘感。玩家可以在游戏中看到与法杖上的魔咒相同的信息(通过知识工具提示)。
  
-===== 目录 =====+====  法师指令 ==== 
 +mage命令可用于检查或修改特定的玩家信息。 
 + 
 +  * /mage check <player> : 根据玩家的位置和激活的魔咒检查其权限 
 +  * /mage debug <player> : 切换特定玩家的调试输出 
 +  * /mage describe <player> [spell/data] : 转储有关玩家的信息-魔咒转换、存储的数据等 
 +  * /mage configure <player> <spell/data> <value> : 设置玩家信息、更改施法等 
 +  * /mage reset <player> : 完全重置玩家的所有存储数据 
 + 
 +====  施法指令 ==== 
 +**/cast**命令在游戏中的作用非常强大。它允许你直接施放任何法术,但(更重要的是)它允许你使用“命令行参数”来使用可配置的法术系统。许多魔咒是基于相同的“积木”法术,使用参数。通过自己调整这些参数,您可以创建一些有趣且强大的魔咒。然后,服务器管理员可以将它们添加到spells.yml中,使它们成为“正式”的魔咒,这样玩家就可以在他们的法杖上使用新的魔咒。 
 + 
 +例如,“boom”、“kamikazee”、“kaboom”和“nuke”都是“boomspell”的变体,主要是调整“size”参数。例如,“核弹”是“20号”——想看看10倍的核弹是什么样子的吗?尝试/cast boom size 200…但要事先警告,这不漂亮! 
 + 
 +cast 命令的参数使用与spells.yml相同的名称和格式,并成对传递——例如%%/cast <spell> <param> <value> <param> <value>%%,浏览默认的spells.yml是了解参数格式的最佳方式。 
 + 
 +详细的拼写参数spell parameter 文档 [[https://github.com/elBukkit/MagicPlugin/wiki/SpellParameters]] 
 + 
 +====  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, may flood your chat 
 +/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" will save the wand in your hand to a new config file in "plugins/Magic/wands/awesome.yml". The wand will be available to spawn as normal using /wand or /mgive. 
 +===== 相关内容 =====
  
   * [[插件手册:Magic:玩家使用说明|玩家使用说明 For Players]]   * [[插件手册:Magic:玩家使用说明|玩家使用说明 For Players]]
   * [[插件手册:Magic:开发者使用说明|开发者使用说明 For Developers]]   * [[插件手册:Magic:开发者使用说明|开发者使用说明 For Developers]]
   * [[插件手册:Magic:管理使用说明|管理使用说明 For Adimins]]   * [[插件手册:Magic:管理使用说明|管理使用说明 For Adimins]]
 +  * [[插件手册:Magic:权限|权限 Permissions]]
   * [[插件手册:Magic:配置|配置 configurations]]   * [[插件手册:Magic:配置|配置 configurations]]
 +  * [[插件手册:Magic:mmob指令|mmob指令 mmob commands]]
 +  * [[插件手册:Magic:魔法物品指令|魔法物品指令 mitems commands]]
 +  * [[插件手册:Magic:拼写参数|拼写参数文档 spell parameter files]] 
 +
  • 插件手册/magic/home.1550217172.txt.gz
  • 最后更改: 2019/02/15 15:52
  • 玛莎莎