本帖最后由 qt819762430 于 2018-8-2 18:46 编辑
AddonForSkillAPI
Useful features for SkillAPI users!
我认为对于使用Skillapi的各位小伙伴们还是挺有用的,嗯!
Hey folks! I've been waiting a bit to release my own addon for the SkillAPI Plugin.
It adds lots of new features that you might find useful for your server that uses
SkillAPI.
Here is a list of what my Addon does:
- Damage / Heal Holograms Indicators
- Different icons for different damage classifiers
- Choice between vanilla armor stands or armor stand packets
- Skill cast fail sound effect
- Better Chat Prefix, including Level
- Cast skills on drinking potions
Everything in my plugin is toggleable, so if you don't like a feature, feel free to disable it!
Commands:
/afs reload - reloads the config
FAQ:
Q: - Does it work with the Free version of SAPI?
A: - Yes.
Q: - Is the code Open Source?
A: - https://github.com/Lix3nn53/AddonForSkillAPI
Q: - Does it support older versions like 1.8.X?
A: - Only tested with 1.12.2 but should work with older versions
Config:
-
- # ---------------------------------------------- #
- # General Configuration #
- # ---------------------------------------------- #
- # Addon for Skill-API by Lix3nn #
- # ---------------------------------------------- #
- # inducator for any damage done by players
- DamageInducators: true
- # inducator for healing done by skills
- HealInducators: true
- # Vanilla armor stands or armor stand packets for holograms
- # Packets are faster but only the player who attack or heal can see the inducator
- NormalHolograms: true
- # Give different damage classifiers different icons
- # Color codes: & followed by 0-9, A-F, a-f, K-O, k-o, R or r
- IconClassifier:
- active: false
- classifiers:
- - Classifier1
- - Classifier2
- icons:
- - &4iconForClassifier1
- - &aiconForClassifier2
- # target's x location + random between xmax-xmin = x location to summon inducator
- ArmorStandSpawnLocation:
- xmax: 0.5
- xmin: 0.0
- ymax: 1.0
- ymin: 0.0
- zmax: 0.5
- zmin: 0.0
- # Sound to play when failed to cast skill
- FailSound:
- name: ''
-
- # Dfeault Icons
- #由于符号无法正常显示,所以我在下面的翻译文件中使用加减号来显示
- Icons:
- damage: '?'
- heal: '?'
- # decimal digits for inducators, 0 for no decimal
- Digits:
- damage: 0
- heal: 0
-
- # %class% and %level%
- # Color codes: & followed by 0-9, A-F, a-f, K-O, k-o, R or r
- # for color of the player's class use %color%
- ChatPrefix:
- tablist: true
- active: true
- prefix: '%color%[%class%%color%] &6%level% &f'
- suffix: '&7 > &f'
-
- # if you drink a potion named "Healing Skill level 1" and your split: ' level '
- # player will use "healing skill" at skill level 1
- PotionSkill:
- split: ' level '
- [align=center][/spoiler][/align][align=center]
复制代码 |
个人翻译
下面是作者的插件能干什么(特性):
- 伤害 / 生命 使用全息图标显示
- 不同的职业可以有不同的伤害伤害图标
- 选择不同的 vanilla armor stands 或者 armor stand packets(偷个懒)
- 技能失败(取消释放)(被打断引导)(打断引导)释放的特效
- 更好的聊天Chat前缀,Tab前缀。可以显示等级等变量
- 通过嗑药来释放技能
所有的拓展在作者插件的配置里面都是可以配置的, 也就是说如果你觉得无用可以选择关闭
指令(哇,真的就一个!真的就这么少):
/afs reload - 重新加载配置文件
FAQ(提问时间到):
Q: - 请问插件能不能在免费的SKillapi版本上使用?
A: - 能啊!
Q: - 请问代码是开源的吗?
A: -
你猜
Q: - 请问插件是否支持老版本,比如 1.8.X?
A: - 这个插件仅仅只是在1.12Minecraft版本上测试过,不过理论上支持老版本
Config配置文件:
- # ---------------------------------------------- #
- # General Configuration #
- # ---------------------------------------------- #
- # Addon for Skill-API by Lix3nn #
- # ---------------------------------------------- #
- # 玩家所造成的仍和伤害时,是否开启图标显示。true 为开启,false 为关闭,后面同意
- DamageInducators: true
- # 玩家通过技能所恢复的血量时,是否开启图标显示
- HealInducators: true
- # Vanilla armor stands 和 armor stand packets 两种显示方法
- # Packets 更快,但是只有玩家自己能看到技能造成的伤害或者恢复的血量图标
- NormalHolograms: true
- # 不同的职业使用不同的图标
- # 颜色代码: & 0-9, A-F, a-f, K-O, k-o, R or r 并不区分大小写
- IconClassifier:
- #开启开关
- active: false
- classifiers:
- - Classifier1
- - Classifier2
- icons:
- - &4iconForClassifier1
- - &aiconForClassifier2
- # 玩家的 x 坐标 + 随机 xmax-xmin 数值之间 = x 坐标 来显示图标
- ArmorStandSpawnLocation:
- xmax: 0.5
- xmin: 0.0
- ymax: 1.0
- ymin: 0.0
- zmax: 0.5
- zmin: 0.0
- # 当技能释放失败时的声音播放
- FailSound:
- name: ''
- # 默认图标
- Icons:
- damage: '-'
- heal: '+'
- # 图标的十进制数字表示方法, 0 表示整数
- Digits:
- damage: 0
- heal: 0
- # %class% 和 %level%
- # 颜色代码: & 0-9, A-F, a-f, K-O, k-o, R or r
- # 用于玩家职业显示的颜色变量 %color%
- ChatPrefix:
- #tab显示
- tablist: true
- active: true
- #前缀
- prefix: '%color%[%class%%color%] &6%level% &f'
- #后缀
- suffix: '&7 > &f'
- # 如果你喝了一瓶叫做 "Healing Skill level 1"的药水 and your split: ' level '(恕我看不懂)
- # 使用 "healing skill"一级技能
- PotionSkill:
- split: ' level '
复制代码 |
好了,表演结束!咳咳...帖子到这里就到此为止了。有用的话,请给我点个赞