Commit Graph
15 Commits
Author SHA1 Message Date
Snowiiii 12ab2c7298 Clippy: warn clippy::pedantic 2024-10-21 15:07:05 +02:00
Snowiiii 75e7b0a8e8 tokio: Support RCON 2024-10-19 18:12:06 +02:00
Snowiiii 2287564973 Merge branch 'master' into tokio 2024-10-19 17:52:33 +02:00
Snowiiii 5ac45b0ed5 Support parsing players out of commands and custom error messages 2024-10-18 20:30:14 +02:00
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