No description
Find a file
2021-04-06 19:22:55 -07:00
include HTML fix 2021-04-06 12:23:39 -07:00
third_party added drogon 2021-04-02 01:28:19 -07:00
.gitignore updated .gitignore 2021-04-01 18:58:55 -07:00
.gitmodules added drogon 2021-04-02 01:28:19 -07:00
CMakeLists.txt got web framework working 2021-04-04 21:04:05 -07:00
main.cpp 🐎 enabled multi-threading for debugging 2021-04-04 22:01:47 -07:00
README.md made connected services more specific 2021-04-06 19:22:55 -07:00

CCash-2.0 [INCOMPLETE]

A complete simplification and improvement to the CCash project. A webserver hosting a bank system for Minecraft, able to be used from web browser or from CC/OC if you're playing modded.

Build

git clone --recurse-submodule https://github.com/EntireTwix/CCash-2.0/
mkdir build
cd build
cmake ..
make -j<threads>
sudo ./bank <admin password> <saving frequency in minutes> <threads>

Dependencies

Features

Performance

  • NOT written in Lua
  • written in C++, arguably the fastest language
  • multi-threaded
  • parallel hashmaps a far superior HashMap implementation to the STD, that also benefit from multi-threaded

Safety

  • Tamper Proof relative to an in-game implementation
  • Auto-Saving, Saves on crash, Saves on close
  • OpenSSL (HTTPS)

Accessibility

  • Web front-end
  • RESTful API for connected services like a market, gambling, or anything else you can think of
  • able to be used millions of blocks away, across dimensions, servers, vanilla or modded. In contrast to an in-game modded implementation that would be range limited.

Connected Services

Go to {ip}/BankF/help to see the bank's methods. Using the Bank's API allows (you/others) to (make/use) connected services that utilize the bank, a couple ideas are

  • a Market
  • Gambling
  • Shipping
  • a Leaderboard ranking player's balances
  • High-level bank operations such as loans
  • Some trust based system for transactions similiar to Paypal

**WARNING** : abruptly killing the program will result in data loss, use Close() method to close safely