不再误伤友军!!
兼容 1.7!
一款简单的插件,用于为指定的盟友关闭友军伤害。
将你的朋友设为 盟友,即可使 箭矢 伤害、药水 伤害以及 普通 攻击伤害 = 0!!
非常简单的插件,仅含 1 个文件,无需任何设置。
教程
安装 Ally:
1 - 下载最新的 Ally.jar 文件。
2 - 将 Ally.jar 文件放入你的 Bukkit 插件文件夹中。
3 - 如果服务器正在运行,请使用 reload 命令;如果服务器已关闭,请启动它。
4 - Ally 会创建几个文件,其中一个是你可以编辑的配置文件(config file)。
在配置文件中,你可以设置是否开启友军伤害、箭矢伤害或药水效果。
你还可以单独开启或关闭每种药水效果。
使用 Ally:
你应该与谁结盟?
你应该与你关系亲密的朋友结盟,即任何你不想伤害的人。
成为盟友意味着什么?
如果你与某人互为盟友,你就无法伤害他们。
如果你用 剑 击中他们,他们不会受到伤害;
如果你用 箭矢 击中他们,他们不会受到伤害;
如果你投掷带有 负面 效果的溅射药水(如中毒、伤害、缓慢、虚弱……),他们也不会受到影响。
如果配置文件允许(由服务器管理员设置),你可以与自己结盟。
如果你试图用箭矢射击自己,箭矢会被弹开;溅射药水同理。
目前仅有 6 条命令:
/ally help - 显示帮助菜单。
/ally playerName - 添加一名盟友。
/ally accept playerName - 接受请求。
/ally deny playerName - 拒绝请求。
/ally remove playerName - 移除一名盟友。
/ally list - 列出你的请求和盟友列表
待添加/更改的事项:
移除 "CraftPlayer{name=playerName}"
添加 /ally list 功能
移除药水伤害
添加清理 groups.yml 文件的代码
实现 config.yml 文件
禁止添加离线玩家
修复添加离线玩家时的错误
如果发现任何错误,请留下评论或提交工单。
请留下评论!有任何建议吗?
谢谢,Foggy34
超棒服务器:
server.PhobosPvP.com -
No More Friendly Fire!!
WORKS WITH 1.7!
A simple plugin to turn friendly fire off for your specified Allys.
Ally your friends to make arrow damage, potion damage, and normal damage = 0!!
Very simple plugin, just 1 file, And Nothing to setup.
Tutorial
Installing Ally:
1 - Download the latest Ally.jar file.
2 - Place the Ally.jar file in you bukkit plugin folder.
3 - If your server is running, use the reload command. If your server is off, start it.
4 - Ally will create a few files, one of which you can edit. The config file.
In the config file, you can set weather FriendlyFire, Arrow damage or Potion effects, are on or off.
you can also turn each individual potion effect on or off.
Using Ally:
Who should you ally?
You should ally your close friends, anyone that you don't want to hurt.
What does having an Ally mean?
If you are an ally with someone, you cannot hurt them.
If you hit them with a sword, it will not hurt them;
If you hit them with an arrow, it will not hurt them;
and if you throw a splash potion that has negative effects(poison, harm, slow, weakness...), they will not be affected by it.
If the config file allows,(set by the server admin) you can ally yourself.
If you try to hit yourself with an arrow, the arrow is deflected. same with negative splash potions
Currently there are only 6 commands:
/ally help - to show help menu.
/ally playerName - to add an ally.
/ally accept playerName - to accept.
/ally deny playerName - to deny.
/ally remove playerName - to remove an ally.
/ally list - to list your requests and Allys
Things to Add/Change:
remove the "CraftPlayer{name=playerName}"
add the /ally list function
remove potion damage
add code to cleanup the groups.yml file
implement the config.yml file
disable adding offline players
fix error on adding ofline players
If you find any errors, please leave a comment or ticket.
Please leave a comment! any suggestions?
Thanks, Foggy34
Super Awesome Server:
server.PhobosPvP.com -
评论 0
登录后参与评分
还没有评论,来抢沙发吧