Commit Graph

66 Commits

Author SHA1 Message Date
themode
3c7bbc9d2d Added initial command return support 2021-02-08 03:42:35 +01:00
themode
3e990bb716 Ignore INTERACT_AT packet, remove buggy console prefix 2021-01-24 15:44:18 +01:00
themode
b5a01d6571 Add indicator in the console to display command support 2021-01-21 11:37:54 +01:00
Tyan
855c8af455 Added ExceptionManager for custom exception handling 2021-01-20 11:43:45 +01:00
LeoDog896
3536bdc856 Microoptimization cleanup
Just some small microoptimizations including preferring fastutils, Removing unnecessary checks already dealt with using @NotNull, all since I had extra unplanned free time.
2021-01-15 11:08:11 -05:00
themode
14d0149276 Fix boolean argument 2021-01-11 02:57:18 +01:00
themode
d0bf6d9f0d Improve ArgumentString parsing + add apache commons-text dependency 2021-01-09 03:14:10 +01:00
themode
a6e5dbc60e Fix permission level to use the target selector 2021-01-09 02:20:55 +01:00
themode
ef1afb9cd9 WIP EntityFinder 2021-01-08 23:47:31 +01:00
themode
1c65b36087 Rework of ArgumentCallback to be more robust, allowing to simplify all argument types in order to be used out of the command framework for general parsing.
Also removed magic space string, replaced with constant from commons apache library
2021-01-08 03:07:37 +01:00
themode
cecf6310ca Added Entity#setPose 2020-12-29 00:04:15 +01:00
themode
b9a0a761c4 Fixed CommandManager#execute not throwing NPE 2020-12-15 09:30:09 +01:00
TheMode
ea3021ea69 Console command doesnt need to start with the command prefix
Signed-off-by: TheMode <themode@outlook.fr>
2020-12-09 06:30:15 +01:00
Felix Cravic
cac3c29e41 Added block command argument type 2020-11-27 11:24:32 +01:00
Eoghanmc22
296d645400 Merge branch 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	src/main/java/net/minestom/server/benchmark/BenchmarkManager.java
2020-11-25 11:29:50 -05:00
Felix Cravic
0705ab34ed Allow custom suggestion type with ArgumentDynamicWord 2020-11-22 22:58:14 +01:00
Eoghanmc22
6fd401589c slightly optimize CommandManager 2020-11-20 08:07:09 -05:00
jglrxavpok
0a4bb5ab08 Merge branch 'extensions-v2'
# Conflicts:
#	src/main/java/net/minestom/server/extensions/Extension.java
#	src/main/java/net/minestom/server/extensions/ExtensionManager.java
#	src/main/java/net/minestom/server/extras/selfmodification/MinestomRootClassLoader.java
2020-11-18 09:13:30 +01:00
themode
37a626121b Set the default thread provider thread count to PROCESSORS*2 2020-11-17 02:56:55 +01:00
themode
c755dcfb0c Prevent permanent loop for console commands 2020-11-17 02:43:20 +01:00
themode
da94942bad Created PermissionHandler 2020-11-14 07:06:46 +01:00
themode
1a8baf36f6 Prevent command override using CommandManager 2020-11-14 01:39:51 +01:00
themode
ad357d70fc Added ArgumentRelativeBlockPosition, ArgumentRelativeVec3 and ArgumentRelativeVec2 2020-11-10 23:16:35 +01:00
themode
e583f21b74 Fixed client crashing when pinging with an older client 2020-11-09 03:21:18 +01:00
themode
a574c1fe2a Close the command scanner once stopped 2020-11-07 22:58:19 +01:00
jglrxavpok
d83bec4732 Let users change extension jar after unload, then load it again 2020-11-06 16:03:08 +01:00
themode
9781e380b9 Command syntaxes can now contain a CommandCondition 2020-11-04 04:45:46 +01:00
themode
96dcd0e27f Incredibly hard update to 1.16.4 2020-11-03 02:16:32 +01:00
themode
1c6070a1b2 Added an unknown command callback 2020-11-02 04:13:43 +01:00
themode
57e33c63a0 Allowing shared arguments being instanced multiple times 2020-10-28 01:14:05 +01:00
themode
d49ddc52b6 Nodes in command can now be shared with each other 2020-10-28 01:02:12 +01:00
themode
cb28fdc208 Annotations for data & command 2020-10-24 16:58:27 +02:00
themode
3cb880cf80 General cleanup 2020-10-22 12:55:53 +02:00
themode
6217280466 Added ArgumentNbtCompoundTag and ArgumentNbtTag 2020-10-17 08:18:52 +02:00
themode
512b30e9df Added ArgumentItemStack 2020-10-16 14:31:15 +02:00
themode
660a67e53e English fix 2020-10-15 21:16:31 +02:00
themode
50326b676c Added PotionEffect 2020-10-15 05:29:48 +02:00
themode
0e5831cdc3 Cleanup + typo fix 2020-10-13 12:49:29 +02:00
themode
cbe2a0b71e Comments 2020-10-12 02:56:30 +02:00
themode
5f7261cd6e Comments 2020-10-11 18:35:32 +02:00
Articdive
29c6d92bdc
Final for enums and some annotations. 2020-09-29 21:45:16 +02:00
Articdive
856d328668
Small optimizations. 2020-08-08 13:41:25 +02:00
Felix Cravic
981d247f02 Fixed CommandProcessor commands, allow to disable writing tracking 2020-08-04 06:28:21 +02:00
Felix Cravic
aecf0f427a Added dynamic arguments for Command (allow for server tab completion) 2020-08-04 06:14:42 +02:00
Felix Cravic
baccc36ed7 Allow ask_server tab complete for CommandProcessor 2020-08-04 04:21:11 +02:00
Felix Cravic
c74ce2752c Cleanup 2020-08-03 10:35:46 +02:00
Felix Cravic
dfa4cb8b37 Cleanup + comments 2020-08-03 06:36:42 +02:00
Articdive
4b47245c90
Improve ArgumentNumber. 2020-08-01 07:35:16 +02:00
Felix Cravic
5c1e6e7572 Cleanup 2020-07-23 07:36:49 +02:00
Felix Cravic
189376f951 Cleanup + javadoc comments 2020-07-21 18:48:15 +02:00