themode
36d548ff35
Improve redirection match
2021-03-17 01:52:55 +01:00
themode
a8bb20fca6
Fix node index query
2021-03-15 12:56:05 +01:00
themode
78e12879b4
Fix redirection when the player doesn't have access to a command
2021-03-15 09:05:02 +01:00
themode
3c7a96dc4a
Initial command redirection improvement
2021-03-15 09:01:29 +01:00
themode
1f7558c753
Deprecate CommandProcessor further, added SimpleCommand as a replacement
2021-03-11 03:02:13 +01:00
themode
441cb5a1db
Initial command suggestion commit
2021-03-09 01:44:01 +01:00
themode
732fa0434a
Properly return the command result UNKNOWN
2021-02-22 11:26:16 +01:00
themode
99be06f571
Revert to check shared command arguments
2021-02-20 19:18:28 +01:00
themode
bd840a868f
Improve optional argument support & client-side brigadier suggestion
2021-02-20 13:10:12 +01:00
themode
a419d7eb3f
Add subcommand support for fast parsing & proper separation between logics
2021-02-20 08:59:15 +01:00
themode
df2ee23a7c
ArgumentLoop cleanup
2021-02-13 08:43:38 +01:00
themode
efd2dbc021
Fix command argument sharing
2021-02-12 04:34:37 +01:00
themode
84da72d798
Fix command aliases + cleanup
2021-02-12 00:00:44 +01:00
themode
f0105d7058
Added WIP ArgumentLoop (no parsing yet)
2021-02-11 20:36:02 +01:00
themode
f639ac83f7
Rewrite of the command nodes creation
2021-02-11 06:37:09 +01:00
themode
ab9ddebfea
WIP ArgumentGroup nodes, renamed NodeMaker#addNodes
2021-02-11 05:08:49 +01:00
themode
053ef06ee1
Cleanup (moved some packet methods to DeclareCommandsPacket) and added CommandResult#getInput
2021-02-11 03:00:13 +01:00
themode
1a2fd4f743
Added NodeMaker + ArgumentCommand
2021-02-11 02:51:42 +01:00
themode
779490064e
Root node should be at index 0 (to facilitate the future ArgumentCommand)
2021-02-11 00:58:10 +01:00
themode
9fc10bc051
Added CommandResult & moved ParsedCommand
2021-02-11 00:04:42 +01:00
LeoDog896
7854602a04
Remove unnecessary toNodes wrapper
2021-02-09 13:21:25 -05:00
LeoDog896
becd876dcd
Put getNumberProperties into Number arg
2021-02-09 10:58:27 -05:00
LeoDog896
79ec9e6569
Add null checks for aliases
2021-02-09 09:26:53 -05:00
LeoDog896
3d74e74b9e
Use redirection for aliases instead of repetition
2021-02-09 09:25:18 -05:00
LeoDog896
f20d8941a5
Put simpleArgumentNode into Argument
2021-02-08 21:03:55 -05:00
LeoDog896
8d7cce3044
Use collections for the correct situations
2021-02-08 19:11:47 -05:00
LeoDog896
f300d60411
Prefer primitives over list
2021-02-08 18:33:01 -05:00
LeoDog896
4379f4b1e1
Outsource node building to other classes
2021-02-08 18:25:10 -05:00
themode
04c792c302
Fix javadoc
2021-02-08 04:10:43 +01:00
themode
004b4563c2
Replace NbtCompound to CommandData
2021-02-08 04:08:22 +01:00
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