This is an empty Spigot plugin. It uses Gradle to make sure the correct version of Spigot is installed and available. It can also host a local testserver with the plugin automatically built and installed.
gradlew.bat idea
gradlew.bat build
./gradlew idea
./gradlew build
.ipr
file. Otherwise the run configurations will not be in place for you!gradlew.bat eclipse
gradlew.bat build
./gradlew eclipse
./gradlew build
During setup some run configurations will be created for you:
You can change the Spigot version in the gradle.properties
file. Next time you compile the plugin, the correct version of Spigot will be fetched and built for you.
apiversion=1.10.2-R0.1-SNAPSHOT // Version of the dependency
apibuildtoolversion=1.10.2 // Version of the dependency in the Spigot BuildTool (Normally Minecraft version number)
If you want to change the name or version of the plugin you need to check the following files:
gradle.properties
settings.gradle
plugin.yml
This should be pretty straight forward...
Make sure to run the clean/
task so that old artifacts don't interfere with the new version.
If you want to keep server configurations after a clean you can put any files into to config/testserver/
directory. The files will automaticall be copied to the testserver/
directory for you
The MIT License (MIT)
Copyright (c) 2016 Rene Hollander and Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.