added a framework, parsed chat, added player list, added registry, added tabcomplete, and made the config toml

This commit is contained in:
Parker2991
2025-12-10 11:39:06 -06:00
parent 83533cef46
commit aee503525e
24 changed files with 552 additions and 145 deletions
+4
View File
@@ -0,0 +1,4 @@
export default function entityUUID (uuid: any) {
// taken from https://gist.github.com/storycraft/7813dd0186e85daa393e1df9cfa19f2a
return uuid.replace(/-/g, '').match(/.{8}/g).map((str: any) => Number.parseInt(str, 16)).map((num: any) => Number.parseInt(num & 0x80000000 ? num - 0xffffffff - 1 : num))
}