Commit Graph

11 Commits

Author SHA1 Message Date
Snowiiii
f74f77a1f0 Add tokio 2024-10-17 18:59:51 +02:00
Snowiiii
f970c4bc12 Minior Code cleanups 2024-10-14 12:01:35 +02:00
lukas0008
fa114e7e23 Cleanup Server struct
This cleanup's goal is to make all `Server` functions only require &self. This means that `Server` can now be a `Arc<Server>` instead of `Arc<Mutex<Server>>`, which solves a lot of deadlock problems.
2024-09-08 17:44:09 +02:00
Snowiiii
3d14e1310b Command system rewrite
Note: Help commands is currently disabled
2024-09-07 20:26:19 +02:00
Snowiiii
83aad86005 Made everything thread safe
- Also improved gamemode command
- We now can use Server in commands
2024-08-25 13:20:49 +02:00
user622628252416
ab8956a7b5 remove repeating command aliases in /help 2024-08-21 19:27:20 +02:00
user622628252416
5041b441eb add prettier CommandTree formatting for help command and usage hint 2024-08-21 17:59:54 +02:00
user622628252416
92e6d264b4 format code 2024-08-20 17:01:25 +02:00
user622628252416
d221f8900f add documentation 2024-08-20 12:09:25 +02:00
user622628252416
40b2fdc45f add command usage hint after syntax error 2024-08-19 18:33:06 +02:00
user622628252416
943f8fcd4c add tree-style command parsing utilities, heavily inspired by Mojang's Brigadier and adjust existing commands to use them 2024-08-19 00:31:24 +02:00