Skip to content
/ stonks Public

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

License

Notifications You must be signed in to change notification settings

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages