在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):sgrayme/SpigotPlugin开源软件地址(OpenSource Url):https://github.com/sgrayme/SpigotPlugin开源编程语言(OpenSource Language):Java 100.0%开源软件介绍(OpenSource Introduction):SummaryThe SpigotPlugin project is a template for creating a new project for the Spigot server implementation for Minecraft. It can compile out of box, but will do absolutely nothing without modification. Do not use the me.sgray namespace! Change to either use either an email account or domain name that YOU own. MotivationThere's a lot of examples of how to create a pom.xml file for Maven-enabled projects, but very few designed to give a basis for Spigot plugins. The pom.xml in this project contains the most relevant and useful properties to someone creating a new plugin, including the necessary dependency on the Spigot API. InstallationClone this git repository into your Eclipse workspace and go to create a new Java project. Eclipse should automatically detect the settings provided by this project and create anything missing. You will need to enable the Maven nature, easy as right-clicking the project root in Package Explorer, hovering "Configure", and clicking "Convert to Maven Project". Additionally,
TroubleshootingEclipse says "JavaPlugin cannot be resolved to a type" Make sure you have the Maven nature enabled. Otherwise Eclipse won't know to read the pom.xml Plugin doesn't compile with error like "Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project BukkitPlugin: Compilation failure No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?" Providing you do have the Java JDK installed and you're certain your system knows where to find it, just right-click the project in Package Explorer, hover "Maven", and click "Update Project". This is highly likely to resolve the matter. Make This Your OwnFeel free to (and please do) clone this project and make adjustments to fit your needs/preferences. Credits
LicenseZlib was chosen as the basis for this project (BukkitPlugin) as it is highly permissive and easy for people to understand. The license has only been modified for this project to reflect authorship and creation year. Copyright (c) 2014 Shaila Gray This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论