This commit is contained in:
EntireTwix 2021-07-21 23:32:02 -07:00
parent 613123ba64
commit 212bfc7ce9
2 changed files with 7 additions and 7 deletions

View file

@ -12,7 +12,7 @@ the aim of any of these services being to provide some kind of functionality tha
if you want to browse the currently available services, check out [existing_services.md](../existing_services.md)
to make a connected service yourself you can do so by using one of the [langauge specific APIs](APIs.md), the way they work is by providing a clean in langauge way to interface with the CCash instance
to make a connected service yourself you can do so by using one of the [langauge specific APIs](APIs.md), the way they work is by providing a clean in-langauge way to interface with the CCash instance
![image](connected_c.png)

View file

@ -2,9 +2,9 @@
CCash is an external ledger for in-game economies, running on a webserver with a RESTful API, exceptionally fast and lightweight written in C++.
While CCash can be used for anything that can interact with its API I think minecraft is a good example:
While CCash can be used for anything that can interact with its API I think minecraft is a good example.
the currency model most Minecraft Servers adopt if any, is resource based, usually diamonds, this model is fraught with issues however:
The currency model most Minecraft Servers adopt if any, is resource based, usually diamonds, this model is fraught with issues however:
* the primary issue is minecraft worlds are infinite leading to hyper inflation as everyone accrues more diamonds
* there is no central authority minting the currency, any consumer can introduce more diamonds to the system
@ -12,9 +12,9 @@ the currency model most Minecraft Servers adopt if any, is resource based, usual
* locality is required for transaction
* theft is possible, ownership is possession based
CCash solves these issues and adds a level of abstraction, the main philosophy of CCash is to have fast core operations that other services build on
CCash solves these issues and adds a level of abstraction, the main philosophy of CCash is to have fast core operations that other services build on.
the CCash instance can be external to the game server
The CCash instance can be external to the game server.
![image](external_diagram.png)
@ -22,8 +22,8 @@ or on localhost:
![image](localhost_diagram.png)
running it local to the game server reduces latency for ComputerCraft connected services, fortunately CCash is sufficiently lightweight as to not impact performance on most setups.
Running it local to the game server reduces latency for ComputerCraft connected services, fortunately CCash is sufficiently lightweight as to not impact performance on most setups.
**DISCLAIMER: if you are to run it locally and want to use ComputerCraft with it, make sure to add `127.0.0.1` to ComputerCraft's config section `allowed_domains`**
as CCash is just a means of keeping track of who has what, the economic system you use is self decided, ideally an admin should manage the instance to lower incentive to manipulate as they concievably already have supreme power over the given game.
As CCash is just a means of keeping track of who has what, the economic system you use is self decided, ideally an admin should manage the instance to lower incentive to manipulate, as they concievably already have supreme power over the given game.