* Allow plugins to register new clipboard share destinations
* Rename file, as per request
* Don't use the base enginehub name for EH_pastebin
* Address review comments
* Fixed wrong usage
* Use a second metadata class for clipboard shares
* Newline
* Address comments
* Improve docs
* Apply suggestions from code review
Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
* Use a consumer so that we handle serialization
* Update worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/Clipboard.java
Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
* Update worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/share/ClipboardShareDestination.java
Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
* Update worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/share/ShareOutputConsumer.java
Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
* Update worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/share/ShareOutputConsumer.java
Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
* Fixed a lot of random comments
* Return a consumer from share rather than a URL, allows the share destination to control output
Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
* The scramble is complete
* Fix version decl for Bukkit Log4J
* Swap out to a compatibility layer for LogManager
Slightly slower, but compatible across all Java versions
* Piston released with SL4JF removal
* Clean up declarations a bit
Allow the World param to be null, throwing IncompleteRegionException.
This allows calling `getSelection(getSelectionWorld())` without having
to separately null-check the World.
Also, add a convenience overload which does so: `getSelection()`.
* Show a message with install instructions when running the jar file
* Typo
* Fixed checkstyle issue
* Slightly modify message to adapt to the type of install
* Clean up the display code a lot
* Allow line breaks before semi
Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
* Move slower translation to *Transmogrifiers
Adapters now use the fast method for adapting if available. Un-cached
accessors are stored in *Transmogrifier classes.
* Fix warnings and licenses.