作者:rebot | 分类:模组
Minecraft 版本: 1.21.1
平台: fabric
标签: adventure game-mechanics
Welcome to the completely revamped CobblePass! This mod provides a deeply integrated and highly customizable battle pass system for your Cobblemon server. Engage your players with a rewarding progression system, complete with free and premium tracks, seasonal content, and a wide array of configurable rewards.

free and premium reward tiers./bp) for players to view progress and claim rewards.FORMULA: XP required per level increases based on a configurable multiplier.MANUAL: Manually define the exact XP required for each level.ITEM: Grant any item from Minecraft or other mods, with full NBT support.POKEMON: Reward players with specific Pokémon, including level, shininess, and other attributes.COMMAND: Execute any server command as a reward, with placeholders for player name and UUID.CobblePass requires the following mods to be installed on your server:
.jar files into your server's mods folder.config/cobblepass/ directory.Setting up a new Battle Pass is easy with the in-game creation tool.
Step 1: Create the Battle Pass
/battlepass createconfig.json and tiers.json files and resets all player progress for a fresh start.Step 2: Configure Your Rewards
config/cobblepass/tiers.json.freeReward and premiumReward. See the detailed tiers.json Configuration section below for examples of Item, Pokémon, and Command rewards.templates!Step 3: Configure Settings
config/cobblepass/config.json.catchXP, defeatXP, etc.), the cost of the premium pass (premiumCost), and the XP progression model (xpProgression). See the config.json Configuration section for more details.Step 4: Reload the Configuration
/battlepass reloadStep 5: Start the Season!
/battlepass season startThe base command is /battlepass with aliases /bp and /pass.
| Command | Description |
|---|---|
/bp |
Opens the main Battle Pass GUI to view progress and claim rewards. |
/bp premium |
Shows information about the premium pass, including cost and status. |
/bp premium buy |
Purchases the premium pass if premiumMode is enabled and the player has enough funds. |
/bp claim <level> [premium] |
A command-based way to claim a reward for a specific level. The GUI is the primary method. |
| Command | Description |
|---|---|
/bp create |
Opens a GUI to create a new Battle Pass season from scratch. |
/bp delete confirm |
Deletes all Battle Pass files (config.json, tiers.json, and all player data). This is irreversible. |
/bp season start |
Starts the currently configured season. |
/bp season stop |
Stops the active season, pausing the timer. |
/bp reload |
Reloads config.json and tiers.json from the disk. Player data is unaffected. |
/bp addxp <player> <amount> |
Adds a specified amount of XP to a player's pass. |
/bp addlevels <player> <amount> |
Adds a specified number of levels to a player's pass. |
/bp premiumanage add <player> |
Grants a player premium status for free. |
/bp premiumanage remove <player> |
Revokes a player's premium status. |
All configuration is located in the config/cobblepass/ directory.
config.jsonThis file controls the core mechanics of the Battle Pass.
{
"catchXP": 50,
"defeatXP": 25,
"evolveXP": 100,
"hatchXP": 75,
"tradeXP": 50,
"premiumCost": 1000,
"seasonDurationDays": 30,
"currentSeason": 1,
"seasonStartTime": 1729898400000,
"seasonEndTime": 1732490400000,
"enablePermissionNodes": true,
"premiumMode": true,
"xpProgression": {
"mode": "FORMULA",
"xpPerLevel": 1000,
"xpMultiplier": 1.05,
"manualXpValues": {}
}
}
XP Values (catchXP, defeatXP, etc.): The amount of Battle Pass XP granted for each action.
premiumCost: The price for the premium pass, using your server's economy.
seasonDurationDays: The length of a season in days, set via /bp create.
currentSeason, seasonStartTime, seasonEndTime: These are managed automatically by the /bp season and /bp create commands. Do not edit manually.
enablePermissionNodes: Set to true to use a permissions plugin for command access.
premiumMode: Set to true to enable the premium track for the current season.
xpProgression:
"FORMULA" or "MANUAL".FORMULA: uses xpPerLevel as the base and xpMultiplier to increase the requirement each level. (e.g., Level 2 needs 1000 XP, Level 3 needs 1000*1.05=1050 XP, etc.)MANUAL: uses the manualXpValues map to define XP for each level specifically."manualXpValues": {
"2": 500,
"3": 550,
"4": 600
}
tiers.jsonThe heart of your Battle Pass, where all rewards are defined.
{
"templates": {
"rare_candy_stack": {
"type": "ITEM",
"data": { "id": "cobblemon:rare_candy", "Count": 5 }
},
"greeting_command": {
"type": "COMMAND",
"command": "tellraw %player% {\"text\":\"Thanks for supporting the server!\",\"color\":\"gold\"}",
"data": { "id": "minecraft:paper", "display_name": "§6Server Thank You" }
}
},
"tiers": [
{
"level": 1,
"freeReward": {
"type": "ITEM",
"data": { "id": "cobblemon:poke_ball", "Count": 10 }
}
},
{
"level": 5,
"freeReward": {
"$template": "rare_candy_stack"
},
"premiumReward": {
"type": "POKEMON",
"data": {
"species": "eevee",
"level": 5,
"shiny": true
}
}
},
{
"level": 10,
"premiumReward": {
"$template": "greeting_command"
}
}
]
}
"$template": "rare_candy_stack". This is great for recurring rewards.level.freeReward or premiumReward.ITEM, POKEMON, or COMMAND.ITEM: The id of the item and its Count. You can add any other NBT data here too.POKEMON: The species is required. You can also specify level, shiny, ability, and more. The display item in the GUI will be a sprite of that Pokémon.COMMAND: The id specifies which item to display in the GUI. You can also add a custom display_name.COMMAND type) The command string to execute. Use %player% for the player's name and %uuid% for their UUID.Player progress is stored individually in config/cobblepass/players/<uuid>.json. It's recommended not to edit these files manually, but they can be useful for diagnostics or manual corrections if needed.
{
"version": "1.0",
"level": 5,
"xp": 250,
"isPremium": true,
"claimedFreeRewards": [
1,
2,
3,
4,
5
],
"claimedPremiumRewards": [
5
]
}请登录后举报
暂无评论,抢个沙发吧~