
Lightweight Simple Eco
๐ฐ Simple Eco - The Ultimate Lightweight SMP Economy Mod Turn your server into a full economy: shops, player trading, auctions, orders, homes, teleport menus and more! ๐ Bug reports & benchmarks: simpleeco.82-70-209-101.sslip.io
3.2-enhanced-paper+26.3
Compatibility
Changes
3.2 Enhanced Paper
A separate build of 3.2 Enhanced made only for Paper servers (Purpur is a Paper fork and should work, but it has not been tested yet). On Spigot or plain Bukkit? Keep using the 3.2 Enhanced Bukkit jar. It is still the one for Spigot.
Same features, commands, permissions, config and data as 3.2 Enhanced. Drop it in place of the Bukkit jar and your 3.1/3.2 data loads as it is.
What is different inside
- Chat and action-bar text goes through Paper's own text system and is prepared once and reused, instead of being re-read on every sale and every
/balance. - Item names, item ids and player ids are looked up once and remembered.
- A full data check that used to run on every sale and balance read (it walked every order, shop, team and home on the server) now runs only when data is loaded and saved, so big servers stay fast.
- The auction house reads each listing's item once and copies it, and menu buttons are built once and copied, instead of being rebuilt on every click. This was added after a stress test with 60 and 80 players and halved Simple Eco's share of the server's CPU there.
- The economy file is written straight into one reused buffer, and money text under and over $1,000 is formatted with plain whole numbers (same text as before).
- The anti-dupe save is unchanged: money and the seller's inventory are still saved together every 5 seconds.
New: feedback link
One clickable line in chat, "Found a bug or have an idea for Simple Eco? Tell us on the Simple Eco website". It is shown to the first player after the very first start, and to the first player who joins after the server was empty for 6 hours. Operators can switch it off in Admin > Features > Feedback Link or with /eco module feedback_link off.
Stress test (Paper 26.2; players walk around a busy spawn and every 3 seconds each one checks /balance, sells a stack, lists on the auction house, buys someone's listing or fills a buy order, all through the real menus; 3 measured minutes, 2 runs each; the plugin's share of server CPU):
| Simple Eco 3.2 Enhanced Paper | Rival | |
|---|---|---|
| Test PC, 60 players, all of the above | 3.5% / 3.7%, 640 / 627 MB garbage a minute | Economy GUI+ 2.8% / 2.7%, 685 / 786 MB |
| Oracle Cloud (2 ARM cores), 80 players, only /balance and selling | 0.49% / 0.63%, 32 MB a minute | Divinity Economy 1.24% / 1.09%, 210 MB |
Economy GUI+ still used a little less CPU on the full mix; Simple Eco made less garbage. Every server stayed at 20 TPS with every player online.
Measured with 4 players (Paper 26.2, each using the command once a second, 2 runs of 2 minutes each):
| Test | Simple Eco 3.2 Enhanced Paper | Rivals |
|---|---|---|
/balance |
0.07% / 0.19% | EconomyGUI 0.33% / 0.29% |
| Selling a stack | 0.78% / 0.56% | Economy GUI+ 0.74% / 0.74%, Divinity Economy 2.91% / 2.55% |
| Memory churn when selling | 7.0 / 7.6 MB per minute | Economy GUI+ 13.7 / 10.8, Divinity 81 / 157 |
- Selling is close to Economy GUI+: Simple Eco was a bit higher in run 1 and clearly lower in run 2 (about 9% lower on average), with fewer CPU samples in both runs.
- These 4-player runs used a build from just before the last safety fixes. One re-check after them (same selling and /balance code as this jar): selling 0.85%,
/balance0.18%. - The New Economy's
/balancecould not be compared: out of the box it has no currency set up and gave no reply. - RelishEconomy is not compared on selling: its
/sellallonly opens a confirm screen. - Every command was checked to really do its job (money changed, item gone) before its numbers counted.
Known limits
- The economy save is still a full save every 5 seconds while something changed, not an incremental one.
- No hard crash test (killing the server mid-sale) has been run on this build yet.
Full benchmarks, bug reports and ideas: https://simpleeco.82-70-209-101.sslip.io
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:yIN5aSya:Eq4fhmm6"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:yIN5aSya:Eq4fhmm6"
}
