Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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!
- Host: GitHub
- URL: https://github.com/assada/itemdatabaselink
- Owner: assada
- Created: 2022-01-09T11:48:55.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-06-19T04:05:17.000Z (over 1 year ago)
- Last Synced: 2024-10-11T03:42:00.726Z (about 1 month ago)
- Topics: bukkit, bukkit-plugin, craftbukkit, database, minecraft, minecraft-plugin, spigot-plugin, spigotmc
- Language: Java
- Homepage: https://dead.guru
- Size: 60.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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)