Skip to content

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

Notifications You must be signed in to change notification settings

assada/ItemDatabaseLink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ItemDatabaseLink

Packaing Jar And Upload

Description

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

Examples:

INSERT INTO minecraft.idl_items (uuid, type, value, qty, status) VALUES ('3630a9c7-1b18-3c4d-9cc9-462674d3795e', 'MONEY', 'MONEY', 100, 0)

Add 100 Vault money

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

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

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

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

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)