Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/assada/itemdatabaselink

:inbox_tray: The simple items provider plugin for the Bukkit/Spigot API!
https://github.com/assada/itemdatabaselink

bukkit bukkit-plugin craftbukkit database minecraft minecraft-plugin spigot-plugin spigotmc

Last synced: 7 days ago
JSON representation

:inbox_tray: The simple items provider plugin for the Bukkit/Spigot API!

Awesome Lists containing this project

README

        

# ItemDatabaseLink

[![Packaing Jar And Upload](https://github.com/assada/ItemDatabaseLink/actions/workflows/maven.yml/badge.svg)](https://github.com/assada/ItemDatabaseLink/actions/workflows/maven.yml)

## Description
With IDL you can reward player with some materials/items/effects/money to players via database.

Examples:
```sql
INSERT INTO minecraft.idl_items (uuid, type, value, qty, status) VALUES ('3630a9c7-1b18-3c4d-9cc9-462674d3795e', 'MONEY', 'MONEY', 100, 0)
```
Add 100 Vault money
```sql
INSERT INTO minecraft.idl_items (uuid, type, value, qty, status) VALUES ('3630a9c7-1b18-3c4d-9cc9-462674d3795e', 'ITEM', 'DIAMOND', 64, 0)
```
Gives 64 diamonds for player with uuid 3630a9c7-1b18-3c4d-9cc9-462674d3795e
```sql
INSERT INTO minecraft.idl_items (uuid, type, value, qty, status) VALUES ('3630a9c7-1b18-3c4d-9cc9-462674d3795e', 'EFFECT', 'SPEED', 999, 0)
```
Apply speed potion(for 99.9 seconds) for player with uuid 3630a9c7-1b18-3c4d-9cc9-462674d3795e

```sql
INSERT INTO minecraft.idl_items (uuid, type, value, qty, status) VALUES ('3630a9c7-1b18-3c4d-9cc9-462674d3795e', 'EXPERIENCE', 'Experience', 10000, 0)
```
Add 10000 experience for player with uuid 3630a9c7-1b18-3c4d-9cc9-462674d3795e
```sql
INSERT INTO minecraft.idl_items (uuid, type, value, qty, status) VALUES ('3630a9c7-1b18-3c4d-9cc9-462674d3795e', 'HEAL', 'Heal', 0, 0)
```
Full heal and remove all bad potion effects player with uuid 3630a9c7-1b18-3c4d-9cc9-462674d3795e
```sql
INSERT INTO minecraft.idl_items (uuid, type, value, qty, status) VALUES ('3630a9c7-1b18-3c4d-9cc9-462674d3795e', 'PERMISSION', 'test.perm', 100, 0)
```
Add `test.perm` LuckPerms permission to user with 100 seconds expiration

## Features
* Databases: MySQL (more in future if requested)
* `/claim` command for getting all new items to inventory (or dropping on ground if inventory is full) or apply other rewards
* flexible configuration
* AuthMe integration (DB requests after successful login)
* Vault integration (for money rewards)
* LuckPerms integration (permisson as reward)