Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xFedeT authored May 4, 2024
1 parent c383ec1 commit 1aabf61
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# MinigamesAPI

[![Build Status](https://github.com/xFedeT/MinigamesAPI/actions/workflows/gradle.yml/badge.svg)](https://github.com/xFedeT/MinigamesAPI/actions?query=branch%3Amain)
[![Code Climate](https://codeclimate.com/github/xFedeT/MinigamesAPI/badges/gpa.svg)](https://codeclimate.com/github/xFedeT/MinigamesAPI)
![Visitors](https://visitor-badge.laobi.icu/badge?page_id=xFedeT.MinigamesAPI)

A Minigame Plugin/API core that allow to create custom Minigame

- Simple to use
- Lightweight
- Flexible
- Null-safe
- Better performance
- Better optimization


## How it works


### Integration
Start using MinigamesAPI by adding this to your pom.xml:
```xml
<repositories>
<repository>
<id>JitPack</id>
<url>https://jitpack.io</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>com.github.xFedeT</groupId>
<artifactId>MinigamesAPI</artifactId>
<version>VERSION</version>
</dependency>
</dependencies>
```

or build.gradle:
```kotlin
repositories {
maven { url 'https://jitpack.io' }
}

dependencies {
implementation 'com.github.xFedeT:MinigamesAPI:VERSION'
}
```

### Getting Started

**Getting MinigamesAPI in you project**
```java
public class YourPlugin extends JavaPlugin implements Minigame {
@Override
public void onEnable() {
minigamesAPI = MinigamesProvider.get();
minigamesAPI.registerMinigame(this);
}
}
```
:pencil: Read the full documentation in the [MinigamesAPI Wiki](https://github.com/xFedeT/MinigamesAPI/wiki).

:pencil: See a full working example based on this
[here](https://github.com/xFedeT/MinigamesAPI/tree/main/sumo).

0 comments on commit 1aabf61

Please sign in to comment.