项目作者: Phoenix616

项目描述 :
A library for Bukkit plugins to create GUIs with inventories
高级语言: Java
项目地址: git://github.com/Phoenix616/InventoryGui.git
创建时间: 2017-05-12T14:15:26Z
项目社区:https://github.com/Phoenix616/InventoryGui

开源协议:MIT License

下载


InventoryGui

A library that simplifies the creation of chest GUIs for Bukkit/Spigot plugins and
allows assigning of the GUI to a specific InventoryHolder. If you are in need of a GUI for text inputs then take a look at WesJD‘s AnvilGUI library.

Please note that this is not a plugin!

Requires Java 8.

Using InventoryGui

Take a look at usage">the examples in the wiki to learn how to create a GUI with this library or use the InventoryGui Javadocs.

Maven information

You can easily depend on the library with maven.

  1. <repositories>
  2. <repository>
  3. <id>minebench-repo</id>
  4. <url>https://repo.minebench.de/</url>
  5. </repository>
  6. </repositories>
  1. <dependencies>
  2. <dependency>
  3. <groupId>de.themoep</groupId>
  4. <artifactId>inventorygui</artifactId>
  5. <!--The following version may not be the latest. Check it before using.-->
  6. <version>1.6.5-SNAPSHOT</version>
  7. <scope>compile</scope>
  8. </dependency>
  9. </dependencies>

As this is not a standalone plugin you have to shade it into your plugin!
E.g. with the maven-shade-plugin like this.

You can also get development builds directly from the Minebench Jenkins ci server
if you want to manually add it to your project but I strongly advise using a dependency management tool like maven or gradle!

License

InventoryGui is licensed under the following, MIT license:

  1. Copyright 2017 Max Lee (https://github.com/Phoenix616)
  2. Permission is hereby granted, free of charge, to any person obtaining a copy
  3. of this software and associated documentation files (the "Software"), to deal
  4. in the Software without restriction, including without limitation the rights
  5. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  6. copies of the Software, and to permit persons to whom the Software is
  7. furnished to do so, subject to the following conditions:
  8. The above copyright notice and this permission notice shall be included in all
  9. copies or substantial portions of the Software.
  10. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  11. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  12. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  13. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  14. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  15. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  16. SOFTWARE.