SchackPass
适用于 Paper 服务器的季节性战斗通行证。玩家通过每日和每周任务获取经验值(XP),升级后可在免费路线和高级路线上领取奖励。赛季日期、层级、奖励和任务均可在游戏内的 GUI 编辑器中进行设置。
安装后即可立即使用:首次启动时会创建一个包含 30 个层级的赛季和 12 个任务,你可以修改或替换它们。
功能
战斗通行证
- 每个层级都设有免费和高级奖励路线
- 奖励可以是物品(保留自定义名称、附魔及其他物品数据)、控制台命令,或两者兼具
- 可逐个领取奖励,也可一次性全部领取
- 如果玩家背包已满,物品会掉落在其脚下
赛季
- 每个赛季都有开始和结束日期,并自动切换
- 进度按赛季独立计算,因此每个人在新赛季开始时都从零开始
- 可为每个赛季设置层级数量和每级所需的经验值
- 可提前安排即将到来的赛季;重叠的日期将被拒绝
- 赛季结束前未领取的奖励将会丢失
任务
- 每位玩家会从你的每日和每周任务池中随机获得任务
- 每日任务在午夜重置,每周任务在周一重置,时区由你选择
- 任务类型:击杀生物、击杀玩家、破坏方块、放置方块、收获作物、合成物品、熔炼物品、钓鱼、附魔物品、与村民交易
- 可针对特定生物、方块或物品进行计数,也可统计任意行为
防刷机制
- 玩家放置的方块不计入破坏类任务
- 刷怪笼生成的生物可从击杀任务中排除
- 创造模式或旁观者模式下不进行任何统计
游戏内编辑器
输入 /bpadmin 打开它。在此你可以:
- 创建、安排和删除赛季
- 添加层级并通过直接从背包中放置物品来设置其奖励
- 通过在聊天中输入命令来添加奖励命令
- 创建和编辑任务:类型、目标、数量、经验值、名称和图标
- 更改语言、任务数量、高级路线价格、时区和防刷选项
仅数据库连接和自动保存间隔在 config.yml 中单独设置。
高级路线
高级路线持续一个赛季,可通过以下三种方式获得:
- 使用
/bpadmin premium give <player>,你可以在 Tebex 等商店运行此命令,且对之前加入过的离线玩家也有效
- 通过
schackpass.premium 权限
- 让玩家在游戏中使用 Vault 货币购买(默认关闭)
语言
包含英语和波兰语。要添加其他语言,请复制 plugins/SchackPass/lang 中的文件,将其翻译并在编辑器中选择它。消息使用 MiniMessage 格式。
存储
SQLite 无需设置即可使用。可在 config.yml 中开启 MySQL。
要求
- Paper 1.21.1 - 26.3
- Java 21
可选:
命令
| 命令 |
描述 |
权限 |
/battlepass (/bp, /pass) |
打开战斗通行证 |
schackpass.use |
/bpadmin (/bpa) |
打开编辑器 |
schackpass.admin |
/bpadmin reload |
重新加载所有文件 |
schackpass.admin |
/bpadmin xp <add|remove|set> <player> <amount> |
更改玩家的经验值 |
schackpass.admin |
/bpadmin premium <give|revoke> <player> |
给予或撤销当前赛季的高级路线资格 |
schackpass.admin |
/bpadmin reset <player> |
清除玩家在当前赛季的进度及其当前任务 |
schackpass.admin |
权限
| 权限 |
描述 |
默认值 |
schackpass.use |
打开战斗通行证 |
所有人 |
schackpass.premium |
无需购买即可获得高级路线 |
无人 |
schackpass.admin |
使用编辑器和管理员命令 |
操作员 |
占位符
这些需要 PlaceholderAPI。
| 占位符 |
值 |
%schackpass_level% |
当前等级 |
%schackpass_max_level% |
赛季中的最高等级 |
%schackpass_xp% |
本赛季总经验值 |
%schackpass_xp_into_level% |
距离下一级所需的经验值 |
%schackpass_xp_per_level% |
每级所需的经验值 |
%schackpass_premium% |
true 或 false |
%schackpass_season% |
赛季名称 |
%schackpass_time_left% |
赛季剩余时间 |
安装
- 将 jar 文件放入服务器的
plugins 文件夹中。
- 重启服务器。
- 在游戏中运行
/bpadmin 以设置你的赛季。
奖励命令可以使用 %player%、%uuid% 和 %tier%。
统计
SchackPass 使用 bStats 收集匿名使用统计数据,例如服务器和玩家数量、Minecraft 版本、插件语言和数据库类型。如需退出,请在 plugins/bStats/config.yml 中设置 enabled: false。
SchackPass
A seasonal battle pass for Paper servers. Players earn XP from daily and weekly missions, level up, and claim rewards on a free and a premium track. Season dates, tiers, rewards and missions can all be set up in-game through a GUI editor.
It works right after installing: the first start creates a 30-tier season and 12 missions that you can change or replace.
Features
Battle pass
- A free and a premium reward track on every tier
- Rewards can be items (custom names, enchantments and other item data are kept), console commands, or both
- Claim rewards one by one or all at once
- If a player's inventory is full, the items drop at their feet
Seasons
- Each season has a start and end date, and switches automatically
- Progress is kept per season, so everyone starts a new season from zero
- Set the number of tiers and the XP per level for each season
- Schedule upcoming seasons in advance; overlapping dates are refused
- Rewards that aren't claimed before the season ends are lost
Missions
- Each player gets random missions from your daily and weekly pools
- Daily missions reset at midnight and weekly missions on Monday, in the time zone you choose
- Mission types: kill mobs, kill players, break blocks, place blocks, harvest crops, craft items, smelt items, fish, enchant items, trade with villagers
- Target specific mobs, blocks or items, or count anything
Protection against farming
- Blocks placed by players don't count towards break missions
- Mobs from spawners can be excluded from kill missions
- Nothing counts in creative or spectator mode
In-game editor
Open it with /bpadmin. From there you can:
- Create, schedule and delete seasons
- Add tiers and set their rewards by placing items straight from your inventory
- Add reward commands by typing them in chat
- Create and edit missions: type, targets, amount, XP, name and icon
- Change the language, mission counts, premium price, time zone and anti-farming options
Only the database connection and the autosave interval are set in config.yml alone.
Premium track
Premium lasts for one season and can be given in three ways:
- With
/bpadmin premium give <player>, which you can run from a store such as Tebex and which also works for offline players who have joined before
- With the
schackpass.premium permission
- By letting players buy it in-game with Vault money (off by default)
Languages
English and Polish are included. To add another language, copy a file in plugins/SchackPass/lang, translate it and select it in the editor. Messages use MiniMessage formatting.
Storage
SQLite works with no setup. MySQL can be turned on in config.yml.
Requirements
- Paper 1.21.1 - 26.3
- Java 21
Optional:
Commands
| Command |
Description |
Permission |
/battlepass (/bp, /pass) |
Open the battle pass |
schackpass.use |
/bpadmin (/bpa) |
Open the editor |
schackpass.admin |
/bpadmin reload |
Reload all files |
schackpass.admin |
/bpadmin xp <add|remove|set> <player> <amount> |
Change a player's XP |
schackpass.admin |
/bpadmin premium <give|revoke> <player> |
Give or remove premium for the current season |
schackpass.admin |
/bpadmin reset <player> |
Wipe a player's progress in the current season and their current missions |
schackpass.admin |
Permissions
| Permission |
Description |
Default |
schackpass.use |
Open the battle pass |
Everyone |
schackpass.premium |
Have the premium track without buying it |
Nobody |
schackpass.admin |
Use the editor and admin commands |
Operators |
Placeholders
These need PlaceholderAPI.
| Placeholder |
Value |
%schackpass_level% |
Current level |
%schackpass_max_level% |
Highest level in the season |
%schackpass_xp% |
Total XP this season |
%schackpass_xp_into_level% |
XP earned towards the next level |
%schackpass_xp_per_level% |
XP needed per level |
%schackpass_premium% |
true or false |
%schackpass_season% |
Season name |
%schackpass_time_left% |
Time until the season ends |
Installation
- Put the jar in your server's
plugins folder.
- Restart the server.
- Run
/bpadmin in-game to set up your season.
Reward commands can use %player%, %uuid% and %tier%.
Statistics
SchackPass uses bStats to collect anonymous usage statistics, such as server and player counts, the Minecraft version, the plugin language and the database type. To opt out, set enabled: false in plugins/bStats/config.yml.
评论 0
登录后参与评分
还没有评论,来抢沙发吧