# Home

T-MinigameAPI is a modern, flexible, and easy-to-use library for creating Minecraft minigames.&#x20;

The library works from 1.13.2 to 1.21.x.

JavaDocs: <https://timsixth.pl/javadocs/minigame_api/2.0.0/>

Support discord server: <https://discord.gg/zKmMy8bK56>

Do you have a bug? Report it in the issues section on Github: <https://github.com/timsixth/MinigameAPI/issues>

**Why I have created the library?**

I created this library because I have seen that more minigame components are repeatable, maybe timers, stats systems, arena systems, team systems, and coins systems.

I have tried to implement a library that can be easy to use. In my opinion, this library is simple to use because e.g. arena system is already implemented and can you only use this implementation or create your own. The second good example is the default statistics system which is already implemented, but you can create your own.&#x20;

**Main library features:**

* Arena management system
* Game management system
* Game cosmetics system
* Teams in-game
* Advanced loading system from YAML files&#x20;
* Game statistics system
* Coins system
* Simple minigame configuration
* Simple saving, deleting and updating system (You don't have to write a query to a database or use YAML spigot API to execute these actions)
* Modules system (You can install modules, which are add more functionality)
* Rejoin feature

**Features which are included via modules:**

* Advanced loading system from SQL databases (MySQL or SQLite)
* Integration with T-DataBasesAPI (Thanks to this plugin management of SQL databases is really simple)&#x20;
* Commands API (You can create parent commands and subcommands in separate classes)&#x20;
* MongoDb support

The features are described in next sections.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://timsixths-plugins.gitbook.io/minigameapi-docs/home.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
