XP Collector
Collecting experience from nearby deaths, and pricing it.
XP Collector picks up the experience dropped by entities that die near the farmer and holds it in the farmer's own XP store. Players withdraw it, or sell it.
xp-collector:
name: "XP Collector"
status: true
default-status: false
force-default: false
sellable-by-default: true
permission-required: true
xp-unit-price: 0.001
xp-tax: 0.1
| Option | What it does |
|---|---|
force-default | Holds every farmer at default-status, see modules.yml |
permission-required | Requires the owner to hold uxmfarmer.xpcollector |
sellable-by-default | Whether new farmers allow their XP to be sold |
xp-unit-price | Money paid per point of XP |
xp-tax | Tax on XP sales, as a fraction (0.1 is 10%) |
Selling XP takes three things at once: the farmer's own XP_SELLABLE setting on, the owner holding
uxmfarmer.sellxp, and the seller holding the SELL rank permission. The owner's permissions gate
the farmer, and the farmer gates the members. Switching XP_COLLECTOR or XP_SELLABLE takes the
ACCESS_MANAGE_MENU rank permission. Sales are limited by cooldowns.sell-xp-cooldown, 120
seconds by default.
Pricing XP
xp-unit-price is deliberately tiny. At 0.001, a mob dropping 5 XP is worth half a cent, and a
grinder running all night is worth a modest sum, which is the intent. XP is a by-product here, not
an income stream, and raising this by an order of magnitude turns every mob farm into a money
printer without the player having to build anything new.
Set xp-unit-price: 0 and sellable-by-default: false if you want XP collected for convenience
only, with no money attached at all.
Withdrawing
Players with the COLLECT rank permission take XP out through the farmer menu. The amount is
entered on a sign or in chat, depending on take-amount.input-type in general-settings.yml.
Withdrawing has no cooldown.
Placeholders
%uxmfarmer_<uuid>_stored_xp%
%uxmfarmer_<uuid>_all_time_collected_xp%
%uxmfarmer_<uuid>_all_time_sold_xp%
%uxmfarmer_<uuid>_all_time_earned_xp%
%uxmfarmer_<uuid>_all_time_tax_xp%
Was this page helpful?