Popular community mod

Run something like this on your own server

This mod started as a single prompt. Generate your own version with different balance, mechanics, or rules, then put it in front of your players on a server you control.

donutsmp-autoselling banner
donutsmp-autoselling icon

donutsmp-autoselling

the mod hast to hold hold slot one in hand, then type the command /ah sell (a configureable value with a command) and then click (simple mouseclick) the 7th...

Downloads

872

Remixes

0

Price

Free

fabric · Server · 1.21.1 · mod

donutsmp-autoselling mod

  • Server-side Fabric mod that automates selling the nine hotbar slots in order. For each slot it switches the player's held item, runs /ah sell <value>, waits briefly for the GUI to appear, and simulates a left-click on the 7th slot of the second row before moving to the next slot.
  • Use /donutsell <value> while in-game to start the sequence with your chosen value appended to /ah sell. Use /donutsell stop to cancel a running task for yourself.
  • The automation runs on the server tick loop with short delays (10 ticks before clicking, 6 ticks between items) to give the auction UI time to open and process.
  • Slot clicking is performed via reflection against the current screen handler, so it depends on the open container exposing that slot index; if the auction UI layout differs, the click step may fail and a warning chat message is sent.
  • Tasks end automatically when the player disconnects or after all hotbar slots are processed.

Server Validation

✅ Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.

Tested by Player Games

We ran version 1 of this mod on a dedicated Fabric 1.21.1 server on 2026-11-16.

Startup, launch to ready
26 s (one run, to the nearest 1 s)
Peak memory at ready
1105 MiB (whole server container, not this mod alone)
File size
9 KiB

The server's own startup timer (its "Done" log line) read 13.4 s. It covers only part of startup.

The server reached ready with this mod and its required dependencies. This checks startup, not every gameplay feature or client compatibility.

Test isolation was not recorded. Startup and whole-container memory are boot observations, not controlled comparisons of mod cost.

Measured by Player Games on our own test servers (validator image 9a71b55b0bf1). One run is an observation; a median over repeated runs is a measurement.

Performance profile

donutsmp-autoselling v1 · Tested on Minecraft 1.21.1 · Fabric Loader 0.16.14

Four synthetic players ran the same basic Minecraft tasks with and without the mod installed. We did not test the mod's main features.

Summary

MetricWithout donutsmp-autosellingWith donutsmp-autosellingChangeVerdict
Idle server CPU CPU-seconds per 30 s0.880.88+0.01No clear difference
Four-player CPU CPU-seconds per 60 s3.873.67-0.28No clear difference
Approx. JVM resident memory MiB794.43794.84+9.52No clear difference
Whole-container memory MiB903.77904.95+9.67No clear difference
Median tick time ms0.700.60-0.10No clear difference
95th-percentile tick time ms3.053.05+0.25No clear difference
How this was measured

Each side shows its median. The Change column is the paired change: the median of the with-minus-without differences across matched pairs. It is not the difference between the two group medians. The observed range runs from the smallest to the largest of those paired differences. That range is the observed variation, not a confidence interval.

Observed range of paired differences

MetricObserved range
Idle server CPU CPU-seconds per 30 s-0.05 to +0.02
Four-player CPU CPU-seconds per 60 s-0.57 to +0.48
Approx. JVM resident memory MiB-12.12 to +12.39
Whole-container memory MiB-11.82 to +12.14
Median tick time ms-0.20 to 0.00
95th-percentile tick time ms-1.55 to +0.30

Idle server

Tested 2026-11-20. Median CPU used per 30-second window: 0.88 CPU-seconds without donutsmp-autoselling and 0.88 CPU-seconds with donutsmp-autoselling v1.

No clear CPU difference in this test. The median paired difference (with minus without) was 0.01 CPU-seconds. Across 5 matched pairs it ranged from -0.05 to 0.02 CPU-seconds. That range is the observed variation, not a confidence interval.

Each run used a fresh container configured for a flat world on a one-CPU Linux test VM, with no players or scripted activity. Both sides used the same Fabric API build (0.116.18). Starting 60 seconds after launch, the host took 31 CPU readings and checked for an open server port at each reading. The readings describe the entire server container, not donutsmp-autoselling's CPU share. Values are rounded to 0.01 CPU-second.

This test did not verify steady state, exercise donutsmp-autoselling gameplay, or measure tick times or allocations.

Four-player gameplay

Tested 2026-11-20 UTC. Four synthetic players joined, moved in lanes, ran /list and played through a night-to-day change. The test did not run any of donutsmp-autoselling's own commands. The test used 5 matched pairs of 60-second measurement windows.

No clear CPU or memory difference in this test.

Both sides used Fabric API 0.116.18 on a one-CPU Linux test VM and started in a fresh flat world. The host took 61 readings beginning 75 seconds after launch. Memory uses the median from seconds 50 to 60, not peak or retained Java heap. CPU is for the entire server container, not donutsmp-autoselling's share. This run did not measure CPU per tick, allocations, or retained Java heap.

Server tick time

Tested 2026-11-20 UTC in the same 5 matched pairs as the four-player CPU and memory figures, with the operator also running 12 /tick query reads per window. The Minecraft server reported these times itself, for the whole server. They are not donutsmp-autoselling's own share.

Source: the server's built-in /tick query, read 12 times per 60-second window, each covering the last 100 ticks, with no profiler or added hook. Each run's value is the median of those readings. The server reports to 0.1 ms, so a change is only called clear when every pair moved by at least that much in the same direction. Tick time is not CPU time and does not identify which code used it.

Tested file: SHA-256 4f684fecde5e.

MORE LIKE THIS