Commit Graph

352 Commits

Author SHA1 Message Date
213cadf093 Import cleanup, ensure gradle uses https for deps, bump deps. 2019-06-13 09:17:00 -04:00
5f037df326 Adding missing permissions
Added some basic permissions to some basic and fawe specific commands.
Since they weren't around previously, they are true by default, however, you can now revoke/negate them.
2019-06-13 00:48:40 +02:00
efb7650d6f Fix some reload issues.
And some unload issues.
2019-06-11 18:02:24 -04:00
3fd661c513 Don't attempt to check unloaded world refs. 2019-06-08 11:25:36 -04:00
229182aa63 Remove CUI and other cleaning 2019-06-06 18:39:51 -04:00
3df2410254 Change chunk loading method.
Behavior of loadChunk changed a lot for the worse in CB 1.14.
2019-06-02 21:56:29 -04:00
1e7c074217 Few misc command fixes. 2019-06-01 09:35:27 -04:00
44ee1546b7 Apparently CB uses this. 2019-05-31 11:48:08 -04:00
6ad274677f Don't require command for CUI init. 2019-05-29 23:15:06 -04:00
ec3648e521 Wrap and unwrap.
Exceptions are fun.
2019-05-29 23:15:05 -04:00
6962b2e7b6 Add comprehensive suggestions to many commands.
All patterns now have suggestions, including recursive patterns.
Suggestions will suggest blocks and block states.
All masks now have suggestions, though mask intersections are not
yet supported due to issues with quotes strings.
EntityRemover and ItemFactory now also have completions, as well
as all RegistryConverters (though I am unsure how many are actually
used).

Also use paper's AsyncTabComplete event, if available.
2019-05-28 22:55:20 -04:00
6bc5b4a823 . 2019-05-29 06:31:22 +10:00
48fb669119 Guard against reloads breaking too much. 2019-05-25 18:11:23 -04:00
7b47d9a945 Add /tracemask. (#474)
Allows setting a mask used for block traces. This allows brush tools to
pass through various materials, such as water (e.g. `/tracemask #solid`
or `/tracemask !air,water`) before starting to build.
By default, a null mask is equivalent to #existing (original behavior).

https://gfycat.com/ImmaculateFrayedCockatiel
2019-05-23 21:12:31 -04:00
b0777f6b06 Use DFUs for some additional data fixing.
Legacy mapper now uses the data fixers to upgrade blocks and item types
(e.g. signs, dyes that changed names in 1.14).
The sponge schematic reader can now attempt to use the data fixers to
upgrade blocks, block entities, biomes and entities. This has been
tested with the 1.13 -> 1.14 changes. It is yet to be seen if it will
continue to work because...
The mc edit schematic reader has code for using data fixers, but it is
currently disabled as there seem to be some issues with fixing up older
block entities.
2019-05-20 16:39:58 -04:00
334d5cfaab The "spawner|mobType" syntax once again makes functional mob spawners.
Also fix block parser context not being restricted.
2019-05-18 10:16:08 -04:00
f9d0d340e7 Add DFUs. Currently used by //restore. 2019-05-13 23:07:53 -04:00
8a3e6a12b9 Implement suggestions for Bukkit + Sponge 2019-05-05 23:06:20 -07:00
ceff17c4f7 Misc fixes.
Closes a few old youtrack issues which I don't remember because I had
like 30 tabs open, and a few other issues which I found while testing
some of those.
2019-05-05 15:15:03 -04:00
d603f45063 remove debug 2019-05-05 22:19:13 +10:00
57c161a602 Actually initialize GameModes and WeatherTypes. 2019-05-02 00:08:19 -04:00
13a8c480e3 Insert Locale.ROOT into all case change methods 2019-05-01 15:24:32 -07:00
7c1764548d Deprecate old system, still in use by WG/CB 2019-04-30 13:53:14 -07:00
3c04a83852 Add nicer error when using player commands as console.
Also fix slash counts for Bukkit.
2019-04-29 17:39:30 -04:00
b3053f19ce Pagination changes and cleanup.
Refactored PaginationBox to be abstract. Implementations can generate individual components as needed now.
Add lots of Component usage to schematic list, help listings, etc.
Fix a few schematic and file resolution issues.
2019-04-28 01:12:05 -04:00
62353a46db Added a pagination box and use it in Biome List and Chunk List 2019-04-27 21:57:45 +10:00
7ff537138a Merge master again 2019-04-26 01:25:42 -07:00
b8c120e0c4 Finish porting commands 2019-04-26 01:18:02 -07:00
31a8328fb5 Add data version to BukkitImplAdapter.
Also throttle unknown-block warning when loading MCEdit schematics.
2019-04-26 16:41:39 +10:00
17fba54305 Update SpongeSchematic format to version 2.
Allows saving and loading entities and biomes.
2019-04-26 16:41:39 +10:00
853bfab022 Merge master, update to texts 2019-04-25 22:11:46 -07:00
f70557e3da Provide a warning when an invalid property is entered rather than failing. Fixes WorldEdit entirely failing on new MC versions. 2019-04-25 22:48:15 +10:00
219321b777 Check before copy 2019-04-24 02:29:25 +10:00
1503ba94a4 Forgot FAWE was already added to lookup names 2019-04-23 23:44:47 +10:00
a523ef8176 Use update folder 2019-04-23 23:31:54 +10:00
02a6caa3ab Don't load dummy twice 2019-04-23 23:30:43 +10:00
1e7b4fc835 Move shaded libraries to their own artifacts 2019-04-20 23:11:39 -07:00
55348346e9 Shade in Kashike's lib 2019-04-19 14:49:29 +10:00
ac03de89cc Work on adding converters for some arguments 2019-04-18 19:11:57 -07:00
37c993be16 Port ClipboardCommands, update to new Key 2019-04-18 12:34:57 -07:00
267ccf2298 First attempt at integrating Piston as the only command system 2019-04-15 01:21:15 -07:00
3e4004ad9e Start work on improving the formatting system. May switch to Kashike's as Bukkit is shit 2019-04-14 19:33:44 +10:00
edde2ebe51 remove debug 2019-04-14 00:07:17 +10:00
110f782a5c Optimize entity get (lazy nbt) 2019-04-14 00:00:38 +10:00
f9f6aead0f Some optimizations for 1.13 2019-04-13 16:44:23 +10:00
ee630b9236 Fixes #106 2019-04-07 01:38:25 +02:00
501992dd20 Fix setPosition 2019-04-06 05:51:18 +11:00
2143b9b5b7 finish block registry 2019-04-05 17:51:42 +11:00
be5541b61b revert some changes 2019-04-05 15:48:41 +11:00
94d5d8df8e Merge branch 'master' into breaking 2019-04-05 15:47:04 +11:00