kralverde
7347bae275
make commands async ( #179 )
2024-10-25 11:36:55 +02:00
Snowiiii
b8b4a8ce8d
Make CommandSender not mut
2024-10-22 14:02:49 +02:00
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
2945a6542e
Fix: Gamemode messages
...
Do not send them to target, send them to sender
2024-10-19 10:57:11 +02:00
Snowiiii
5ac45b0ed5
Support parsing players out of commands and custom error messages
2024-10-18 20:30:14 +02:00
didli789
bd1d1ebfe7
code formatting
2024-10-18 14:38:15 +03:00
didli789
e6c6e7b10b
/kick
2024-10-18 14:22:07 +03:00
Snowiiii
f970c4bc12
Minior Code cleanups
2024-10-14 12:01:35 +02:00
Alexander Medvedev
4967e9aa37
New clipps lints
2024-10-08 20:02:56 +01:00
Alerty2
f15db29d29
adds the /kill command
2024-09-30 20:50:00 +02:00
Alerty2
100f313c49
adds the /kill command
2024-09-29 17:15:10 +02:00
Snowiiii
c8fee9b23c
Try to solve Pumpkin's locking problem
2024-09-09 21:12:49 +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
Edvin Bryntesson
33a5a10f34
Merge branch 'master' into master
2024-09-07 20:42:52 +02:00
Snowiiii
870059a317
Added Help command back
...
I just was to lazy and wanted to get it working fast, Now help is back
2024-09-07 20:32:28 +02:00
Snowiiii
3d14e1310b
Command system rewrite
...
Note: Help commands is currently disabled
2024-09-07 20:26:19 +02:00
Edvin Bryntesson
909943bb5d
add development command for opening a global enderchest
2024-08-31 11:59:03 +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
Snowiiii
c7f15dee3d
Refactor Client
2024-08-24 14:51:43 +02:00
Alexander Medvedev
f920f31a81
Fix: Clippy warn
...
upsi
2024-08-21 20:16:42 +01:00
Alexander Medvedev
caa6a7088b
Also pretty commands for RCON
2024-08-21 20:12:14 +01:00
Alexander Medvedev
13206d58d9
Add Console Colors & Styles
2024-08-21 20:08:14 +01:00
Alexander Medvedev
bda7a1a50c
Merge pull request #48 from user622628252416/master
...
Add prettier CommandTree formatting for help command and usage hint
2024-08-21 18:38:08 +01:00
user622628252416
5041b441eb
add prettier CommandTree formatting for help command and usage hint
2024-08-21 17:59:54 +02:00
lukas0008
8eb894ef13
Create pumpkin-core, and move pumpkin-text
2024-08-21 16:12:09 +02:00
user622628252416
92e6d264b4
format code
2024-08-20 17:01:25 +02:00
user622628252416
4bc1f7b0b2
fix clippy lints
2024-08-20 16:32:39 +02:00
user622628252416
3ec539d418
resolve merge conflicts
2024-08-20 12:38:54 +02:00
user622628252416
d221f8900f
add documentation
2024-08-20 12:09:25 +02:00
Snowiiii
a6d9ed216d
Use Cow's in TextComponent
...
We now don't always convert &str to Strings allowing us to use stack allocations
2024-08-19 20:05:18 +02:00
user622628252416
bfb3840b94
add help command
2024-08-19 19:55:50 +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
lukas0008
96b86f1e9b
Add a stop command
...
Note that this command does not stop gracefully for now
2024-08-13 23:25:11 +02:00
Snowiiii
414cf3190c
Added RCON support
2024-08-10 23:53:32 +02:00
Snowiiii
f122b47e50
Create pumpkin-text
2024-08-09 10:41:10 +02:00
Snowiiii
5f3a4d34d1
Expand TextComponent
2024-08-09 00:48:19 +02:00
Snowiiii
fe8cd334e1
Add Chat support
2024-08-08 11:27:09 +02:00
lukas0008
2fd8686fea
todo to TODO
2024-08-07 20:33:51 +02:00
Snowiiii
32569bafe5
Add Multiplayer support
2024-08-06 16:19:03 +02:00
Snowiiii
1e114c008e
Add Game mode Command
2024-08-05 23:11:40 +02:00
Snowiiii
ebda64b2c7
Support Commands in Server Console
2024-08-05 14:00:40 +02:00
Snowiiii
c54ab006ae
Add Commands
2024-08-05 10:56:57 +02:00