All Mods Resource Packs Data Packs Shaders Modpacks Plugins
nahkd's Stonks

nahkd's Stonks

by nahkd123 • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Stonks Banner

Stonks

Server-side global market for your server!

What is Stonks?

Stonks is a server-side mod that adds global market, where players can create buy/sell offers, while others can instant buy or sell for quick bucks (tl;dr: it's just like hypixel skyblock bazaar).

Please see Important note at the bottom of this page when setting up Stonks.

Screenshot of market main menu

What makes Stonks special?

  • Fully server-side! Your player doesn't need to install this; they can use /market to open the menu.
  • Trade with anyone on the server: Place offers and wait or instantly buy something from other player if you can't wait.
  • ok I really can't tell what makes Stonks special other than being a "hypixel skyblock bazaar at home" edition.

Important note

  • Versions below 2.0.5 contains a critical bug that can cause market data losses. Please see the 2.0.5 changelog for more information.

  • Stonks does not works properly without further setup. See Configuration guide for more information. I mean you don't have to, but it only works partially (missing economy system for example).

  • Stonks does not comes with economy system by default, but does have supports for vanilla scoreboards (/scoreboard thing) and Patbox's Common Economy API.

    If you don't have compatible economy system, you can use scoreboard as economy system by adding useAdapter stonks.fabric.adapter.provided.ScoreboardEconomyAdapter to Stonks configuration, located inside config/stonks/ folder.

    If you do have one, you still have to add adapter, like useAdapter stonks.fabric.adapter.provided.CommonEconomyAdapter for example. Some adapters (CommonEconomyAdapter included) requires extra configurations. See this documentations for more information.

  • Configurations can only be reloaded by restarting server. Fortunately, you can load Stonks in singleplayer worlds and can reload configurations by rejoining your world.

License

MIT license. See LICENSE in repository for more information.

How to Install nahkd's Stonks (Mod)

nahkd's Stonks by nahkd123 is verified for Fabric across Minecraft versions 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.4-rc1, 1.20.5, 1.20.6, 1.21 (latest release: 2.2.2+26.3, file size: 328 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.4-rc1, 1.20.5, 1.20.6, 1.21) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded nahkd's Stonks file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric
2mo ago 1
26.2
Fabric
5mo ago 1
26.1.x
Fabric
8mo ago 1
1.21.11
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.5
Fabric
last yr. 1
1.21.4
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.20.3
Fabric
last yr. 1
1.20.2
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
Welcome to another maintenance release of Stonks! This time the mod is updated to Java Edition 26.3 with one single code change for items adapter. If you are not using the items adapter provided by Stonks, you may choose to keep using previous version (though it is highly recommended to update!).

View changelog on GitHub: https://github.com/nahkd123/stonks/releases/tag/v2.2.2%2B26.3
Welcome to the new maintenance release of Stonks! This time with minimal code changes in UI related to the merge of stained glass panes, which means we are (sort of) going full circle (remember block data from 1.12 and below?).

View release on GitHub: https://github.com/nahkd123/stonks/releases/tag/v2.2.1%2B26.2
Welcome to the fresh new version of Stonks v2.2.0! Although there aren't any new features, the change is significant enough (mainly related to the move to obfuscated names) that I've decided to bump to new minor version.

Also, this version fixed one minor issue related to offers menu, where the "view offer" button remains in the UI, even though it is fully removed from the market.

## Commits

## What's Changed


Happy holidays from the one and only maintainer of Stonks! Stonks has been updated to support Minecraft 1.21.11, though I do want to talk about the current state of this project: In the future, I may not have much time on my hand to extend Stonks with new features. Those that are looking at the updates might have known that the feature set of Stonks is basically frozen, and that's because:

1. I don't have plenty of free time like I used to be, and;
2. My interest for this block game is slowly declining.

At this moment, Stonks is under maintenance mode - which means this mod will only receive patches to get it to work on future version of Minecraft only, without new features or anything fancy. Who knows, maybe I will be able to finish Stonks vNext in the distant future...
Thank you for waiting. Stonks for Minecraft 1.21.9 is now available to download and install. Apologize for not being able to update the mod just in time for new update as I have to deal with weather issue in real life.

  • Update 2025/07/01**: Minecraft 1.21.7 has just released, ~~but it looks like Modrinth hasn't updated their game versions list yet. Give them time.~~ Stonks 2.1.4 will works on 1.21.7, and if you encountered an issue, consider [reporting it on GitHub](https://github.com/nahkd123/stonks/issues).

Thanks for sticking around! Stonks for Minecraft 1.21.6 is now available with little code changes.

Are you interested in new dialog system introduced in Minecraft 1.21.6? [Join the discussion](https://github.com/nahkd123/stonks/issues/71) to determine the future of server-side Stonks UI.

## What's Changed


Welcome back and thank you for your patience. This is a small release to update the mod to support Minecraft 1.21.5, which just got released few hours ago. No major API changed so I expect most mods that uses Stonks API works (other than command changes).

Changelog on GitHub can be found at [https://github.com/nahkd123/stonks/releases/tag/v2.1.3%2B1.21.5](https://github.com/nahkd123/stonks/releases/tag/v2.1.3%2B1.21.5)
Thank you for your patience as I am really busy for the past few days. Anyways, Stonks for Fabric 1.20.4 is here, and this update also fixed a bug related to legacy service handling: decimals are not being converted to raw integer properly.
## What's Changed

## Note for item adapter in default config
For new users, default config now includes a warning that removing the item adapter makes Stonks for Fabric no longer be able to access player's inventory.

``
// Adapters
// "stonks.fabric.adapter.provided.ItemsAdapter" is included so that Stonks can add/remove items in player's inventory
// If you remove this adapter, Stonks will be unable to access player's inventory. If you don't need to have access to
// player's inventory, you can remove this adapter.
// Additionally, you can make your own adapter to hook with other mods, like trading RF power for example.
useAdapter stonks.fabric.adapter.provided.ItemsAdapter
``

## Update to Java Edition 1.21.2
Stonks for Fabric is now updated to Minecraft Java Edition 1.21.2.

  • Update**: Stonks 2.1.0 also works with 1.21.1.

Thanks for waiting for Stonks to update to Minecraft 1.21! This update includes some breaking changes to the API, which means the minor version number must be increased by 1 (which is 2.1.0). Get it? Because 21.

  • In theory, your existing configurations will works in this version. If your configurations broke in this version, [please make a new bug report](https://github.com/nahkd123/stonks/issues).
  • Mods that have Stonks integration might need to be updated to use the new API. Legacy API will be around until 2.2.0.

## Stonks got a new banner!
I hope to finish the new icon design soon, as the previous design doesn't have a good contrast between the white arrow and bright background.

# Changes related to code and API
## Removal of references to Nahara Modkit
Stonks now no longer have references to Nahara Modkit. However, Stonks still references to Nahara Toolkit for legacy APIs and the current configuration file format.

## Moving from Nahara Toolkit Tasks to Java Future API
Most methods that returns Task<T> will now be marked for removal. Its Future API counterparts are also provided. For example, to use StonksService#queryAllCategories() but with CompletableFuture, use StonksService#queryAllCategoriesAsync(). Nahara Toolkit Tasks will be removed from Stonks in version 2.2.0.

## Moving from adapter to Economy interface
The new Economy interface should be used over StonksFabricAdapter economy methods, as it supports fixed-point numbers (through the use of long). I hope to move most of the code to use Economy in 2.1.1.

## Replacing construction data string with metadata
The new getProductMetadata() will returns a complex data structure (like JSON or NBT) in the future. Right now, it will always returns DynamicPrimitive with isString() == true, which is basically wrapping around the construction data from user's configuration. In the future, this metadata can be used to gather additional info about the product, like its market floor/ceiling price, as well as buy/sell limit.
Thanks for waiting for Stonks to update to Minecraft 1.20.5! This update fix a critical bug related to loading data, as well as updating Stonks to Minecraft 1.20.5

## Critical bug fix: Data loading
Previously, Stonks will load 1 single entry from stonks.bin and discard the rest. This update fixed that bug by keep reading the file until null version is found.

  • This does not affect data saving.
  • This only affect data loading and can cause data loss.

To avoid further data loss, backup the current stonks.bin file first, then stop server, install this update and start server again. After that, you can merge the data from backed up stonks.bin with the current data. The schema for stonks.bin can be found at the tools/ folder of this reppository (as ImHex pattern file). stonks.bin can be found at saves/<World name>/stonks.bin if you are on integrated server (a.k.a singleplayer), or world/stonks.bin if you are using dedicated server.

## Update to Minecraft 1.20.5
The change mostly involves around item components. The item construction data in config/stonks/config file follows the same format that is used in /give command.

## Further bug fixing
If you encountered any bugs (including critical bugs like the one above), please head over to [Issues page](https://github.com/nahkd123/stonks/issues) of Stonks GitHub repository and report bug there.


The above changelog is copied directly from [this GitHub release page](https://github.com/nahkd123/stonks/releases/tag/v2.0.5%2B1.20.5). All the files attached to this update are generated from GitHub actions.
  • Warning**: This version contains a bug related to data loading part of Stonks. This bug has been fixed in 2.0.5 for Minecraft 1.20.5.

This update include 1 single change: The targeted Minecraft versions is now >=1.20.3. If you don't want to redownload Stonks, consider using [dependency overrides](https://fabricmc.net/wiki/tutorial:dependency_overrides?s[]=dependency&s[]=override) (it will work, I promise).

However, most people don't want to dip their hand into this magical world of JSON editing, so I have to release a new version just to include 1.20.4. I'm truly sorry for your inconvenience.

Welcome back. This update bump the target Minecraft version to 1.20.3, Fabric Loader version to 0.15.0 and Fabric API to 0.91.1.

I expect the mod to work as usual, but if you found a bug, consider report it in https://github.com/nahkd123/stonks/issues.
Welcome back. This new update targets Minecraft Java Edition **1.20.2**, so I do expect some bugs. If you found any, please consider report it in [Issues tracker](https://github.com/nahkd123/stonks/issues).

## What's Changed


See changelog on GitHub: https://github.com/nahkd123/stonks/releases/tag/v2.0.3%2B1.20.2
Thanks for using Stonks! Please update your Stonks for Fabric to this version as it contains a fix that resolves unwanted behavior of in-memory service (IntegratedStonksService to be precise).

## What's Changed (copied from GitHub Release page)
  • IMPORTANT**: Add missing break to instantOffer() method in StonksMemoryService
  • Add additional check to StonksFabricHelper.instantOffer()
  • Fix null display stack on products with unknown construction data

See changelog on GitHub: https://github.com/nahkd123/stonks/releases/tag/v2.0.2%2B1.20.1
nahkd's Stonks Icon
Download nahkd's Stonks
Select game version
Select platform