需要你的服务器上安装 PacketEvents
功能
- 无限生成的跳跃与跑酷(Jump & Run)地图
- 最高分记录与排行榜
- 随着时间推移,跳跃难度逐渐增加
- 阻止玩家使用末影珍珠、药水或其他物品作弊
- 定义一个区域用于生成跳跃与跑酷地图
- 显示一个半透明的全息图方块,指示下一个将要生成的方块位置
- 高度可定制
- 支持 PlaceholderAPI
- 支持 Sqlite 和 Mysql
设置
要设置插件,请准备一个大的空白区域,然后前往该区域的左下角并执行命令 /jumpnrun pos1。之后,飞至右上角并执行命令 /jumpnrun pos2。现在,玩家可以通过输入命令 /jumpnrun ? 开始玩这个小游戏。
命令
/jumpnrun - 开始游玩
/jumpnrun play - 同 /jumpnrun
/jumpnrun highscore <player> - 查看你(或他人)的最高分
/jumpnrun leaderboard <page> - 显示排行榜
管理员命令
/jumpnrun pos1 - 设置跳跃与跑酷地图生成区域的角点 1
/jumpnrun pos2 - 设置跳跃与跑酷地图生成区域的角点 2
/jumpnrun reload - 重新加载配置文件,无需重启服务器
PlaceholderAPI 占位符
| 占位符 |
描述 |
| %jumpnrun_highscore% |
玩家的最高分 |
| %jumpnrun_score% |
玩家当前得分。如果当前不在跳跃与跑酷中,则返回 "0" |
| %jumpnrun_hard_jump_chance% |
出现高难度跳跃的概率。如果当前不在跳跃与跑酷中,则返回 "0%" |
配置文件
# 防止玩家在跳跃与跑酷区域内破坏和放置方块
protect-blocks: true
# 在跳跃与跑酷期间暂时禁用饥饿感
disable-hunger: true
# 在跳跃与跑酷期间暂时禁用药水效果
disable-potions: true
# 在跳跃与跑酷期间禁用投射物,如末影珍珠、风弹和喷溅药水
disable-projectiles: true
# 启用 Boss 栏,在跳跃与跑酷期间显示当前分数
enable-bossbar: true
# 任何可以着色的方块(羊毛、陶瓦、 glazed_terracotta、混凝土、染色玻璃)
block-material: 'wool'
# 显示一个半透明的幽灵方块,指示下一个将要生成的方块位置
hologram-block: true
# 检查插件更新
check-updates: true
database:
# 选择 'sqlite' 或 'mysql'
type: 'sqlite'
# 仅在使用 mysql 数据库时需要设置
credentials:
host: ''
database: ''
username: ''
password: ''
# ------------------------------ 不要手动更改此行以下的值 ------------------------------
config-version: 1
pos1: null
pos2: null
Requires PacketEvents to be installed on your server
Features
- Infinitely generating Jump & Run
- Highscores & Leaderboard
- Jumps get harder over time
- Stops players from cheating using Ender Pearls, Potions or other items
- Define an area in which the Jump & Run should generate
- Shows a pass-through hologram block where the next block will generate
- Highly customisable
- PlaceholderAPI support
- Sqlite & Mysql support
Setup
To set up the plugin, prepare a big empty area, then go to the lower left corner of that area and execute the command /jumpnrun pos1. after that, fly to the upper right corner and execute the command /jumpnrun pos2. Now players can start playing the minigame by entering the command /jumpnrun ?
Commands
/jumpnrun - Start playing
/jumpnrun play - Same as /jumpnrun
/jumpnrun highscore <player> - See your (or someone elses) highscore
/jumpnrun leaderboard <page> - Shows the leaderboard
Administrator Commands
/jumpnrun pos1 - Set corner 1 for the area in which Jump & Runs should generate
/jumpnrun pos2 - Set corner 2 for the area in which Jump & Runs should generate
/jumpnrun reload - Reload the config without needing to restart the server
PlaceholderAPI Placeholders
| Placeholder |
Description |
| %jumpnrun_highscore% |
Highscore of player |
| %jumpnrun_score% |
Current score of player. Returns "0" if not currently in Jump & Run |
| %jumpnrun_hard_jump_chance% |
Current chance for a hard jump to spawn. Returns "0%" if not currently in Jump & Run |
Config
# Prevent Players from breaking and placing blocks in the Jump & Run area
protect-blocks: true
# Temporarily disables hunger while in Jump & Run
disable-hunger: true
# Temporarily disables Potion Effects while in Jump & Run
disable-potions: true
# Disables the use of projectiles like Ender Pearls, Wind Charges and Splash Potions during the Jump & Run
disable-projectiles: true
# Enables a bossbar which shows the current score during the Jump & Run
enable-bossbar: true
# Any block that can be coloured (wool, terracotta, glazed_terracotta, concrete, stained_glass)
block-material: 'wool'
# Shows a pass-through ghost block where the next block will generate
hologram-block: true
# Check for plugin updates
check-updates: true
database:
# Choose either 'sqlite' or 'mysql'
type: 'sqlite'
# Only need to be set when a mysql database ist used
credentials:
host: ''
database: ''
username: ''
password: ''
# ------------------------------ DO NOT manually change values below this line ------------------------------
config-version: 1
pos1: null
pos2: null
评论 0
登录后参与评分
还没有评论,来抢沙发吧