mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-05 00:56:42 +00:00
- Change indefinite bans config system to be more organized
- Store indefinite bans through an object instead - Add debug redis messages - Make loading keys from the jar optional
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
package dev.plex;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import dev.plex.admin.Admin;
|
||||
import dev.plex.admin.AdminList;
|
||||
import dev.plex.cache.DataUtils;
|
||||
@ -69,7 +70,6 @@ public class Plex extends JavaPlugin
|
||||
config = new Config(this, "config.yml");
|
||||
messages = new Config(this, "messages.yml");
|
||||
indefBans = new Config(this, "indefbans.yml");
|
||||
|
||||
sqlConnection = new SQLConnection();
|
||||
mongoConnection = new MongoConnection();
|
||||
redisConnection = new RedisConnection();
|
||||
@ -81,6 +81,7 @@ public class Plex extends JavaPlugin
|
||||
config.load();
|
||||
messages.load();
|
||||
indefBans.load();
|
||||
|
||||
system = config.getString("commands.permissions");
|
||||
|
||||
try
|
||||
|
Reference in New Issue
Block a user