Disclaimer. This stuff may not be suitable for you, because it is initially were written for my own Minecraft server. It is quite possible that you will need to edit the code to fit your server setup.
Disclaimer #2. FunkyStore may become a reason of your Minecraft server crash.
Disclaimer #3. The code is BAD, please, never write web applications that way.
This is an online in-game item store for vanilla Minecraft servers. It is NOT about real money, there are an internal pseudo-currency called Funks is used to buy things.
- Python 2.7
- Vanilla Minecraft >= 1.18 server with configured RCON
- MongoDB and pymongo
- PyYaml
- pymclevel and it's dependencies
- MCRcon (checkout to 149b9c1)
- Copy
config_default.py
toconfig.py
and edit it; - Run
./first_run.py
; - Set up
./funky.py
to run as a system service or run it directly.
- Register an account
- Append "admin" string to "flags" field of your account entry from collection "funky". It can be achieved by executing the following code in mongo console:
db.accounts.update({}, {"$push":{"flags": "admin"}})
Marketplaces has no implementation in FunkyStore's admin console
and have to be pushed into markets
collection manually. See an example.