2022-06-01 22:30:34 +00:00
|
|
|
# cla66ic
|
|
|
|
|
2022-06-03 12:36:34 +00:00
|
|
|
## sucessor of cla55ic
|
2022-06-01 22:30:34 +00:00
|
|
|
|
|
|
|
### features:
|
2022-06-03 12:36:34 +00:00
|
|
|
|
2022-06-01 22:30:34 +00:00
|
|
|
1. written in typescript (types and shit)
|
|
|
|
2. entierly cloud based (meaning you can host it anywhere)
|
|
|
|
3. extremely extensive plugin system
|
|
|
|
4. solid implementation of sockets in deno and how to patch them together
|
2024-04-28 15:36:36 +00:00
|
|
|
5. Bun!! It's not node, and a classic server
|
|
|
|
6. very fast
|
2022-06-01 22:30:34 +00:00
|
|
|
|
2024-04-28 15:36:36 +00:00
|
|
|
### setup tutorial
|
2022-06-03 12:36:34 +00:00
|
|
|
|
2024-04-28 12:32:04 +00:00
|
|
|
1. configure .env file to look something like
|
2022-06-03 12:36:34 +00:00
|
|
|
|
2022-06-01 22:30:34 +00:00
|
|
|
```
|
|
|
|
PORT=6969
|
|
|
|
HASH=RandomHashIlIke
|
|
|
|
OPS=["Me"]
|
|
|
|
ONLINEMODE=true
|
2022-07-14 13:26:27 +00:00
|
|
|
MAIN=main
|
2024-04-28 15:36:36 +00:00
|
|
|
HOST=0.0.0.0
|
2022-06-01 22:30:34 +00:00
|
|
|
```
|
|
|
|
|
2022-06-03 12:36:34 +00:00
|
|
|
NOTE: if you are running inside of a cloud provider, just set these as your
|
|
|
|
environment variables
|
|
|
|
|
2024-04-28 15:36:36 +00:00
|
|
|
2. install bun
|
|
|
|
3. run `bun index.ts`
|
2022-06-03 12:36:34 +00:00
|
|
|
|
2022-06-01 22:30:34 +00:00
|
|
|
### insipration taken from:
|
2022-06-03 12:36:34 +00:00
|
|
|
|
2022-07-10 14:30:26 +00:00
|
|
|
1. https://github.com/Patbox/Cobblestone-Classic (some protocol information and
|
2022-06-03 12:36:34 +00:00
|
|
|
worldhandling)
|
2022-07-10 14:30:26 +00:00
|
|
|
2. cla55ic (world data too)
|
2022-06-01 22:30:34 +00:00
|
|
|
|
|
|
|
### issues:
|
2022-06-03 12:36:34 +00:00
|
|
|
|
2024-04-28 15:36:36 +00:00
|
|
|
1. ~~Properly queue up map saves instead of just blantantly saving whenever
|
|
|
|
possible~~ it now saves to disk, IO is very fast and shouldn't cause issues anymore
|
|
|
|
2. ~~massive performance issues, running more than 100 something accounts makes
|
|
|
|
the server instead insane amounts of cpu (most likely multithreading needed)~~ the server is now async so it's way quicker (untested)
|
2022-07-10 14:30:26 +00:00
|
|
|
3. no cpe support! i want to get all of the above issues fixed before
|
2022-06-03 12:36:34 +00:00
|
|
|
implementing CPE support
|
2022-07-10 14:54:16 +00:00
|
|
|
4. no IP cooldown connections (no block cooldown either), no anticheat
|
2022-07-10 14:30:26 +00:00
|
|
|
5. proper rank support (implemented as plugin)
|
|
|
|
6. no discord bridge (implemented as plugin)
|
|
|
|
7. no cla66ic/plugins repository
|