a simple Read-Eval-Print-Loop for Java in Bukkit/Spigot using albertlatacz/java-repl
By using this lib, you can easily develop your plugin with this repl plugin for server with BukkitAPI. This is a implement of albertlatacz/java-repl!
Using command /repl help
to get all command.
If your want to connect the remote console,
just run plugin or albertlatacz/java-repl
as a java application like java -jar BukkitRuntimeREPL.jar --hostname=127.0.0.1 --port=5333
To get this projectf rom JitPack.io into your build:
Maven:
- Add the JitPack repository to your build file
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://www.jitpack.io</url>
</repository>
</repositories>
- Add the dependency
<dependency>
<groupId>com.github.UnknownStudio</groupId>
<artifactId>BukkitRuntimeREPL</artifactId>
<version>1.0.0</version>
</dependency>
Gradle:
- Add this in your root build.gradle at the end of repositories
allprojects {
repositories {
...
maven { url 'https://www.jitpack.io' }
}
}
- Add the dependency
dependencies {
compile 'com.github.BukkitRuntimeREPL:BukkitRuntimeREPL:1.0.0'
}