Commit Graph

1343 Commits

Author SHA1 Message Date
benwoo1110
bfffc8c94e Fix pageOutOfRange checking. 2021-01-03 00:25:44 +08:00
benwoo1110
6e7328a407 Allow null player for getPlayerAwareDestination. 2021-01-03 00:22:13 +08:00
benwoo1110
617b0b5900 Add displaying of filter for ShowInline. 2021-01-02 23:56:07 +08:00
benwoo1110
e7bcdbe64b Fix null filter string context parsing. 2021-01-02 23:54:01 +08:00
benwoo1110
cdfe317517 Add ability to have custom empty message, and mroe cleanup. 2021-01-02 23:47:59 +08:00
benwoo1110
6987208241 Revamp ContentDisplay with builder. 2021-01-02 23:33:40 +08:00
benwoo1110
e1dc90b65d Improve Condition and context check and messaging. 2021-01-02 21:10:09 +08:00
benwoo1110
fd10eec765 Minor no player message colour change. 2021-01-02 21:09:48 +08:00
benwoo1110
54a2e270a8 Add package info. 2021-01-02 21:09:27 +08:00
benwoo1110
73d1035f84 Fix hasContentToShow checking. 2021-01-02 13:18:25 +08:00
benwoo1110
c874a98bac Minor cleanup to modify command. 2021-01-02 13:18:03 +08:00
benwoo1110
b73a4e552f Who command use ListDisplay. 2021-01-02 13:17:52 +08:00
benwoo1110
cd5a4c69f9 Cleanup modify command, and use KeyValueDisplay for properties. 2021-01-02 12:16:42 +08:00
benwoo1110
9dd9444248 Refactor inline display classes, 2021-01-02 12:16:11 +08:00
benwoo1110
942555f380 Fix a message typo. 2021-01-01 23:28:19 +08:00
benwoo1110
21d775d8a2 Fix tests and typos from previous messaging change. 2021-01-01 17:25:33 +08:00
benwoo1110
fd5e9485e9 Move to use string formatting and some cleanup. 2021-01-01 17:13:00 +08:00
benwoo1110
ebe420be15 Better error handling for getting generator. 2021-01-01 13:58:27 +08:00
benwoo1110
7b3e6ee07d Cleanup across the board. 2020-12-31 17:20:09 +08:00
benwoo1110
808c4ce704 Add docs and minor cleanup. 2020-12-31 16:07:57 +08:00
benwoo1110
04802f2fda Remove useless logging. 2020-12-31 13:50:08 +08:00
benwoo1110
1ffa1ece2d Add docs to contexts and display. More cleanup. 2020-12-31 12:29:27 +08:00
benwoo1110
95cce25453 Add package info and more cleanup. 2020-12-31 12:21:06 +08:00
benwoo1110
d0c280506c Cleanup command queue classes and add docs. 2020-12-31 12:09:43 +08:00
benwoo1110
3b9f1849d7 Cleanup display package and add docs. 2020-12-31 11:39:10 +08:00
benwoo1110
b3517ad9ce getCommandCompletions returns MVCommandCompletions directly. 2020-12-31 11:38:33 +08:00
Ben Woo
d0f6434592
Merge branch 'main' into acf-test 2020-12-31 10:15:25 +08:00
benwoo1110
36e0d34695 Add player name as destination. 2020-12-31 01:03:23 +08:00
benwoo1110
6771bb6c44 Improve download suggestion.
Now shows download link even when extra args like `/mvp more stuff` is entered.
2020-12-30 23:29:07 +08:00
benwoo1110
3962f23691 Fix wrong selfOtherPerm checking. 2020-12-30 16:41:55 +08:00
benwoo1110
ef073b0403 Add ContentFilter to commands, and some cleanup. 2020-12-30 16:31:20 +08:00
benwoo1110
c8432b9b57 Use KeyValueDisplay to show gamerules. 2020-12-30 15:59:12 +08:00
benwoo1110
3f8e514f51 Futher absract content display to add KeyValueDisplay. 2020-12-30 15:37:25 +08:00
benwoo1110
942f8a99ab Refactored PageFisplay to make it more expandable. 2020-12-30 10:58:58 +08:00
benwoo1110
81f6014e94 Add DestinationFactory#getPlayerAwareDestination to parse cannon dest. 2020-12-28 22:06:51 +08:00
benwoo1110
fee822a2fe Add download suggestion for submodules. 2020-12-28 12:19:44 +08:00
benwoo1110
161478f05a Update AND permission checking key. 2020-12-28 11:03:02 +08:00
benwoo1110
e9ec1275fe Split location into individual params for better tab complete. 2020-12-28 10:52:24 +08:00
benwoo1110
fc6415af8c Cleanup some tab-completes. 2020-12-28 10:43:34 +08:00
benwoo1110
e88828f420 Add playerOnly flag to tab-complete suggestions. 2020-12-28 01:04:44 +08:00
benwoo1110
22afd094b2 Add tab complete for scripts. 2020-12-28 00:44:22 +08:00
benwoo1110
8f99d2c560 Fix modify command. 2020-12-28 00:13:40 +08:00
benwoo1110
6b47164726 Add missing description for who command. 2020-12-27 23:56:34 +08:00
benwoo1110
455b04ce8c Add param syntax and description to all command. 2020-12-27 23:40:21 +08:00
benwoo1110
cf05044b13 Remove mvm alias. 2020-12-27 23:07:10 +08:00
benwoo1110
44cbdc3baf Improve help command with better formatting. 2020-12-27 22:37:55 +08:00
benwoo1110
114400e77b Remove unnecessary logging. 2020-12-27 19:42:22 +08:00
benwoo1110
ff5498313b show the property values for mvm list command. 2020-12-26 20:58:43 +08:00
benwoo1110
7198a5a421 Update modify command with SET tab complete. 2020-12-26 20:46:36 +08:00
benwoo1110
793bbe3858 Add api to getAllPropertyTypes. 2020-12-26 20:41:00 +08:00