Skip to content

An example plugin that shows how to use PostgreSQL with Spigot (Minecraft plugin development)

Notifications You must be signed in to change notification settings

barbarbar338/spigot-postgresql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spigot PostgreSQL Plugin Example

  • A simple example plugin showing how to connect with PostgreSQL

Database Setup

  • Create a table called dummy
  • Add id row whic is primary and type text
  • Add content row whic is type text

Table Example

Usage

  • Build plugin
  • Run command /create to create dummy data
  • Run command /read to read dummy data
  • Run command /delete to delete dummy data

Example

Example Gif