GravitySucks - 阻止玩家通过登出规避摔落伤害!
此插件已过时,其功能已添加至新版 Bukkit 中!
版本:v1.4
如果检测到玩家在登出时正处于下落状态,本插件将移除玩家登录后的三秒无敌时间!这修复了可以通过登出再重新登录来规避摔落伤害的漏洞。请注意,仅在你登出前处于下落状态时才会移除无敌时间。如果你登录时并未在下落,或者仅在登录后才开始下落(例如有人设置了掉落陷阱),你仍将拥有正常的无敌时间!
旧视频,已过时(早期版本会在空中将你悬停3秒):
解释视频
功能:
- 修复用于规避摔落伤害的登出/重新登录漏洞
- 可选发送提示信息
- 目前非常轻量级的插件。
配置文件:
- Message: 当玩家被悬停在空中时将显示的提示信息。你可以使用颜色代码 &1-9 和 &a-e。
- Display Message: True 或 False - 是否在被悬停以防止规避摔落伤害时向玩家发送提示信息?
权限:
- gravitysucks.ignore - 允许玩家重新登录以规避摔落伤害。
- gravitysucks.reload - 允许玩家使用 "/gravitysucks reload" 命令
源代码
更新日志:
V1.4
- 添加了 "/gravitysucks reload" 命令及 "gravitysucks.reload" 权限。
- 重写了插件逻辑。现在不再将你悬停在空中,而是正确地在生成时移除3秒无敌时间,使你继续下落并死亡。更棒的是,如果你在登出前并未在下落(例如有人挖了一个掉落陷阱),你仍将像往常一样拥有3秒无敌时间!仅当你登出前处于下落状态时才会移除无敌时间!
V1.3
- 调整权限为 true/false(参见配置文件)
- 修复了“无法处理玩家传送”错误(需要实地测试)
V1.2
- 添加了忽略权限 "gravitysucks.ignore"
- 基于 1.2.5-R1.2 构建
V1.1
V 1.0
路线图:
实时帮助
需要实时帮助?加入我的 IRC 频道与我进行实时交流!(esper.net 上的 #itsatacoshop247)
喜欢这个插件吗?帮我维持我的编程爱好!请考虑捐赠!
GravitySucks - Stop players from avoiding fall damage!
This plugin is outdated, and it's features have been added to new bukkit versions!
Version: v1.4
This plugin will remove the three seconds of invincibility when a player logs in if it is detected that they were falling when they logged out! This fixes the exploit where you can logout then login again to avoid taking fall damage. Note, it only removes this invincibility if you were falling before you logged out. If you log in not falling, or only start falling once you log in (ex someone made a fall trap) then you will still have the normal invincibility!
Old video, outdated (the older versions held you in the air for 3 seconds):
Explanation Video
Features:
- Fixes the login/logout exploit to avoid fall damage
- Option to send them a message
- Very lightweight plugin as of now.
Config:
- Message: The message that will be displayed to a player when they are held up. You can use color codes &1-9 and &a-e on it.
- Display Message: True or False - Should the player be sent a message when they are being help for attempting to avoid fall damage?
Permissions:
- gravitysucks.ignore - will allow the player to relog to avoid fall damage.
- gravitysucks.reload - will allow the player to use "/gravitysucks reload"
Source Code
Changelog:
V1.4
- Added "/gravitysucks reload" with "gravitysucks.reload" permission.
- Redid the plugin. Now instead of holding you in the air, it properly removes the 3 seconds of invincibility upon spawning, so you just continue to fall and die. Even better, if you were not falling before you logged out (EX. someone digs a fall trap) you will still have the 3 seconds of invincibility like usual! The invincibility will only be removed if you were falling before logging out!
V1.3
- Tweaked permissions to true/false (see config file)
- Fixed a "Cannot Handle player teleport" (Needs field testing)
V1.2
- Added ignore permission "gravitysucks.ignore"
- Build against 1.2.5-R1.2
V1.1
- Error on different Java Versions fixed
V 1.0
Roadmap:
Live Help
Need live help? Join my IRC Channel to talk to me live! (#itsatacoshop247 on esper.net)
Like the plugin? Help me keep my programming hobby alive! Please consider donating!
评论 0
登录后参与评分
还没有评论,来抢沙发吧