User-contributed code examples for simple plugins
What is it?
Articles under this wiki category contain user-contributed pieces by developers who wish to provide small snippets of code to help you get started writing your own plugin. While they are simple in nature, they are intended to help you get started programming with the Spigot API and should serve as stepping stones for bigger and greater projects! By referencing code snippets or guides in this category, beginning users can read well-composed guides and articles that will teach good habits and provide a useful reference as they begin to dip their feet into the Spigot API.
How can I contribute?
Want to contribute your own code? First, before creating a wiki article for your example code, please have it peer reviewed in the Spigot Plugin Development forum first. We wish to only publish code that demonstrates good habits and methods that will help developers get started on the right foot.
Once you have had your code peer reviewed, please create a new wiki article and set the Parent Node as "Plugin Snippets". If you have any questions, please leave them in the discussion thread.