It is for easy debugging Bukkit/Spigot Plugin.
- Download Latest Release (https://github.com/syuchan1005/MCPluginDebuggerforMC/releases) and put you server.
- Run server and open plugins/MCPluginDebugger/config.yml
debug:
pluginName: Debug_Target_Plugin_Name
socketPort: 9000- Do any of the below
Maven(only ReloadPlugin)
- open your pom.xml, and write this. (in tag)
<repository>
<id>syuchan1005-repo</id>
<url>https://syuchan1005.github.io/MavenRepository/</url>
</repository>- write this.
<build>
<plugins>
<plugin>
<groupId>com.github.syuchan1005</groupId>
<artifactId>MCPluginDebugger-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>send</goal>
</goals>
<configuration>
<host>localhost</host>
<port>9000</port>
<pluginName>${project.name}</pluginName>
<jarFilePath>${basedir}/target/YourJarFile.jar</jarFilePath>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>mvn package
IntelliJ IDEA
-
Open your IntelliJ IDEA. and open plugins setting.
-
Click
Browse repositories.... -
input
MCPluginDebuggerin SearchBox. -
click
Installand restart it! -
Open
View -> Tool Windows -> MCDebugConsoleand write your config.
Eclipse
-
Open your Eclipse. and open
Help -> Install New Software... -
input
https://syuchan1005.github.io/MCPluginDebuggerforEclipseinWork with:Box. -
open
Debugand checkMCPluginDebuggerforEclipse. -
click
Next >two times, checkI accept..... -
click
Finishand restart it!. -
Open
Window -> Show View -> Other...,Debug -> MCDebugConsoleand write your config.
Netbeans
- Open your NetBeans, open
Tools -> Plugins -> Available Plugins. - input
MCPluginDebuggerin SearchBox. - check
InstallinMCPluginDebugerforNetbeansand clickInstall. - click
Next >, checkI accept... - click
Install -> Continue -> Finishand restart it!. - Open
Window -> MCDebugConsole, and write your config.
- Click
StartinMCDebugConsole - Edit Source and Compile
- Click
ReloadPlugin