Index
All Classes and Interfaces|All Packages
A
- add(T) - Method in class id.luckynetwork.lyrams.lyralibs.core.closer.Closer
-
adds a closable instance
- addDescription(String, String) - Method in class id.luckynetwork.lyrams.lyralibs.core.command.data.CommandExample.CommandExampleInfoBuilder
-
It adds a description to the command
- addEmbed(EmbedObject) - Method in class id.luckynetwork.lyrams.lyralibs.core.discord.DiscordWebhook
- ALICEBLUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color alice blue with an RGB value of #F0F8FF
- ANTIQUEWHITE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color antique white with an RGB value of #FAEBD7
- AQUA - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color aqua with an RGB value of #00FFFF
- AQUAMARINE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color aquamarine with an RGB value of #7FFFD4
- Author() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.discord.EmbedObject.Author
- AZURE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color azure with an RGB value of #F0FFFF
B
- BEIGE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color beige with an RGB value of #F5F5DC
- BISQUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color bisque with an RGB value of #FFE4C4
- BLACK - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color black with an RGB value of #000000
- BLANCHEDALMOND - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color blanched almond with an RGB value of #FFEBCD
- BLUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color blue with an RGB value of #0000FF
- BLUEVIOLET - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color blue violet with an RGB value of #8A2BE2
- broadcastObject(Object) - Method in class id.luckynetwork.lyrams.lyralibs.core.database.redis.RedisHandler
-
This function sends an object to all connected clients
- BROWN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color brown with an RGB value of #A52A2A
- build() - Method in class id.luckynetwork.lyrams.lyralibs.core.command.data.CommandExample.CommandExampleInfoBuilder
-
Builds the CommandExampleInfo object
- BURLYWOOD - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color burly wood with an RGB value of #DEB887
C
- CADETBLUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color cadet blue with an RGB value of #5F9EA0
- call() - Method in interface id.luckynetwork.lyrams.lyralibs.core.interfaces.Callable
- Callable - Interface in id.luckynetwork.lyrams.lyralibs.core.interfaces
- CHARTREUSE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color chartreuse with an RGB value of #7FFF00
- CHOCOLATE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color chocolate with an RGB value of #D2691E
- close() - Method in class id.luckynetwork.lyrams.lyralibs.core.closer.Closer
-
closes all closable instances
- close() - Method in class id.luckynetwork.lyrams.lyralibs.core.database.mysql.result.DefaultResult
- close() - Method in class id.luckynetwork.lyrams.lyralibs.core.database.mysql.result.HikariResult
- close() - Method in class id.luckynetwork.lyrams.lyralibs.core.database.mysql.result.Results
- close() - Method in class id.luckynetwork.lyrams.lyralibs.core.database.redis.RedisHandler
-
> Close the redis client
- Closer - Class in id.luckynetwork.lyrams.lyralibs.core.closer
- Closer() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.closer.Closer
-
constructs the closer instance
- ColorFactory - Class in id.luckynetwork.lyrams.lyralibs.core.discord
- ColorFactory() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
- colorize(boolean) - Method in enum class id.luckynetwork.lyrams.lyralibs.core.enums.TrueFalseType
- colorizeBold(boolean) - Method in enum class id.luckynetwork.lyrams.lyralibs.core.enums.TrueFalseType
- CommandExample - Class in id.luckynetwork.lyrams.lyralibs.core.command.data
- CommandExample() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.command.data.CommandExample
- CommandExample.CommandExampleInfoBuilder - Class in id.luckynetwork.lyrams.lyralibs.core.command.data
- CommandExampleInfoBuilder() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.command.data.CommandExample.CommandExampleInfoBuilder
- CommandHelpGenerator - Class in id.luckynetwork.lyrams.lyralibs.core.command
- CommandHelpGenerator() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.command.CommandHelpGenerator
- CommandInfo - Class in id.luckynetwork.lyrams.lyralibs.core.command.data
- CommandInfo() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.command.data.CommandInfo
- connect() - Method in class id.luckynetwork.lyrams.lyralibs.core.database.mysql.MySQL
-
It connects to the database
- connect() - Method in class id.luckynetwork.lyrams.lyralibs.core.database.redis.RedisHandler
-
We create three JedisPools, one for each of the Jedis instances we'll be using, and then we ping each of them to make sure they're working.
- CORAL - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color coral with an RGB value of #FF7F50
- CORNFLOWERBLUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color cornflower blue with an RGB value of #6495ED
- CORNSILK - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color cornsilk with an RGB value of #FFF8DC
- CRIMSON - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color crimson with an RGB value of #DC143C
- CYAN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color cyan with an RGB value of #00FFFF
D
- DARKBLUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dark blue with an RGB value of #00008B
- DARKCYAN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dark cyan with an RGB value of #008B8B
- DARKGOLDENROD - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dark goldenrod with an RGB value of #B8860B
- DARKGRAY - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dark gray with an RGB value of #A9A9A9
- DARKGREEN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dark green with an RGB value of #006400
- DARKGREY - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dark grey with an RGB value of #A9A9A9
- DARKKHAKI - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dark khaki with an RGB value of #BDB76B
- DARKMAGENTA - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dark magenta with an RGB value of #8B008B
- DARKOLIVEGREEN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dark olive green with an RGB value of #556B2F
- DARKORANGE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dark orange with an RGB value of #FF8C00
- DARKORCHID - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dark orchid with an RGB value of #9932CC
- DARKRED - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dark red with an RGB value of #8B0000
- DARKSALMON - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dark salmon with an RGB value of #E9967A
- DARKSEAGREEN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dark sea green with an RGB value of #8FBC8F
- DARKSLATEBLUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dark slate blue with an RGB value of #483D8B
- DARKSLATEGRAY - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dark slate gray with an RGB value of #2F4F4F
- DARKSLATEGREY - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dark slate grey with an RGB value of #2F4F4F
- DARKTURQUOISE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dark turquoise with an RGB value of #00CED1
- DARKVIOLET - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dark violet with an RGB value of #9400D3
- DateUtils - Class in id.luckynetwork.lyrams.lyralibs.core.utils
- DateUtils() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.utils.DateUtils
- DEEPPINK - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color deep pink with an RGB value of #FF1493
- DEEPSKYBLUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color deep sky blue with an RGB value of #00BFFF
- DEFAULT - Enum constant in enum class id.luckynetwork.lyrams.lyralibs.core.enums.TrueFalseType
- DefaultResult - Class in id.luckynetwork.lyrams.lyralibs.core.database.mysql.result
- DefaultResult(Connection, Statement, ResultSet) - Constructor for class id.luckynetwork.lyrams.lyralibs.core.database.mysql.result.DefaultResult
- DependencyHelper - Class in id.luckynetwork.lyrams.lyralibs.core.dependency
-
credit to Alviann (...)
- DependencyHelper() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.dependency.DependencyHelper
- DependencyHelper(ClassLoader) - Constructor for class id.luckynetwork.lyrams.lyralibs.core.dependency.DependencyHelper
- DIMGRAY - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dim gray with an RGB value of #696969
- DIMGREY - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dim grey with an RGB value of #696969
- disconnect() - Method in class id.luckynetwork.lyrams.lyralibs.core.database.mysql.MySQL
-
If the connection is open, close it.
- DiscordHandler - Class in id.luckynetwork.lyrams.lyralibs.core.discord
- DiscordHandler() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.discord.DiscordHandler
- DiscordWebhook - Class in id.luckynetwork.lyrams.lyralibs.core.discord
- DiscordWebhook(String) - Constructor for class id.luckynetwork.lyrams.lyralibs.core.discord.DiscordWebhook
-
Constructs a new DiscordWebhook instance
- DODGERBLUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color dodger blue with an RGB value of #1E90FF
- download(String, String, Path) - Method in class id.luckynetwork.lyrams.lyralibs.core.dependency.DependencyHelper
-
downloads a dependency file
- download(Map<String, String>, Path) - Method in class id.luckynetwork.lyrams.lyralibs.core.dependency.DependencyHelper
-
downloads the dependencies
- downloadDependencies(ClassLoader, File) - Static method in class id.luckynetwork.lyrams.lyralibs.core.LyraLibsCore
- durationToLong(int, TimeUnit) - Method in class id.luckynetwork.lyrams.lyralibs.core.utils.DateUtils
-
Convert a duration to milliseconds.
- durationToLong(String) - Method in class id.luckynetwork.lyrams.lyralibs.core.utils.DateUtils
-
It takes a string like "1h" or "2weeks" and converts it to a long value in milliseconds
- durationToString(long) - Method in class id.luckynetwork.lyrams.lyralibs.core.utils.DateUtils
-
It converts a duration in milliseconds to a human-readable string.
E
- EmbedObject - Class in id.luckynetwork.lyrams.lyralibs.core.discord
-
It's a class that represents an embed object
- EmbedObject() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.discord.EmbedObject
- EmbedObject.Author - Class in id.luckynetwork.lyrams.lyralibs.core.discord
- EmbedObject.Field - Class in id.luckynetwork.lyrams.lyralibs.core.discord
- EmbedObject.Footer - Class in id.luckynetwork.lyrams.lyralibs.core.discord
- EmbedObject.Image - Class in id.luckynetwork.lyrams.lyralibs.core.discord
- EmbedObject.Thumbnail - Class in id.luckynetwork.lyrams.lyralibs.core.discord
- ENABLED - Enum constant in enum class id.luckynetwork.lyrams.lyralibs.core.enums.TrueFalseType
- example(String) - Method in class id.luckynetwork.lyrams.lyralibs.core.command.data.CommandExample.CommandExampleInfoBuilder
-
It adds an example to the command Example: /message LyraMS hi
- execute() - Method in class id.luckynetwork.lyrams.lyralibs.core.database.mysql.Query
-
Execute the SQL query and close the statement.
- execute() - Method in class id.luckynetwork.lyrams.lyralibs.core.discord.DiscordWebhook
-
It takes the data you've set and sends it to the webhook URL
- executeQuery(String) - Method in class id.luckynetwork.lyrams.lyralibs.core.database.mysql.MySQL
-
"Execute the given SQL query, and call the given callback function with the results."
- ExecutorUtils - Class in id.luckynetwork.lyrams.lyralibs.core.utils
- ExecutorUtils() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.utils.ExecutorUtils
F
- Field() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.discord.EmbedObject.Field
- FIREBRICK - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color firebrick with an RGB value of #B22222
- FLORALWHITE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color floral white with an RGB value of #FFFAF0
- Footer() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.discord.EmbedObject.Footer
- FORESTGREEN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color forest green with an RGB value of #228B22
- FUCHSIA - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color fuchsia with an RGB value of #FF00FF
G
- GAINSBORO - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color gainsboro with an RGB value of #DCDCDC
- generateHelpCommand(String, String, String, List<String>, List<CommandInfo>) - Method in class id.luckynetwork.lyrams.lyralibs.core.command.CommandHelpGenerator
-
It generates a help command for a plugin
- generateHelpCommand(String, String, List<String>, List<CommandInfo>) - Method in class id.luckynetwork.lyrams.lyralibs.core.command.CommandHelpGenerator
-
It generates a help command for a plugin
- get() - Method in interface id.luckynetwork.lyrams.lyralibs.core.interfaces.Returnable
- getCollection(String) - Method in class id.luckynetwork.lyrams.lyralibs.core.database.mongo.MongoManager
-
If the collection is not loaded, load it
- getConnection() - Method in class id.luckynetwork.lyrams.lyralibs.core.database.mysql.MySQL
- getFixedExecutorService(String) - Method in class id.luckynetwork.lyrams.lyralibs.core.utils.ExecutorUtils
-
> It creates a fixed size thread pool with a custom thread factory that sets the thread name and a custom uncaught exception handler that logs the exception
- getFixedExecutorService(String, int) - Method in class id.luckynetwork.lyrams.lyralibs.core.utils.ExecutorUtils
-
> It creates a fixed size thread pool with a custom thread factory that sets the thread name and a custom uncaught exception handler that logs the exception
- getFixedScheduledExecutorService(String) - Method in class id.luckynetwork.lyrams.lyralibs.core.utils.ExecutorUtils
-
> It creates a new `ScheduledExecutorService` with a fixed pool size, and a `ThreadFactory` that creates threads with a name format of `name` and a `LuckyThreadFactory` that creates threads with a name format of `name`
- getFixedScheduledExecutorService(String, int) - Method in class id.luckynetwork.lyrams.lyralibs.core.utils.ExecutorUtils
-
> It creates a new `ScheduledExecutorService` with a fixed pool size, and a `ThreadFactory` that creates threads with a name format of `name` and a `LuckyThreadFactory` that creates threads with a name format of `name`
- getFormattedDate() - Method in class id.luckynetwork.lyrams.lyralibs.core.utils.DateUtils
-
This function returns the current date
- getResults() - Method in class id.luckynetwork.lyrams.lyralibs.core.database.mysql.Query
-
Get a connection, create a statement, execute the query, and return the results.
- getSingleThreadedExecutor(String) - Method in class id.luckynetwork.lyrams.lyralibs.core.utils.ExecutorUtils
-
Create a single threaded executor with a thread factory that creates threads with the given name and a custom uncaught exception handler.
- getSingleThreadedScheduledExecutor(String) - Method in class id.luckynetwork.lyrams.lyralibs.core.utils.ExecutorUtils
-
Create a single threaded scheduled executor with a custom thread factory that sets the thread name and uses LuckyThreadFactory to set the thread priority.
- getUnlimitedExecutorService(String) - Method in class id.luckynetwork.lyrams.lyralibs.core.utils.ExecutorUtils
-
Create a thread pool executor with an unlimited number of threads, and a thread factory that creates threads with the given name.
- getUnlimitedScheduledExecutorService(String) - Method in class id.luckynetwork.lyrams.lyralibs.core.utils.ExecutorUtils
-
Create a scheduled executor service with an unlimited number of threads, and allow the threads to time out.
- getWorkStealingExecutor(String) - Method in class id.luckynetwork.lyrams.lyralibs.core.utils.ExecutorUtils
-
It creates a ForkJoinPool with a custom thread factory that renames the threads
- GHOSTWHITE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color ghost white with an RGB value of #F8F8FF
- GOLD - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color gold with an RGB value of #FFD700
- GOLDENROD - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color goldenrod with an RGB value of #DAA520
- GRAY - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color gray with an RGB value of #808080
- GREEN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color green with an RGB value of #008000
- GREENYELLOW - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color green yellow with an RGB value of #ADFF2F
- GREY - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color grey with an RGB value of #808080
- GsonTypes - Class in id.luckynetwork.lyrams.lyralibs.core.utils
- GsonTypes() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.utils.GsonTypes
H
- HikariResult - Class in id.luckynetwork.lyrams.lyralibs.core.database.mysql.result
- HikariResult(Connection, Statement, ResultSet) - Constructor for class id.luckynetwork.lyrams.lyralibs.core.database.mysql.result.HikariResult
- HONEYDEW - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color honeydew with an RGB value of #F0FFF0
- HOTPINK - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color hot pink with an RGB value of #FF69B4
- hsb(double, double, double) - Static method in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
Creates an opaque
Colorbased on the specified values in the HSB color model. - hsb(double, double, double, double) - Static method in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
Creates a
Colorbased on the specified values in the HSB color model, and a given opacity. - HSBtoRGB(double, double, double) - Static method in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
I
- id.luckynetwork.lyrams.lyralibs.core - package id.luckynetwork.lyrams.lyralibs.core
- id.luckynetwork.lyrams.lyralibs.core.closer - package id.luckynetwork.lyrams.lyralibs.core.closer
- id.luckynetwork.lyrams.lyralibs.core.command - package id.luckynetwork.lyrams.lyralibs.core.command
- id.luckynetwork.lyrams.lyralibs.core.command.data - package id.luckynetwork.lyrams.lyralibs.core.command.data
- id.luckynetwork.lyrams.lyralibs.core.database.mongo - package id.luckynetwork.lyrams.lyralibs.core.database.mongo
- id.luckynetwork.lyrams.lyralibs.core.database.mysql - package id.luckynetwork.lyrams.lyralibs.core.database.mysql
- id.luckynetwork.lyrams.lyralibs.core.database.mysql.result - package id.luckynetwork.lyrams.lyralibs.core.database.mysql.result
- id.luckynetwork.lyrams.lyralibs.core.database.redis - package id.luckynetwork.lyrams.lyralibs.core.database.redis
- id.luckynetwork.lyrams.lyralibs.core.database.redis.annotations - package id.luckynetwork.lyrams.lyralibs.core.database.redis.annotations
- id.luckynetwork.lyrams.lyralibs.core.dependency - package id.luckynetwork.lyrams.lyralibs.core.dependency
- id.luckynetwork.lyrams.lyralibs.core.discord - package id.luckynetwork.lyrams.lyralibs.core.discord
- id.luckynetwork.lyrams.lyralibs.core.enums - package id.luckynetwork.lyrams.lyralibs.core.enums
- id.luckynetwork.lyrams.lyralibs.core.interfaces - package id.luckynetwork.lyrams.lyralibs.core.interfaces
- id.luckynetwork.lyrams.lyralibs.core.utils - package id.luckynetwork.lyrams.lyralibs.core.utils
- Image() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.discord.EmbedObject.Image
- INDIANRED - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color indian red with an RGB value of #CD5C5C
- INDIGO - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color indigo with an RGB value of #4B0082
- INT_LIST - Variable in class id.luckynetwork.lyrams.lyralibs.core.utils.GsonTypes
- isConnected() - Method in class id.luckynetwork.lyrams.lyralibs.core.database.mysql.MySQL
-
If the connection is not null, and it's not closed, and it's valid, then it's connected
- isConnected() - Method in class id.luckynetwork.lyrams.lyralibs.core.database.redis.RedisHandler
-
If any of the three pools are not connected, or if the pubSub is not subscribed, then return false.
- IVORY - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color ivory with an RGB value of #FFFFF0
K
- KHAKI - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color khaki with an RGB value of #F0E68C
L
- LAVENDER - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color lavender with an RGB value of #E6E6FA
- LAVENDERBLUSH - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color lavender blush with an RGB value of #FFF0F5
- LAWNGREEN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color lawn green with an RGB value of #7CFC00
- LEMONCHIFFON - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color lemon chiffon with an RGB value of #FFFACD
- LIGHTBLUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color light blue with an RGB value of #ADD8E6
- LIGHTCORAL - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color light coral with an RGB value of #F08080
- LIGHTCYAN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color light cyan with an RGB value of #E0FFFF
- LIGHTGOLDENRODYELLOW - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color light goldenrod yellow with an RGB value of #FAFAD2
- LIGHTGRAY - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color light gray with an RGB value of #D3D3D3
- LIGHTGREEN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color light green with an RGB value of #90EE90
- LIGHTGREY - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color light grey with an RGB value of #D3D3D3
- LIGHTPINK - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color light pink with an RGB value of #FFB6C1
- LIGHTSALMON - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color light salmon with an RGB value of #FFA07A
- LIGHTSEAGREEN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color light sea green with an RGB value of #20B2AA
- LIGHTSKYBLUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color light sky blue with an RGB value of #87CEFA
- LIGHTSLATEGRAY - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color light slate gray with an RGB value of #778899
- LIGHTSLATEGREY - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color light slate grey with an RGB value of #778899
- LIGHTSTEELBLUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color light steel blue with an RGB value of #B0C4DE
- LIGHTYELLOW - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color light yellow with an RGB value of #FFFFE0
- LIME - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color lime with an RGB value of #00FF00
- LIMEGREEN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color lime green with an RGB value of #32CD32
- LINEN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color linen with an RGB value of #FAF0E6
- load(File) - Method in class id.luckynetwork.lyrams.lyralibs.core.dependency.DependencyHelper
-
loads the dependency file
- loadCollection(String) - Method in class id.luckynetwork.lyrams.lyralibs.core.database.mongo.MongoManager
-
It loads a collection from the database and stores it in a hashmap
- loadDir(Path) - Method in class id.luckynetwork.lyrams.lyralibs.core.dependency.DependencyHelper
-
loads all dependencies on a specific directory
- LONG_LIST - Variable in class id.luckynetwork.lyrams.lyralibs.core.utils.GsonTypes
- LyraLibsCore - Class in id.luckynetwork.lyrams.lyralibs.core
- LyraLibsCore() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.LyraLibsCore
M
- MAGENTA - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color magenta with an RGB value of #FF00FF
- MAROON - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color maroon with an RGB value of #800000
- MEDIUMAQUAMARINE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color medium aquamarine with an RGB value of #66CDAA
- MEDIUMBLUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color medium blue with an RGB value of #0000CD
- MEDIUMORCHID - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color medium orchid with an RGB value of #BA55D3
- MEDIUMPURPLE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color medium purple with an RGB value of #9370DB
- MEDIUMSEAGREEN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color medium sea green with an RGB value of #3CB371
- MEDIUMSLATEBLUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color medium slate blue with an RGB value of #7B68EE
- MEDIUMSPRINGGREEN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color medium spring green with an RGB value of #00FA9A
- MEDIUMTURQUOISE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color medium turquoise with an RGB value of #48D1CC
- MEDIUMVIOLETRED - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color medium violet red with an RGB value of #C71585
- MIDNIGHTBLUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color midnight blue with an RGB value of #191970
- MINTCREAM - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color mint cream with an RGB value of #F5FFFA
- MISTYROSE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color misty rose with an RGB value of #FFE4E1
- MOCCASIN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color moccasin with an RGB value of #FFE4B5
- MongoConfiguration - Class in id.luckynetwork.lyrams.lyralibs.core.database.mongo
- MongoConfiguration() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.database.mongo.MongoConfiguration
- MongoManager - Class in id.luckynetwork.lyrams.lyralibs.core.database.mongo
- MongoManager(MongoConfiguration, Logger) - Constructor for class id.luckynetwork.lyrams.lyralibs.core.database.mongo.MongoManager
- MySQL - Class in id.luckynetwork.lyrams.lyralibs.core.database.mysql
- MySQL(String, String, String, String, String, boolean) - Constructor for class id.luckynetwork.lyrams.lyralibs.core.database.mysql.MySQL
- MySQL(String, String, String, String, String, boolean, boolean) - Constructor for class id.luckynetwork.lyrams.lyralibs.core.database.mysql.MySQL
N
- NAVAJOWHITE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color navajo white with an RGB value of #FFDEAD
- NAVY - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color navy with an RGB value of #000080
- newBuilder() - Static method in class id.luckynetwork.lyrams.lyralibs.core.command.data.CommandExample
O
- OLDLACE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color old lace with an RGB value of #FDF5E6
- OLIVE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color olive with an RGB value of #808000
- OLIVEDRAB - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color olive drab with an RGB value of #6B8E23
- ON_OFF - Enum constant in enum class id.luckynetwork.lyrams.lyralibs.core.enums.TrueFalseType
- ORANGE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color orange with an RGB value of #FFA500
- ORANGERED - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color orange red with an RGB value of #FF4500
- ORCHID - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color orchid with an RGB value of #DA70D6
P
- packetID() - Element in annotation interface id.luckynetwork.lyrams.lyralibs.core.database.redis.annotations.RedisObject
- PALEGOLDENROD - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color pale goldenrod with an RGB value of #EEE8AA
- PALEGREEN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color pale green with an RGB value of #98FB98
- PALETURQUOISE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color pale turquoise with an RGB value of #AFEEEE
- PALEVIOLETRED - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color pale violet red with an RGB value of #DB7093
- PAPAYAWHIP - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color papaya whip with an RGB value of #FFEFD5
- PEACHPUFF - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color peach puff with an RGB value of #FFDAB9
- PERU - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color peru with an RGB value of #CD853F
- PINK - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color pink with an RGB value of #FFC0CB
- PLUM - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color plum with an RGB value of #DDA0DD
- POWDERBLUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color powder blue with an RGB value of #B0E0E6
- PURPLE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color purple with an RGB value of #800080
Q
- Query - Class in id.luckynetwork.lyrams.lyralibs.core.database.mysql
- Query() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.database.mysql.Query
- QueryBuilder - Class in id.luckynetwork.lyrams.lyralibs.core.database.mysql
- QueryBuilder(String) - Constructor for class id.luckynetwork.lyrams.lyralibs.core.database.mysql.QueryBuilder
R
- reconnect() - Method in class id.luckynetwork.lyrams.lyralibs.core.database.redis.RedisHandler
-
It tries to reconnect to the redis server
- RED - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color red with an RGB value of #FF0000
- RedisConfiguration - Class in id.luckynetwork.lyrams.lyralibs.core.database.redis
- RedisConfiguration() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.database.redis.RedisConfiguration
- RedisData - Class in id.luckynetwork.lyrams.lyralibs.core.database.redis
- RedisData() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.database.redis.RedisData
- RedisHandler - Class in id.luckynetwork.lyrams.lyralibs.core.database.redis
- RedisHandler(Returnable<ExecutorService>, Logger, RedisConfiguration) - Constructor for class id.luckynetwork.lyrams.lyralibs.core.database.redis.RedisHandler
- RedisListener - Annotation Interface in id.luckynetwork.lyrams.lyralibs.core.database.redis.annotations
- RedisObject - Annotation Interface in id.luckynetwork.lyrams.lyralibs.core.database.redis.annotations
- registerListener(Object) - Method in class id.luckynetwork.lyrams.lyralibs.core.database.redis.RedisHandler
-
It loops through all the methods in the class, and if it finds a method with the RedisListener annotation, it checks if the method has one parameter, and if it does, it adds the method to the dataMap
- registerObject(Class<?>) - Method in class id.luckynetwork.lyrams.lyralibs.core.database.redis.RedisHandler
-
If the class has the RedisObject annotation, add it to the objectMap
- replace(Object...) - Method in class id.luckynetwork.lyrams.lyralibs.core.database.mysql.QueryBuilder
-
replaces every '?' in the query with the replacements sequentially
- results(String) - Method in class id.luckynetwork.lyrams.lyralibs.core.database.mysql.MySQL
-
"Execute the given SQL statement and return the results."
- Results - Class in id.luckynetwork.lyrams.lyralibs.core.database.mysql.result
- Results() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.database.mysql.result.Results
- Returnable<T> - Interface in id.luckynetwork.lyrams.lyralibs.core.interfaces
- RGBtoHSB(double, double, double) - Static method in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
- ROSYBROWN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color rosy brown with an RGB value of #BC8F8F
- ROYALBLUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color royal blue with an RGB value of #4169E1
S
- SADDLEBROWN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color saddle brown with an RGB value of #8B4513
- SALMON - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color salmon with an RGB value of #FA8072
- SANDYBROWN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color sandy brown with an RGB value of #F4A460
- SEAGREEN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color sea green with an RGB value of #2E8B57
- SEASHELL - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color sea shell with an RGB value of #FFF5EE
- sendObject(Object, String) - Method in class id.luckynetwork.lyrams.lyralibs.core.database.redis.RedisHandler
-
It sends an object to a specific server
- sendWebhook(String, String, List<String>, String) - Method in class id.luckynetwork.lyrams.lyralibs.core.discord.DiscordHandler
-
It sends a webhook to the specified URL with the specified title, description, and color
- setAuthor(String, String, String) - Method in class id.luckynetwork.lyrams.lyralibs.core.discord.EmbedObject
- setClientName(String) - Method in class id.luckynetwork.lyrams.lyralibs.core.database.redis.RedisConfiguration
-
Sets the client name
- setDateFormat(String) - Method in class id.luckynetwork.lyrams.lyralibs.core.utils.DateUtils
-
This function sets the date format to the format specified by the user.
- setFooter(String, String) - Method in class id.luckynetwork.lyrams.lyralibs.core.discord.EmbedObject
- setPassword(String) - Method in class id.luckynetwork.lyrams.lyralibs.core.database.redis.RedisConfiguration
-
Sets the password for the Redis server.
- setTimeout(int) - Method in class id.luckynetwork.lyrams.lyralibs.core.database.redis.RedisConfiguration
-
Sets the timeout before a connection is considered failed object.
- setTimeZone(String) - Method in class id.luckynetwork.lyrams.lyralibs.core.utils.DateUtils
-
Set the time zone for the date format.
- SIENNA - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color sienna with an RGB value of #A0522D
- SILVER - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color silver with an RGB value of #C0C0C0
- SKYBLUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color sky blue with an RGB value of #87CEEB
- SLATEBLUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color slate blue with an RGB value of #6A5ACD
- SLATEGRAY - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color slate gray with an RGB value of #708090
- SLATEGREY - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color slate grey with an RGB value of #708090
- SNOW - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color snow with an RGB value of #FFFAFA
- SPRINGGREEN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color spring green with an RGB value of #00FF7F
- STEELBLUE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color steel blue with an RGB value of #4682B4
- STRING_LIST - Variable in class id.luckynetwork.lyrams.lyralibs.core.utils.GsonTypes
T
- TAN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color tan with an RGB value of #D2B48C
- TEAL - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color teal with an RGB value of #008080
- THISTLE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color thistle with an RGB value of #D8BFD8
- Thumbnail() - Constructor for class id.luckynetwork.lyrams.lyralibs.core.discord.EmbedObject.Thumbnail
- toDate(long) - Method in class id.luckynetwork.lyrams.lyralibs.core.utils.DateUtils
-
> It takes a long value representing milliseconds since the epoch, and returns a string representing the date in the format "yyyy-MM-dd"
- TOMATO - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color tomato with an RGB value of #FF6347
- toTicks(long, TimeUnit) - Static method in class id.luckynetwork.lyrams.lyralibs.core.utils.DateUtils
-
Converts the given amount of time in the given unit to ticks.
- TRANSPARENT - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
A fully transparent color with an ARGB value of #00000000.
- TrueFalseType - Enum Class in id.luckynetwork.lyrams.lyralibs.core.enums
- TURQUOISE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color turquoise with an RGB value of #40E0D0
V
- valueOf(String) - Static method in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
Creates a color value from a string representation.
- valueOf(String) - Static method in enum class id.luckynetwork.lyrams.lyralibs.core.enums.TrueFalseType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class id.luckynetwork.lyrams.lyralibs.core.enums.TrueFalseType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VIOLET - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color violet with an RGB value of #EE82EE
W
- web(String) - Static method in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
Creates an RGB color specified with an HTML or CSS attribute string.
- web(String, double) - Static method in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
Creates an RGB color specified with an HTML or CSS attribute string.
- WHEAT - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color wheat with an RGB value of #F5DEB3
- WHITE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color white with an RGB value of #FFFFFF
- WHITESMOKE - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color white smoke with an RGB value of #F5F5F5
Y
- YELLOW - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color yellow with an RGB value of #FFFF00
- YELLOWGREEN - Static variable in class id.luckynetwork.lyrams.lyralibs.core.discord.ColorFactory
-
The color yellow green with an RGB value of #9ACD32
All Classes and Interfaces|All Packages