Go to Your licenses and press Download. You get one file, DonutSMP-Setup-1.0.0.zip. Unzip it. Your license is already inside, so you don't have to copy any key.
2
Upload it to your server
Open your host's panel (the website where you rent your server). Stop the server, delete the old files and upload everything inside the server folder.
Upload too big? Upload the .zip and press Unarchive in the file manager.
3
Start it and join
Press Start. When the console says Done, join with your server's IP. To get every permission, type this in the console with your Minecraft name:
lp user YourName permission set * true
That's it. Everything else (prices, messages, menus) can be changed later in the config files.
What's inside the .zip
README.txt: the same steps as this page.
server/: Economy SMP (Purpur 1.21.11, port 25592, 4-8 GB RAM). Already has its server.jar, plugins and configs.
How to…
Everything you do by hand as the owner. Console commands go without /; in game, add / in front.
Money
To
Command
Give a player moneyWorks offline for anyone who joined before. Amounts accept 5k, 1.5m, 2b, 1t.
eco give <player> <amount>
Set a player's balance to an exact amountRunning it twice gives the same result, so it is the safe one for store and test commands.
eco set <player> <amount>
Take money from a playerIf the player has less than that, nothing is taken and you get a reply. Use eco set <player> 0 to empty the balance.
eco take <player> <amount>
Check any player's balanceWorks from the console too: bal <player>.
/bal <player>
Reset every balanceStop the server first (the plugin keeps this data in memory and writes it back), then run it in that plugin's database (see Database). Balances are stored in cents. Top Money follows on the next update.
Change the fixed worth of an itemworth.yml lists 1,735 items with id, variant (enchantment or potion), name, worth and category.
plugins/DonutEconomy/worth.yml: the worth of that ideco reload
Set the price an item sells for before anyone trades it/sell and the Shard Sell Axe pay the market price: the average of the last 20 auction sales and order deliveries of the last 7 days, then the starting price, then the worth.
Give a player shardsWhole numbers only, no 1k. Works offline for anyone who joined before.
donutcore shards give <player> <amount>
Set a player's shards to an exact amount
donutcore shards set <player> <amount>
Take shards from a playertake never goes below 0.
donutcore shards take <player> <amount>donutcore shards set <player> 0
Reset everyone's shardsStop the server first (the plugin keeps this data in memory and writes it back), then run it in that plugin's database (see Database).
UPDATE donutcore_players SET data = REGEXP_REPLACE(data, '"shards":[0-9]+', '"shards":0');
Change how many shards players earnEvery online player gets that amount at every 10 minutes of the clock (xx:00, xx:10...). The 10 minutes are fixed. Update the welcome text in messages.yml too.
Add an item to the Shard Shopability is break-9 (3x3), break-tree (whole tree, up to shards.tree-limit logs) or sell-chests (right click a chest to sell it).
plugins/DonutCore/shardshop.yml: new entry under items with slot, price, give (id[components]) and optional self-destruct-hours and abilityplugins/DonutCore/guis/shard_shop.yml (and shard_shop_orders.yml): a button in that slot with [action] shardshop.buy <id> {menu}donutcore reload
Give a shard tool to a playerShard tools only work when bought in /shardshop, because the purchase marks the tool with its ability. Give the shards and let the player buy it.
donutcore shards give <player> 1500
Change how long shard tools lastExpired items are removed from inventories and ender chests of online players every minute.
Give a rank for goodGroups: donutplus (Donut+), donutplusplus (Donut++), donutplusplusplus (Donut+++), media. Ranks do not inherit: each group carries its own homes and slots.
lp user <player> parent add donutplusplusplus
Give a rank for 30 days (store command)accumulate adds 30 days if the player already has it. Same for donutplusplus and donutplusplusplus; media uses 90d.
lp user {username} parent addtemp donutplus 30d accumulate
Set exactly one rankparent set removes every other group, staff and admin included. donutcore rank runs that same command with the group from ranks.groups in plugins/DonutCore/config.yml.
lp user <player> parent set donutplusplusdonutcore rank <player> <default|plus|plusplus|plusplusplus|media>
Remove a rank
lp user <player> parent remove donutpluslp user <player> parent removetemp donutplus
Make someone staff or adminBoth get every donut*.admin permission, 90 homes and 90 slots.
lp user <player> parent add stafflp user <player> parent add admin
Change what a rank givesHomes only accept the numbers in homes.limits of DonutTeleport (9, 27, 90) and order slots the numbers in slots.permissions of DonutOrders (45, 90). Auction slots take any number. The highest one wins.
lp group donutplus permission set donutteleport.homes.27 truelp group donutplus permission set donutauctions.slots.90 truelp group donutplus permission set donutorders.slots.90 true
Share ranks between game modes or serversTo share ranks between game modes or servers, switch LuckPerms to MySQL: storage-method mysql, then lp export / lp import.
lp export ranksplugins/LuckPerms/config.yml: storage-method: mysql and the data sectionRestart the serverlp import ranks
Change a rank prefix
lp group donutplus meta setprefix 10 "�A6FF+"plugins/TAB/groups.yml for the tab and nametag prefix
Homes and teleports
To
Command
Give a player more homesValues: 9, 27 or 90. Without one the player has homes.default-limit (3).
lp user <player> permission set donutteleport.homes.27 true
Add a new homes tier
plugins/DonutTeleport/config.yml: add the number to homes.limits (and homes.pages)donutteleport reload
Delete every home of a playerDo it while that player is offline: an online player's homes are cached and saved again on the next change.
DELETE FROM donutteleport_homes WHERE id = '<uuid>';
Give a player spawnersThe player must be online. amount is the number of spawner items (1-6400), extra ones drop at the player's feet. Running it twice gives them twice.
smartspawner give <player> spawner <mob> <amount>
Give vanilla spawners
smartspawner give <player> vanilla <mob> <amount>
Change spawner drops, XP and sell pricesSmartSpawner pays through Vault, so the money goes to DonutEconomy.
Remove every listingStop the server first (the plugin keeps this data in memory and writes it back), then run it in that plugin's database (see Database). The items are deleted, not returned.
DELETE FROM donutauctions_listings;
Reset the whole auction houseStop the server first (the plugin keeps this data in memory and writes it back), then run it in that plugin's database (see Database).
Add server ordersEach row: item, price (per item), amount, delivered. They show the buyer orders.server-name (Server), cost no tax and expire after expire-days. Running seed twice adds them twice.
Remove every orderStop the server first (the plugin keeps this data in memory and writes it back), then run it in that plugin's database (see Database). Nothing is refunded.
DELETE FROM donutorders_orders;
Remove only server ordersStop the server first (the plugin keeps this data in memory and writes it back), then run it in that plugin's database (see Database).
DELETE FROM donutorders_orders WHERE data NOT LIKE '%"owner":%';
Bounties and combat
To
Command
Put a bounty on a playerPaid by whoever runs it (amount + 2 % tax). Bounties stack.
/bounty add <player> <amount>
Set a bounty without payingStop the server first (the plugin keeps this data in memory and writes it back), then run it in that plugin's database (see Database). Bounties are read once at startup.
INSERT INTO donutcombat_bounties (id, data) VALUES ('<uuid>', '{"name":"<player>","amount":5000000,"updated":0}') ON DUPLICATE KEY UPDATE data = VALUES(data);
Remove a bountyStop the server first (the plugin keeps this data in memory and writes it back), then run it in that plugin's database (see Database).
DELETE FROM donutcombat_bounties WHERE id = '<uuid>';
Remove every bountyStop the server first (the plugin keeps this data in memory and writes it back), then run it in that plugin's database (see Database).
TRUNCATE TABLE donutcombat_bounties;
Put two players in combat (testing)Both must be online.
donutcombat tag <player> [opponent]
Let a player teleport and use commands in combatHe is still tagged and still dies if he logs out in combat.
lp user <player> permission set donutcombat.bypass true
Reset one leaderboard for everyoneStop the server first (the plugin keeps this data in memory and writes it back), then run it in that plugin's database (see Database). Do both: the second table is Topper's copy, in plugins/Topper/top/donutsmp.db (SQLite). JSON fields: kills, combatLogKills, deaths, playtime, blocksPlaced, blocksBroken, mobsKilled, sell, shop.
UPDATE donutleaderboards_stats SET data = REGEXP_REPLACE(data, '"deaths":[0-9]+', '"deaths":0');DELETE FROM donutleaderboards_deaths;
Reset every statStop the server first (the plugin keeps this data in memory and writes it back), then run it in that plugin's database (see Database).
TRUNCATE TABLE donutleaderboards_stats;Delete plugins/Topper/top/donutsmp.db (Topper makes it again)
Rename or reorder leaderboard categoriesEach category reads a Topper holder from plugins/Topper/config.yml.
Reset a player's /settingsStop the server first (the plugin keeps this data in memory and writes it back), then run it in that plugin's database (see Database).
UPDATE donutcore_players SET data = REGEXP_REPLACE(data, '"settings":\{[^}]*\}', '"settings":{}') WHERE id = '<uuid>';
Edit the sidebar linesEach line shows when %donutcore_setting_sb_<line>% is ON.
plugins/TAB/config.yml: scoreboard.scoreboards.stats and conditionstab reload
See where each plugin keeps its dataLocal H2 files, one per plugin: DonutCore (donutcore_players), DonutSocial (donutsocial_names, donutsocial_relations), DonutEconomy (donuteconomy_accounts, donuteconomy_trades), DonutAuctions (donutauctions_listings, _returns, _transactions, _quickbuy), DonutOrders (donutorders_orders), DonutTeleport (donutteleport_homes), DonutCombat (donutcombat_bounties), DonutLeaderboards (donutleaderboards_stats). Topper keeps the tops in plugins/Topper/top/donutsmp.db (SQLite), LuckPerms in plugins/LuckPerms/luckperms-h2-v2.mv.db, ArefyChat in plugins/ArefyChat/data/. Back up the plugins folder to back up everything.
plugins/<Plugin>/data.mv.db
Run SQL on a plugin's local databaseRun it from the server folder with the server stopped: the file is locked while the server runs. Change DonutCore to the plugin you need, type the SQL, then exit.
stopjava -cp libraries/com/h2database/h2/2.2.224/h2-2.2.224.jar org.h2.tools.Shell -url "jdbc:h2:file:./plugins/DonutCore/data;MODE=MySQL;DATABASE_TO_LOWER=TRUE;CASE_INSENSITIVE_IDENTIFIERS=TRUE" -user sa -password ""
Player data
To
Command
Wipe one player's core data (settings, shards, voice consent)Stop the server first (the plugin keeps this data in memory and writes it back), then run it in that plugin's database (see Database).
DELETE FROM donutcore_players WHERE id = '<uuid>';
Show the first join welcome againStop the server first (the plugin keeps this data in memory and writes it back), then run it in that plugin's database (see Database).
UPDATE donutcore_players SET data = REPLACE(data, '"welcomed":true', '"welcomed":false') WHERE id = '<uuid>';
Remove a player's friends, follows and ignoresStop the server first (the plugin keeps this data in memory and writes it back), then run it in that plugin's database (see Database).
DELETE FROM donutsocial_relations WHERE owner = '<uuid>' OR other = '<uuid>';
Full season resetEach plugin makes an empty file on the next start. Keep plugins/DonutSocial/data.mv.db if friends should survive the reset, and plugins/LuckPerms/luckperms-h2-v2.mv.db to keep ranks. Reset the world separately.
stopDelete data.mv.db in plugins/DonutCore, DonutEconomy, DonutAuctions, DonutOrders, DonutTeleport, DonutCombat and DonutLeaderboardsDelete plugins/Topper/top/donutsmp.db
Reload a plugin after editing its filesDatabase settings need a restart.
/settings with 40 options in 7 categories, shards (+1 every 10 minutes online), the Shard Shop and shard tools, randomized coords, night vision, money nametags, voice chat consent, /ranks and the shared API the other plugins use.
Command
Permission
What it does
/settings
none
Open the settings dialog.
/shards [player]
none
Your shards or another player's, offline too.
/shardshop
none
Open the Shard Shop.
/ranks
none
Rank menu with a link to your store.
/media
none
Media rank menu.
/subscription
none
Shows whether you have an active rank subscription.
Value of a /settings option: ON, OFF, ANYONE or FRIENDS.
%donutcore_ping%
Ping of the player.
%donutcore_online_compact%
Online players plus tab.online-offset, compact.
%donutcore_date%
Date, dd.MM.yy.
%donutcore_time%
Time, HH:mm.
plugins/DonutCore/config.yml: Database, save interval (60 s), server-brand (F3), shards.amount (1), shards.tree-limit (256), randomized-coords range, night-vision reapply time, ranks.groups (group of each rank), subscription ranks, voicechat.require-consent (true).
plugins/DonutCore/settings.yml: Every /settings category and option: label, values it cycles through and default. Chat (public chat, private messages, server messages, hotbar, death, advancement, join and leave), notifications (pay, teleport, bounty, auction, order, sounds, follow), PvP (fast crystals, totem and explosion particles, explosion sounds, combat timer), visuals (Display Donut+, money nametags, item worth lore, teleport confirm menus), privacy (TP requests, TP here requests, payments, randomized coords, private transactions), scoreboard (on/off, money, shards, kills, deaths, playtime) and general (auction quick buy and quick sell, mob spawns, phantoms, night vision, destroy pearl on death).
plugins/DonutCore/shardshop.yml: Shard Shop items (slot, price, item, self-destruct-hours, ability), the purchase dialog and the store links of /ranks.
plugins/DonutCore/messages.yml: Welcome, Discord and website links, shards, ping, voice chat and admin texts.
Money stored in cents (Vault provider), /pay with 2 % tax and a payment dialog from the friend profile, /baltop, /sell, /worth with 1,735 item prices, the Item Worth lore and the market price that /sell, Quick Buy and the Shard Sell Axe use.
Command
Permission
What it does
/balance [player], /bal
none
Your money or any player's, offline too.
/pay <player> <amount>
none
Send money. Amount accepts 5k, 1.5m. 2 % tax, at least $1.
/baltop [page|player]
none
Most Money menu, 45 players a page.
/sell
none
Sell menu. Pays the market price, shulker contents included.
/worth [item name]
none
Item Prices menu, or the worth of one item.
/eco give <player> <amount>
donuteconomy.admin
Add money. Offline works.
/eco take <player> <amount>
donuteconomy.admin
Remove money. Fails if the player has less.
/eco set <player> <amount>
donuteconomy.admin
Set the exact balance.
/eco reload
donuteconomy.admin
Reload every file and the trades from the database. /donuteconomy works too.
plugins/DonutEconomy/worth.yml: Fixed worth, name and category of 1,735 items, enchanted books and potions included.
plugins/DonutEconomy/market.yml: starting-prices used until an item has trades.
plugins/DonutEconomy/menus.yml, dialogs.yml, messages.yml: Sell, Item Prices and Most Money menus, the pay dialog and every text.
DonutAuctions
Auction house with search, 3 sort modes, shulker and bundle preview, Your Items with returns and a 90 day transactions log, plus Quick Buy (/shop): 45 favourite items per player that buy the cheapest listings.
Command
Permission
What it does
/ah [search], /auction
none
Open the auction house, optionally filtered by item name.
/ah sell <price>
none
List the item in your hand. Price accepts 1.5k.
/shop
none
Open Quick Buy.
/donutauctions reload
donutauctions.admin
Reload configs, menus, dialogs and the expiry timer. Listings are not reloaded.
/donutauctions seed
donutauctions.admin
Add every row of starter-listings.yml as a live listing.
Permissions (2)
donutauctions.admin
/donutauctions.
op
donutauctions.slots.<n>
Auction slots. Highest number wins, any number works. Default 18.
plugins/DonutAuctions/menus.yml: Auction, Your Items, Insert Item, Transactions (keep-days 90) and Quick Buy menus.
plugins/DonutAuctions/dialogs.yml, messages.yml: Buy and sell confirms, search, price and Choose Item dialogs, every text.
plugins/DonutAuctions/choose-items.json: The 1,729 items players can pick as Quick Buy favourites.
plugins/DonutAuctions/starter-listings.yml: Optional listings for /donutauctions seed.
DonutOrders
Buy orders: a player pays up front for an amount of an item at a price per item, others deliver it and get paid at once, and the buyer collects the items from the order.
Command
Permission
What it does
/orders [search], /order
none
Open every open order, optionally filtered by item name. Create, deliver, collect and cancel from the menus.
/donutorders reload
donutorders.admin
Reload config, menus, dialogs, names and items.
/donutorders seed
donutorders.admin
Add every row of starter-orders.yml as a server order.
Permissions (2)
donutorders.admin
/donutorders.
op
donutorders.slots.<n>
Order slots. Only the numbers in slots.permissions (45, 90). Default 18.
plugins/DonutOrders/menus.yml, dialogs.yml, messages.yml: Orders, Your Orders, Edit Order, Deliver and Confirm menus, the create dialogs and every text.
plugins/DonutOrders/names.yml: Singular and plural item names used in menus and messages.
plugins/DonutOrders/choose-items.json: Items that can be ordered.
plugins/DonutOrders/starter-orders.yml: Server orders for /donutorders seed: item, price, amount, delivered.
DonutTeleport
TPA and TPA here with confirm menus, auto accept, cooldown and expiry, plus homes with names, icons and pages in a dialog.
Command
Permission
What it does
/tpa <player>, /tp, /teleport
none
Ask to teleport to a player.
/tpahere <player>, /tphere, /teleporthere
none
Ask a player to come to you.
/tpaccept [player]
none
Accept a request, or the latest one.
/tpdeny [player], /tpadeny
none
Deny a request.
/tpacancel [player]
none
Cancel your sent requests.
/tpauto
none
Toggle auto accept of /tpa requests until you log out.
/home [name|number]
none
Teleport home, or open the Homes dialog.
/homes
none
Open the Homes dialog.
/sethome [name]
none
Set a home, or move the one with that name.
/delhome <name|number>
none
Delete a home.
/donutteleport reload
donutteleport.admin
Reload config, dialogs, messages, menus and icons.
Permissions (2)
donutteleport.admin
/donutteleport.
op
donutteleport.homes.<n>
Home limit. Only the numbers in homes.limits (9, 27, 90). Default 3.
false
plugins/DonutTeleport/config.yml: Database, homes.default-limit (3), homes.limits [9, 27, 90], homes.pages, max-name-length (32), request-expire-seconds (120), request-cooldown-seconds (10), region and world names of the accept menu.
plugins/DonutTeleport/dialogs.yml, menus.yml, messages.yml: Homes dialogs (rename, icon, delete), teleport confirm and accept menus, every text.
plugins/DonutTeleport/icons.yml: Icons players can pick for a home.
DonutCombat
20 second combat tag, blocked commands and teleports in combat, death on combat log, kill reward and bounties that the killer claims.
Command
Permission
What it does
/bounty [name]
none
Bounties menu, highest first, optionally filtered by name.
/bounty add <player> <amount>
none
Place a bounty, paid by you plus 2 % tax.
/donutcombat reload
donutcombat.admin
Reload config, messages and menus.
/donutcombat tag <player> [opponent]
donutcombat.admin
Put players in combat.
Permissions (2)
donutcombat.admin
/donutcombat.
op
donutcombat.bypass
Use blocked commands and teleports while in combat.
plugins/DonutCombat/guis/bounties.yml, guis/confirm-bounty.yml: Bounties and Confirm Bounty menus.
plugins/DonutCombat/messages.yml: Combat timer, blocked, kill reward and bounty texts.
DonutRTP
Random teleport by region (/rtp west, /rtp asia, /rtp nether...), a 1v1 RTP queue that sends two players to the same random spot, random first join spawn and random respawn without a bed. Built on the safe location search of BetterRTP (MIT).
Command
Permission
What it does
/rtp [region]
none
Random teleport. Regions: west, east, eu west, eu central, asia, oceania, nether, end.
/rtpqueue [player], /rtpq
none
Join the RTP queue, or queue with one player. Run it again to leave.
/donutrtp reload
donutrtp.admin
Reload config, messages, dialogs and regions.
Permissions (2)
donutrtp.admin
/donutrtp.
op
donutrtp.cooldown.bypass
Skip the /rtp cooldown.
false
plugins/DonutRTP/config.yml: default-region (eu west), cooldown-seconds (4), regions (world, x and z range, cave type for the nether, min-radius for the end), queue regions and music discs, first-join and respawn spawn, prepared safe spots per region (8), unsafe blocks.
plugins/DonutRTP/messages.yml, dialogs.yml: RTP texts and the RTP Queue dialog.
DonutSocial
Friends as mutual follows, followers, per friend permissions (activity, transactions, payments, messages, teleport requests, auto accept), private messages and ignore.
Toggle ignoring a player: his chat, messages and requests are hidden.
/unignore <player>, /unblock
none
Stop ignoring a player.
/donutsocial reload
donutsocial.admin
Reload config, messages and dialogs.
Permissions (1)
donutsocial.admin
/donutsocial reload.
op
plugins/DonutSocial/config.yml: Database, default friend permissions, join-leave-messages (only followers see them), max friends listed (100), search results (27), the Ignored User name and skin.
plugins/DonutSocial/dialogs.yml, messages.yml: Friends, search, profile and settings dialogs, every text.
DonutLeaderboards
Player stats (kills, deaths, playtime, blocks placed and broken, mobs killed, money sold and spent) in a /stats dialog, and /leaderboard with a top 10 and a top 200 per category, read from Topper.
Reload config, messages, dialogs and the stats menu.
/donutleaderboards add <player> <stat> <amount>
donutleaderboards.admin
Add to a stat, or subtract with a negative amount.
Permissions (1)
donutleaderboards.admin
/donutleaderboards.
op
Placeholders (2)
%donutleaderboards_<stat>%
Stat formatted (1.5K, playtime as 7m 40s). kills includes combat log kills. Stats: money, shards, kills, deaths, playtime, blocks_placed, blocks_broken, mobs_killed, sell, shop.
%donutleaderboards_<stat>_raw%
Plain number for Topper (playtime in seconds).
plugins/DonutLeaderboards/config.yml: Database, save interval (60 s), shards placeholder.
plugins/DonutLeaderboards/dialogs.yml: Leaderboards dialog, top sizes (10 and 200), colors of places 1 to 3, categories with their Topper holder and format, the /stats dialog.
plugins/DonutLeaderboards/guis/stats.yml: Full stats menu.
plugins/Topper/config.yml: One holder per category: donutleaderboards_money, _deaths, _playtime, _blocks_placed, _blocks_broken, _mobs_killed.
Ranks
Rank
LuckPerms group
What it gives
Player
default
3 homes, 18 auction slots, 18 orders.
Donut+
donutplus
Blue + prefix, 9 homes, 45 auction slots, 45 orders.
Donut++
donutplusplus
Blue ++ prefix, 27 homes, 90 auction slots, 90 orders.
Donut+++
donutplusplusplus
Blue +++ prefix, 90 homes, 90 auction slots, 90 orders.
Media
media
Pink camera prefix, 90 homes, 90 auction slots, 90 orders.
Staff
staff
Green star prefix, every donut*.admin permission, 90 homes and slots.
Admin
admin
Purple star prefix, every donut*.admin permission, 90 homes and slots.
LuckPerms (they ship in plugins/LuckPerms/luckperms-h2-v2.mv.db), changed with lp commands
After saving a file, type /<plugin> reload or restart the server.
FAQ
A plugin disables itself on startup
It could not open its database file. The first start downloads the H2 library to libraries/com/h2database and needs internet once. Check also that no other server or tool has plugins/<plugin>/data.mv.db open.
I changed a balance, bounty or stat in the database and it went back
The plugins keep that data in memory and write it back. Stop the server, edit the database (see Database), start it again. With the server on, use the commands.
/leaderboard still shows an old value after a reset
Topper keeps its own table per category. Empty donutleaderboards_<stat> as well as the field in donutleaderboards_stats, with the server stopped.
A player cannot /home, /tpa or /rtp
He is in combat for 20 seconds after any PvP hit. Change combat.blocked-commands in DonutCombat or give donutcombat.bypass.
A rank does not give more homes
Homes only accept 9, 27 and 90 (homes.limits in DonutTeleport). Add your number there and run donutteleport reload.
A rank does not give more order slots
Order slots only accept 45 and 90 (slots.permissions in DonutOrders). Add your number there and run donutorders reload.
How do I run the vanilla /tp?
Use /minecraft:tp. /tp opens a TPA request.
Orders do not refund by themselves when they expire
Expired orders stop accepting deliveries. The buyer gets the money back for what was not delivered when he cancels the order in Your Orders.
Does it come with crates or keys?
No. The economy runs on money, shards, the auction house and orders.
Players do not get shards
Shards are given at every 10 minutes of the clock (xx:00, xx:10...) to players who are online at that moment. Check shards.amount in plugins/DonutCore/config.yml.
/rtp says there is no safe location
The region is outside the world border or not generated. Fit the regions in plugins/DonutRTP/config.yml inside your border and pre-generate the world.
Double-click server\Run.bat and join with localhost.
Friends can join only if you open port 25565 on your router. For a real server, a host is easier.
Using a VPS or dedicated server (Linux)
sudo apt install openjdk-21-jre-headless screen unzip
unzip DonutSMP-Setup-1.0.0.zip
cd server && chmod +x start.sh && screen -S server ./start.sh
Only open port 25565 in your firewall.
Sharing ranks between game modes
Everything is saved in a built-in H2 file, so there is no database to set up. To share ranks between game modes or servers, create a MySQL database in your host's Databases tab and switch LuckPerms to it: set storage-method: mysql inplugins/LuckPerms/config.yml with your database details, then run lp export ranks before the change and lp import ranks after it.
Updating to a new version
Download the new version, stop the server, make a backup, replace the plugin .jar files and start again. Your configs are kept.
"Could not connect to the database"
Only if you switched LuckPerms to MySQL: the details you typed are wrong. Copy them again from your host's Databases tab, or set storage-method: h2 again.
"License not valid for this server"
The setup is running on another server too. Stop that one, or ask us on Discord to move your license.