Skip to content
This repository was archived by the owner on Jun 18, 2026. It is now read-only.

phomc/stonks

Repository files navigation

Stonks (Fabric Port)

nahkd porting Stonks as Fabric server mod.

Links

Using database service backend

By default, Stonks (this Fabric port ofc) will use memory-based service, which means all the market data will be cleared when you stop the server. To keep the data, you can configure a database service backend using envvar:

STONKS_DATABASE="type=mongodb;host=localhost:27017;database=veryCoolDatabaseName;collection=marketData" java -jar server.jar

MongoDB service backend

Stonks currently only support MongoDB. Here are fields that you can use in envvar:

  • type=mongodb: Use MongoDB as service backend
  • host=<host>[:port], default is localhost: Host (and port) of the database. You can use connection string in here, but symbols like = might confuse Stonks when parsing the string.
  • database=<name>: Name of the database
  • collection=<name>, default is stonks_offers: The collection that will stores all offers from players.

About

Stocks market for that one popular block game. Fabric port of MangoPlex Stonks.

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages