Farmpoints

Farmpoints are a virtual currency CoreJobs keeps itself. No economy plugin is involved, so they work on a server with no Vault at all.

Where they come from

  • Drop rules in drops.yml that fire when a player breaks a matching block.
  • /corejobs farmpoints give|set <player> <amount> from an admin or a console script.

Where they go

  • The shop, at /farmpoints shop.
  • Prestige requirements, when a job sets requirements.farmpoints above 0.

Two numbers, not one

This trips people up, so it is worth being exact.

Number What it is Reset monthly
Balance What the player can spend No
Ranking points What the monthly leaderboard sorts on Yes

Ranking points go up whenever a player earns farmpoints during the month. Spending farmpoints in the shop does not lower them.

A reset never takes anyone’s money

The monthly reset zeroes ranking points only. Balances carry across untouched.

Commands

Command Who What
/farmpoints Player Balance, same as /farmpoints balance
/farmpoints shop Player Opens the shop
/farmpoints ranking Player Opens the monthly ranking and claim page
/corejobs farmpoints give <player> <amount> Admin Adds points
/corejobs farmpoints take <player> <amount> Admin Removes points
/corejobs farmpoints set <player> <amount> Admin Sets the balance outright

fp works as an alias for /farmpoints.

Giving points also moves the ranking

Points handed out with give count as earned, so they push the player up the monthly board. Use set when you are correcting a balance and do not want to touch the ranking.

Formatting

formatting:
  money: "#,##0.00"
  farmpoints: "#,##0"

# is an optional digit, 0 is a forced one, and the comma is the thousands separator. Farmpoints ship without decimals, so 1250 reads as 1,250.

Showing a balance outside the menu

With PlaceholderAPI installed:

%corejobs_farmpoints%              current balance
%corejobs_farmpoints_month%        this month's ranking points
%corejobs_farmpoints_last_month%   last month's ranking points

Full list on Placeholders.

Next

Shop covers what points buy. Monthly Ranking covers the leaderboard and the reset.