Skip to content

Commit

Permalink
Merge pull request #8 from Shynixn/workflow
Browse files Browse the repository at this point in the history
Release 6.0.0
  • Loading branch information
Shynixn authored Jun 9, 2017
2 parents 5d79053 + 51b3bcb commit 2970f2b
Show file tree
Hide file tree
Showing 484 changed files with 96,989 additions and 2,288 deletions.
17 changes: 10 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,18 @@ install:
- mkdir lib
- wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastStableBuild/artifact/target/BuildTools.jar -P /home/travis/build/Shynixn/PetBlocks/lib/
- wget https://github.com/MyzelYam/SuperVanish/releases/download/v5.7.0/SuperVanish.jar -P /home/travis/build/Shynixn/PetBlocks/lib/
before_script:
- sudo /etc/init.d/mysql stop
script:
- cd /home/travis/build/Shynixn/PetBlocks/lib/
- java -jar BuildTools.jar --rev 1.8
- java -jar BuildTools.jar --rev 1.8.3
- java -jar BuildTools.jar --rev 1.8.8
- java -jar BuildTools.jar --rev 1.9
- java -jar BuildTools.jar --rev 1.9.4
- java -jar BuildTools.jar --rev 1.10
- java -jar BuildTools.jar
- java -jar BuildTools.jar --rev 1.8 > /dev/null
- java -jar BuildTools.jar --rev 1.8.3 > /dev/null
- java -jar BuildTools.jar --rev 1.8.8 > /dev/null
- java -jar BuildTools.jar --rev 1.9 > /dev/null
- java -jar BuildTools.jar --rev 1.9.4 > /dev/null
- java -jar BuildTools.jar --rev 1.10 > /dev/null
- java -jar BuildTools.jar --rev 1.11 > /dev/null
- java -jar BuildTools.jar --rev 1.12
- cd -
- mvn compile test
jdk:
Expand Down
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,23 @@
| master | [![Build Status](https://travis-ci.org/Shynixn/PetBlocks.svg?branch=master)](https://travis-ci.org/Shynixn/PetBlocks) |[Download latest release (recommend)](https://github.com/Shynixn/PetBlocks/releases)|
| workflow | [![Build Status](https://travis-ci.org/Shynixn/PetBlocks.svg?branch=workflow)](https://travis-ci.org/Shynixn/PetBlocks) | [Download snapshots](https://oss.sonatype.org/content/repositories/snapshots/com/github/shynixn/petblocks/) |

JavaDocs: https://shynixn.github.io/PetBlocks/apidocs/

## Description
Spigot plugin to use blocks as pets in minecraft.

## Features

* Use blocks as pets in minecraft.
* Customizable UI.
* Version support 1.8.R1 - 1.11.R1
* Version support 1.8.R1 - 1.12.R1
* Check out the [PetBlocks-Spigot-Page](https://www.spigotmc.org/resources/petblocks-mysql-bungeecord-customizeable-gui-1-8-1-9-1-10-1-11.12056/) to get more information.

## Installation

* [Download the plugin PetBlocks](https://github.com/Shynixn/PetBlocks/releases)
* Put the plugin into your plugin folder
* Start the server (1.8.0 - 1.11.2, Java 7/Java 8)
* Start the server (1.8.0 - 1.12.0, Java 8)
* Join and play :)

## API
Expand All @@ -33,7 +35,7 @@ Spigot plugin to use blocks as pets in minecraft.
<dependency>
<groupId>com.github.shynixn</groupId>
<artifactId>petblocks</artifactId>
<version>5.7.0</version>
<version>6.0.0</version>
</dependency>
```

Expand All @@ -44,10 +46,10 @@ Spigot plugin to use blocks as pets in minecraft.
```java
Player player = Bukkit.getPlayer("Shynixn");
if(PetBlocksApi.hasPetMeta(player)){
//Stored data of the entity
PetMeta petMeta = PetBlocksApi.getPetMeta(player);
petMeta.setDisplayName(ChatColor.RED + "That's my new petname");
PetBlocksApi.persistPetMeta(petMeta);
//Stored data of the entity
PetMeta petMeta = PetBlocksApi.getPetMeta(player);
petMeta.setDisplayName(ChatColor.RED + "That's my new petname");
PetBlocksApi.persistPetMeta(petMeta);
}
```
#### Set Petblock
Expand Down Expand Up @@ -81,4 +83,4 @@ Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
6 changes: 6 additions & 0 deletions docs/apidocs/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Built-By: Christoph
Created-By: Apache Maven
Build-Jdk: 1.8.0_112

133 changes: 133 additions & 0 deletions docs/apidocs/allclasses-frame.html

Large diffs are not rendered by default.

133 changes: 133 additions & 0 deletions docs/apidocs/allclasses-noframe.html

Large diffs are not rendered by default.

398 changes: 398 additions & 0 deletions docs/apidocs/com/github/shynixn/petblocks/api/PetBlocksApi.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (1.8.0_112) on Fri Jun 09 09:28:15 CEST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.github.shynixn.petblocks.api.PetBlocksApi (PetBlocks 6.0.0 API)</title>
<meta name="date" content="2017-06-09">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.github.shynixn.petblocks.api.PetBlocksApi (PetBlocks 6.0.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../../com/github/shynixn/petblocks/api/PetBlocksApi.html" title="class in com.github.shynixn.petblocks.api">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?com/github/shynixn/petblocks/api/class-use/PetBlocksApi.html" target="_top">Frames</a></li>
<li><a href="PetBlocksApi.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.github.shynixn.petblocks.api.PetBlocksApi" class="title">Uses of Class<br>com.github.shynixn.petblocks.api.PetBlocksApi</h2>
</div>
<div class="classUseContainer">No usage of com.github.shynixn.petblocks.api.PetBlocksApi</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../../com/github/shynixn/petblocks/api/PetBlocksApi.html" title="class in com.github.shynixn.petblocks.api">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?com/github/shynixn/petblocks/api/class-use/PetBlocksApi.html" target="_top">Frames</a></li>
<li><a href="PetBlocksApi.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>
Loading

0 comments on commit 2970f2b

Please sign in to comment.