DoubleJump
DoubleJump 允许玩家通过连续按下两次空格键来使用“二段跳”。请原谅现有的语言错误,英语不是我的母语。
功能特性
- 使用广为人知的二段跳
- 在配置文件中启用/禁用二段跳功能
- 允许在特定世界中二段跳
- 玩家可以自行切换是否使用二段跳
- 高度可配置的切换物品
- 可配置坠落伤害
- 可配置音效和特效
- 你可以在三种不同模式之间选择:冷却时间、食物值或能量
- 可配置增强力度
- 启用/禁用液体中的二段跳
- 不与普通坠落伤害和飞行命令冲突
- 自 v1.4 版本起兼容 NoCheatPlus 和 AntiCheat
- 自 2.0 版本起支持自动更新
- 支持所有 1.7 CraftBukkit 版本
安装方法
- 下载插件
- 将其放入你的 plugins 目录
- 重启服务器
命令/权限
| 命令 | 描述 | 权限 |
| /dj | 关于插件的基本信息 | -/- |
| /dj help | 列出所有命令 | -/- |
| /dj toggle [player] | 为自己或指定玩家开启/关闭二段跳功能 | doublejump.toggle[.others] |
| /dj reload | 重新加载配置文件 | doublejump.reload |
| /dj item [player] | 给自己或指定玩家发放二段跳切换物品 | doublejump.item[.others] |
| -/- | 允许你进行二段跳 | doublejump.use |
| -/- | 访问所有功能(绕过权限除外) | doublejump.* |
| -/- | NoCheatPlus 的绕过权限 | doublejump.bypassncp |
| -/- | AntiCheat 的绕过权限 | doublejump.bypassanticheat |
| /dj item [player] | 拥有 doublejump.item 及 doublejump.item.others 权限 | doublejump.item.* |
| /dj toggle [player] | 拥有 doublejump.toggle 及 doublejump.toggle.others 权限 | doublejump.toggle.* |
配置
enabled: true #启用/禁用所有命令和事件
auto-update: true #启用/禁用 Gravity 的自动更新器。更新器仅会通知你有新版本可用。
falldamage: true #你可以为进行二段跳的玩家开启/关闭坠落伤害,这不会影响普通的坠落伤害
damagemultiplier: 1 #二段跳玩家的坠落伤害将乘以此值,1 表示正常坠落伤害量,小于 1 的值会降低伤害,大于 1 的值会增加伤害
allowinliquids: false #你可以启用/禁用在水/岩浆中的二段跳
togglecooldown: 0 #你可以为切换物品和命令设置冷却时间
mode: COOLDOWN #你现在可以在三种不同模式中选择:冷却时间、食物值和能量。能量等于经过时间与冷却时间的百分比值。
cooldown: 0 #将此值设置为大于 0 以设置冷却时间
usexpbar: true #如果你使用能量模式,当前能量将在经验条中显示。你可以在此处关闭此功能。
bypassanticheat: false #如果你在使用反作弊插件时遇到二段跳问题,可以将其设置为 true,这样这些插件就不会产生冲突
bypassnocheatplus: false #与 AntiCheat 选项相同,仅针对 NoCheatPlus
maxcheckexemptiontime: 0 #设置为 0 以禁用。如果将任一绕过选项设置为 true,你可以设置飞行作弊检查豁免的最大时间(玩家可能在二段跳期间开始作弊,并且不再被阻止。为了安全起见,你可以在此设置最大时间。)
item:
id: 280 #切换物品的 ID
displayname: '&6Doublejump' #切换物品的显示名称,使用 & 作为颜色代码并加上引号!(例如 '&6Doublejump')
onjoin: true #加入游戏的玩家会自动获得切换物品
locked: true #如果设置为 true,则无法移动/丢弃该物品
slotid: 9 #切换物品的槽位,如果不想占用特定槽位,请设置为 0。命名槽位中的物品将被覆盖。
worlds: #允许的二段跳世界
- world
- world_nether
- world_the_end
flycommands: #你可以在此添加所有的飞行命令,这样 DoubleJump 就不会破坏它们(目前,这些命令仅对输入命令的玩家有效,例如 /fly <player> 不起作用)。
- /fly
boost:
forwardmultiplier: 1.5 #向量的 X 和 Z 值将乘以此值
upwards: 1 #向量的 Y 值
effect: SMOKE #你可以将其设置为 NONE 以不显示任何效果
sound: PISTON_EXTEND #你可以将其设置为 NONE 以禁用声音
待办事项
你想自己编写插件吗?在我的 YouTube 频道上,你可以观看相关的教程!
DoubleJump
DoubleJump allows your players to use the "double jump" when they hit space bar twice. Please excuse existing language faults, english isn't my first language.
Features
- Use the well known double jump
- En/Disable Doublejump function in config
- Allow double jump in certain worlds
- Player can toggle if they want to use double jump
- Highly configurable toggle item
- Configurable falldamage
- Configurable sounds and effects
- You can choose between 3 different modes: cooldown, food or power
- Configurable boost strength
- En/Disable Doublejump for players in liquids
- Doesn't conflict with normal fall damage and fly commands
- NoCheatPlus and AntiCheat compatibility since v1.4
- Auto-updater since 2.0
- Supports all 1.7 CraftBukkit versions
Installation
- Download the plugin
- Put it in your plugins directory
- Restart the server
Commands/Permissions
| Command | Description | Permission |
| /dj | Basic information about the plugin | -/- |
| /dj help | List of all commands | -/- |
| /dj toggle [player] | Turns on/off doublejump functionality for yourself or the named player | doublejump.toggle[.others] |
| /dj reload | Reloads config | doublejump.reload |
| /dj item [player] | Gives yourself or the named player the doublejump toggle item | doublejump.item[.others] |
| -/- | Allows you to doublejump | doublejump.use |
| -/- | Access to all features, except bypass permissions | doublejump.* |
| -/- | Bypass permission for NoCheatPlus | doublejump.bypassncp |
| -/- | Bypass permission for AntiCheat | doublejump.bypassanticheat |
| /dj item [player] | Permission for doublejump.item & doublejump.item.others | doublejump.item.* |
| /dj toggle [player] | Permission for doublejump.toggle & doublejump.toggle.others | doublejump.toggle.* |
Config
enabled: true #En/Disables all commands and events
auto-update: true #En/Disables Gravity's auto-updater. The Updater will only inform you of new versions.
falldamage: true #You can turn falldamage on/off for doublejumping players, this doesn't affect normal falldamage
damagemultiplier: 1 #Falldamage for doublejumping players gets multiplied with this value, 1 is normal falldamage amount, values lower than 1 will reduce it, values higher than 1 will increase it
allowinliquids: false #You can en/disable doublejumping in water/lava
togglecooldown: 0 #You can set a cooldown for toggle item and command
mode: COOLDOWN #You can now choose between three different modes, cooldown, food and power. Power equals the percentage value between passed time and cooldown.
cooldown: 0 #You can set a cooldown by setting this value higher than 0
usexpbar: true #If you use power mode, the current power will be displayed in exp bar. You can turn this off here.
bypassanticheat: false #If you have problems using doublejump with anticheat, you can set this to true and these plugins won't conflict
bypassnocheatplus: false #Same as AntiCheat option, just for NoCheatPlus
maxcheckexemptiontime: 0 #Set to 0 to disable/ If you set one of the bypass options to true, you can set a maximum time for the exemption of fly hack checks (Players could start hacking while they're doublejumping, and they wouldn't get stopped anymore. For safety, you can set a maximum time here.)
item:
id: 280 #ID of toggle item
displayname: '&6Doublejump' #Displayname of toggle item, use & for color codes and put it in quotes! (e.g. '&6Doublejump')
onjoin: true #Joined players automaticly get toggle item
locked: true #If set to true, you can't move/drop it
slotid: 9 #Slot of toggle item, set to 0 if you don't want a certain slot. Items in a named slot will get overwridden.
worlds: #Allowed worlds
- world
- world_nether
- world_the_end
flycommands: #You can add all your fly commands here, so Doublejump won't break them (For now, these commands only work for the player who typed it, e.g. /fly <player> won't work).
- /fly
boost:
forwardmultiplier: 1.5 #X and Z values of the vector get multiplied with this value
upwards: 1 #Y value of the vector
effect: SMOKE #You can set this to NONE for no effect
sound: PISTON_EXTEND #You can set this to NONE for no sound
Todo
- If you have any suggestions or ideas please leave a comment below
Du möchtest selbst Plugins programmieren? Auf meinem Youtube Kanal kannst du dir Tutorials dazu ansehen!
评论 0
登录后参与评分
还没有评论,来抢沙发吧