Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ manifest.mf
*~

# Java
*.jar

*.jar
38 changes: 16 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# MiniGameAPI

[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
![Java Version](https://img.shields.io/badge/Java-17%2B-blue.svg)
[![Java CI with Maven](https://github.com/TehSteel/MiniGameAPI/actions/workflows/maven.yml/badge.svg?branch=main)](https://github.com/TehSteel/MiniGameAPI/actions/workflows/maven.yml)
Expand All @@ -8,41 +7,36 @@


## Table of Contents

- [Getting Started](#getting-started)
- [Project Status](#project-status)
- [Projects & Examples](#projects)
- [License](#license)

## Getting Started
You may need to compile it from the source before using it.

```xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>

<dependency>
<groupId>com.github.tehsteel</groupId>
<artifactId>minigameapi</artifactId>
<!-- Make sure it's up-to-date -->
<version>VERSION</version>
<scope>compile</scope>
</dependency>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>

<dependency>
<groupId>dev.tehsteel</groupId>
<artifactId>minigameapi</artifactId>
<!-- Make sure it's up-to-date -->
<version>VERSION</version>
<scope>compile</scope>
</dependency>
```

### Initialize the Library

You must perform an initialization step to start using the Mini Game Library in your Java project. This step involves setting up essential configurations or providing necessary information for the library to function correctly.

You must initialize the lib before start using the MiniGameLib in your project.
```java
MiniGameLib.setPlugin(this);
```

## Project Status
<b>This project is currently under development and may not be stable. Use at your own risk.</b>
## Projects
- [SpleefGame](https://github.com/TehSteel/SpleefGame)

## License
This project is licensed under the [MIT License](LICENSE) - see the [LICENSE](LICENSE) file for details.
16 changes: 7 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.github.tehsteel</groupId>
<groupId>dev.tehsteel</groupId>
<artifactId>minigameapi</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>

<properties>
<maven.compiler.source>17</maven.compiler.source>
Expand All @@ -15,28 +15,27 @@
</properties>

<repositories>
<!-- Spigot repo -->
<!-- Spigot Maven Repo -->
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
</repositories>


<dependencies>
<!-- Spigot API -->
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.20.1-R0.1-SNAPSHOT</version>
<version>1.20.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>

<!-- Lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.28</version>
<version>1.18.30</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -55,7 +54,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.0</version>
<version>3.5.1</version>
<executions>
<execution>
<phase>package</phase>
Expand All @@ -78,5 +77,4 @@
</resources>
</build>

</project>

</project>
9 changes: 0 additions & 9 deletions src/main/java/com/github/tehsteel/minigameapi/Constants.java

This file was deleted.

42 changes: 0 additions & 42 deletions src/main/java/com/github/tehsteel/minigameapi/MiniGameLib.java

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading