Skip to content
/ basics Public
forked from SpigotBasics/basics

WIP modular core plugin for modern Spigot versions

Notifications You must be signed in to change notification settings

JanTuck/basics

 
 

Repository files navigation

Basics

Basics is a modular core plugin for modern Spigot versions!

Basics Logo

Links

image

Compile

To compile, use gradlew build.

You can also use gradlew distribution, which will create the plugin .jar and all modules in a drag-and-droppable layout into build/dist. You can also use gradlew zipDistribution to get the whole project .zip file.

For running Basics locally, you can also use the testserver tasks:

  • copyPluginToTestServer: Copies the main plugin .jar to your test server
  • copyModule<Name>ToTestServer: Copies the specific module .jar to your test server
  • copyAllModulesToTestServer: Copies all modules to the test server - same as running all copyModule<Name>ToTestServer tasks
  • copyAllToTestServer: Copies all modules and the main plugin .jar to your test server - same as running copyPluginToTestServer and copyAllModulesToTestServer

The path to your test server can be specified using a gradle property called "testserver.path" using one of the following methods:

  • as command line argument (gradlew copyAllToTestServer -Ptestserver.path=/my/test/server)
  • in the gradle.properties file in your gradle home directory (usually ~/.gradle): testserver.path=/my/test/server

Todo

Check the Trello Board!

Documentation

The documentation can be found here:

It is not often updated, so better create your own using gradlew dokkaHtml or gradlew dokkaJavadoc in the core project.

Note to Contributors

Contributions are always welcome from anyone!

Create a new module

Modules can be written in Java or Kotlin. To create a new module, use the createModule task. It will ask you which language (kotlin or java) you want to use, asks you for the module name, which should be [a-z0-9_-]+.

About

WIP modular core plugin for modern Spigot versions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 99.8%
  • Java 0.2%