Installation
Requirements, the two hooks it cannot work without, and verifying the install.
Requirements
| Server | Paper 1.20 or newer. Folia is supported |
| Java | 17 or newer |
| Required | A region plugin from the supported list |
| Recommended | PlaceholderAPI, Vault, an NPC plugin |
Libraries are downloaded by the server at startup — ORMLite, SnakeYAML and XSeries are declared in
plugin.yml and do not need to be shaded or installed by hand.
First run
- Drop
uxmFarmer.jarintoplugins/and start the server. The default configuration is written toplugins/uxmFarmer/. - Stop the server and open
config.yml. - Set
license-keyto the key from your UXPLIMA panel. - Set
hooks.region-hookto the plugin that owns claims or islands on your server. This is not optional — a farmer belongs to a region, and without this hook there is nowhere to put one. - Set
hooks.interaction-hookto the NPC plugin you run. Withdefaultor""the farmer has no body and is reachable only through commands. - Set
hooks.money-hook—Vault,PlayerPoints, orSuperiorSkyblock2to charge the island bank. - Set
world-management.world-listandlist-typeso farmers exist only where you want them. - Start the server.
Verifying
/uxmfarmer givefarmer <player>
/uxmfarmer nearfarmers
givefarmer places a farmer for a player who has a region; nearfarmers lists the farmers around
you with their owners and UUIDs. If both work, the region hook and the NPC hook are talking to each
other.
world-management.list-type defaults to BLACKLIST with world in the list, which means farmers
are blocked in your main world and allowed everywhere else. On most servers this is backwards —
switch to WHITELIST and list your island or survival world.
Database
SQLite is the default and needs no setup. For a network, set database.driver to MYSQL, fill in
the connection details, and set multi-server.enabled: true with a redis-host so servers stay in
step. See Database and multi-server.
Was this page helpful?