SnBattlePass
On this page(3)
Permanent battle pass for Paper 1.20.x and 1.21.x. Players climb tiers by farming blocks with EdTools or RivalHarvesterHoes, by killing SnDungeons mobs, and by completing rotating challenges. Every tier can pay a free reward and a premium one, and the premium track opens with a pass they buy in game, receive from your store, or hold through a permission.
The pass is permanent. There is no season to reset, and nothing expires underneath a player.
Features
- Free and premium reward tracks, with 54 tiers out of the box and a curve set by two numbers.
- Passive XP from block farming, with a per-tool override map so a late game drill pays more than a starter pickaxe. The farming source is EdTools or RivalHarvesterHoes (since 2.7.0): one of the two is required, and
xp.passive.sourcepicks when both are installed. - Passive XP from SnDungeons objectives (since 2.9.0): every zone mob kill pays XP, multiplied by the mob's rarity, and any other SnDungeons objective can be added as a source.
- Five rotating challenge slots per player, rolled from a weighted pool you curate, with a periodic reminder for players who leave slots unrolled. A challenge can count any SnDungeons objective, filtered by its context, with a goal scaled to the player's progress.
- Challenges can run console commands when they complete, so they still pay something at the last tier.
- Rewards are console commands, so any plugin's items, currency, keys or ranks can be given.
- Premium claims are broadcast to the whole server as an advert for the pass (since 2.10.0), with a per-player anti-spam cooldown.
- The premium track unlocks retroactively: buying a pass opens every premium reward on tiers the player already passed.
- Any currency works. The plugin reads balances through a placeholder and charges through a console command, so Vault, tokens, gems and points all work unchanged.
- Three menus, each an editable YAML layout. The pass menu opens on the page of the player's current tier.
Optional integrations
- SnDungeons (0.68.0 or newer): pays pass XP for its objectives (zone mob kills out of the box,
xp.dungeonsinconfig.yml) and unlocks thedungeonschallenge type, which counts any SnDungeons objective. It also counts as the source of XP on a server without EdTools or RivalHarvesterHoes. Without it, nothing changes:dungeonspool entries are simply left out of the roll. - SnCrates: unlocks the crate key challenge type. Without it, set
enabled: falseon those pool entries so they cannot roll. - SnGens: unlocks the generator upgrade and repair challenge types. Without it, disable those pool entries.
- SnEnvoys: unlocks the envoy claim challenge type. Without it, disable those pool entries.
- RivalPets: a pet's buff boosts farming XP while it is active, and opening its boxes counts toward the pet box challenge type. Without it, farming XP is unboosted and nothing else changes.
- SnPets: opening its pet boxes counts toward the pet box challenge type, read from the SnPets API, and equipped pets whose id starts with the configured prefix boost farming XP by their summed, per pet capped boost. The XP boost is added to RivalPets rather than replacing it: with both installed the two multipliers multiply. Without it, SnPets boxes advance nothing and farming XP is unboosted. Since 2.4.0 the live boost is visible -
%battlepass_boost%and the menu's{boost}- and an integration that cannot be wired says so at boot instead of silently paying x1.0. - PlaceholderAPI: exposes progress, tier, XP, pass, playtime and per slot challenge state to other plugins, and lets menu text use placeholders. Without it, those lines render blank and the rest of the plugin works normally.
Links
- Documentation and licensed downloads: SnDevelopment