Skip to content
This repository was archived by the owner on Nov 10, 2021. It is now read-only.

Commit 191e7f7

Browse files
committed
Spigot implemented
1 parent b2215d1 commit 191e7f7

3 files changed

Lines changed: 49 additions & 13 deletions

File tree

pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828

2929
<!-- Configuration of repositories -->
3030
<repositories>
31+
<repository>
32+
<id>spigot-repo</id>
33+
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
34+
</repository>
35+
3136
<repository>
3237
<id>jitpack.io</id>
3338
<url>https://jitpack.io</url>
@@ -70,5 +75,13 @@
7075
<artifactId>froxygame</artifactId>
7176
<version>0.0.1</version>
7277
</dependency>
78+
79+
<!--Spigot API -->
80+
<dependency>
81+
<groupId>org.spigotmc</groupId>
82+
<artifactId>spigot-api</artifactId>
83+
<version>1.12.2-R0.1-SNAPSHOT</version>
84+
<scope>provided</scope>
85+
</dependency>
7386
</dependencies>
7487
</project>
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
package com.froxynetwork.froxyapi;
2+
3+
import org.bukkit.plugin.java.JavaPlugin;
4+
5+
/**
6+
* MIT License
7+
*
8+
* Copyright (c) 2019 FroxyNetwork
9+
*
10+
* Permission is hereby granted, free of charge, to any person obtaining a copy
11+
* of this software and associated documentation files (the "Software"), to deal
12+
* in the Software without restriction, including without limitation the rights
13+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14+
* copies of the Software, and to permit persons to whom the Software is
15+
* furnished to do so, subject to the following conditions:
16+
*
17+
* The above copyright notice and this permission notice shall be included in
18+
* all copies or substantial portions of the Software.
19+
*
20+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26+
* SOFTWARE.
27+
*
28+
* @author 0ddlyoko
29+
*/
30+
/**
31+
* All methods are here
32+
*/
33+
public interface API {
34+
35+
public JavaPlugin getPlugin();
36+
}

src/main/java/com/froxynetwork/froxyapi/App.java

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)