Commit Graph

172 Commits

Author SHA1 Message Date
74fe88ae01 merge 2019-08-07 01:28:12 +10:00
76b608f90b Fix suggestions on Bukkit for good 2019-07-27 23:31:38 -07:00
0f420f02ff Fix some load-order issues probably.
Edge cases might still exist around plugins which use WE for initial
world-gen, or in general plugins that try to access the platform
before it's ready.
2019-07-27 11:45:21 -04:00
9c3122a227 More work on getting commands to compile 2019-07-21 22:49:08 -04:00
be8213d8ee resolve conflicts 2019-07-18 16:56:57 +10:00
8108d0a936 Major command changes that don't work yet. 2019-07-16 23:44:34 -04:00
a2efdbc488 a1c15e1c39 2019-06-29 03:10:47 +10:00
a1c15e1c39 Many upstream changes. Should be non-breaking 2019-06-25 09:00:44 -04:00
d763ab374c Re-add delchunks command (#481)
The new command now writes a json file to WorldEdit's working directory with instructions on which chunks to delete, which is read by the plugin/mod at startup and calls the ChunkDeleter.
The chunk deleter parses the json and iterates the instructions, backing up .mca files as it goes and overwriting the offset headers with 0 wherever a chunk needs to be deleted.
This allows Minecraft to reclaim the space used for that chunk, as well as forcing it to be generated from scratch next time the area is loaded.
2019-06-22 14:20:14 -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
229182aa63 Remove CUI and other cleaning 2019-06-06 18:39:51 -04:00
44ee1546b7 Apparently CB uses this. 2019-05-31 11:48:08 -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
48fb669119 Guard against reloads breaking too much. 2019-05-25 18:11:23 -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
8a3e6a12b9 Implement suggestions for Bukkit + Sponge 2019-05-05 23:06:20 -07: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
3c04a83852 Add nicer error when using player commands as console.
Also fix slash counts for Bukkit.
2019-04-29 17:39:30 -04: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
2143b9b5b7 finish block registry 2019-04-05 17:51:42 +11:00
94d5d8df8e Merge branch 'master' into breaking 2019-04-05 15:47:04 +11:00
140809c903 Working now 2019-04-05 15:15:10 +11:00
33f5322fda WIP merge (i'll finish this later) 2019-04-05 01:24:47 +11:00
f361619037 Merge remote-tracking branch 'upstream/master' into breaking 2019-04-03 16:53:34 +11:00
29692f3fbe Migrate to SLF4J 2019-04-02 18:21:02 -04:00
d186cce393 Merge remote-tracking branch 'origin/feature/slf4j-logging' 2019-03-19 20:32:21 +10:00
d1c2a029bf Move some platform stuff to load, put enable back to postworld. 2019-03-15 23:43:57 -04:00
c885f70c7b Load Bukkit plugin at startup.
This should allow plugins that use WorldEdit to do things on world load.
2019-03-15 18:38:06 -04:00
d6804737cf Switch to SLF4J logging. 2019-03-13 19:51:48 -07:00
7c89ece96e Few tweaks to schematic loading and error fixes.
* Not all EntityTypes in Bukkit have the correct enum name.
* Don't read entire schematic files to list. Go off file extension only.
   (Reading in files is more accurate, but slow.)
* Enforce extensions. (Due to the above, while you can technically make a
   schematic called 'test.txt', it's better that we save it as
   'test.txt.schem'.)
* Fix a few minor warnings.
2019-03-08 16:00:49 -05:00
3ffb5ff00d Changes to fix some PlotSquared compatibility issues, plus fix block Mask parsing 2019-02-27 08:09:04 -05:00
90797d12f4 Skip legacy materials when setting up registries.
Doesn't make a difference normally, but avoids errors in special envs.
2019-02-25 18:41:20 -05:00
24fbc86cdd INDEV -- Pushed for in-house testing and development 2019-02-17 03:47:32 -05:00
50a286b070 Update the block/item category registries - this won't build until a Spigot PR is merged though. 2019-02-17 13:30:40 +10:00
db1315e043 Refactor registries to entirely use the platform 2019-02-16 19:35:13 +10:00
4b5b7b8003 Clean up other compiler warnings 2019-02-03 06:06:07 -05:00
386668d221 Clean up other compiler warnings 2018-12-26 16:50:24 -08:00
801793cc12 Merge upstream changes through 7961fa58
Signed-off-by: Byron Marohn <combustible@live.com>
2018-12-21 12:13:43 -08:00
1fa1ff895b Flush or disable buffers in tools 2018-10-20 19:47:17 -07:00
dd2fcbac23 Merge pull request #430 from sk89q/feature/chunk-batching-mode
Chunk Batching
2018-10-15 13:50:10 +10:00
0fe1fe33cc Replace BukkitImplementationTester with paperLib 2018-10-12 16:09:52 +10:00
7d4906cfe9 Add chunk batching flag, enable by default 2018-10-10 11:38:23 -07:00
cc1a54b5f0 Added an implementation tester to Bukkit, to determine which impl is in use. (For WE,WG,CB to use Paper/Spigot specific APIs) 2018-09-23 22:48:04 +10:00
02c6f11bb9 Added bStats 2018-09-20 22:59:42 +10:00