A straightforward plugin that introduces realistic stereo wind sound effects as you journey in a minecart.
Listen to it with headphones or on a stereo system and feel the sound of the wind as you pass by the blocks to the right and left:
- Install Git, Java 17 and Maven
- Clone this repository
- If you are using IntelliJ Idea:
- Open the repository folder as project
- At right, open
Maven
- Click
Download sources and documentation
to download spigot API and their dependencies (this phase could have been executed automatically by IntelliJ the first time you open the project) - Expand Lifecycle and click
package
to compile the plugin
- Click
- If you are using the terminal (not fully tested)
- Run one terminal inside repository folder
- Run
mvn dependency:resolve
to download spigot API and their dependencies - Run
mvn package
to compile de plugin
- To change the plugin output jar when you compile it, simply uncomment and set
<outputDirectory>../devServer/plugins</outputDirectory>
inpom.xml
but NEVER commit it to git
- Create a new folder
- Download and put
BuildTools.jar
inside that folder - Run
java -jar BuildTools.jar
- Run
java -jar spigot-1.1x.x.jar
wherexx
is the minecraft server version- Set
eula.txt
text totrue
and re-run previous command if needed
- Set
- Optional
- Go to the previous created plugin project and set in
pom.xml
the route to plugins folder into<outputDirectory>../devServer/plugins</outputDirectory>
- Go to the previous created plugin project and set in
We need to open a debug port to debug the server, and then listen it from IntelliJ.
In IntelliJ:
- Right to hammer button, click Edit configurations
- Add
Remote JVM Debug
and full copy theagentlib
command line parameter
In the server launcher script:
- Add the copied param to java command:
- RESULT:
java -jar -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 spigot-1.xx.jar --nogui
- RESULT:
- Start the minecraft server with the above script
In IntelliJ:
- Press the bug button 🪲 to listen to server
- Then you can set debug points in your plugin code.