Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nuriofernandez/spigot-server-debug-template
A Minecraft server plugin development environment template to allow live debugging of the server
https://github.com/nuriofernandez/spigot-server-debug-template
bukkit debugging intellij java minecraft-plugin papermc settings spigotmc
Last synced: 28 days ago
JSON representation
A Minecraft server plugin development environment template to allow live debugging of the server
- Host: GitHub
- URL: https://github.com/nuriofernandez/spigot-server-debug-template
- Owner: nuriofernandez
- Created: 2024-08-24T13:35:47.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-08-24T14:33:36.000Z (3 months ago)
- Last Synced: 2024-09-28T11:41:07.647Z (about 1 month ago)
- Topics: bukkit, debugging, intellij, java, minecraft-plugin, papermc, settings, spigotmc
- Language: Java
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spigot debug project template
This is a template project to document how to enable Minecraft plugin debugging easily.
### Before starting
You should execute BuildTools to obtain the latest Spigot Jar file you want to
work with, after that, update pom.xml dependencies to match the Spigot version you are working with.More info: https://www.spigotmc.org/wiki/buildtools/
![](https://i.imgur.com/74c6834.png)
### First steps
Set up your development server on the `./server` folder, place your desired spigot jar file there,
and all the plugins you will need during development, such as dependencies of your plugin.### Update Spigot jar file name at the `.run` settings
Go to `./.run/Spigot.run.xml` and replace the following line:
```xml
```with the proper path of your desired Paper jar file.
### Write some code and test the debugging option!
- Go to `./src/main/...` and add whatever you want to try, an event listener, whatever.
![](https://i.imgur.com/Ghy1KUC.png)
- Place a debugging point in your code.
![](https://i.imgur.com/VPXOOP5.png)
- Execute the server with the debug function on IntelliJ
![](https://i.imgur.com/WAizWvW.png)
## Enjoy!
![](https://i.imgur.com/5wPezcx.png)