stormheart-plugin
stormheart-plugin copied to clipboard
STORMHEART NETWORK is a java game server for a multiplayer Minecraft community.
Describe what the resource does on the server and why it should be used. The resource included is a single class plugin which can be reloaded, load configuration, and has permissions. PluginStyle was created to set the standard for each resource for STORMHEART. It is much easier to understand a large codebase when all the code in it is in a consistent style. This project will be maintained for future use, it is a guide and the framework for creating new resources. New projects should be cloned from this repository and changed accordingly.
See google style for the standard settings on eclipse and intellij.
Compiling
$ mvn clean install -U
$ build artifacts
Alternatively using IntelliJ, right-click pom.xml and run maven then select reimport for the included dependencies.
Information about the server we are running can be found here. Java Development Kit 8 u50+ is the recommended environment for production.
Plugin.yml
name: STORMHEART-pluginStyle
main: net.stormheart.pluginStyle
version: 1.0
prefix: STORMHEART
description: Plugin development guide.
website: http://www.stormheart.net
All instances of classes should extend the package net.stormheart.x
within the source.
Functions
/pluginstyle
Alias: /ps
/styleguide
Permission: pluginStyle.user
Tells the sender what the command does and usage.
/pluginstyle admin
Permission: pluginStyle.admin
Gives the user the defined materials from the configuration.
/pluginstyle reload
Permission: pluginStyle.admin
Reloads the configuration file from disk. /plugins/pluginStyle/config.yml
Team
License
GNU General Public License v3 (c) 2017 STORMHEART