Coder Social home page Coder Social logo

basics's Introduction

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_-]+.

Debug information

Debug output can be enabled by setting the BASICS_DEBUG_LEVEL environment variable to 1 or higher, for example:

BASICS_DEBUG_LEVEL=99 java -jar spigot.jar 

basics's People

Contributors

mfnalex avatar roughlyunderscore avatar sieadev avatar winnpixie avatar y2kwastaken avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.