Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
nahkd's Stonks

nahkd's Stonks

Server-side global market for your server.

2,138
19
Economy
Utility

Compatibility

Minecraft: Java Edition

1.21.x
1.20.1–1.20.6

Platforms

Fabric

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Visit wiki

Creators

nahkd123
nahkd123 Owner

Details

Licensed MIT
Published last year
Updated last week
DescriptionGalleryChangelogVersions
All versionsnahkd's Stonks 2.1.0+1.21

nahkd's Stonks 2.1.0+1.21

Download
Report

Changelog

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.
  • 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.

Dependencies

dependency-iconFabric APIrequired

Files

stonks-fabric-2.1.0+1.21.jar(322.7 KiB) Primary
Download
stonks-fabric-2.1.0+1.21-sources.jar(103.06 KiB)
Download

Metadata

Release channel

Release

Version number

2.1.0+1.21

Loaders

Fabric

Game versions

1.21–1.21.1

Downloads

801

Publication date

June 14, 2024 at 6:28 AM

Publisher

nahkd123

nahkd123

Owner

Version ID

Modrinth is open source.

main@396f737

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.