Giter Club home page Giter Club logo

spigotpluginquickstart's Introduction

This is a maven-archetype to quickstart spigot plugin development

How to use

  • Open your terminal or command prompt
  • Switch to the directory you want the plugin to live in
  • Create the project using the archetype:
mvn archetype:generate \
-DarchetypeRepository=http://nexus.tkausl.net/content/groups/public/ \
-DarchetypeGroupId=net.tkausl.archetypes \
-DarchetypeArtifactId=spigot-plugin-simple \
-DarchetypeVersion=1.0-SNAPSHOT

Next steps

After creating the project, you should be able to compile the simple dummy-plugin, just switch in the plugins directory and type mvn install, your .jar will be in target/. To test the plugin, just copy the .jar-file in your servers plugins-folder and restart or reload the server. A dummy command is already implemented, just type / (its your artifactId) and you'll get a simple message, showing you the pluginname and the version.

Please read the Spigot Developer Informations for further informations on how to develop spigot-plugins, the JavaDoc lives here.

Contribute

I appreciate every help i can get. If you are missing something, feel free to open an Issue or Pull-Request.

FAQ

What is an Archetype?

An Archetype is mavens way to provide skeleton projects. Archetypes provide a directory-structure and a few default files, to quickstart a project without setting everything up again and again.

Your English is bad.

I hope its not too bad. English isn't my first language, feel free to message me or pull-request a change.

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.