此插件可用于创建法术物品和自定义附魔。
它自带法力系统、冷却时间、“蓄力施法”、特效以及法术功能。
这些附魔适用于弓、雪球、鸡蛋等物品。
items.yml
这是 SpellItems 最重要的部分,因为可以使用它来创建自定义物品和附魔 items.yml
命令
- /siGive [玩家] [...物品]
- 使用 SpellItems 语法给予玩家一个物品
- /siEnchant [附魔名称]
- 将你当前手持的物品附魔为一个自定义附魔
- /siHelp [命令]
- 可用于获取所有命令的详细描述
权限
- spellitems.*
- spellitems.give
- spellitems.enchant
- spellitems.help
物品语法
id_OR_customItemName:<损坏值> <最小数量>:<最大数量> <获得物品的概率> <附魔1_id_或_自定义附魔名称>:<附魔1等级>,... <名称>,<描述1>,<描述2>,<描述3>
- 第一个参数可以是简单的物品 ID,也可以是 items.yml 中自定义物品的内部名称
- 当设置了最小数量和最大数量时,实际数量将在两者之间随机生成(包含边界值)
- 获得物品的概率可以在 0(这没有意义)到 100 之间
- 附魔 ID
- 可以是原版附魔 ID,也可以是 items.yml 中自定义附魔的内部名称
- 或者 -1 以完全忽略此附魔
- 或者 -10 仅获得发光效果而不施加任何附魔
- 如果指定了附魔 ID,则必须同时设置附魔等级
- 名称和描述可以包含空格
- 警告:不要更改自定义物品的名称或描述,否则它将无法正常工作
- 如果不需要,你可以省略大部分内容。一些示例:
- 1 -> 1 个石头
- 35 1:10 -> 1-10 个白色羊毛
- 6:3 5 100 -1:0 Plant -> 5 个名为“Plant”的丛林树苗
我知道这看起来可能像 MagicSpells 的一个克隆版,但它具有一些 MagicSpells 所没有的功能,比如自定义附魔。
此外,此插件主要是为了与我的另一个插件 Dwarves vs Zombies 配合使用而创建的,但现在也可以在不使用该插件的情况下单独使用。
This Plugin can be used to create Spellitems and custom Enchantments.
It comes with a Manasystem, Cooldowns, "charging up spells", effects and Spells.
The enchantments work on Bows, Snowballs, Eggs, ...
items.yml
This is the most important part of SpellItems as it can be used to create custom Items and Enchantments items.yml
Commands
- /siGive [player] [...item]
- Gives a Player an Item using the SpellItems Syntax
- /siEnchant [enchantment_name]
- Enchants to Item you are currently holding with a custom Enchantment
- /siHelp [commad]
- Can be used to get a detailed description of all commands
Permissions
- spellitems.*
- spellitems.give
- spellitems.enchant
- spellitems.help
Itemsyntax
id_OR_customItemName:<damagevalue> <min_count>:<max_count> <chance_to_get_item> <enchant1_id_OR_customEnchantmentName>:<enchant1_level>,... <name>,<lore1>,<lore2>,<lore3>
- The first argument can either be a simple Itemid or the internal name of a Customitem from the items.yml
- When min_count and max_count are set the ammount will be randomized between the two(including them)
- chance_to_get_item can be between 0(this would make no sense) and 100
- enchant_ids
- can either be vanilla Enchantmentids or the internal name of a Customenchantment from the items.yml
- or -1 to completly ignore this Enchantment
- or -10 to only get the glow effect without any Enchantment
- If you specify an enchant_id you have to also set the enchant_level
- Name and Lore can contain spaces
- WARNING: Do not change the Name or Lore of a Customitem or it will not work
- You can leave most of it out if you don't need it. Some examples:
- 1 -> 1 Stone
- 35 1:10 -> 1-10 White wool
- 6:3 5 100 -1:0 Plant -> 5 Jungletreesaplings with the Name "Plant"
I know that this might look like an clone of MagicSpells but it has some features that MagicSpells doesn't have. Like custom enchantments.
Also this Plugin was mostly created for use with my other Plugin Dwarves vs Zombies but now can be used without it.
下载 SpellItems
下载 SpellItems
下载 SpellItems
下载 SpellItems
下载 SpellItems
下载 SpellItems
下载 SpellItems
v.2.2 - 2015年3月21日 - Spigot 1.8.3
- 已更新至 Spigot 1.8.3
- 更改/移除了部分可以通过更通用的法术创建的法术/法术效果
- 移除了 Smash 的音效。请使用 Effects 代替
- 移除了 Confuse。请使用 PotionEffect 代替
- 移除了 Blink。请使用 player:getLocation() 和 Teleport 代替
- 移除了旧版 Effectsystem。请使用 LUA 代替
- 更多信息请参阅
- 更改了 LUA 中对象的内部封装方式
- Entity、Block、Location 和 World 现在作为带有方法的对象存在
- 更多信息请参阅
- 移除了 VariableSet。请使用新方法代替
- 移除了 VariableSetPlayerValue。请使用新方法代替
- 移除了 LUA 工具函数,请使用对象的方法代替
- 将 LUA 错误消息显示为红色,以便更容易发现
- 修改了大多数法术以适用于所有(生物)实体
- 添加了对附魔等级的支持
- 为 /sigive、/sienchant 和 /sihelp 添加了基本的 Tab 补全功能
- 移除了旧版 Itemformat
- 修复了 Item datatags 中的空格问题
v.2.1 - 未发布
- 添加了 tick() lua 函数,每刻调用一次xt Version
v.2.0 - 2014年8月9日 - CB1.7.10-R0.1
- 重要:更改法术系统以使用 LUA 脚本
- 附魔现在支持等级和造成的伤害
- 添加了创建效果的函数
- 添加了实用函数:DistanceSquared(loc1, loc2, ignoreY[boolean])
- 重要:更改 Itemformat 以支持新的 Block 和 Item 名称
- 旧格式仍将在 Minecraft 1.8 之前得到支持(或者可能不会,某些 bukkit 版本似乎无法工作)
- !<ItemName> <damagevalue> <min_count>:<max_count> <chance_to_get_item> <customEnchantmentName>:<level>,... <permission> <dataTag>
- 需要“!”来区分旧格式和新格式
- ItemName 可以是:minecraft:stone 或 spellitems:<internalName>
- 使用 . 以不检查权限
- 普通附魔现在必须通过 dataTag 添加
- 更改配置加载以支持与颜色代码 "&"
- 更改为使用 UUID 而非玩家名称
- 这是针对即将到来的 1.8 改名功能的重要更改
- 这将使旧的 Rewarddata 失效,但其他一切都将照常工作
- 添加了 ItemEntityStack 法术
v.1.3.1 - 2014年1月18日 - CB 1.7.2-R0.2
- 添加了 ItemKill
- 修复了法术目标指向错误玩家的问题
- 修复了 ItemSmash 优先选择错误位置的问题
- 修复了 ItemRoar 错误
v.1.3 - 2013年12月14日 - 1.7.4
- 重要:更改了物品的内部处理方式
- 物品现在由 id、data 和唯一的不可见标签标识
- 这意味着不再需要自定义名称和描述
- 并且名称和描述可以更改
- 添加了 OnReward(effects) 效果
- 语法类似于 Items 中的 effects
- 位置始终为 PLAYER
- 添加了 WorldEffects
- 影响世界的法术
- 当前法术:ItemWorldThunderStorm、ItemWorldTornado
- 大规模内部重构
- 可能需要更改的法术:ItemBlink、ItemLeap
- 修复了 Manarequirenment 0 导致 NullPointerException 的问题
v.1.2 - 2013年9月11日 - CB 1.6.2-R1.0
- 添加了 siMana 命令
- 添加了对小数的 itemchances 的支持
- 添加了 Rewardpoint 系统
- 添加了法术:ItemRandom
- 点数在服务器停止时保存
- 添加了 ItemRewardPoints 以通过法术发放奖励点数
- 添加了 siReward 命令
- 添加了 rewards.yml 用于指定奖励物品
- 其他插件可以发放奖励点数(真正的 API 将在版本 1.4(Rewards、New Spells、Manasystem、...)中推出)
- 修复了“左键点击”(攻击)玩家的问题
v.1.1 - 2013年8月3日 - 1.6.2
- 添加了基本命令:
- siGive、siEnchant、siHelp
- 权限:spellitems.give、spellitems.enchant、spellitems.help
- 添加了首批测试/示例物品/附魔
v.1.0 - 2013年8月2日 - 1.6.2
- 添加了特殊/自定义物品
- 完全可配置,支持法术、法力、冷却时间
- 可用法术:
- ItemArmorCheck、ItemArmorSet、ItemBlink、ItemCommand、ItemConfuse、ItemDamage、ItemDrop、ItemExperience、ItemExplode、ItemGetItem、ItemHunger、ItemLaunch、ItemLay、ItemLeap、ItemPotionEffect、ItemReplace、ItemRoar、ItemSetDamage、ItemSmash、ItemSnowballs、ItemTransmute
- 可用效果:ItemEffectItemSpray、ItemEffectLightning、ItemEffectNormal、ItemEffectSound
- 添加了自定义附魔
- 可以使用与物品相同的法术
- 目前没有命令,因为这仅用于我的另一个插件:Dwarves vs Zombies
- 命令将在下一个版本中添加
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
AbAcc AbAcc 是一款适用于 Minecraft 服务器的管理插件,可简化玩家作弊检测与举报管理工作。工作人员可以发起并管理对可疑玩家的检查流程,并在检查完成后将其释放。
评论 0
登录后参与评分
还没有评论,来抢沙发吧