Astral Realms Documentation Help

Commands

AstralFarmPass registers a single ACF command, FarmPassCommand, under the aliases /pass and /farmpass. Every permission node is collected in the Permission summary.

/pass

Subcommand

Syntax

Permission

Description

(none)

/pass

— (player-only)

Opens the farmpass-main menu.

reload

/pass reload

farmpass.reload

Reloads configuration, blueprints and menus.

points

/pass points <player>

farmpass.admin

Shows a player's points.

points give\|add

/pass points give <player> <amount>

farmpass.admin

Adds points.

points take\|remove

/pass points take <player> <amount>

farmpass.admin

Removes points.

points set

/pass points set <player> <amount>

farmpass.admin

Sets points.

points reset

/pass points reset <player>

farmpass.admin

Sets points back to 0.

Every form also works under the /farmpass alias.

Default (no arguments)

Player-only. Opens the farmpass-main menu (MenuContainer.computeAndOpen). If the menu fails to build, the error is logged with the player's name and nothing opens — there is no "no active season" path any more: a season always exists for the current month.

reload

Permission: farmpass.reload. Console or player. Runs AstralFarmPass.loadConfiguration() — config.yml, rewards.yml, messages.yml, the blueprints/ folder and the menus. Reports Farm Pass configuration reloaded. on success; on exception the sender gets a failure message and the stack trace is logged. See Configuration § Reloading for what a reload does and does not touch.

points

Permission: farmpass.admin (on every points form). Tab-completion is @players.

All five forms resolve the target as an online player and read their FarmPassPlayerData through SyncAPI.findData. Pass data only exists for a connected player whose snapshot has loaded, so offline players cannot be targeted: when no data is found, the sender is told The farm pass data of <name> isn't loaded yet. and nothing changes.

Form

Effect

/pass points <player>

Sends points-balance to the sender.

/pass points give <player> <amount>

points + amount. add is an alias.

/pass points take <player> <amount>

points - amount. remove is an alias.

/pass points set <player> <amount>

points = amount.

/pass points reset <player>

points = 0.

The four mutating forms clamp the result at 0 — points can never go negative, whatever amount is passed. On success the sender gets points-updated and the target gets points-changed, both carrying the new total.

Points are part of the synced snapshot, so an adjustment made on one server follows the player across the network. It is wiped by the next season rollover like any other progress.

Permission summary

Node

Grants

farmpass.reload

/pass reload.

farmpass.admin

Every /pass points … form.

farmpass.premium

Not a command node — the default premium-permission from config.yml, gating the premium reward track.

/pass with no arguments has no permission node: it is open to every player.

Last modified: 25 September 2026