Noel Németh
|
0e7630322f
|
Update
|
2022-07-14 00:55:19 +02:00 |
Noel Németh
|
be0c7172fa
|
Update args
|
2022-07-08 20:42:41 +02:00 |
Noel Németh
|
4284e059cb
|
Cleanup old parser
|
2022-07-07 23:21:14 +02:00 |
Noel Németh
|
07a6b9b6a4
|
Parser mostly done, see todos, arg rework needed
|
2022-07-07 16:30:04 +02:00 |
TheMode
|
d316290ab8
|
Command test (#597)
|
2022-01-23 23:30:57 +01:00 |
TheMode
|
987e355a70
|
Cleanup basic command parsing
|
2021-08-19 09:06:24 +02:00 |
TheMode
|
e635e29a16
|
Replace guava cache to caffeine
|
2021-06-20 22:32:06 +02:00 |
TheMode
|
88dba380f9
|
Remove apache common text dependency
|
2021-05-15 08:31:24 +02:00 |
TheMode
|
20c947650f
|
Clear command cache after unregistering a command
|
2021-04-12 22:45:45 +02:00 |
themode
|
45d3b7158c
|
Use a Supplier in Argument#setDefaultValue, fix all-optional syntaxes missing arguments
|
2021-03-30 20:29:50 +02:00 |
themode
|
f449201033
|
Remove the need for the command string in ParsedCommand
|
2021-03-17 05:06:09 +01:00 |
themode
|
3c7a96dc4a
|
Initial command redirection improvement
|
2021-03-15 09:01:29 +01:00 |
themode
|
a47bf24034
|
Added support for empty syntax
|
2021-03-12 22:10:03 +01:00 |
themode
|
7cfa07f2e0
|
Support CommandContext for normal syntaxes
|
2021-03-10 20:19:29 +01:00 |
themode
|
eb56324e8b
|
Added suggestion support for subcommands
|
2021-03-10 19:14:24 +01:00 |
themode
|
67b3b37813
|
Replace Arguments by CommandContext
|
2021-03-10 06:38:51 +01:00 |
themode
|
bca2434cff
|
Command parsing cleanup + preparation for suggestion & advanced caching
|
2021-03-10 01:21:33 +01:00 |
themode
|
b0185aa7e1
|
Cache command result, increases performance by an order of magnitude
|
2021-02-22 11:49:28 +01:00 |
themode
|
b4508692a5
|
Fix situation where no command executor is chosen when there is ambiguity. Also fix subcommand default executor not being used as backup
|
2021-02-22 09:42:48 +01:00 |
themode
|
a419d7eb3f
|
Add subcommand support for fast parsing & proper separation between logics
|
2021-02-20 08:59:15 +01:00 |
themode
|
1d64cafcf2
|
Move some CommandDispatcher methods
|
2021-02-13 00:34:25 +01:00 |
themode
|
c9ab710be2
|
Fix argument callback being overridden
|
2021-02-12 05:24:40 +01:00 |
themode
|
b34b490504
|
Added ArgumentGroup parsing, WIP nodes
|
2021-02-11 04:47:48 +01:00 |
themode
|
e9d91fd21e
|
Separate the dispatcher from the parsing algorithm
|
2021-02-11 04:18:19 +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
|
601ee71744
|
Fix invalid argument being considered as "successful" execution
|
2021-02-11 01:45:35 +01:00 |
themode
|
dffb90e1b4
|
Fix CommandDispatcher#findCommandResult never returning null, + cleanup
|
2021-02-11 00:33:55 +01:00 |
themode
|
eda821c3d8
|
Cleanup + don't verify player name in ArgumentEntity
|
2021-02-11 00:25:38 +01:00 |
themode
|
9fc10bc051
|
Added CommandResult & moved ParsedCommand
|
2021-02-11 00:04:42 +01:00 |
LeoDog896
|
2330cb7037
|
And declare it as a set
|
2021-02-09 18:27:41 -05:00 |
LeoDog896
|
c4e6d18ee4
|
Get commands from appropiate set
|
2021-02-09 18:26:26 -05:00 |
LeoDog896
|
3f5fe7bbd9
|
Revert command set removal
|
2021-02-09 18:24:23 -05:00 |
LeoDog896
|
de5e8e3e67
|
Cleanup
|
2021-02-09 12:24:50 -05:00 |
LeoDog896
|
bedc91427e
|
Remove repetitive Set
The Map of commands already stores 2 lists, and making another one for the sake of it actually decreases readability.
|
2021-02-09 10:40:04 -05:00 |
LeoDog896
|
b770710e0d
|
Redo argsValues
(Until / if theres a better solution)
|
2021-02-08 20:59:46 -05:00 |
LeoDog896
|
7705c03500
|
Use Array for validation
Unless something goes absolutely terribly and in fact void wrong the ArgumentValidation should be fine.
|
2021-02-08 19:33:56 -05: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 |
LeoDog896
|
fec05d6838
|
More fastutil usages
|
2021-01-15 16:04:57 -05:00 |
LeoDog896
|
3514547610
|
Fix isEmpty check in ColoredText
|
2021-01-15 13:26:12 -05:00 |
themode
|
d7fec0297f
|
Fix argument callback with 0 correct argument
|
2021-01-11 01:54:59 +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
|
2634105ad1
|
ArgumentWord restrictions should be part of the correction instead of the condition
|
2021-01-05 21:54:17 +01:00 |
themode
|
4bf120b714
|
Added support for command syntaxes with optional arguments (default values)
|
2021-01-01 23:36:53 +01:00 |
themode
|
b9a0a761c4
|
Fixed CommandManager#execute not throwing NPE
|
2020-12-15 09:30:09 +01:00 |
Felix Cravic
|
5e85c0117a
|
Cleanup
|
2020-12-12 06:13:50 +01:00 |
Felix Cravic
|
431d20ef73
|
Fixed syntax starting with an unspecified length argument
|
2020-11-26 00:57:01 +01:00 |
Felix Cravic
|
7bbb095156
|
Fixed Player#setInstance not refreshing chunks when already in an instance
|
2020-11-24 22:56:12 +01: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 |