{bbname}

搬砖狐 | 夜航星 发表于 2025-8-10 18:36:31

nahkds Stonks (nahkd的股票)-MOD模组

nahkds Stonks (nahkd的股票)Github |相关wiki |源站链接支持: fabric服务器端全球市场模组,适用于你的服务器!https://i.sodamc.com/modrinth/0AsZkcW6YA.jpg

什么是Stonks?

Stonks是一个服务器端模组,添加了全球市场,玩家可以创建购买/出售订单,其他玩家可以即时购买或出售以获取快速金钱(简而言之:就像Hypixel Skyblock的市场)。

设置Stonks时,请查看本页面底部的*重要说明*。

https://cdn-raw.modrinth.com/data/sUBS64LI/images/6b96b3c644cb42692857e681a3fc7cfce6279b1c.png]https://cdn-raw.modrinth.com/data/sUBS64LI/images/6b96b3c644cb42692857e681a3fc7cfce6279b1c.png

Stonks有何特点?

- 完全在服务器端!您的玩家不需要安装此模组;他们可以使用“/market”命令打开菜单。- 与服务器上的任何人进行交易:下订单并等待,或者立即从其他玩家那里购买东西,如果您等不及的话。- 好吧,我真的不知道Stonks除了是“家里的Hypixel Skyblock市场”版本之外还有什么特别之处。

重要说明

- Stonks没有进行进一步设置的情况下无法正常工作。请查看[配置指南](链接)获取更多信息。我的意思是,您不必这样做,但它只能部分工作(例如,缺少经济系统)。- Stonks默认不带有经济系统,但支持使用vanilla记分牌(`/scoreboard`命令)和Patbox的通用经济API。

    如果您没有兼容的经济系统,您可以通过在Stonks配置中添加`useAdapter stonks.fabric.adapter.provided.ScoreboardEconomyAdapter`来使用记分牌作为经济系统,配置文件位于`config/stonks/`文件夹中。

    如果您有一个经济系统,您仍然需要添加适配器,例如`useAdapter stonks.fabric.adapter.provided.CommonEconomyAdapter`。一些适配器(包括`CommonEconomyAdapter`在内)需要额外的配置。请查看[此文档](链接)获取更多信息。

- 配置只能通过重新启动服务器来重新加载。幸运的是,您可以在单人游戏世界中加载Stonks,并且可以通过重新加入您的世界来重新加载配置。

许可证

MIT许可证。有关更多信息,请查看存储库中的“LICENSE”文件。

截图:

https://i.sodamc.com/modrinth/q2Hd7yjgbZ.jpg?x-oss-process=style/forge2]https://i.sodamc.com/modrinth/q2Hd7yjgbZ.jpg?x-oss-process=style/forge2https://i.sodamc.com/modrinth/CyOY0drk6G.jpg?x-oss-process=style/forge2]https://i.sodamc.com/modrinth/CyOY0drk6G.jpg?x-oss-process=style/forge2https://i.sodamc.com/modrinth/6T12oXds1m.jpg?x-oss-process=style/forge2]https://i.sodamc.com/modrinth/6T12oXds1m.jpg?x-oss-process=style/forge2

