Skip to content

Instantly share code, notes, and snippets.

View moshaoli688's full-sized avatar

MoShaoLi moshaoli688

View GitHub Profile
@moshaoli688
moshaoli688 / !Extra info.md
Created September 21, 2023 19:40 — forked from HeathLoganCampbell/!Extra info.md
A weekend project to allow minecraft worlds to be saved in a mysql database, mysql worlds. This was done on top of Paper 1.17 on fa53a1a7f

SkyPaper

Uploading and download Minecraft worlds from mysql

The idea was to be able to upload worlds to a database so that we could have multiple servers upload and download them at will to enable load balancing for servers such as skyblock as the demands of scalable 1.17 servers grow while the performance falls version to version.

The important idea here was to see if it was possible to upload worlds to a database, which the answer is yes :D. but this even works better for skyblock servers as they are mostly air, which allowed us to do a small optimization. which is when a chunk is empty, we don't have it, as generating empty chunks is cheap as chips, but storing them has about 500B of overhead. so it ends up taking longer to fetch them from the database, then just generate them.

@moshaoli688
moshaoli688 / windows_and_office_kms_setup.adoc
Created March 15, 2023 14:15 — forked from jerodg/windows_and_office_kms_setup.adoc
Activate Windows and Office Using KMS Server

Microsoft Windows and Office KMS Setup