Skip to content

MEDVEDx64/FunkyStore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6924d61 · Jan 10, 2022
Aug 16, 2017
Aug 29, 2017
Jan 30, 2015
Jan 10, 2022
Sep 25, 2015
Jan 6, 2022
Jan 10, 2022
Jan 10, 2022
Jan 9, 2022
Jan 10, 2022
Dec 31, 2014
Oct 24, 2017
Jan 5, 2022

Repository files navigation

FunkyStore


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.

Requirements

  • Python 2.7
  • Vanilla Minecraft >= 1.18 server with configured RCON
  • MongoDB and pymongo
  • PyYaml
  • pymclevel and it's dependencies
  • MCRcon (checkout to 149b9c1)

Getting it working

  • Copy config_default.py to config.py and edit it;
  • Run ./first_run.py;
  • Set up ./funky.py to run as a system service or run it directly.

Becoming an administrator

  • 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"}})

Markerplace definition example

Marketplaces has no implementation in FunkyStore's admin console and have to be pushed into markets collection manually. See an example.

Releases

No releases published

Packages

No packages published