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

MagicSpells/魔法/教:修订间差异

来自Minecraft插件百科
跳转到导航 跳转到搜索
(IceLitty移动页面MagicSpells:魔法/教MagicSpells/魔法/教
无编辑摘要
 
第9行: 第9行:
!width="10%"|选项!!解释!!width="25%"|默认值
!width="10%"|选项!!解释!!width="25%"|默认值
|-
|-
|require-known-spell||Whether the caster must know the spell in order to teach it.||true
|require-known-spell||施法者是否需要学会这个魔法才能传授魔法.||true
|-
|-
|str-usage||The string that shows if the player casts the spell incorrectly.||Usage: /cast teach <target> <spell>
|str-usage||玩家施法时会显示的信息.||Usage: /cast teach <target> <spell>
|-
|-
|str-no-target||The string that shows if the caster types an invalid player name.||No such player
|str-no-target||无效玩家名.||No such player
|-
|-
|str-no-spell||The string that shows if the cast does not know the spell they typed.||You do not know a spell by that name.
|str-no-spell||未知魔法.||You do not know a spell by that name.
|-
|-
|str-cant-teach||The string that shows if the casting player cannot teach the spell.||You can't teach that spell.
|str-cant-teach||无法传授魔法.||You can't teach that spell.
|-
|-
|str-cant-learn||The string that shows if the target cannot learn the spell.||That person cannot learn that spell.
|str-cant-learn||无法学习魔法.||That person cannot learn that spell.
|-
|-
|str-already-known||The string that show if the target player already knows the spell.||That person already knows that spell.
|str-already-known||需要已知魔法.||That person already knows that spell.
|-
|-
|str-cast-target||The message sent to the target upon learning the spell.||%a has taught you the %s spell.
|str-cast-target||成功传授魔法.||%a has taught you the %s spell.
|}
|}


第29行: 第29行:
{| class="wikitable"
{| class="wikitable"
|-
|-
|%a||The actor (the person casting the spell)
|%a||施法者
|-
|-
|%t||The target (the person learning the new spell)
|%t||目标
|-
|-
|%s||The spell name being taught
|%s||被传授的魔法名
|}
|}


第41行: 第41行:
     spell-class: ".command.TeachSpell"
     spell-class: ".command.TeachSpell"
     name: teach
     name: teach
     description: Teach a spell to another player.
     description: 传授魔法给另一个玩家.
     require-known-spell: true
     require-known-spell: true
     str-usage: "Usage: /cast teach <target> <spell>"
     str-usage: "用法: /cast teach <目标> <魔法>"
     str-no-target: No such player.
     str-no-target: 没有这个玩家.
     str-no-spell: You do not know a spell by that name.
     str-no-spell: 你不知道这种魔法.
     str-cant-teach: You can't teach that spell.
     str-cant-teach: 你无法传授这种魔法.
     str-cant-learn: That person cannot learn that spell.
     str-cant-learn: 那个玩家无法学会这个魔法.
     str-cast-self: You have taught %t the %s spell.
     str-cast-self: 你教会了 %t %s 魔法.
     str-cast-target: "%a has taught you the %s spell."
     str-cast-target: "%a 教会了你 %s 魔法."
</nowiki>
</nowiki>

2018年1月11日 (四) 12:19的最新版本

基础魔法。这个魔法将会教会其他玩家你会的这一魔法,不过你并不能教别人你不会的魔法,当然,如果对方不能学会该魔法(没有magicspells.learn.spell权限),你也不能教他该魔法。如果你不想使用此功能你可以使用magicspells.grant.*权限点控制玩家所有技能的权限,以及使用magicspells.cast.*权限来控制玩家能否释放技能。

用法:/cast teach <玩家名> <魔法名>

配置

选项 解释 默认值
require-known-spell 施法者是否需要学会这个魔法才能传授魔法. true
str-usage 玩家施法时会显示的信息. Usage: /cast teach <target> <spell>
str-no-target 无效玩家名. No such player
str-no-spell 未知魔法. You do not know a spell by that name.
str-cant-teach 无法传授魔法. You can't teach that spell.
str-cant-learn 无法学习魔法. That person cannot learn that spell.
str-already-known 需要已知魔法. That person already knows that spell.
str-cast-target 成功传授魔法. %a has taught you the %s spell.

字符串格式

%a 施法者
%t 目标
%s 被传授的魔法名

举例

teach:
    spell-class: ".command.TeachSpell"
    name: teach
    description: 传授魔法给另一个玩家.
    require-known-spell: true
    str-usage: "用法: /cast teach <目标> <魔法>"
    str-no-target: 没有这个玩家.
    str-no-spell: 你不知道这种魔法.
    str-cant-teach: 你无法传授这种魔法.
    str-cant-learn: 那个玩家无法学会这个魔法.
    str-cast-self: 你教会了 %t  %s 魔法.
    str-cast-target: "%a 教会了你 %s 魔法."