Commit Graph

353 Commits

Author SHA1 Message Date
MattBDev 06a92d29b1 Merge branch 'commanding' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into commanding
# Conflicts:
#	worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/BukkitImplAdapter.java
#	worldedit-core/src/main/java/com/sk89q/worldedit/command/ApplyBrushCommands.java
#	worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/PlatformCommandManager.java
#	worldedit-libs/core/build.gradle.kts
2019-09-02 15:24:53 -04:00
MattBDev c20f4c6b7f Fixed a null pointer. Merged in a bunch of CLI stuff. 2019-09-02 15:22:43 -04:00
Jesse Boyd 68eea925e1 update adapter and platform manager 2019-08-29 13:57:03 +01:00
Jesse Boyd 4e49d16505 fix dependencies 2019-08-26 05:45:03 +01:00
Matthew Miller 0620478763 feature(cli): Added a CLI version of WorldEdit, and allowed most commands to be run from console (#508)
* Re-do commits to avoid awful rebase

* You can load and save a schematic file now. Still gotta setup ability to use commands as a console actor.

* Add a world override concept to LocalSession, and allow a lot more commands to be performed by actors.

* Fixed commands, and set the loaded schematic as the world override in CLI

* Properly load tags

* Added 1.14.4 data values

* Allow a majority of commands to be performed by the console.

* Fixed a lot of PR requested changes

* Added a Locatable interface and use that for getting the location of the player in commands.

* Added script support. Currently requires a newline at the end of the script.

* Shade everything to allow this to run locally - should probably minimize this to an extent later.

* Actually hook up the version

* Added a //world command to set the override

* Fixed a missed checkstyle issue

* Added CommandBlock support to Bukkit

* Make command block support configurable

* Minor cleanup and implementing a few of the final functions

* Fixed most issues from PR

* Improve UX, saving is now automatic and unknown command messages show

* Better save docs and support any clipboard format

* Include the entire formats list

* Arrays.copyOf

* Clear the world override if the selector is called on another world.

* Update logging extent to allow basic logging with non-player actors
2019-08-25 19:58:28 +10:00
Jesse Boyd ae89c16390 merge 2019-08-23 08:36:33 +01:00
Jesse Boyd d434dfcfdd some minor refactoring 2019-08-18 02:09:09 +01:00
wizjany 17cfdee347 Update/remove more dead links. 2019-08-06 23:07:26 -04:00
wizjany 95d5adb30c Update docs links to point to enginehub. 2019-08-06 21:49:43 -04:00
Jesse Boyd 74fe88ae01 merge 2019-08-07 01:28:12 +10:00
Kenzie Togami 76b608f90b Fix suggestions on Bukkit for good 2019-07-27 23:31:38 -07:00
wizjany 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
wizjany 2cc6a367c6 Move floatAt logic to AbstractPlayer, add isAllowedToFly and setFlying. 2019-07-23 22:16:26 -04:00
wizjany e504c29df6 Fix potential race condition.
I guess.
2019-07-23 21:41:39 -04:00
MattBDev 9816eb3102 More work on commands 2019-07-23 16:26:18 -04:00
MattBDev 46f5b12b36 Convert tabs to whitespace. 2019-07-22 16:42:40 -04:00
Jesse Boyd 283351fea5 fix conflicts 2019-07-22 16:39:43 +10:00
Jesse Boyd 07283af614 some bindings 2019-07-22 16:02:51 +10:00
MattBDev 9c3122a227 More work on getting commands to compile 2019-07-21 22:49:08 -04:00
Jesse Boyd 6e13b44f84 resolve issues with 2e67425d8131a2b1eb7ff752335bccf371801b8b 2019-07-18 20:12:23 +10:00
Jesse Boyd be8213d8ee resolve conflicts 2019-07-18 16:56:57 +10:00
Jesse Boyd dd38cbe750 . 2019-07-18 04:30:02 +10:00
Jesse Boyd 68ea3d6e99 revert some changes 2019-07-17 20:50:54 +10:00
MattBDev 8108d0a936 Major command changes that don't work yet. 2019-07-16 23:44:34 -04:00
NotMyFault fee57017cd Bump dummy version to 1.14 2019-07-11 22:50:28 +02:00
Jesse Boyd cf0c735cf3 Merge branch 'breaking' into breaking-114 2019-07-11 08:08:55 +10:00
Jesse Boyd cafd4bfece use Locale.ROOT for uppercase as well 2019-07-10 22:26:31 +10:00
Jesse Boyd a98a91e066 Use Locale.ROOT 2019-07-10 21:03:00 +10:00
Jesse Boyd b32d46b08a Use Locale.ROOT 2019-07-10 21:01:56 +10:00
Jesse Boyd 50e649acb8 update items 2019-07-10 20:58:27 +10:00
MattBDev 4a40c7d99c Renaming and cleanup and a new method. 2019-07-09 15:50:13 -04:00
Jesse Boyd f99d6e7478 wip on 1.14 2019-07-09 17:18:51 +10:00
wizjany a18f26f8af Play nicer with naughty plugins. 2019-07-06 09:44:53 -04:00
MattBDev ffc2092d93 toggles and timeouts 2019-06-30 14:56:32 -04:00
wizjany 625cbe5e3d Make //count take a mask. Also doc updates, perm fixes. 2019-06-30 00:38:17 -04:00
Jesse Boyd a4344fb2df add 1.14 depend (non functional) 2019-06-29 14:06:19 +10:00
Jesse Boyd 664a7017b6 Add NotNull annotation to adapter 2019-06-29 06:28:14 +10:00
Jesse Boyd d6280ec945 Avoid redundant check for performance critical code 2019-06-29 04:23:51 +10:00
Jesse Boyd a2efdbc488 a1c15e1c39 2019-06-29 03:10:47 +10:00
Jesse Boyd 846a1b0769 6c94cca15e 2019-06-29 00:01:51 +10:00
MattBDev d0a31691e1 Small changes 2019-06-26 20:14:00 -04:00
MattBDev a69b239848 Upstream 2019-06-25 13:07:47 -04:00
MattBDev a1c15e1c39 Many upstream changes. Should be non-breaking 2019-06-25 09:00:44 -04:00
MattBDev 8c9090a21d I changed stuff. That's all I remember 2019-06-23 13:27:34 -04:00
wizjany 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
wizjany 0088fe79b3 Cleanup Bukkit internal id usage. 2019-06-15 17:33:17 +10:00
Kenzie Togami 27c7d488a2 Add perf. improvments for Forge 2019-06-15 17:33:17 +10:00
Kenzie Togami 8c17aab9c5 Clean-up some misc. parts of the code 2019-06-15 17:33:17 +10:00
wizjany dc21b4df58 This does something idk. 2019-06-15 17:33:17 +10:00
Kenzie Togami a3a175ab8c Initial attempt at binding state IDs 2019-06-15 17:33:17 +10:00