Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-05 02:50:05 +01:00
Update P2 repo and minors
Dieser Commit ist enthalten in:
Ursprung
c98a311146
Commit
8a528b26b6
18
.travis.yml
18
.travis.yml
@ -1,18 +0,0 @@
|
||||
language: java
|
||||
notifications:
|
||||
email: false
|
||||
before_install: chmod +x gradlew
|
||||
install: ./gradlew setupCIWorkspace -s
|
||||
script: ./gradlew build -s
|
||||
jdk:
|
||||
- oraclejdk8
|
||||
# Caching for Gradle files, prevents hitting Maven too much.
|
||||
before_cache:
|
||||
- find $HOME/.gradle/ -name '*.lock' -print -exec rm -f {} \;
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.gradle/caches/
|
||||
- $HOME/.gradle/wrapper/
|
||||
|
||||
# Faster builds without sudo.
|
||||
sudo: false
|
50
COMPILING.md
50
COMPILING.md
@ -1,50 +0,0 @@
|
||||
Compiling
|
||||
=========
|
||||
|
||||
You can compile WorldEdit as long as you have the [Java Development Kit (JDK)](http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html) for Java 8 or newer.
|
||||
You only need one version of the JDK installed.
|
||||
|
||||
The build process uses Gradle, which you do *not* need to download. WorldEdit is a multi-module project with four modules:
|
||||
|
||||
* `worldedit-core` contains the WorldEdit API
|
||||
* `worldedit-bukkit` is the Bukkit plugin
|
||||
* `worldedit-sponge` is the Sponge plugin
|
||||
* `worldedit-forge` is the Forge mod
|
||||
|
||||
## To compile...
|
||||
|
||||
### On Windows
|
||||
|
||||
1. Shift + right click the folder with WorldEdit's files and click "Open command prompt".
|
||||
2. `gradlew clean setupDecompWorkspace`
|
||||
3. `gradlew build`
|
||||
|
||||
### On Linux, BSD, or Mac OS X
|
||||
|
||||
1. In your terminal, navigate to the folder with WorldEdit's files (`cd /folder/of/worldedit/files`)
|
||||
2. `./gradlew clean setupDecompWorkspace`
|
||||
3. `./gradlew build`
|
||||
|
||||
## Then you will find...
|
||||
|
||||
You will find:
|
||||
|
||||
* The core WorldEdit API in **worldedit-core/build/libs**
|
||||
* WorldEdit for Bukkit in **worldedit-bukkit/build/libs**
|
||||
* WorldEdit for Sponge in **worldedit-sponge/build/libs**
|
||||
* WorldEdit for Forge in **worldedit-forge/build/libs**
|
||||
|
||||
If you want to use WorldEdit, use the `-dist` version.
|
||||
|
||||
(The -dist version includes WorldEdit + necessary libraries.)
|
||||
|
||||
### Note regarding `setupDecompWorkspace`
|
||||
`setupDecompWorkspace` requires more memory than is usually given to Gradle by default.
|
||||
If it fails, you should put `org.gradle.jvmargs=-Xmx3G` in `gradle.properties`.
|
||||
Please don't commit this change!
|
||||
|
||||
## Other commands
|
||||
|
||||
* `gradlew idea` will generate an [IntelliJ IDEA](http://www.jetbrains.com/idea/) module for each folder.
|
||||
* `gradlew eclipse` will generate an [Eclipse](https://www.eclipse.org/downloads/) project for each folder.
|
||||
* Use `setupCIWorkspace` instead of `setupDecompWorkspace` if you are doing this on a CI server.
|
@ -18,14 +18,15 @@ FAWE is a fork of WorldEdit that has huge speed and memory improvements and cons
|
||||
* [Download](https://empcraft.com/fawe/download/?bukkit113)
|
||||
* [Jenkins](https://ci.athion.net/job/FAWE-1.13/)
|
||||
|
||||
### <1.12.2
|
||||
### < 1.12.2
|
||||
* [Download](https://empcraft.com/fawe/download/?bukkit)
|
||||
* [Jenkins](https://ci.athion.net/job/FastAsyncWorldEdit/)
|
||||
* [Repository](https://github.com/boy0001/FastAsyncWorldedit)
|
||||
|
||||
|
||||
## Building
|
||||
FAWE uses gradle to build
|
||||
FAWE uses gradle to build
|
||||
You can safely ignore `gradlew setupDecompWorkspace` if you are not planning to work on the forge side of FAWE.
|
||||
|
||||
```
|
||||
$ gradlew setupDecompWorkspace
|
||||
|
@ -75,13 +75,13 @@ subprojects {
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url "http://repo.bukkit.org/content/groups/public" }
|
||||
maven { url "http://maven.sk89q.com/repo/" }
|
||||
maven { url "http://repo.maven.apache.org/maven2" }
|
||||
// Fawe
|
||||
maven {url "https://mvnrepository.com/artifact/"}
|
||||
maven {url "http://repo.dmulloy2.net/content/groups/public/"}
|
||||
maven {url "https://repo.destroystokyo.com/repository/maven-public//"}
|
||||
maven {url "http://ci.athion.net/job/PlotSquared-Breaking/ws/mvn/"}
|
||||
mavenLocal()
|
||||
maven {url "http://empcraft.com/maven2"}
|
||||
maven {url "https://hub.spigotmc.org/nexus/content/groups/public/"}
|
||||
|
@ -10,7 +10,6 @@
|
||||
======= By Empire92 and WorldEdit team =======
|
||||
|
||||
If you encounter trouble:
|
||||
- Read COMPILING.md if you haven't yet
|
||||
- Run `build` in a separate Gradle run
|
||||
- Use gradlew and not gradle
|
||||
- Ask us!
|
||||
|
@ -155,10 +155,10 @@ public class MoveTo512 /*extends Command*/ {
|
||||
|
||||
// @Override
|
||||
// public void execute(PlotPlayer player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, CommandResult> whenDone) throws CommandException {
|
||||
// checkTrue(args.length == 1, C.COMMAND_SYNTAX, getUsage());
|
||||
// checkTrue(args.length == 1, Captions.COMMAND_SYNTAX, getUsage());
|
||||
// PlotArea area = player.getPlotAreaAbs();
|
||||
// check(area, C.COMMAND_SYNTAX, getUsage());
|
||||
// checkTrue(area instanceof HybridPlotWorld, C.NOT_VALID_HYBRID_PLOT_WORLD);
|
||||
// check(area, Captions.COMMAND_SYNTAX, getUsage());
|
||||
// checkTrue(area instanceof HybridPlotWorld, Captions.NOT_VALID_HYBRID_PLOT_WORLD);
|
||||
//
|
||||
// WorldUtil.IMP.saveWorld(area.worldname);
|
||||
//
|
||||
@ -167,7 +167,7 @@ public class MoveTo512 /*extends Command*/ {
|
||||
//
|
||||
// String world = args[0];
|
||||
// File folder = new File(PS.imp().getWorldContainer(), world + File.separator + "region");
|
||||
// checkTrue(!folder.exists(), C.SETUP_WORLD_TAKEN, world);
|
||||
// checkTrue(!folder.exists(), Captions.SETUP_WORLD_TAKEN, world);
|
||||
//
|
||||
// HybridPlotWorld hpw = (HybridPlotWorld) area;
|
||||
// int minRoad = 7;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren