Installation
One server
- Install Vault (or VaultUnlocked) and an economy plugin, if you don’t have them yet.
- Download
eNetSell.jarfrom BuiltByBit, put it inplugins/and restart the server. - Give items a price:
/netsell editorin game,/netsell setprice diamond 25, or import the prices you already have (below).
That’s it. Players can now use /sell, /sell hand, /sell all and /worth.
On its first start eNetSell creates plugins/eNetSell/ with config.yml, the message files in lang/ and the
database netsell.db (SQLite). The server also downloads the libraries eNetSell uses (database drivers, Redis
client) into libraries/, once. If your host blocks downloads from Maven Central, start the server once with
-Dorg.bukkit.plugin.java.LibraryLoader.centralURL=<a Maven mirror>.
Import your prices
eNetSell reads the prices of three plugins. Their files only need to be in plugins/; the plugins themselves don’t
have to be installed or running.
| From | Reads |
|---|---|
| EssentialsX | plugins/Essentials/worth.yml |
| ShopGUI+ | every file in plugins/ShopGUIPlus/shops/ (sell prices) |
| EconomyShopGUI | plugins/EconomyShopGUI/shops/ or shops.yml (also the Premium folder) |
/netsell import essentialsshows what it found and what it would do. Nothing changes yet./netsell import essentials confirmadds the items that have no price in eNetSell. Prices you already set stay.- Or
/netsell import essentials replaceto overwrite those too.
Use shopguiplus or economyshopgui in place of essentials for the other two. Special entries (enchanted books,
potions, command items) are skipped and counted in the preview. Essentials’ default worth.yml still has some item
names from before 1.13 (log, wool…); Essentials can’t sell those either, so the preview lists them and moves
on.
Folia
eNetSell runs on Folia with the same jar. A few things to check:
- Use VaultUnlocked instead of Vault: the original Vault doesn’t load on Folia. VaultUnlocked works with plugins written for Vault, eNetSell included.
- Your economy plugin must support Folia too. EssentialsX doesn’t.
/reloaddoesn’t exist on Folia; restart the server, or use/netsell reloadfor eNetSell’s own files.
On Folia, eNetSell takes items from a player’s inventory or menu on that player’s region thread, and from a chest on the chest’s region thread. If a player crosses into another region while a sale waits for its daily limit, that sale is called off and nothing is taken.
License
The jar you download from BuiltByBit already holds your license key: there’s nothing to set. On startup, and every
few hours after, the server checks it at plugins.endydev.com (your firewall must let it out on HTTPS, port 443).
/netsell status shows the result.
- No answer (the site is down, your host blocks it): everything keeps working for 7 days after the last successful check, and the server keeps trying.
- A key that isn’t valid (unknown, revoked, or on more servers than it allows): selling turns off, with the
reason in the console and in
/netsell status. Commands, menus and the rest of the plugin keep working. - A key you got another way (not a BuiltByBit download): put it in
license-keyinconfig.yml, then/netsell reload.
The check sends the key, the plugin version and a random id of the server (kept in plugins/eNetSell/license.properties);
the site sees the server’s IP. eNetSell Lite doesn’t check anything.
Update
Download the new jar from BuiltByBit, replace the old one and restart. Your config.yml and lang/ files are kept. Options and messages added by a new
version work at once with their default values, even though your files don’t list them. To see the new options
with their comments, open the config.yml inside the jar, or rename yours and restart once to get a fresh copy.
Remove
Delete the jar. Your prices and sales history stay in plugins/eNetSell/netsell.db (or in your network database)
in case you come back.