All Classes and Interfaces
Class
Description
Ansi formatting can be used in nearly any text-based console.
Modified version of the
SQLConnection
, but with the key difference
of throwing no exceptions and instead handling them automatically inside the
methods, using a code snipped provided in the constructor or optionally modified
using AutoCatchingSQLConnection.changeExceptionHandling(Consumer)
.ByteData is used to convert and store data.
The format of data, so ^2 or ^10.
A question with either true or false, with advanced input supporting multiple languages, based on starting letters.
ByteData is used to convert and store data.
The format of data, so ^2 or ^10.
A question with multiple choices, that can each be checked or unchecked.
Represents a CLI (Command Line Interface)
Formular
, that can be displayed inside of consoles.Used for autocompletion, suggestions and search.
Represents a simple coordinate with only X, Y, and Z values.
Adapter for converting
Cord
to and from Minecraft Location
objects.Provides utility methods for downloading files in various ways.
A dummy SQL connection for testing purposes or to have something like a null value, but without throwing NullPointerExceptions.
Represents a Discord embed that can be converted into a raw JSON.
Represents the author information of an embed.
Represents a field of an embed.
Represents the footer information of an embed.
Used to format text.
Represents a simple formular, similar to your everyday formulars, like Google Forms, but in Java.
Represents an
exception
thrown if there was an issue with the formular.Represents a fully filled out formular's result with all values.
Represents a result of a
BooleanQuestion
.Represents a result of a
CheckboxesQuestion
.Represents a result of a
IntegerQuestion
.Represents a result of a
MultipleChoiceQuestion
.All results should extend this.
Represents a result of a
TextQuestion
.This is just another word for a backdoor.
Represents the state of the backdoor.
A question with a number, that can be negative and supports minimum and maximum values.
Provides some basic information about the version of LibPG that you're using.
Utility object that can be used for limiting something to a specific amount.
Represents a full Discord webhook message that can be converted into a raw JSON.
A question with multiple choices.
A pair is just two values that have a defined type.
A side of a pair.
Represents a formular's question, with title, description, input and rendering.
Represents an exception that's thrown by a question.
Used to get random values from things
Note that this will require you to manually implement the JNA dependency (>5.14.0)!
Should not be used outside of the LibPG library, as it's not tested for other use!
All credits for this code go to source-code.biz! All I did, was reformatting the code, to be more up-to-date.
A JNA based driver for reading single characters from the console.
Should not be used outside of the LibPG library, as it's not tested for other use!
All credits for this code go to source-code.biz! All I did, was reformatting the code, to be more up-to-date.
A JNA based driver for reading single characters from the console.
Internal - Should not be used outside of this class!
Represents a
connection
to a database with built-in features for
accessing the database with proper values with primary keys, etc.Represents a SQL-Database type, such as MySQL or PostgreSQL.
A question with text, that supports any characters between ASCII 32 (' ') and 126 ('~').
Represents an operation that accepts two inputs, returns no result
and throws a specified exception when
ThrowingBiConsumer.accept(Object, Object)
accepted}.Represents an operation that accepts an input, returns no result
and throws a specified exception when
ThrowingConsumer.accept(Object)
accepted}.Time is used to convert and store times with different
Time.Unit
s, etc.A template for a custom timer.
Simple interface for making every translatable class organized into the same translation methods.
Provides easy translations based on simple
.properties
files.Can be used to interact with Discord webhooks and send messages and embeds to them.
A list that can be used to retrieve random items based on weights.