来自Modrinth所有游戏版本1.21.61.21.71.21.81.21.51.21.41.21.21.21.31.211.21.11.20.51.20.61.20.31.20.4-rc11.20.41.20.21.20.1所有类型fabricnahkd\'s Stonks 2.1.4+1.21.6stonks-fabric-2.1.4+1.21.6.jar下载2.1.4+1.21.6#Releasestonks-fabric-2.1.4+1.21.6-sources.jar下载2.1.4+1.21.6#Release**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 (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? (https://github.com/nahkd123/stonks/issues/71) to determine the future of server-side Stonks UI.## What\'s Changed* Java Edition 1.21.6 by @nahkd123 in https://github.com/nahkd123/stonks/pull/70**Full Changelog**: https://github.com/nahkd123/stonks/compare/v2.1.3+1.21.5...v2.1.4+1.21.6展开版本: 2.1.4+1.21.6支持游戏: 1.21.6, 1.21.7, 1.21.8类型:FabricRelease下载次数: 87nahkd\'s Stonks 2.1.3+1.21.5stonks-fabric-2.1.3+1.21.5.jar下载2.1.3+1.21.5#Releasestonks-fabric-2.1.3+1.21.5-sources.jar下载2.1.3+1.21.5#ReleaseWelcome 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)展开版本: 2.1.3+1.21.5支持游戏: 1.21.5类型:FabricRelease下载次数: 89nahkd\'s Stonks 2.1.2+1.21.4stonks-fabric-2.1.2+1.21.4.jar下载2.1.2+1.21.4#Releasestonks-fabric-2.1.2+1.21.4-sources.jar下载2.1.2+1.21.4#ReleaseThank 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.展开版本: 2.1.2+1.21.4支持游戏: 1.21.4类型:FabricRelease下载次数: 139nahkd\'s Stonks 2.1.1+1.21.2stonks-fabric-2.1.1+1.21.2.jar下载2.1.1+1.21.2#Releasestonks-fabric-2.1.1+1.21.2-sources.jar下载2.1.1+1.21.2#Release## What\'s Changed* Add note for ItemsAdapter by @nahkd123 in https://github.com/nahkd123/stonks/pull/58* Java Edition 1.21.2 by @nahkd123 in https://github.com/nahkd123/stonks/pull/61## Note for item adapter in default configFor 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.2Stonks for Fabric is now updated to Minecraft Java Edition 1.21.2.**Full Changelog**: https://github.com/nahkd123/stonks/compare/v2.1.0+1.21...v2.1.1+1.21.2展开版本: 2.1.1+1.21.2支持游戏: 1.21.2, 1.21.3类型:FabricRelease下载次数: 62nahkd\'s Stonks 2.1.0+1.21stonks-fabric-2.1.0+1.21.jar下载2.1.0+1.21#Releasestonks-fabric-2.1.0+1.21-sources.jar下载2.1.0+1.21#Release**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, (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 ModkitStonks 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 APIMost 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` interfaceThe 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 metadataThe 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.展开版本: 2.1.0+1.21支持游戏: 1.21, 1.21.1类型:FabricRelease下载次数: 840nahkd\'s Stonks 2.0.5+1.20.5stonks-fabric-2.0.5+1.20.5.jar下载2.0.5+1.20.5#Releasestonks-fabric-2.0.5+1.20.5-sources.jar下载2.0.5+1.20.5#ReleaseThanks 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 loadingPreviously, 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.5The 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 fixingIf you encountered any bugs (including critical bugs like the one above), please head over to (https://github.com/nahkd123/stonks/issues) of Stonks GitHub repository and report bug there.---The above changelog is copied directly from (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.展开版本: 2.0.5+1.20.5支持游戏: 1.20.5, 1.20.6类型:FabricRelease下载次数: 124nahkd\'s Stonks 2.0.4+1.20.4stonks-fabric-2.0.4+1.20.4.jar下载2.0.4+1.20.4#Releasestonks-fabric-2.0.4+1.20.4-sources.jar下载2.0.4+1.20.4#Release**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 (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.**Did you know?** Updates are also rolled out on GitHub as well. Check it out: https://github.com/nahkd123/stonks/releases/tag/v2.0.4%2B1.20.4展开版本: 2.0.4+1.20.4支持游戏: 1.20.3, 1.20.4-rc1, 1.20.4类型:FabricRelease下载次数: 141nahkd\'s Stonks 2.0.4+1.20.3stonks-fabric-2.0.4+1.20.3.jar下载2.0.4+1.20.3#Releasestonks-fabric-2.0.4+1.20.3-sources.jar下载2.0.4+1.20.3#ReleaseWelcome 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.展开版本: 2.0.4+1.20.3支持游戏: 1.20.3类型:FabricRelease下载次数: 89nahkd\'s Stonks 2.0.3+1.20.2stonks-fabric-2.0.3+1.20.2.jar下载2.0.3+1.20.2#Releasestonks-fabric-2.0.3+1.20.2-sources.jar下载2.0.3+1.20.2#ReleaseWelcome 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 (https://github.com/nahkd123/stonks/issues).## What\'s Changed* Update to Java Edition 1.20.2 ((https://github.com/nahkd123/stonks/pull/37))* Changed the sign type in input screen to acacia as a temporary fix for \"gray-ish\" text color in input GUIsSee changelog on GitHub: https://github.com/nahkd123/stonks/releases/tag/v2.0.3%2B1.20.2展开版本: 2.0.3+1.20.2支持游戏: 1.20.2类型:FabricRelease下载次数: 107nahkd\'s Stonks 2.0.2+1.20.1stonks-fabric-2.0.2+1.20.1.jar下载2.0.2+1.20.1#Releasestonks-core-2.0.2+1.20.1-sources.jar下载2.0.2+1.20.1#Releasestonks-fabric-2.0.2+1.20.1-sources.jar下载2.0.2+1.20.1#ReleaseThanks 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 dataSee changelog on GitHub: https://github.com/nahkd123/stonks/releases/tag/v2.0.2%2B1.20.1展开版本: 2.0.2+1.20.1支持游戏: 1.20.1类型:FabricRelease下载次数: 558nahkd\'s Stonks 2.0.1+1.20.1stonks-fabric-2.0.1+1.20.1.jar下载2.0.1+1.20.1#ReleaseFirst release on Modrinth, first hotfix on GitHub.GitHub release v2.0.0 can be found (https://github.com/nahkd123/stonks/releases/tag/v2.0.0%2B1.20.1).展开版本: 2.0.1+1.20.1支持游戏: 1.20.1类型:FabricRelease下载次数: 56全部版本

markdown_parsed

文章类型:收录

layui.use([\'form\'], function(){
var form = layui.form;
});

**** Hidden Message ***** nahkds Stonks
页: [1]
查看完整版本: nahkds Stonks (nahkd的股票)-MOD模组