All Classes and Interfaces
+All Packages
+Constant Field Values
+Contents
+-
+
- dev.plex.* +
dev.plex.*
+-
+
- + + + +
-
+
-
+++Modifier and Type+Constant Field+Value++ +
private final String
+"INSERT INTO `players` (`uuid`, `name`, `login_msg`, `prefix`, `rank`, `ips`, `coins`, `vanished`) VALUES (?, ?, ?, ?, ?, ?, ?, ?);"
+ +private final String
+"SELECT * FROM `players` WHERE uuid=?"
+ +private final String
+"UPDATE `players` SET name=?, login_msg=?, prefix=?, rank=?, ips=?, coins=?, vanished=? WHERE uuid=?"
+
+
Class Plex
+-
+
- All Implemented Interfaces: +
org.bukkit.command.CommandExecutor
,org.bukkit.command.TabCompleter
,org.bukkit.command.TabExecutor
,org.bukkit.plugin.Plugin
+
+
-
+
+
-
+
+ +Field Summary
+ +++Modifier and Type+Field+Description++ +private AdminList
+ +private BanManager
+ +private MongoConnection
+ +private MongoPlayerData
+ +private static Plex
+ +private PunishmentManager
+ +private RankManager
+ +private RedisConnection
+ +private ServiceManager
+ +private SQLConnection
+ +private SQLPlayerData
+ +private StorageType
+ +private String
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ + ++++Methods inherited from class org.bukkit.plugin.java.JavaPlugin
+getClassLoader, getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, isEnabled, isNaggable, onCommand, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
++Methods inherited from class org.bukkit.plugin.PluginBase
+equals, getName, hashCode
++Methods inherited from class java.lang.Object
+clone, finalize, getClass, notify, notifyAll, wait, wait, wait
++Methods inherited from interface org.bukkit.plugin.Plugin
+getLog4JLogger, getSLF4JLogger
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +plugin
+ +
+ -
+
+ +config
+ +
+ -
+
+ +messages
+ +
+ -
+
+ +storageType
+ +
+ -
+
+ +sqlConnection
+ +
+ -
+
+ +mongoConnection
+ +
+ -
+
+ +redisConnection
+ +
+ -
+
+ +mongoPlayerData
+ +
+ -
+
+ +sqlPlayerData
+ +
+ -
+
+ +rankManager
+ +
+ -
+
+ +serviceManager
+ +
+ -
+
+ +punishmentManager
+ +
+ -
+
+ +banManager
+ +
+ -
+
+ +adminList
+ +
+ -
+
+ +system
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +Plex
+public Plex()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +get
+ +
+ -
+
+ +onLoad
+public void onLoad()+-
+
- Specified by: +
onLoad
in interfaceorg.bukkit.plugin.Plugin
+- Overrides: +
onLoad
in classorg.bukkit.plugin.java.JavaPlugin
+
+ -
+
+ +onEnable
+public void onEnable()+-
+
- Specified by: +
onEnable
in interfaceorg.bukkit.plugin.Plugin
+- Overrides: +
onEnable
in classorg.bukkit.plugin.java.JavaPlugin
+
+ -
+
+ +onDisable
+public void onDisable()+-
+
- Specified by: +
onDisable
in interfaceorg.bukkit.plugin.Plugin
+- Overrides: +
onDisable
in classorg.bukkit.plugin.java.JavaPlugin
+
+ -
+
+ +generateWorlds
+private void generateWorlds()+
+ -
+
+ +reloadPlayers
+private void reloadPlayers()+
+
+ -
+
Class PlexBase
+-
+
- Direct Known Subclasses: +
CommandHandler
,PlexListener
,PlexLog
,PlexUtils
,PunishedPlayer
,PunishmentManager
,RedisConnection
,SQLConnection
+
+ +
-
+
+
-
+
+ +Field Summary
+ + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
+ +
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +plugin
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PlexBase
+public PlexBase()+
+
+ -
+
Class Admin
++ +
-
+
+
-
+
+ +Field Summary
+ +++Modifier and Type+Field+Description++ +private boolean
++Returns if the admin has command spy or not ++
+ Contains a #isCommandSpy and #setCommandSpy by lombok+ +private Rank
++Gets the rank of the admin ++
+ Contains a #setRank and #getRank by lombok+ +private boolean
++Returns if the admin has staff chat toggled or not ++
+ Contains a #isStaffChat and #setStaffChat by lombok+ +private UUID
++Gets the unique ID of an admin (immutable)+
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
+ +
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +uuid
+ +Gets the unique ID of an admin (immutable)+
+ -
+
+ +rank
+ +Gets the rank of the admin ++
+ Contains a #setRank and #getRank by lombok
+ -
+
+ +commandSpy
+private boolean commandSpy+Returns if the admin has command spy or not ++
+ Contains a #isCommandSpy and #setCommandSpy by lombok
+ -
+
+ +staffChat
+private boolean staffChat+Returns if the admin has staff chat toggled or not ++
+ Contains a #isStaffChat and #setStaffChat by lombok
+
+
+ -
+
-
+
+ +Constructor Details
+ +
+
Class AdminList
++ +
-
+
- See Also: +
-
+
-
+
Admin
+
+
-
+
+
-
+
+ +Field Summary
+ + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++void
+addToCache
(Admin admin) ++ + +Adds the admin to cache+++Gathers every admin's username (cached and databsed)++void
+removeFromCache
(UUID uuid) ++Removes an admin from the cache+
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +admins
+ +Key/Value storage, where the key is the unique ID of the admin+
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +AdminList
+public AdminList()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +addToCache
+ +Adds the admin to cache+-
+
- Parameters: +
admin
- The admin object
+
+ -
+
+ +removeFromCache
+ +Removes an admin from the cache+-
+
- Parameters: +
uuid
- The unique ID of the admin
+- See Also: +
-
+
-
+
UUID
+
+
+ -
+
+ +getAllAdmins
+ +Gathers every admin's username (cached and databsed)+-
+
- Returns: +
- An array list of the names of every admin +
+
+ -
+
Class Hierarchy
+ +Class Ban
++ +
-
+
- See Also: +
-
+
-
+
BanManager
+
+
-
+
+
-
+
+ +Field Summary
+ +++Modifier and Type+Field+Description++ +private boolean
++Whether the ban is active or not++ +private UUID
++The unique ID of the person who banned the player (can be null)++ +private LocalDateTime
++The end date for the ban++ +private String
++Gets the id of the ban (first 8 characters of a UUID + random 6 letters)++ +private String
++The IP of the banned player++ +private String
++The reason for the ban++ +private UUID
++The unique ID of the player who was banned+
+
+ -
+
+ +Constructor Summary
+ +++Modifier+Constructor+Description++private
+Ban()
++A constructor for Morphia, can't be used++ +++Creates a ban object++ +++Creates a ban object+
+
+ -
+
+ +Method Summary
+ +
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +id
+ +Gets the id of the ban (first 8 characters of a UUID + random 6 letters)+
+ -
+
+ +uuid
+ +The unique ID of the player who was banned+
+ -
+
+ +banner
+ +The unique ID of the person who banned the player (can be null)+
+ -
+
+ +ip
+ +The IP of the banned player+
+ -
+
+ +reason
+ +The reason for the ban+
+ -
+
+ +endDate
+ +The end date for the ban+
+ -
+
+ +active
+private boolean active+Whether the ban is active or not+
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +Ban
+private Ban()+A constructor for Morphia, can't be used+
+ -
+
+ +Ban
+ +Creates a ban object+-
+
- Parameters: +
uuid
- The unique ID of the player being banned
+banner
- The unique ID of the sender banning the player
+ip
- The IP of the player being banned
+reason
- The reason for the ban
+endDate
- When the ban will expire
+
+ -
+
+ +Ban
+public Ban+(String id, + UUID uuid, + UUID banner, + String ip, + String reason, + LocalDateTime endDate) Creates a ban object+-
+
- Parameters: +
id
- The custom ID of the ban
+uuid
- The unique ID of the player being banned
+banner
- The unique ID of the sender banning the player
+ip
- The IP of the player being banned
+reason
- The reason for the ban
+endDate
- When the ban will expire
+
+
+ -
+
Class BanManager
++ +
-
+
+
-
+
+ +Field Summary
+ + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++void
+executeBan
(Ban ban) ++ + +Adds the ban to the database+++Gets a list of all the current bans active++ +boolean
++Checks if the unique ID has an active ban in the database++ +void
++Unbans a player if they have an active ban on record++ +void
++Unbans a player if they have an active ban on record+
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +SELECT
+ +-
+
- See Also: +
- + + +
+ -
+
+ +INSERT
+ +-
+
- See Also: +
- + + +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +BanManager
+public BanManager()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +executeBan
+ +Adds the ban to the database+-
+
- Parameters: +
ban
- The ban object
+
+ -
+
+ +isBanned
+ +Checks if the unique ID has an active ban in the database+-
+
- Parameters: +
uuid
- The unique ID of the player
+- Returns: +
- true if the unique ID is banned +
+ -
+
+ +unban
+ +Unbans a player if they have an active ban on record+-
+
- Parameters: +
uuid
- The unique ID of the player
+
+ -
+
+ +unban
+ +Unbans a player if they have an active ban on record+-
+
- Parameters: +
id
- Custom ID of the ban
+
+ -
+
+ +getActiveBans
+ +Gets a list of all the current bans active+-
+
- Returns: +
- An arraylist of bans +
+
+ -
+
Package dev.plex.banning
++
-
+
- + + +
-
++ ++ +
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- dev.plex.banning.Ban +
- dev.plex.banning.BanManager +
+
Class DataUtils
++ +
-
+
+
-
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++ +static PlexPlayer
++Gets a player from cache or from the database++ +static PlexPlayer
++Gets a player from cache or from the database++static boolean
+hasPlayedBefore
(UUID uuid) ++Checks if the player has been on the server before++static void
+insert
(PlexPlayer plexPlayer) ++Inserts a player's information in the database++static void
+update
(PlexPlayer plexPlayer) ++Updates a player's information in the database+
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +DataUtils
+public DataUtils()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +hasPlayedBefore
+ +Checks if the player has been on the server before+-
+
- Parameters: +
uuid
- The unique ID of the player
+- Returns: +
- true if the player is registered in the database +
+ -
+
+ +getPlayer
+ +Gets a player from cache or from the database+-
+
- Parameters: +
uuid
- The unique ID of the player
+- Returns: +
- a PlexPlayer object +
- See Also: +
-
+
-
+
PlexPlayer
+
+
+ -
+
+ +getPlayer
+ +Gets a player from cache or from the database+-
+
- Parameters: +
name
- Username of the player
+- Returns: +
- a PlexPlayer object +
- See Also: +
-
+
-
+
PlexPlayer
+
+
+ -
+
+ +update
+ +Updates a player's information in the database+-
+
- Parameters: +
plexPlayer
- The PlexPlayer to update
+- See Also: +
-
+
-
+
PlexPlayer
+
+
+ -
+
+ +insert
+ +Inserts a player's information in the database+-
+
- Parameters: +
plexPlayer
- The PlexPlayer to insert
+- See Also: +
-
+
-
+
PlexPlayer
+
+
+
+ -
+
Class MongoPlayerData
++ +
-
+
+
-
+
+ +Field Summary
+ +++Modifier and Type+Field+Description++ +private final dev.morphia.Datastore
++The datastore object / database+
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++ +boolean
++ + +Checks whether the player exists in mongo's database+++Gets the player from cache or from mongo's database++void
+save
(PlexPlayer plexPlayer) ++Saves the player's information in the database++void
+update
(PlexPlayer player) ++Updates a player's information in the mongo database+
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +datastore
+private final dev.morphia.Datastore datastore+The datastore object / database+
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +MongoPlayerData
+public MongoPlayerData()+Creates an instance of the player data+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +exists
+ +Checks whether the player exists in mongo's database+-
+
- Parameters: +
uuid
- The unique ID of the player
+- Returns: +
- true if the player was found +
+ -
+
+ +getByUUID
+ +Gets the player from cache or from mongo's database+-
+
- Parameters: +
uuid
- The unique ID of the player
+- Returns: +
- a PlexPlayer object +
- See Also: +
-
+
-
+
PlexPlayer
+
+
+ -
+
+ +update
+ +Updates a player's information in the mongo database+-
+
- Parameters: +
player
- The PlexPlayer object
+- See Also: +
-
+
-
+
PlexPlayer
+
+
+ -
+
+ +save
+ +Saves the player's information in the database+-
+
- Parameters: +
plexPlayer
- The PlexPlayer object
+- See Also: +
-
+
-
+
PlexPlayer
+
+
+
+ -
+
Class PlayerCache
++ +
-
+
+
-
+
+ +Field Summary
+ +++Modifier and Type+Field+Description++ +private static final Map<UUID,
PlexPlayer> ++A key/value pair where the key is the unique ID of the Plex Player++ +private static final Map<UUID,
PunishedPlayer> ++A key/value pair where the key is the unique ID of the Punished Player+
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++static PlexPlayer
+getPlexPlayer
(UUID uuid) + +static Map<UUID,
PlexPlayer> +static PunishedPlayer
+getPunishedPlayer
(UUID uuid) + +static Map<UUID,
PunishedPlayer>
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +plexPlayerMap
+ +A key/value pair where the key is the unique ID of the Plex Player+
+ -
+
+ +punishedPlayerMap
+ +A key/value pair where the key is the unique ID of the Punished Player+
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PlayerCache
+public PlayerCache()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +getPunishedPlayerMap
+ +
+ -
+
+ +getPlexPlayerMap
+ +
+ -
+
+ +getPunishedPlayer
+ +
+ -
+
+ +getPlexPlayer
+ +
+
+ -
+
Class SQLPlayerData
++ +
-
+
+
-
+
+ +Field Summary
+ + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++ +boolean
++ + +Checks if a player exists in the SQL database+++Gets the player from cache or from the SQL database++void
+insert
(PlexPlayer player) ++Inserts the player's information in the database++void
+update
(PlexPlayer player) ++Updates a player's information in the SQL database+
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +SELECT
+ +-
+
- See Also: +
- + + +
+ -
+
+ +UPDATE
+ +-
+
- See Also: +
- + + +
+ -
+
+ +INSERT
+ +-
+
- See Also: +
- + + +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +SQLPlayerData
+public SQLPlayerData()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +exists
+ +Checks if a player exists in the SQL database+-
+
- Parameters: +
uuid
- The unique ID of the player
+- Returns: +
- true if the player was found in the database +
+ -
+
+ +getByUUID
+ +Gets the player from cache or from the SQL database+-
+
- Parameters: +
uuid
- The unique ID of the player
+- Returns: +
- a PlexPlayer object +
- See Also: +
-
+
-
+
PlexPlayer
+
+
+ -
+
+ +update
+ +Updates a player's information in the SQL database+-
+
- Parameters: +
player
- The PlexPlayer object
+- See Also: +
-
+
-
+
PlexPlayer
+
+
+ -
+
+ +insert
+ +Inserts the player's information in the database+-
+
- Parameters: +
player
- The PlexPlayer object
+- See Also: +
-
+
-
+
PlexPlayer
+
+
+
+ -
+
Package dev.plex.cache
++
-
+
- + + +
-
+++ +++Class+Description+ +++ +Parent cache class+++ +Mongo fetching utilities for players+++ +Cache storage+++SQL fetching utilities for players+
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- dev.plex.cache.DataUtils +
- dev.plex.cache.MongoPlayerData +
- dev.plex.cache.PlayerCache +
- dev.plex.cache.SQLPlayerData +
+
Class PlexCommand
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
-
+
- Direct Known Subclasses: +
AdminCMD
,AdminworldCMD
,AdventureCMD
,BanCMD
,CommandSpyCMD
,CreativeCMD
,DeopAllCMD
,DeopCMD
,FlatlandsCMD
,FreezeCMD
,ListCMD
,LocalSpawnCMD
,MasterbuilderworldCMD
,NameHistoryCMD
,OpAllCMD
,OpCMD
,PlexCMD
,PunishmentsCMD
,RankCMD
,SpectatorCMD
,SurvivalCMD
,UnbanCMD
,WorldCMD
+
+
-
+
+
-
+
+ +Field Summary
+ +++Modifier and Type+Field+Description++ +private final RequiredCommandSource
++Required command source fetched from the permissions++ +private final Rank
++Minimum required rank fetched from the permissions++ +private final CommandParameters
++The parameters for the command++ +private final CommandPermissions
++The permissions for the command++ +protected static Plex
++Returns the instance of the plugin+++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++ +protected boolean
++Checks whether a sender has enough permissions or is high enough a rank++ +protected boolean
++Checks whether a player has enough permissions or is high enough a rank++ +protected net.kyori.adventure.text.Component
++Converts a string to a legacy kyori component++protected abstract net.kyori.adventure.text.Component
+execute
(@NotNull org.bukkit.command.CommandSender sender, + @Nullable org.bukkit.entity.Player playerSender, + @NotNull String[] args) ++ +Executes the command++getLevel()
+org.bukkit.command.CommandMap
+getMap()
+protected org.bukkit.entity.Player
+getNonNullPlayer
(String name) +protected org.bukkit.World
+getNonNullWorld
(String name) +protected PlexPlayer
+getOfflinePlexPlayer
(UUID uuid) +protected PlexPlayer
+getOnlinePlexPlayer
(String name) +protected PlexPlayer
+getPlexPlayer
(@NotNull org.bukkit.entity.Player player) ++Gets a PlexPlayer from Player object++ +@NotNull Plex
++The plugin++protected UUID
+getUUID
(org.bukkit.command.CommandSender sender) ++Gets the UUID of the sender++protected boolean
+isAdmin
(PlexPlayer plexPlayer) ++Checks if a player is an admin++ +protected boolean
++Checks if a username is an admin++protected boolean
+isAdmin
(org.bukkit.command.CommandSender sender) ++Checks if a sender is an admin++protected boolean
+isConsole
(org.bukkit.command.CommandSender sender) ++Checks whether a sender is console++protected boolean
+isSeniorAdmin
(org.bukkit.command.CommandSender sender) ++Checks if a sender is a senior admin++ +private boolean
++Checks if the string given is a command string++ +protected void
++Sends a message to an audience++protected void
+send
(net.kyori.adventure.audience.Audience audience, + net.kyori.adventure.text.Component component) ++Sends a message to an audience++ +protected net.kyori.adventure.text.Component
++Converts a message entry from the "messages.yml" to a component++ +protected net.kyori.adventure.text.Component
++Converts usage to a component+++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +plugin
+ +Returns the instance of the plugin+
+ -
+
+ +params
+ +The parameters for the command+
+ -
+
+ +perms
+ +The permissions for the command+
+ -
+
+ +level
+ +Minimum required rank fetched from the permissions+
+ -
+
+ +commandSource
+ +Required command source fetched from the permissions+
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PlexCommand
+public PlexCommand()+Creates an instance of the command+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected abstract net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + @NotNull + @NotNull String[] args) Executes the command+-
+
- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+ -
+
+ +matches
+ +Checks if the string given is a command string+-
+
- Parameters: +
label
- The string to check
+- Returns: +
- true if the string is a command name or alias +
+ -
+
+ +getPlexPlayer
+ +Gets a PlexPlayer from Player object+-
+
- Parameters: +
player
- The player object
+- Returns: +
- PlexPlayer Object +
- See Also: +
-
+
-
+
PlexPlayer
+
+
+ -
+
+ +send
+ +Sends a message to an audience+-
+
- Parameters: +
audience
- The audience to send the message to
+s
- The message to send
+
+ -
+
+ +send
+protected void send+(net.kyori.adventure.audience.Audience audience, + net.kyori.adventure.text.Component component) Sends a message to an audience+-
+
- Parameters: +
audience
- The audience to send the message to
+component
- The component to send
+
+ -
+
+ +checkRank
+protected boolean checkRank+(org.bukkit.command.CommandSender sender, + Rank rank, + String permission) Checks whether a sender has enough permissions or is high enough a rank+-
+
- Parameters: +
sender
- A command sender
+rank
- The rank to check (if the server is using ranks)
+permission
- The permission to check (if the server is using permissions)
+- Returns: +
- true if the sender has enough permissions +
- See Also: +
-
+
-
+
Rank
+
+
+ -
+
+ +checkRank
+ +Checks whether a player has enough permissions or is high enough a rank+-
+
- Parameters: +
player
- The player object
+rank
- The rank to check (if the server is using ranks)
+permission
- The permission to check (if the server is using permissions)
+- Returns: +
- true if the sender has enough permissions +
- See Also: +
-
+
-
+
Rank
+
+
+ -
+
+ +isAdmin
+ +Checks if a player is an admin+-
+
- Parameters: +
plexPlayer
- The PlexPlayer object
+- Returns: +
- true if the player is an admin +
- See Also: +
-
+
-
+
PlexPlayer
+
+
+ -
+
+ +isAdmin
+protected boolean isAdmin+(org.bukkit.command.CommandSender sender) Checks if a sender is an admin+-
+
- Parameters: +
sender
- A command sender
+- Returns: +
- true if the sender is an admin or if console +
+ -
+
+ +isAdmin
+ +Checks if a username is an admin+-
+
- Parameters: +
name
- The username
+- Returns: +
- true if the username is an admin +
+ -
+
+ +isSeniorAdmin
+protected boolean isSeniorAdmin+(org.bukkit.command.CommandSender sender) Checks if a sender is a senior admin+-
+
- Parameters: +
sender
- A command sender
+- Returns: +
- true if the sender is a senior admin or if console +
+ -
+
+ +getUUID
+ +Gets the UUID of the sender+-
+
- Parameters: +
sender
- A command sender
+- Returns: +
- A unique ID or null if the sender is console +
- See Also: +
-
+
-
+
UUID
+
+
+ -
+
+ +getPlugin
+ +The plugin+-
+
- Specified by: +
getPlugin
in interfaceorg.bukkit.command.PluginIdentifiableCommand
+- Returns: +
- The instance of the plugin +
- See Also: +
-
+
-
+
Plex
+
+
+ -
+
+ +isConsole
+protected boolean isConsole+(org.bukkit.command.CommandSender sender) Checks whether a sender is console+-
+
- Parameters: +
sender
- A command sender
+- Returns: +
- true if the sender is console +
+ -
+
+ +tl
+ +Converts a message entry from the "messages.yml" to a component+-
+
- Parameters: +
s
- The message entry
+objects
- Any objects to replace in order
+- Returns: +
- A kyori component +
+ -
+
+ +usage
+ +Converts usage to a component+-
+
- Parameters: +
s
- The usage to convert
+- Returns: +
- A kyori component stating the usage +
+ -
+
+ +getNonNullPlayer
+ +
+ -
+
+ +getOnlinePlexPlayer
+ +
+ -
+
+ +getOfflinePlexPlayer
+ +
+ -
+
+ +getNonNullWorld
+ +
+ -
+
+ +componentFromString
+ +Converts a string to a legacy kyori component+-
+
- Parameters: +
s
- The string to convert
+- Returns: +
- A kyori component +
+ -
+
+ +getLevel
+ +
+ -
+
+ +getMap
+public org.bukkit.command.CommandMap getMap()+
+
+ -
+
Annotation Interface CommandParameters
++ +
-
+
+
-
+
+ +Required Element Summary
+ + +
+
+ -
+
+ +Optional Element Summary
+ + +
+
-
+
+
-
+
+ +Element Details
+-
+
-
+
+ +name
+String name+The name+-
+
- Returns: +
- Name of the command +
+
+
+ -
+
-
+
+ +-
+
-
+
+ +description
+String description+The description+-
+
- Returns: +
- Description of the command +
-
+
- Default: +
- "" +
+ -
+
+ +usage
+String usage+The usage (optional)+-
+
- Returns: +
- The usage of the command +
-
+
- Default: +
- "/<command>" +
+ -
+
+ +aliases
+String aliases+The aliases (optional)+-
+
- Returns: +
- The aliases of the command +
-
+
- Default: +
- "" +
+
+ -
+
Annotation Interface CommandPermissions
++ +
-
+
+
-
+
+ +Optional Element Summary
+ +++Modifier and Type+Optional Element+Description+ + +++ + +Minimum rank required+++ + +The permission+++Required command source+
+
-
+
+
-
+
+ +Element Details
+-
+
-
+
+ +level
+Rank level+Minimum rank required+-
+
- Returns: +
- Minimum rank required for the command +
- See Also: +
-
+
-
+
Rank
+
+
-
+
- Default: +
- IMPOSTOR +
+ -
+
+ +source
+RequiredCommandSource source+Required command source+-
+
- Returns: +
- The required command source of the command +
- See Also: +
- + + +
-
+
- Default: +
- ANY +
+ -
+
+ +permission
+String permission+The permission+-
+
- Returns: +
- Permission of the command +
-
+
- Default: +
- "" +
+
+ -
+
Package dev.plex.command.annotation
++
-
+
- + + +
-
+++ +++Class+Description+ +++ +Storage for a command's parameters+++Storage for the command's permissions+
+
Annotation Interface Hierarchy
+-
+
- dev.plex.command.annotation.CommandParameters (implements java.lang.annotation.Annotation) +
- dev.plex.command.annotation.CommandPermissions (implements java.lang.annotation.Annotation) +
Class CommandArgumentException
+-
+
- All Implemented Interfaces: +
Serializable
+
+ +
-
+
- See Also: +
- + + +
-
+
+
-
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
+++ +Methods inherited from class java.lang.Throwable
+addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +CommandArgumentException
+public CommandArgumentException()+
+
+ -
+
Class CommandFailException
+-
+
- All Implemented Interfaces: +
Serializable
+
+ +
-
+
- See Also: +
- + + +
-
+
+
-
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
+++ +Methods inherited from class java.lang.Throwable
+addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +CommandFailException
+ +
+
+ -
+
Class ConsoleMustDefinePlayerException
+-
+
- All Implemented Interfaces: +
Serializable
+
+ +
-
+
- See Also: +
- + + +
-
+
+
-
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
+++ +Methods inherited from class java.lang.Throwable
+addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +ConsoleMustDefinePlayerException
+public ConsoleMustDefinePlayerException()+
+
+ -
+
Class ConsoleOnlyException
+-
+
- All Implemented Interfaces: +
Serializable
+
+ +
-
+
- See Also: +
- + + +
-
+
+
-
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
+++ +Methods inherited from class java.lang.Throwable
+addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +ConsoleOnlyException
+public ConsoleOnlyException()+
+
+ -
+
Class PlayerNotBannedException
+-
+
- All Implemented Interfaces: +
Serializable
+
+ +
-
+
- See Also: +
- + + +
-
+
+
-
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
+++ +Methods inherited from class java.lang.Throwable
+addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PlayerNotBannedException
+public PlayerNotBannedException()+
+
+ -
+
Class PlayerNotFoundException
+-
+
- All Implemented Interfaces: +
Serializable
+
+ +
-
+
- See Also: +
- + + +
-
+
+
-
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
+++ +Methods inherited from class java.lang.Throwable
+addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PlayerNotFoundException
+public PlayerNotFoundException()+
+
+ -
+
Package dev.plex.command.exception
++
-
+
- + + +
-
+++ +++Class+Description+ +
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- java.lang.Throwable (implements java.io.Serializable)
+
-
+
- java.lang.Exception
+
-
+
- java.lang.RuntimeException
+
-
+
- dev.plex.command.exception.CommandArgumentException +
- dev.plex.command.exception.CommandFailException +
- dev.plex.command.exception.ConsoleMustDefinePlayerException +
- dev.plex.command.exception.ConsoleOnlyException +
- dev.plex.command.exception.PlayerNotBannedException +
- dev.plex.command.exception.PlayerNotFoundException +
+
+ - java.lang.RuntimeException
+
+ - java.lang.Exception
+
+ - java.lang.Throwable (implements java.io.Serializable)
+
Class AdminCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++protected net.kyori.adventure.text.Component
+execute
(@NotNull org.bukkit.command.CommandSender sender, + @Nullable org.bukkit.entity.Player playerSender, + String[] args) ++Executes the command++private boolean
+rankExists
(String rank) +tabComplete
(@NotNull org.bukkit.command.CommandSender sender, + @NotNull String alias, + @NotNull String[] args) ++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +AdminCMD
+public AdminCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+ -
+
+ +tabComplete
+@NotNull +public @NotNull List<String> tabComplete+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @NotNull + @NotNull String alias, + @NotNull + @NotNull String[] args) + throws IllegalArgumentException -
+
- Overrides: +
tabComplete
in classorg.bukkit.command.Command
+- Throws: +
IllegalArgumentException
+
+ -
+
+ +rankExists
+ +
+
+ -
+
Class AdminworldCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ + ++++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +AdminworldCMD
+public AdminworldCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+
+ -
+
Class AdventureCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++protected net.kyori.adventure.text.Component
+execute
(@NotNull org.bukkit.command.CommandSender sender, + @Nullable org.bukkit.entity.Player playerSender, + String[] args) ++ +Executes the command++tabComplete
(@NotNull org.bukkit.command.CommandSender sender, + @NotNull String alias, + @NotNull String[] args) ++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +AdventureCMD
+public AdventureCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+ -
+
+ +tabComplete
+@NotNull +public @NotNull List<String> tabComplete+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @NotNull + @NotNull String alias, + @NotNull + @NotNull String[] args) + throws IllegalArgumentException -
+
- Overrides: +
tabComplete
in classorg.bukkit.command.Command
+- Throws: +
IllegalArgumentException
+
+
+ -
+
Class BanCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++protected net.kyori.adventure.text.Component
+execute
(@NotNull org.bukkit.command.CommandSender sender, + @Nullable org.bukkit.entity.Player playerSender, + String[] args) ++ +Executes the command++tabComplete
(@NotNull org.bukkit.command.CommandSender sender, + @NotNull String alias, + @NotNull String[] args) ++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +BanCMD
+public BanCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+ -
+
+ +tabComplete
+@NotNull +public @NotNull List<String> tabComplete+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @NotNull + @NotNull String alias, + @NotNull + @NotNull String[] args) + throws IllegalArgumentException -
+
- Overrides: +
tabComplete
in classorg.bukkit.command.Command
+- Throws: +
IllegalArgumentException
+
+
+ -
+
Class CommandSpyCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ + ++++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +CommandSpyCMD
+public CommandSpyCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + @NotNull + @NotNull String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+
+ -
+
Class CreativeCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++protected net.kyori.adventure.text.Component
+execute
(@NotNull org.bukkit.command.CommandSender sender, + @Nullable org.bukkit.entity.Player playerSender, + String[] args) ++ +Executes the command++tabComplete
(@NotNull org.bukkit.command.CommandSender sender, + @NotNull String alias, + @NotNull String[] args) ++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +CreativeCMD
+public CreativeCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+ -
+
+ +tabComplete
+@NotNull +public @NotNull List<String> tabComplete+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @NotNull + @NotNull String alias, + @NotNull + @NotNull String[] args) + throws IllegalArgumentException -
+
- Overrides: +
tabComplete
in classorg.bukkit.command.Command
+- Throws: +
IllegalArgumentException
+
+
+ -
+
Class DeopAllCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ + ++++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +DeopAllCMD
+public DeopAllCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+
+ -
+
Class DeopCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++protected net.kyori.adventure.text.Component
+execute
(@NotNull org.bukkit.command.CommandSender sender, + @Nullable org.bukkit.entity.Player playerSender, + String[] args) ++ +Executes the command++tabComplete
(@NotNull org.bukkit.command.CommandSender sender, + @NotNull String alias, + @NotNull String[] args) ++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +DeopCMD
+public DeopCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+ -
+
+ +tabComplete
+@NotNull +public @NotNull List<String> tabComplete+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @NotNull + @NotNull String alias, + @NotNull + @NotNull String[] args) + throws IllegalArgumentException -
+
- Overrides: +
tabComplete
in classorg.bukkit.command.Command
+- Throws: +
IllegalArgumentException
+
+
+ -
+
Class FlatlandsCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ + ++++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +FlatlandsCMD
+public FlatlandsCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+
+ -
+
Class FreezeCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++protected net.kyori.adventure.text.Component
+execute
(@NotNull org.bukkit.command.CommandSender sender, + @Nullable org.bukkit.entity.Player playerSender, + String[] args) ++ +Executes the command++tabComplete
(@NotNull org.bukkit.command.CommandSender sender, + @NotNull String alias, + @NotNull String[] args) ++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +FreezeCMD
+public FreezeCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+ -
+
+ +tabComplete
+@NotNull +public @NotNull List<String> tabComplete+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @NotNull + @NotNull String alias, + @NotNull + @NotNull String[] args) + throws IllegalArgumentException -
+
- Overrides: +
tabComplete
in classorg.bukkit.command.Command
+- Throws: +
IllegalArgumentException
+
+
+ -
+
Class ListCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ + ++++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +ListCMD
+public ListCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+
+ -
+
Class LocalSpawnCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ + ++++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +LocalSpawnCMD
+public LocalSpawnCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+
+ -
+
Class MasterbuilderworldCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ + ++++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +MasterbuilderworldCMD
+public MasterbuilderworldCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+
+ -
+
Class NameHistoryCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+ + +++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++protected net.kyori.adventure.text.Component
+execute
(@NotNull org.bukkit.command.CommandSender sender, + @Nullable org.bukkit.entity.Player playerSender, + String[] args) ++ +Executes the command++tabComplete
(@NotNull org.bukkit.command.CommandSender sender, + @NotNull String alias, + @NotNull String[] args) ++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +DATE_FORMAT
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +NameHistoryCMD
+public NameHistoryCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+ -
+
+ +tabComplete
+@NotNull +public @NotNull List<String> tabComplete+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @NotNull + @NotNull String alias, + @NotNull + @NotNull String[] args) + throws IllegalArgumentException -
+
- Overrides: +
tabComplete
in classorg.bukkit.command.Command
+- Throws: +
IllegalArgumentException
+
+
+ -
+
Class OpAllCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ + ++++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +OpAllCMD
+public OpAllCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+
+ -
+
Class OpCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++protected net.kyori.adventure.text.Component
+execute
(@NotNull org.bukkit.command.CommandSender sender, + @Nullable org.bukkit.entity.Player playerSender, + String[] args) ++ +Executes the command++tabComplete
(@NotNull org.bukkit.command.CommandSender sender, + @NotNull String alias, + @NotNull String[] args) ++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +OpCMD
+public OpCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+ -
+
+ +tabComplete
+@NotNull +public @NotNull List<String> tabComplete+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @NotNull + @NotNull String alias, + @NotNull + @NotNull String[] args) + throws IllegalArgumentException -
+
- Overrides: +
tabComplete
in classorg.bukkit.command.Command
+- Throws: +
IllegalArgumentException
+
+
+ -
+
Class PlexCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++protected net.kyori.adventure.text.Component
+execute
(@NotNull org.bukkit.command.CommandSender sender, + @Nullable org.bukkit.entity.Player playerSender, + String[] args) ++ +Executes the command++tabComplete
(@NotNull org.bukkit.command.CommandSender sender, + @NotNull String alias, + @NotNull String[] args) ++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PlexCMD
+public PlexCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+ -
+
+ +tabComplete
+@NotNull +public @NotNull List<String> tabComplete+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @NotNull + @NotNull String alias, + @NotNull + @NotNull String[] args) + throws IllegalArgumentException -
+
- Overrides: +
tabComplete
in classorg.bukkit.command.Command
+- Throws: +
IllegalArgumentException
+
+
+ -
+
Class PunishmentsCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++protected net.kyori.adventure.text.Component
+execute
(@NotNull org.bukkit.command.CommandSender sender, + @Nullable org.bukkit.entity.Player playerSender, + String[] args) ++ +Executes the command++tabComplete
(@NotNull org.bukkit.command.CommandSender sender, + @NotNull String alias, + @NotNull String[] args) ++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PunishmentsCMD
+public PunishmentsCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+ -
+
+ +tabComplete
+@NotNull +public @NotNull List<String> tabComplete+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @NotNull + @NotNull String alias, + @NotNull + @NotNull String[] args) + throws IllegalArgumentException -
+
- Overrides: +
tabComplete
in classorg.bukkit.command.Command
+- Throws: +
IllegalArgumentException
+
+
+ -
+
Class RankCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ + ++++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +RankCMD
+public RankCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+
+ -
+
Class SpectatorCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++protected net.kyori.adventure.text.Component
+execute
(@NotNull org.bukkit.command.CommandSender sender, + @Nullable org.bukkit.entity.Player playerSender, + String[] args) ++ +Executes the command++tabComplete
(@NotNull org.bukkit.command.CommandSender sender, + @NotNull String alias, + @NotNull String[] args) ++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +SpectatorCMD
+public SpectatorCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+ -
+
+ +tabComplete
+@NotNull +public @NotNull List<String> tabComplete+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @NotNull + @NotNull String alias, + @NotNull + @NotNull String[] args) + throws IllegalArgumentException -
+
- Overrides: +
tabComplete
in classorg.bukkit.command.Command
+- Throws: +
IllegalArgumentException
+
+
+ -
+
Class SurvivalCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++protected net.kyori.adventure.text.Component
+execute
(@NotNull org.bukkit.command.CommandSender sender, + @Nullable org.bukkit.entity.Player playerSender, + String[] args) ++ +Executes the command++tabComplete
(@NotNull org.bukkit.command.CommandSender sender, + @NotNull String alias, + @NotNull String[] args) ++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +SurvivalCMD
+public SurvivalCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+ -
+
+ +tabComplete
+@NotNull +public @NotNull List<String> tabComplete+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @NotNull + @NotNull String alias, + @NotNull + @NotNull String[] args) + throws IllegalArgumentException -
+
- Overrides: +
tabComplete
in classorg.bukkit.command.Command
+- Throws: +
IllegalArgumentException
+
+
+ -
+
Class UnbanCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++net.kyori.adventure.text.Component
+execute
(@NotNull org.bukkit.command.CommandSender sender, + @NotNull org.bukkit.entity.Player playerSender, + String[] args) ++ +Executes the command++tabComplete
(@NotNull org.bukkit.command.CommandSender sender, + @NotNull String alias, + @NotNull String[] args) ++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +UnbanCMD
+public UnbanCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+public net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @NotNull + @NotNull org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+ -
+
+ +tabComplete
+@NotNull +public @NotNull List<String> tabComplete+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @NotNull + @NotNull String alias, + @NotNull + @NotNull String[] args) + throws IllegalArgumentException -
+
- Overrides: +
tabComplete
in classorg.bukkit.command.Command
+- Throws: +
IllegalArgumentException
+
+
+ -
+
Class WorldCMD
+-
+
- All Implemented Interfaces: +
org.bukkit.command.PluginIdentifiableCommand
+
+ +
-
+
+
-
+
+ +Field Summary
+++Fields inherited from class dev.plex.command.PlexCommand
+plugin
++Fields inherited from class org.bukkit.command.Command
+description, timings, usageMessage
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++protected net.kyori.adventure.text.Component
+execute
(@NotNull org.bukkit.command.CommandSender sender, + @Nullable org.bukkit.entity.Player playerSender, + String[] args) ++ +Executes the command++tabComplete
(@NotNull org.bukkit.command.CommandSender sender, + @NotNull String alias, + @NotNull String[] args) ++Methods inherited from class dev.plex.command.PlexCommand
+checkRank, checkRank, componentFromString, getLevel, getMap, getNonNullPlayer, getNonNullWorld, getOfflinePlexPlayer, getOnlinePlexPlayer, getPlexPlayer, getPlugin, getUUID, isAdmin, isAdmin, isAdmin, isConsole, isSeniorAdmin, send, send, tl, usage
++ +Methods inherited from class org.bukkit.command.Command
+broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +WorldCMD
+public WorldCMD()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +execute
+protected net.kyori.adventure.text.Component execute+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @Nullable + @Nullable org.bukkit.entity.Player playerSender, + String[] args) Description copied from class:+PlexCommand
Executes the command+-
+
- Specified by: +
execute
in classPlexCommand
+- Parameters: +
sender
- The sender of the command
+playerSender
- The player who executed the command (null if command source is console or if command source is any but console executed)
+args
- A Kyori Component to send to the sender (can be null)
+- Returns: +
+ -
+
+ +tabComplete
+@NotNull +public @NotNull List<String> tabComplete+(@NotNull + @NotNull org.bukkit.command.CommandSender sender, + @NotNull + @NotNull String alias, + @NotNull + @NotNull String[] args) + throws IllegalArgumentException -
+
- Overrides: +
tabComplete
in classorg.bukkit.command.Command
+- Throws: +
IllegalArgumentException
+
+
+ -
+
Package dev.plex.command.impl
++
-
+
- + + +
-
+++ +++Class+Description+ +
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- org.bukkit.command.Command
+
-
+
- dev.plex.command.PlexCommand (implements org.bukkit.command.PluginIdentifiableCommand)
+
-
+
- dev.plex.command.impl.AdminCMD +
- dev.plex.command.impl.AdminworldCMD +
- dev.plex.command.impl.AdventureCMD +
- dev.plex.command.impl.BanCMD +
- dev.plex.command.impl.CommandSpyCMD +
- dev.plex.command.impl.CreativeCMD +
- dev.plex.command.impl.DeopAllCMD +
- dev.plex.command.impl.DeopCMD +
- dev.plex.command.impl.FlatlandsCMD +
- dev.plex.command.impl.FreezeCMD +
- dev.plex.command.impl.ListCMD +
- dev.plex.command.impl.LocalSpawnCMD +
- dev.plex.command.impl.MasterbuilderworldCMD +
- dev.plex.command.impl.NameHistoryCMD +
- dev.plex.command.impl.OpAllCMD +
- dev.plex.command.impl.OpCMD +
- dev.plex.command.impl.PlexCMD +
- dev.plex.command.impl.PunishmentsCMD +
- dev.plex.command.impl.RankCMD +
- dev.plex.command.impl.SpectatorCMD +
- dev.plex.command.impl.SurvivalCMD +
- dev.plex.command.impl.UnbanCMD +
- dev.plex.command.impl.WorldCMD +
+
+ - dev.plex.command.PlexCommand (implements org.bukkit.command.PluginIdentifiableCommand)
+
+ - org.bukkit.command.Command
+
Package dev.plex.command
++
-
+
- + + +
-
++ ++ +
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- org.bukkit.command.Command
+
-
+
- dev.plex.command.PlexCommand (implements org.bukkit.command.PluginIdentifiableCommand) +
+
+ - org.bukkit.command.Command
+
Enum Class RequiredCommandSource
+-
+
- All Implemented Interfaces: +
Serializable
,Comparable<RequiredCommandSource>
,Constable
+
+ +
-
+
+
-
+
+ +Nested Class Summary
+++Nested classes/interfaces inherited from class java.lang.Enum
+Enum.EnumDesc<E extends Enum<E>>
+
+ -
+
+ +Enum Constant Summary
+ + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ + +++++Modifier and Type+Method+Description++ +static RequiredCommandSource
++Returns the enum constant of this class with the specified name.++static RequiredCommandSource[]
+values()
++Returns an array containing the constants of this enum class, in +the order they are declared.+
+
-
+
+
-
+
+ +Enum Constant Details
+-
+
-
+
+ +IN_GAME
+ +
+ -
+
+ +CONSOLE
+ +
+ -
+
+ +ANY
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +RequiredCommandSource
+private RequiredCommandSource()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +values
+ +Returns an array containing the constants of this enum class, in +the order they are declared.+-
+
- Returns: +
- an array containing the constants of this enum class, in the order they are declared +
+ -
+
+ +valueOf
+ +Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)+-
+
- Parameters: +
name
- the name of the enum constant to be returned.
+- Returns: +
- the enum constant with the specified name +
- Throws: +
IllegalArgumentException
- if this enum class has no constant with the specified name
+NullPointerException
- if the argument is null
+
+
+ -
+
Package dev.plex.command.source
++
-
+
- + + +
-
++ ++ +
+
Enum Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- java.lang.Enum<E> (implements java.lang.Comparable<T>, java.lang.constant.Constable, java.io.Serializable)
+
-
+
- dev.plex.command.source.RequiredCommandSource +
+
+ - java.lang.Enum<E> (implements java.lang.Comparable<T>, java.lang.constant.Constable, java.io.Serializable)
+
Class Config
+-
+
- All Implemented Interfaces: +
org.bukkit.configuration.Configuration
,org.bukkit.configuration.ConfigurationSection
+
+
-
+
+
-
+
+ +Field Summary
+ + +++Fields inherited from class org.bukkit.configuration.file.YamlConfiguration
+BLANK_CONFIG, COMMENT_PREFIX
++Fields inherited from class org.bukkit.configuration.MemoryConfiguration
+defaults, options
++Fields inherited from class org.bukkit.configuration.MemorySection
+map
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ + ++++Methods inherited from class org.bukkit.configuration.file.YamlConfiguration
+loadConfiguration, loadConfiguration, loadFromString, options, saveToString
++Methods inherited from class org.bukkit.configuration.file.FileConfiguration
+buildHeader, load, load, load, save, save
++Methods inherited from class org.bukkit.configuration.MemoryConfiguration
+addDefault, addDefaults, addDefaults, getDefaults, getParent, setDefaults
++Methods inherited from class org.bukkit.configuration.MemorySection
+contains, contains, createPath, createPath, createSection, createSection, get, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getColor, getColor, getComments, getConfigurationSection, getCurrentPath, getDefault, getDefaultSection, getDouble, getDouble, getDoubleList, getFloatList, getInlineComments, getInt, getInt, getIntegerList, getItemStack, getItemStack, getKeys, getList, getList, getLocation, getLocation, getLong, getLong, getLongList, getMapList, getName, getObject, getObject, getOfflinePlayer, getOfflinePlayer, getRoot, getSerializable, getSerializable, getShortList, getString, getString, getStringList, getValues, getVector, getVector, isBoolean, isColor, isConfigurationSection, isDouble, isInt, isItemStack, isList, isLocation, isLong, isOfflinePlayer, isPrimitiveWrapper, isSet, isString, isVector, mapChildrenKeys, mapChildrenValues, set, setComments, setInlineComments, toString
++Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
++Methods inherited from interface org.bukkit.configuration.ConfigurationSection
+contains, contains, createSection, createSection, get, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getColor, getColor, getComments, getConfigurationSection, getCurrentPath, getDefaultSection, getDouble, getDouble, getDoubleList, getFloatList, getInlineComments, getInt, getInt, getIntegerList, getItemStack, getItemStack, getKeys, getList, getList, getLocation, getLocation, getLong, getLong, getLongList, getMapList, getName, getObject, getObject, getOfflinePlayer, getOfflinePlayer, getRoot, getSerializable, getSerializable, getShortList, getString, getString, getStringList, getValues, getVector, getVector, isBoolean, isColor, isConfigurationSection, isDouble, isInt, isItemStack, isList, isLocation, isLong, isOfflinePlayer, isSet, isString, isVector, set, setComments, setInlineComments
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +plugin
+ +
+ -
+
+ +file
+ +
+ -
+
+ +name
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +Config
+ +
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +load
+public void load()+
+ -
+
+ +save
+public void save()+
+ -
+
+ +saveDefault
+private void saveDefault()+
+
+ -
+
Package dev.plex.config
++
-
+
- + + +
-
++ ++ +
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- org.bukkit.configuration.MemorySection (implements org.bukkit.configuration.ConfigurationSection)
+
-
+
- org.bukkit.configuration.MemoryConfiguration (implements org.bukkit.configuration.Configuration)
+
-
+
- org.bukkit.configuration.file.FileConfiguration
+
-
+
- org.bukkit.configuration.file.YamlConfiguration
+
-
+
- dev.plex.config.Config +
+
+ - org.bukkit.configuration.file.YamlConfiguration
+
+ - org.bukkit.configuration.file.FileConfiguration
+
+ - org.bukkit.configuration.MemoryConfiguration (implements org.bukkit.configuration.Configuration)
+
+ - org.bukkit.configuration.MemorySection (implements org.bukkit.configuration.ConfigurationSection)
+
Class AdminAddEvent
++
-
+
+
-
+
+ +Nested Class Summary
+++Nested classes/interfaces inherited from class org.bukkit.event.Event
+org.bukkit.event.Event.Result
+
+ -
+
+ +Field Summary
+ +++Modifier and Type+Field+Description++ +private static final org.bukkit.event.HandlerList
+ +private final PlexPlayer
+ +private final org.bukkit.command.CommandSender
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++ +static org.bukkit.event.HandlerList
+ +org.bukkit.event.HandlerList
++ +Methods inherited from class org.bukkit.event.Event
+callEvent, getEventName, isAsynchronous
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +handlers
+private static final org.bukkit.event.HandlerList handlers+
+ -
+
+ +sender
+private final org.bukkit.command.CommandSender sender+
+ -
+
+ +plexPlayer
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +AdminAddEvent
+public AdminAddEvent()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +getHandlers
+public org.bukkit.event.HandlerList getHandlers()+-
+
- Specified by: +
getHandlers
in classorg.bukkit.event.Event
+
+ -
+
+ +getHandlerList
+public static org.bukkit.event.HandlerList getHandlerList()+
+
+ -
+
Class AdminRemoveEvent
++
-
+
+
-
+
+ +Nested Class Summary
+++Nested classes/interfaces inherited from class org.bukkit.event.Event
+org.bukkit.event.Event.Result
+
+ -
+
+ +Field Summary
+ +++Modifier and Type+Field+Description++ +private static final org.bukkit.event.HandlerList
+ +private final PlexPlayer
+ +private final org.bukkit.command.CommandSender
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++ +static org.bukkit.event.HandlerList
+ +org.bukkit.event.HandlerList
++ +Methods inherited from class org.bukkit.event.Event
+callEvent, getEventName, isAsynchronous
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +handlers
+private static final org.bukkit.event.HandlerList handlers+
+ -
+
+ +sender
+private final org.bukkit.command.CommandSender sender+
+ -
+
+ +plexPlayer
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +AdminRemoveEvent
+public AdminRemoveEvent()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +getHandlers
+public org.bukkit.event.HandlerList getHandlers()+-
+
- Specified by: +
getHandlers
in classorg.bukkit.event.Event
+
+ -
+
+ +getHandlerList
+public static org.bukkit.event.HandlerList getHandlerList()+
+
+ -
+
Class AdminSetRankEvent
++
-
+
+
-
+
+ +Nested Class Summary
+++Nested classes/interfaces inherited from class org.bukkit.event.Event
+org.bukkit.event.Event.Result
+
+ -
+
+ +Field Summary
+ +++Modifier and Type+Field+Description++ +private static final org.bukkit.event.HandlerList
+ +private final PlexPlayer
+ +private final Rank
+ +private final org.bukkit.command.CommandSender
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++ +static org.bukkit.event.HandlerList
+ +org.bukkit.event.HandlerList
++ +Methods inherited from class org.bukkit.event.Event
+callEvent, getEventName, isAsynchronous
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +handlers
+private static final org.bukkit.event.HandlerList handlers+
+ -
+
+ +sender
+private final org.bukkit.command.CommandSender sender+
+ -
+
+ +plexPlayer
+ +
+ -
+
+ +rank
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +AdminSetRankEvent
+public AdminSetRankEvent()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +getHandlers
+public org.bukkit.event.HandlerList getHandlers()+-
+
- Specified by: +
getHandlers
in classorg.bukkit.event.Event
+
+ -
+
+ +getHandlerList
+public static org.bukkit.event.HandlerList getHandlerList()+
+
+ -
+
Class PunishedPlayerEvent
+-
+
- All Implemented Interfaces: +
org.bukkit.event.Cancellable
+
-
+
- Direct Known Subclasses: +
PunishedPlayerFreezeEvent
,PunishedPlayerMuteEvent
+
+
-
+
+
-
+
+ +Nested Class Summary
+++Nested classes/interfaces inherited from class org.bukkit.event.Event
+org.bukkit.event.Event.Result
+
+ -
+
+ +Field Summary
+ + +++Fields inherited from class org.bukkit.event.player.PlayerEvent
+player
+
+ -
+
+ +Constructor Summary
+ +++Modifier+Constructor+Description++protected
+PunishedPlayerEvent
(PunishedPlayer punishedPlayer)
+
+ -
+
+ +Method Summary
+++Methods inherited from class org.bukkit.event.player.PlayerEvent
+getPlayer
++Methods inherited from class org.bukkit.event.Event
+callEvent, getEventName, getHandlers, isAsynchronous
++Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
++Methods inherited from interface org.bukkit.event.Cancellable
+isCancelled, setCancelled
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +punishedPlayer
+ +
+ -
+
+ +cancelled
+protected boolean cancelled+
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PunishedPlayerEvent
+ +
+
+ -
+
Class PunishedPlayerFreezeEvent
+-
+
- All Implemented Interfaces: +
org.bukkit.event.Cancellable
+
+
-
+
+
-
+
+ +Nested Class Summary
+++Nested classes/interfaces inherited from class org.bukkit.event.Event
+org.bukkit.event.Event.Result
+
+ -
+
+ +Field Summary
+ +++Modifier and Type+Field+Description++ +private final boolean
++Status of the Punished Player being frozen before the event's occurrence.++ +private static final org.bukkit.event.HandlerList
++Fields inherited from class dev.plex.event.PunishedPlayerEvent
+cancelled, punishedPlayer
++Fields inherited from class org.bukkit.event.player.PlayerEvent
+player
+
+ -
+
+ +Constructor Summary
+ +++Constructor+Description++PunishedPlayerFreezeEvent
(PunishedPlayer punishedPlayer, + boolean frozen)
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++ +static org.bukkit.event.HandlerList
+ +org.bukkit.event.HandlerList
++Methods inherited from class org.bukkit.event.player.PlayerEvent
+getPlayer
++Methods inherited from class org.bukkit.event.Event
+callEvent, getEventName, isAsynchronous
++Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
++Methods inherited from interface org.bukkit.event.Cancellable
+isCancelled, setCancelled
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +handlers
+private static final org.bukkit.event.HandlerList handlers+
+ -
+
+ +frozen
+private final boolean frozen+Status of the Punished Player being frozen before the event's occurrence.+
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PunishedPlayerFreezeEvent
+ +
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +getHandlers
+public org.bukkit.event.HandlerList getHandlers()+-
+
- Specified by: +
getHandlers
in classorg.bukkit.event.Event
+
+ -
+
+ +getHandlerList
+public static org.bukkit.event.HandlerList getHandlerList()+
+
+ -
+
Class PunishedPlayerMuteEvent
+-
+
- All Implemented Interfaces: +
org.bukkit.event.Cancellable
+
+
-
+
+
-
+
+ +Nested Class Summary
+++Nested classes/interfaces inherited from class org.bukkit.event.Event
+org.bukkit.event.Event.Result
+
+ -
+
+ +Field Summary
+ +++Modifier and Type+Field+Description++ +private static final org.bukkit.event.HandlerList
+ +private final boolean
++Status of the Punished Player being frozen before the event's occurrence.+++Fields inherited from class dev.plex.event.PunishedPlayerEvent
+cancelled, punishedPlayer
++Fields inherited from class org.bukkit.event.player.PlayerEvent
+player
+
+ -
+
+ +Constructor Summary
+ +++Constructor+Description++PunishedPlayerMuteEvent
(PunishedPlayer punishedPlayer, + boolean muted)
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++ +static org.bukkit.event.HandlerList
+ +org.bukkit.event.HandlerList
++Methods inherited from class org.bukkit.event.player.PlayerEvent
+getPlayer
++Methods inherited from class org.bukkit.event.Event
+callEvent, getEventName, isAsynchronous
++Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
++Methods inherited from interface org.bukkit.event.Cancellable
+isCancelled, setCancelled
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +handlers
+private static final org.bukkit.event.HandlerList handlers+
+ -
+
+ +muted
+private final boolean muted+Status of the Punished Player being frozen before the event's occurrence.+
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PunishedPlayerMuteEvent
+ +
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +getHandlers
+public org.bukkit.event.HandlerList getHandlers()+-
+
- Specified by: +
getHandlers
in classorg.bukkit.event.Event
+
+ -
+
+ +getHandlerList
+public static org.bukkit.event.HandlerList getHandlerList()+
+
+ -
+
Package dev.plex.event
++
-
+
- + + +
-
+++ +++Class+Description+ +
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- org.bukkit.event.Event
+
-
+
- dev.plex.event.AdminAddEvent +
- dev.plex.event.AdminRemoveEvent +
- dev.plex.event.AdminSetRankEvent +
- org.bukkit.event.player.PlayerEvent
+
-
+
- dev.plex.event.PunishedPlayerEvent (implements org.bukkit.event.Cancellable)
+
-
+
- dev.plex.event.PunishedPlayerFreezeEvent (implements org.bukkit.event.Cancellable) +
- dev.plex.event.PunishedPlayerMuteEvent (implements org.bukkit.event.Cancellable) +
+
+ - dev.plex.event.PunishedPlayerEvent (implements org.bukkit.event.Cancellable)
+
+
+ - org.bukkit.event.Event
+
Class CommandHandler
++ +
-
+
+
-
+
+ +Field Summary
+ +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
+ +
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +CommandHandler
+public CommandHandler()+
+
+ -
+
Class ListenerHandler
++ +
-
+
+
-
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
+ +
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +ListenerHandler
+public ListenerHandler()+
+
+ -
+
Package dev.plex.handlers
++
-
+
- + + +
-
++ ++ +
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- dev.plex.handlers.ListenerHandler +
- dev.plex.PlexBase
+
-
+
- dev.plex.handlers.CommandHandler +
+
+
Class PlexListener
+-
+
- All Implemented Interfaces: +
org.bukkit.event.Listener
+
-
+
- Direct Known Subclasses: +
AdminListener
,ChatListener
,CommandListener
,FreezeListener
,LoginListener
,PlayerListener
,ServerListener
,WorldListener
+
+ +
-
+
+
-
+
+ +Field Summary
+ +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
+ +
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PlexListener
+public PlexListener()+
+
+ -
+
Class AdminListener
+-
+
- All Implemented Interfaces: +
org.bukkit.event.Listener
+
+ +
-
+
+
-
+
+ +Field Summary
+ +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++void
+onAdminAdd
(AdminAddEvent event) +void
+onAdminRemove
(AdminRemoveEvent event) +void
+onAdminSetRank
(AdminSetRankEvent event)
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +AdminListener
+public AdminListener()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +onAdminAdd
+ +
+ -
+
+ +onAdminRemove
+ +
+ -
+
+ +onAdminSetRank
+ +
+
+ -
+
Class ChatListener.PlexChatRenderer
+-
+
- All Implemented Interfaces: +
io.papermc.paper.chat.ChatRenderer
+
-
+
- Enclosing class: +
- ChatListener +
+
-
+
+
-
+
+ +Nested Class Summary
+++Nested classes/interfaces inherited from interface io.papermc.paper.chat.ChatRenderer
+io.papermc.paper.chat.ChatRenderer.ViewerUnaware
+
+ -
+
+ +Field Summary
+ + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++@NotNull net.kyori.adventure.text.Component
+render
(@NotNull org.bukkit.entity.Player source, + @NotNull net.kyori.adventure.text.Component sourceDisplayName, + @NotNull net.kyori.adventure.text.Component message, + @NotNull net.kyori.adventure.audience.Audience viewer)
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +hasPrefix
+public boolean hasPrefix+
+ -
+
+ +prefix
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PlexChatRenderer
+public PlexChatRenderer()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +render
+@NotNull +public @NotNull net.kyori.adventure.text.Component render+(@NotNull + @NotNull org.bukkit.entity.Player source, + @NotNull + @NotNull net.kyori.adventure.text.Component sourceDisplayName, + @NotNull + @NotNull net.kyori.adventure.text.Component message, + @NotNull + @NotNull net.kyori.adventure.audience.Audience viewer) -
+
- Specified by: +
render
in interfaceio.papermc.paper.chat.ChatRenderer
+
+
+ -
+
Class ChatListener
+-
+
- All Implemented Interfaces: +
org.bukkit.event.Listener
+
+ +
-
+
+
-
+
+ +Nested Class Summary
+ + +
+
+ -
+
+ +Field Summary
+ + + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++void
+onChat
(io.papermc.paper.event.player.AsyncChatEvent event)
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +renderer
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +ChatListener
+public ChatListener()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +onChat
+public void onChat+(io.papermc.paper.event.player.AsyncChatEvent event)
+
+ -
+
Class CommandListener
+-
+
- All Implemented Interfaces: +
org.bukkit.event.Listener
+
+ +
-
+
+
-
+
+ +Field Summary
+ +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++void
+onPlayerCommandPreprocess
(org.bukkit.event.player.PlayerCommandPreprocessEvent event)
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +CommandListener
+public CommandListener()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +onPlayerCommandPreprocess
+public void onPlayerCommandPreprocess+(org.bukkit.event.player.PlayerCommandPreprocessEvent event)
+
+ -
+
Class FreezeListener
+-
+
- All Implemented Interfaces: +
org.bukkit.event.Listener
+
+ +
-
+
+
-
+
+ +Field Summary
+ +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++void
+onPlayerMove
(org.bukkit.event.player.PlayerMoveEvent e)
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +FreezeListener
+public FreezeListener()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +onPlayerMove
+public void onPlayerMove+(org.bukkit.event.player.PlayerMoveEvent e)
+
+ -
+
Class LoginListener
+-
+
- All Implemented Interfaces: +
org.bukkit.event.Listener
+
+ +
-
+
+
-
+
+ +Field Summary
+ + + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++void
+onPreLogin
(org.bukkit.event.player.AsyncPlayerPreLoginEvent event)
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +banUrl
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +LoginListener
+public LoginListener()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +onPreLogin
+public void onPreLogin+(org.bukkit.event.player.AsyncPlayerPreLoginEvent event)
+
+ -
+
Class PlayerListener
+-
+
- All Implemented Interfaces: +
org.bukkit.event.Listener
+
+ +
-
+
+
-
+
+ +Field Summary
+ +++ +Modifier and Type+Field+Description++ +private final MongoPlayerData
+ +private final SQLPlayerData
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++void
+onPlayerSave
(org.bukkit.event.player.PlayerQuitEvent event) +void
+onPlayerSetup
(org.bukkit.event.player.PlayerJoinEvent event)
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +mongoPlayerData
+ +
+ -
+
+ +sqlPlayerData
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PlayerListener
+public PlayerListener()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +onPlayerSetup
+public void onPlayerSetup+(org.bukkit.event.player.PlayerJoinEvent event)
+ -
+
+ +onPlayerSave
+public void onPlayerSave+(org.bukkit.event.player.PlayerQuitEvent event)
+
+ -
+
Class ServerListener
+-
+
- All Implemented Interfaces: +
org.bukkit.event.Listener
+
+ +
-
+
+
-
+
+ +Field Summary
+ +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++void
+onServerPing
(org.bukkit.event.server.ServerListPingEvent event)
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +ServerListener
+public ServerListener()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +onServerPing
+public void onServerPing+(org.bukkit.event.server.ServerListPingEvent event)
+
+ -
+
Class WorldListener
+-
+
- All Implemented Interfaces: +
org.bukkit.event.Listener
+
+ +
-
+
+
-
+
+ +Field Summary
+ +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++void
+onBlockPlace
(org.bukkit.event.block.BlockPlaceEvent e) +void
+onEntitySpawn
(org.bukkit.event.entity.EntitySpawnEvent e)
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +WorldListener
+public WorldListener()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +onBlockPlace
+public void onBlockPlace+(org.bukkit.event.block.BlockPlaceEvent e)
+ -
+
+ +onEntitySpawn
+public void onEntitySpawn+(org.bukkit.event.entity.EntitySpawnEvent e)
+
+ -
+
Package dev.plex.listener.impl
++
-
+
- + + +
-
+++ +++Class+Description+ +
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- dev.plex.listener.impl.ChatListener.PlexChatRenderer (implements io.papermc.paper.chat.ChatRenderer) +
- dev.plex.PlexBase
+
-
+
- dev.plex.listener.PlexListener (implements org.bukkit.event.Listener)
+
-
+
- dev.plex.listener.impl.AdminListener +
- dev.plex.listener.impl.ChatListener +
- dev.plex.listener.impl.CommandListener +
- dev.plex.listener.impl.FreezeListener +
- dev.plex.listener.impl.LoginListener +
- dev.plex.listener.impl.PlayerListener +
- dev.plex.listener.impl.ServerListener +
- dev.plex.listener.impl.WorldListener +
+
+ - dev.plex.listener.PlexListener (implements org.bukkit.event.Listener)
+
+
Package dev.plex.listener
++
-
+
- + + +
-
++ ++ +
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- dev.plex.PlexBase
+
-
+
- dev.plex.listener.PlexListener (implements org.bukkit.event.Listener) +
+
+ - dev.plex.PlexBase
+
Class PunishedPlayerMenu
+-
+
- All Implemented Interfaces: +
org.bukkit.event.Listener
+
+ +
-
+
+
-
+
+ +Field Summary
+ +++Modifier and Type+Field+Description++ +private final List<org.bukkit.inventory.Inventory>
+ +private final PunishedPlayer
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++int
+getCurrentInventoryIndex
(org.bukkit.inventory.Inventory inventory) + +List<org.bukkit.inventory.Inventory>
+private boolean
+isValidInventory
(org.bukkit.inventory.Inventory inventory) +void
+onClick
(org.bukkit.event.inventory.InventoryClickEvent event) +void
+openInv
(org.bukkit.entity.Player player, + int index) ++ +Methods inherited from class dev.plex.util.menu.AbstractMenu
+getName
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +punishedPlayer
+ +
+ -
+
+ +inventories
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PunishedPlayerMenu
+ +
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +getInventory
+ +
+ -
+
+ +openInv
+public void openInv+(org.bukkit.entity.Player player, + int index)
+ -
+
+ +onClick
+public void onClick+(org.bukkit.event.inventory.InventoryClickEvent event)
+ -
+
+ +getCurrentInventoryIndex
+public int getCurrentInventoryIndex+(org.bukkit.inventory.Inventory inventory)
+ -
+
+ +isValidInventory
+private boolean isValidInventory+(org.bukkit.inventory.Inventory inventory)
+
+ -
+
Class PunishmentMenu
+-
+
- All Implemented Interfaces: +
org.bukkit.event.Listener
+
+ +
-
+
+
-
+
+ +Field Summary
+ + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++int
+getCurrentInventoryIndex
(org.bukkit.inventory.Inventory inventory) + +List<org.bukkit.inventory.Inventory>
+private boolean
+isValidInventory
(org.bukkit.inventory.Inventory inventory) +void
+onClick
(org.bukkit.event.inventory.InventoryClickEvent event) +void
+openInv
(org.bukkit.entity.Player player, + int index) ++ +Methods inherited from class dev.plex.util.menu.AbstractMenu
+getName
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +inventories
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PunishmentMenu
+public PunishmentMenu()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +getInventory
+ +
+ -
+
+ +openInv
+public void openInv+(org.bukkit.entity.Player player, + int index)
+ -
+
+ +onClick
+public void onClick+(org.bukkit.event.inventory.InventoryClickEvent event)
+ -
+
+ +getCurrentInventoryIndex
+public int getCurrentInventoryIndex+(org.bukkit.inventory.Inventory inventory)
+ -
+
+ +isValidInventory
+private boolean isValidInventory+(org.bukkit.inventory.Inventory inventory)
+
+ -
+
Package dev.plex.menu
++
-
+
- + + +
-
++ ++ +
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- dev.plex.util.menu.AbstractMenu (implements org.bukkit.event.Listener)
+
-
+
- dev.plex.menu.PunishedPlayerMenu +
- dev.plex.menu.PunishmentMenu +
+
+ - dev.plex.util.menu.AbstractMenu (implements org.bukkit.event.Listener)
+
Class Hierarchy
+ +Class PlexPlayer
++ +
-
+
+
-
+
+ +Field Summary
+ + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ ++ ++
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +id
+ +
+ -
+
+ +uuid
+ +
+ -
+
+ +name
+ +
+ -
+
+ +player
+private org.bukkit.entity.Player player+
+ -
+
+ +loginMSG
+ +
+ -
+
+ +prefix
+ +
+ -
+
+ +vanished
+private boolean vanished+
+ -
+
+ +commandSpy
+private boolean commandSpy+
+ -
+
+ +coins
+private long coins+
+ -
+
+ +rank
+ +
+ -
+
+ +ips
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PlexPlayer
+public PlexPlayer()+
+ -
+
+ +PlexPlayer
+ +
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +displayName
+ +
+ -
+
+ +getRankFromString
+ +
+
+ -
+
Class PunishedPlayer
++ +
-
+
+
-
+
+ +Field Summary
+ +++ +Modifier and Type+Field+Description++ +private boolean
+ +private boolean
+ +private String
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description+ + ++private boolean
+isNotEmpty
(File file) +void
+setFrozen
(boolean frozen) +void
+setMuted
(boolean muted)
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +uuid
+ +
+ -
+
+ +muted
+private boolean muted+
+ -
+
+ +frozen
+private boolean frozen+
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PunishedPlayer
+ +
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +setFrozen
+public void setFrozen+(boolean frozen)
+ -
+
+ +setMuted
+public void setMuted+(boolean muted)
+ -
+
+ +getPunishmentsFile
+ +
+ -
+
+ +getPunishments
+ +
+ -
+
+ +isNotEmpty
+ +
+
+ -
+
Package dev.plex.player
++
-
+
- + + +
-
++ ++ +
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- dev.plex.PlexBase
+
-
+
- dev.plex.player.PunishedPlayer +
+ - dev.plex.player.PlexPlayer +
+ - dev.plex.PlexBase
+
Class Punishment
++ +
-
+
+
-
+
+ +Field Summary
+ +++Modifier and Type+Field+Description++ +private boolean
+ +private LocalDateTime
+ +private final UUID
+ +private String
+ +private final UUID
+ +private String
+ +private PunishmentType
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ ++ ++
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +punished
+ +
+ -
+
+ +punisher
+ +
+ -
+
+ +IPS
+ +
+ -
+
+ +punishedUsername
+ +
+ -
+
+ +type
+ +
+ -
+
+ +reason
+ +
+ -
+
+ +customTime
+private boolean customTime+
+ -
+
+ +endDate
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +Punishment
+ +
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +toJSON
+ +
+ -
+
+ +fromJson
+ +
+
+ -
+
Class PunishmentManager
++ +
-
+
+
-
+
+ +Field Summary
+ +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++void
+doPunishment
(PunishedPlayer player, + Punishment punishment) +void
+insertPunishment
(PunishedPlayer player, + Punishment punishment) +private boolean
+isNotEmpty
(File file) +private void
+issuePunishment
(PunishedPlayer player, + Punishment punishment)
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PunishmentManager
+public PunishmentManager()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +insertPunishment
+ +
+ -
+
+ +isNotEmpty
+ +
+ -
+
+ +issuePunishment
+ +
+ -
+
+ +doPunishment
+ +
+
+ -
+
Enum Class PunishmentType
+-
+
- All Implemented Interfaces: +
Serializable
,Comparable<PunishmentType>
,Constable
+
+ +
-
+
+
-
+
+ +Nested Class Summary
+++Nested classes/interfaces inherited from class java.lang.Enum
+Enum.EnumDesc<E extends Enum<E>>
+
+ -
+
+ +Enum Constant Summary
+ + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ + +++++Modifier and Type+Method+Description++ +static PunishmentType
++Returns the enum constant of this class with the specified name.++static PunishmentType[]
+values()
++Returns an array containing the constants of this enum class, in +the order they are declared.+
+
-
+
+
-
+
+ +Enum Constant Details
+-
+
-
+
+ +MUTE
+ +
+ -
+
+ +FREEZE
+ +
+ -
+
+ +BAN
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PunishmentType
+private PunishmentType()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +values
+ +Returns an array containing the constants of this enum class, in +the order they are declared.+-
+
- Returns: +
- an array containing the constants of this enum class, in the order they are declared +
+ -
+
+ +valueOf
+ +Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)+-
+
- Parameters: +
name
- the name of the enum constant to be returned.
+- Returns: +
- the enum constant with the specified name +
- Throws: +
IllegalArgumentException
- if this enum class has no constant with the specified name
+NullPointerException
- if the argument is null
+
+
+ -
+
Package dev.plex.punishment
++
-
+
- + + +
-
++ +++ ++
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- dev.plex.PlexBase
+
-
+
- dev.plex.punishment.PunishmentManager +
+ - dev.plex.punishment.Punishment +
+ - dev.plex.PlexBase
+
Enum Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- java.lang.Enum<E> (implements java.lang.Comparable<T>, java.lang.constant.Constable, java.io.Serializable)
+
-
+
- dev.plex.punishment.PunishmentType +
+
+ - java.lang.Enum<E> (implements java.lang.Comparable<T>, java.lang.constant.Constable, java.io.Serializable)
+
Class DefaultRankObj
++ +
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +prefix
+ +
+ -
+
+ +loginMSG
+ +
+ -
+
+ +readableName
+ +
+ -
+
+ +permissions
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +DefaultRankObj
+ +
+
+ -
+
Class RankManager
++ +
-
+
+
-
+
+ +Field Summary
+ + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++ +void
+getRankFromString
(String rank) + +void
+boolean
+isAdmin
(PlexPlayer plexPlayer) +boolean
+isSeniorAdmin
(PlexPlayer plexPlayer)
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +defaultRanks
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +RankManager
+public RankManager()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +generateDefaultRanks
+public void generateDefaultRanks()+
+ -
+
+ +getRankFromString
+ +
+ -
+
+ +importDefaultRanks
+public void importDefaultRanks()+
+ -
+
+ +isAdmin
+ +
+ -
+
+ +isSeniorAdmin
+ +
+
+ -
+
Enum Class Rank
+-
+
- All Implemented Interfaces: +
Serializable
,Comparable<Rank>
,Constable
+
+ +
-
+
+
-
+
+ +Nested Class Summary
+++Nested classes/interfaces inherited from class java.lang.Enum
+Enum.EnumDesc<E extends Enum<E>>
+
+ -
+
+ +Enum Constant Summary
+ + +
+
+ -
+
+ +Field Summary
+ + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ + +++++Modifier and Type+Method+Description++int
+getLevel()
+ +boolean
+void
+setHumanReadableString
(String readable) +void
+setLoginMessage
(String msg) +void
+setPermissions
(List<String> permissions) + +void
+ +static Rank
++Returns the enum constant of this class with the specified name.++static Rank[]
+values()
++Returns an array containing the constants of this enum class, in +the order they are declared.+
+
-
+
+
-
+
+ +Enum Constant Details
+-
+
-
+
+ +IMPOSTOR
+ +
+ -
+
+ +NONOP
+ +
+ -
+
+ +OP
+ +
+ -
+
+ +ADMIN
+ +
+ -
+
+ +SENIOR_ADMIN
+ +
+ -
+
+ +EXECUTIVE
+ +
+
+
+ -
+
-
+
+ +Field Details
+-
+
-
+
+ +level
+private final int level+
+ -
+
+ +loginMessage
+ +
+ -
+
+ +readable
+ +
+ -
+
+ +prefix
+ +
+ -
+
+ +permissions
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +Rank
+ +
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +values
+ +Returns an array containing the constants of this enum class, in +the order they are declared.+-
+
- Returns: +
- an array containing the constants of this enum class, in the order they are declared +
+ -
+
+ +valueOf
+ +Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)+-
+
- Parameters: +
name
- the name of the enum constant to be returned.
+- Returns: +
- the enum constant with the specified name +
- Throws: +
IllegalArgumentException
- if this enum class has no constant with the specified name
+NullPointerException
- if the argument is null
+
+ -
+
+ +getPrefix
+ +
+ -
+
+ +getLoginMSG
+ +
+ -
+
+ +getLevel
+public int getLevel()+
+ -
+
+ +getReadableString
+ +
+ -
+
+ +setLoginMessage
+ +
+ -
+
+ +setPrefix
+ +
+ -
+
+ +setHumanReadableString
+ +
+ -
+
+ +isAtLeast
+ +
+ -
+
+ +getPermissions
+ +
+ -
+
+ +setPermissions
+ +
+
+ -
+
Enum Class Title
+-
+
- All Implemented Interfaces: +
Serializable
,Comparable<Title>
,Constable
+
+ +
-
+
+
-
+
+ +Nested Class Summary
+++Nested classes/interfaces inherited from class java.lang.Enum
+Enum.EnumDesc<E extends Enum<E>>
+
+ -
+
+ +Enum Constant Summary
+ + +
+
+ -
+
+ +Field Summary
+ + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ + ++ + +
+
-
+
+
-
+
+ +Enum Constant Details
+-
+
-
+
+ +MASTER_BUILDER
+ +
+ -
+
+ +DEV
+ +
+ -
+
+ +OWNER
+ +
+
+
+ -
+
-
+
+ +Field Details
+-
+
-
+
+ +level
+private int level+
+ -
+
+ +loginMSG
+ +
+ -
+
+ +readable
+ +
+ -
+
+ +prefix
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +Title
+ +
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +values
+ +Returns an array containing the constants of this enum class, in +the order they are declared.+-
+
- Returns: +
- an array containing the constants of this enum class, in the order they are declared +
+ -
+
+ +valueOf
+ +Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)+-
+
- Parameters: +
name
- the name of the enum constant to be returned.
+- Returns: +
- the enum constant with the specified name +
- Throws: +
IllegalArgumentException
- if this enum class has no constant with the specified name
+NullPointerException
- if the argument is null
+
+
+ -
+
Enum Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- java.lang.Enum<E> (implements java.lang.Comparable<T>, java.lang.constant.Constable, java.io.Serializable) + + +
+
Package dev.plex.rank
++
-
+
- + + +
-
++ ++ +
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- dev.plex.rank.DefaultRankObj +
- dev.plex.rank.RankManager +
+
Class AbstractService
+-
+
- All Implemented Interfaces: +
IService
+
-
+
- Direct Known Subclasses: +
BanService
,GameRuleService
+
+ +
-
+
+
-
+
+ +Field Summary
+ +++Modifier and Type+Field+Description++ +private boolean
+ +private boolean
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ +++ ++++Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
++Methods inherited from interface dev.plex.services.IService
+repeatInSeconds, run
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +asynchronous
+private boolean asynchronous+
+ -
+
+ +repeating
+private boolean repeating+
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +AbstractService
+public AbstractService+(boolean repeating, + boolean async)
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +isRepeating
+public boolean isRepeating()+
+ -
+
+ +isAsynchronous
+public boolean isAsynchronous()+
+
+ -
+
Interface IService
+-
+
- All Known Implementing Classes: +
AbstractService
,BanService
,GameRuleService
+
+
-
+
+
-
+
+ +Method Summary
++ +++ ++
+
-
+
+
-
+
+ +Method Details
+-
+
-
+
+ +run
+void run()+
+ -
+
+ +repeatInSeconds
+int repeatInSeconds()+
+
+ -
+
Class ServiceManager
++ +
-
+
+
-
+
+ +Field Summary
+ + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++private void
+registerService
(AbstractService service) + +int
+ +void
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +services
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +ServiceManager
+public ServiceManager()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +startServices
+public void startServices()+
+ -
+
+ +registerService
+ +
+ -
+
+ +serviceCount
+public int serviceCount()+
+
+ -
+
Class BanService
+-
+
- All Implemented Interfaces: +
IService
+
+ +
-
+
+
-
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ +++ ++++ +Methods inherited from class dev.plex.services.AbstractService
+isAsynchronous, isRepeating
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +BanService
+public BanService()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +run
+public void run()+
+ -
+
+ +repeatInSeconds
+public int repeatInSeconds()+
+
+ -
+
Class GameRuleService
+-
+
- All Implemented Interfaces: +
IService
+
+ +
-
+
+
-
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++private void
+commitGameRules
(org.bukkit.World world) + +int
+void
+run()
++ +Methods inherited from class dev.plex.services.AbstractService
+isAsynchronous, isRepeating
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +GameRuleService
+public GameRuleService()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +run
+public void run()+
+ -
+
+ +commitGameRules
+private void commitGameRules+(org.bukkit.World world)
+ -
+
+ +repeatInSeconds
+public int repeatInSeconds()+
+
+ -
+
Package dev.plex.services.impl
++
-
+
- + + +
-
++ ++ +
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- dev.plex.services.AbstractService (implements dev.plex.services.IService)
+
-
+
- dev.plex.services.impl.BanService +
- dev.plex.services.impl.GameRuleService +
+
+ - dev.plex.services.AbstractService (implements dev.plex.services.IService)
+
Package dev.plex.services
++
-
+
- + + +
-
++ +++ ++
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- dev.plex.services.AbstractService (implements dev.plex.services.IService) +
- dev.plex.services.ServiceManager +
+
Interface Hierarchy
+-
+
- dev.plex.services.IService +
Class MongoConnection
++ +
-
+
+
-
+
+ +Field Summary
+ + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ ++ ++
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +plugin
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +MongoConnection
+public MongoConnection()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +getDatastore
+public dev.morphia.Datastore getDatastore()+
+
+ -
+
Class RedisConnection
++ +
-
+
+
-
+
+ +Field Summary
+ + + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ + ++ +
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +jedis
+private redis.clients.jedis.Jedis jedis+
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +RedisConnection
+public RedisConnection()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +getJedis
+public redis.clients.jedis.Jedis getJedis()+
+ -
+
+ +isEnabled
+public final boolean isEnabled()+
+
+ -
+
Class SQLConnection
++ +
-
+
+
-
+
+ +Field Summary
+ + + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ ++ ++
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +connection
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +SQLConnection
+public SQLConnection()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +getCon
+ +
+
+ -
+
Enum Class StorageType
+-
+
- All Implemented Interfaces: +
Serializable
,Comparable<StorageType>
,Constable
+
+ +
-
+
+
-
+
+ +Nested Class Summary
+++Nested classes/interfaces inherited from class java.lang.Enum
+Enum.EnumDesc<E extends Enum<E>>
+
+ -
+
+ +Enum Constant Summary
+ + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ + +++++Modifier and Type+Method+Description++ +static StorageType
++Returns the enum constant of this class with the specified name.++static StorageType[]
+values()
++Returns an array containing the constants of this enum class, in +the order they are declared.+
+
-
+
+
-
+
+ +Enum Constant Details
+-
+
-
+
+ +MONGODB
+ +
+ -
+
+ +MARIADB
+ +
+ -
+
+ +SQLITE
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +StorageType
+private StorageType()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +values
+ +Returns an array containing the constants of this enum class, in +the order they are declared.+-
+
- Returns: +
- an array containing the constants of this enum class, in the order they are declared +
+ -
+
+ +valueOf
+ +Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)+-
+
- Parameters: +
name
- the name of the enum constant to be returned.
+- Returns: +
- the enum constant with the specified name +
- Throws: +
IllegalArgumentException
- if this enum class has no constant with the specified name
+NullPointerException
- if the argument is null
+
+
+ -
+
Package dev.plex.storage
++
-
+
- + + +
-
++ +++ ++
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- dev.plex.storage.MongoConnection +
- dev.plex.PlexBase
+
-
+
- dev.plex.storage.RedisConnection +
- dev.plex.storage.SQLConnection +
+
+
Enum Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- java.lang.Enum<E> (implements java.lang.Comparable<T>, java.lang.constant.Constable, java.io.Serializable)
+
-
+
- dev.plex.storage.StorageType +
+
+ - java.lang.Enum<E> (implements java.lang.Comparable<T>, java.lang.constant.Constable, java.io.Serializable)
+
Class MojangUtils
++ +
-
+
+
-
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++static List<Map.Entry<String,
LocalDateTime>> +getNameHistory
(UUID uuid) + +static UUID
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +MojangUtils
+public MojangUtils()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +getUUID
+ +
+ -
+
+ +getNameHistory
+ +
+
+ -
+
Class PlexLog
++ +
-
+
+
-
+
+ +Field Summary
+ + + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ + ++ +
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +debugEnabled
+private static final boolean debugEnabled+
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PlexLog
+public PlexLog()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +log
+ +
+ -
+
+ +error
+ +
+ -
+
+ +debug
+ +
+
+ -
+
Class PlexUtils
++ +
-
+
+
-
+
+ +Field Summary
+ + + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++ +++++Modifier and Type+Method+Description++ +static void
+static void
+broadcast
(net.kyori.adventure.text.Component component) + +static String
+ +static String
+static org.bukkit.ChatColor
+getChatColorFromConfig
(Config config, + org.bukkit.ChatColor def, + String path) +static Date
+getDateFromLong
(long epoch) + +static long
+static UUID
+getFromName
(String name) +static long
+hoursToSeconds
(long hours) +static boolean
+isPluginCMD
(String cmd, + String pluginName) +static long
+minutesToSeconds
(long minutes) + +static org.bukkit.ChatColor
+ +static int
+static int
+randomNum
(int limit) +static int
+randomNum
(int start, + int limit) +static void
+setBlocks
(org.bukkit.Location c1, + org.bukkit.Location c2, + org.bukkit.Material material) + +static Object
+ +static void
+ +static String
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +CHAT_COLOR_NAMES
+ +
+ -
+
+ +CHAT_COLOR_POOL
+ +
+ -
+
+ +DEVELOPERS
+ +
+ -
+
+ +RANDOM
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +PlexUtils
+public PlexUtils()+
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +randomChatColor
+public static org.bukkit.ChatColor randomChatColor()+
+ -
+
+ +testConnections
+public static void testConnections()+
+ -
+
+ +isPluginCMD
+ +
+ -
+
+ +color
+ +
+ -
+
+ +colorize
+ +
+ -
+
+ +tl
+ +
+ -
+
+ +getChatColorFromConfig
+ +
+ -
+
+ +setBlocks
+public static void setBlocks+(org.bukkit.Location c1, + org.bukkit.Location c2, + org.bukkit.Material material)
+ -
+
+ +getPlayerNameList
+ +
+ -
+
+ +broadcast
+ +
+ -
+
+ +broadcast
+public static void broadcast+(net.kyori.adventure.text.Component component)
+ -
+
+ +simpleGET
+public static Object simpleGET+(String url) + throws IOException, +org.json.simple.parser.ParseException -
+
- Throws: +
IOException
+org.json.simple.parser.ParseException
+
+ -
+
+ +getFromName
+ +
+ -
+
+ +randomNum
+public static int randomNum()+
+ -
+
+ +randomNum
+public static int randomNum+(int limit)
+ -
+
+ +randomNum
+public static int randomNum+(int start, + int limit)
+ -
+
+ +getDateNow
+public static long getDateNow()+
+ -
+
+ +getDateFromLong
+ +
+ -
+
+ +hoursToSeconds
+public static long hoursToSeconds+(long hours)
+ -
+
+ +minutesToSeconds
+public static long minutesToSeconds+(long minutes)
+
+ -
+
Class AbstractMenu
+-
+
- All Implemented Interfaces: +
org.bukkit.event.Listener
+
-
+
- Direct Known Subclasses: +
PunishedPlayerMenu
,PunishmentMenu
+
+ +
-
+
+
-
+
+ +Field Summary
+ + +
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
+ + +
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +name
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +AbstractMenu
+ +
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +getName
+ +
+
+ -
+
Interface IMenu
++
-
+
+
-
+
+ +Method Details
+-
+
-
+
+ +getInventory
+org.bukkit.inventory.Inventory getInventory()+
+ -
+
+ +openInv
+void openInv+(org.bukkit.entity.Player player)
+ -
+
+ +onClick
+void onClick+(org.bukkit.event.inventory.InventoryClickEvent event)
+
+ -
+
Package dev.plex.util.menu
++
-
+
- + + +
-
++ +++ ++
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- dev.plex.util.menu.AbstractMenu (implements org.bukkit.event.Listener) +
+
Interface Hierarchy
+-
+
- dev.plex.util.menu.IMenu +
Package dev.plex.util
++
-
+
- + + +
-
++ ++ +
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- dev.plex.util.MojangUtils +
- dev.plex.PlexBase + + +
+
Class BlockMapChunkGenerator
+-
+
- Direct Known Subclasses: +
ConfigurationChunkGenerator
+
+ +
-
+
+
-
+
+ +Nested Class Summary
+++Nested classes/interfaces inherited from class org.bukkit.generator.ChunkGenerator
+org.bukkit.generator.ChunkGenerator.BiomeGrid, org.bukkit.generator.ChunkGenerator.ChunkData
+
+ -
+
+ +Field Summary
+ + +++Fields inherited from class dev.plex.world.CustomChunkGenerator
+height
+
+ -
+
+ +Constructor Summary
+ +++Constructor+Description++BlockMapChunkGenerator
(LinkedHashMap<org.bukkit.Material, Integer> blockMap, + org.bukkit.generator.BlockPopulator... populators)
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++void
+createLoopChunkData
(int x, + int y, + int z, + org.bukkit.generator.ChunkGenerator.ChunkData chunk) ++Methods inherited from class dev.plex.world.FlatChunkGenerator
+generateChunkData
++Methods inherited from class dev.plex.world.CustomChunkGenerator
+getDefaultPopulators
++ +Methods inherited from class org.bukkit.generator.ChunkGenerator
+canSpawn, createChunkData, createVanillaChunkData, generateBedrock, generateCaves, generateNoise, generateSurface, getBaseHeight, getDefaultBiomeProvider, getFixedSpawnLocation, isParallelCapable, shouldGenerateBedrock, shouldGenerateCaves, shouldGenerateDecorations, shouldGenerateMobs, shouldGenerateNoise, shouldGenerateStructures, shouldGenerateSurface
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +blockMap
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +BlockMapChunkGenerator
+public BlockMapChunkGenerator+(LinkedHashMap<org.bukkit.Material, Integer> blockMap, + org.bukkit.generator.BlockPopulator... populators)
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +createLoopChunkData
+public void createLoopChunkData+(int x, + int y, + int z, + org.bukkit.generator.ChunkGenerator.ChunkData chunk) -
+
- Specified by: +
createLoopChunkData
in classFlatChunkGenerator
+
+
+ -
+
Class ConfigurationChunkGenerator
++ +
-
+
+
-
+
+ +Nested Class Summary
+++Nested classes/interfaces inherited from class org.bukkit.generator.ChunkGenerator
+org.bukkit.generator.ChunkGenerator.BiomeGrid, org.bukkit.generator.ChunkGenerator.ChunkData
+
+ -
+
+ +Field Summary
+ + +++Fields inherited from class dev.plex.world.BlockMapChunkGenerator
+blockMap
++Fields inherited from class dev.plex.world.CustomChunkGenerator
+height
+
+ -
+
+ +Constructor Summary
+ +++Constructor+Description++ConfigurationChunkGenerator
(String worldName, + org.bukkit.generator.BlockPopulator... populators)
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++private static LinkedHashMap<org.bukkit.Material,
Integer> +createBlockMap
(String worldName) ++Methods inherited from class dev.plex.world.BlockMapChunkGenerator
+createLoopChunkData
++Methods inherited from class dev.plex.world.FlatChunkGenerator
+generateChunkData
++Methods inherited from class dev.plex.world.CustomChunkGenerator
+getDefaultPopulators
++ +Methods inherited from class org.bukkit.generator.ChunkGenerator
+canSpawn, createChunkData, createVanillaChunkData, generateBedrock, generateCaves, generateNoise, generateSurface, getBaseHeight, getDefaultBiomeProvider, getFixedSpawnLocation, isParallelCapable, shouldGenerateBedrock, shouldGenerateCaves, shouldGenerateDecorations, shouldGenerateMobs, shouldGenerateNoise, shouldGenerateStructures, shouldGenerateSurface
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +plugin
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +ConfigurationChunkGenerator
+public ConfigurationChunkGenerator+(String worldName, + org.bukkit.generator.BlockPopulator... populators)
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +createBlockMap
+ +
+
+ -
+
Class CustomChunkGenerator
+-
+
- Direct Known Subclasses: +
FlatChunkGenerator
,NoiseChunkGenerator
,OctaveChunkGenerator
+
+
-
+
+
-
+
+ +Nested Class Summary
+++Nested classes/interfaces inherited from class org.bukkit.generator.ChunkGenerator
+org.bukkit.generator.ChunkGenerator.BiomeGrid, org.bukkit.generator.ChunkGenerator.ChunkData
+
+ -
+
+ +Field Summary
+ +++Modifier and Type+Field+Description++ +protected int
+ +private final List<org.bukkit.generator.BlockPopulator>
+
+ -
+
+ +Constructor Summary
+ +++Modifier+Constructor+Description++protected
+CustomChunkGenerator
(int height, + org.bukkit.generator.BlockPopulator... populators)
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++abstract void
+createLoopChunkData
(int x, + int y, + int z, + org.bukkit.generator.ChunkGenerator.ChunkData chunk) +List<org.bukkit.generator.BlockPopulator>
+getDefaultPopulators
(org.bukkit.World world) ++ +Methods inherited from class org.bukkit.generator.ChunkGenerator
+canSpawn, createChunkData, createVanillaChunkData, generateBedrock, generateCaves, generateChunkData, generateNoise, generateSurface, getBaseHeight, getDefaultBiomeProvider, getFixedSpawnLocation, isParallelCapable, shouldGenerateBedrock, shouldGenerateCaves, shouldGenerateDecorations, shouldGenerateMobs, shouldGenerateNoise, shouldGenerateStructures, shouldGenerateSurface
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +height
+protected int height+
+ -
+
+ +populators
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +CustomChunkGenerator
+protected CustomChunkGenerator+(int height, + org.bukkit.generator.BlockPopulator... populators)
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +getDefaultPopulators
+ +-
+
- Overrides: +
getDefaultPopulators
in classorg.bukkit.generator.ChunkGenerator
+
+ -
+
+ +createLoopChunkData
+public abstract void createLoopChunkData+(int x, + int y, + int z, + org.bukkit.generator.ChunkGenerator.ChunkData chunk)
+
+ -
+
Class CustomWorld
++
-
+
+
-
+
+ +Field Summary
+ +++Modifier and Type+Field+Description++ +private final CustomChunkGenerator
+ +private static final Plex
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++org.bukkit.World
+generate()
+ +static org.bukkit.World
+ +org.bukkit.generator.ChunkGenerator
++ +Methods inherited from class org.bukkit.WorldCreator
+biomeProvider, biomeProvider, biomeProvider, biomeProvider, copy, copy, createWorld, environment, environment, generateStructures, generateStructures, generator, generator, generator, generatorSettings, generatorSettings, getBiomeProviderForName, getGeneratorForName, hardcore, hardcore, key, name, name, ofKey, ofNameAndKey, seed, seed, type, type
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +plugin
+ +
+ -
+
+ +chunks
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +CustomWorld
+ +
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +generator
+public org.bukkit.generator.ChunkGenerator generator()+-
+
- Overrides: +
generator
in classorg.bukkit.WorldCreator
+
+ -
+
+ +generate
+public org.bukkit.World generate()+
+ -
+
+ +generateConfigFlatWorld
+ +
+
+ -
+
Class FlatChunkGenerator
+-
+
- Direct Known Subclasses: +
BlockMapChunkGenerator
+
+ +
-
+
+
-
+
+ +Nested Class Summary
+++Nested classes/interfaces inherited from class org.bukkit.generator.ChunkGenerator
+org.bukkit.generator.ChunkGenerator.BiomeGrid, org.bukkit.generator.ChunkGenerator.ChunkData
+
+ -
+
+ +Field Summary
+++Fields inherited from class dev.plex.world.CustomChunkGenerator
+height
+
+ -
+
+ +Constructor Summary
+ +++Constructor+Description++FlatChunkGenerator
(int height, + org.bukkit.generator.BlockPopulator... populators)
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++abstract void
+createLoopChunkData
(int x, + int y, + int z, + org.bukkit.generator.ChunkGenerator.ChunkData chunk) +org.bukkit.generator.ChunkGenerator.ChunkData
+generateChunkData
(org.bukkit.World world, + Random random, + int x, + int z, + org.bukkit.generator.ChunkGenerator.BiomeGrid biome) ++Methods inherited from class dev.plex.world.CustomChunkGenerator
+getDefaultPopulators
++ +Methods inherited from class org.bukkit.generator.ChunkGenerator
+canSpawn, createChunkData, createVanillaChunkData, generateBedrock, generateCaves, generateNoise, generateSurface, getBaseHeight, getDefaultBiomeProvider, getFixedSpawnLocation, isParallelCapable, shouldGenerateBedrock, shouldGenerateCaves, shouldGenerateDecorations, shouldGenerateMobs, shouldGenerateNoise, shouldGenerateStructures, shouldGenerateSurface
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +FlatChunkGenerator
+public FlatChunkGenerator+(int height, + org.bukkit.generator.BlockPopulator... populators)
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +generateChunkData
+public org.bukkit.generator.ChunkGenerator.ChunkData generateChunkData+(org.bukkit.World world, + Random random, + int x, + int z, + org.bukkit.generator.ChunkGenerator.BiomeGrid biome) -
+
- Overrides: +
generateChunkData
in classorg.bukkit.generator.ChunkGenerator
+
+ -
+
+ +createLoopChunkData
+public abstract void createLoopChunkData+(int x, + int y, + int z, + org.bukkit.generator.ChunkGenerator.ChunkData chunk) -
+
- Specified by: +
createLoopChunkData
in classCustomChunkGenerator
+
+
+ -
+
Class NoiseChunkGenerator
++ +
-
+
+
-
+
+ +Nested Class Summary
+++Nested classes/interfaces inherited from class org.bukkit.generator.ChunkGenerator
+org.bukkit.generator.ChunkGenerator.BiomeGrid, org.bukkit.generator.ChunkGenerator.ChunkData
+
+ -
+
+ +Field Summary
+ + +++Fields inherited from class dev.plex.world.CustomChunkGenerator
+height
+
+ -
+
+ +Constructor Summary
+ +++Constructor+Description++NoiseChunkGenerator
(int height, + NoiseOptions options, + org.bukkit.generator.BlockPopulator... populators)
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++abstract void
+createLoopChunkData
(int x, + int y, + int z, + org.bukkit.generator.ChunkGenerator.ChunkData chunk) +org.bukkit.generator.ChunkGenerator.ChunkData
+generateChunkData
(org.bukkit.World world, + Random random, + int x, + int z, + org.bukkit.generator.ChunkGenerator.BiomeGrid biome) ++Methods inherited from class dev.plex.world.CustomChunkGenerator
+getDefaultPopulators
++ +Methods inherited from class org.bukkit.generator.ChunkGenerator
+canSpawn, createChunkData, createVanillaChunkData, generateBedrock, generateCaves, generateNoise, generateSurface, getBaseHeight, getDefaultBiomeProvider, getFixedSpawnLocation, isParallelCapable, shouldGenerateBedrock, shouldGenerateCaves, shouldGenerateDecorations, shouldGenerateMobs, shouldGenerateNoise, shouldGenerateStructures, shouldGenerateSurface
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +options
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +NoiseChunkGenerator
+public NoiseChunkGenerator+(int height, + NoiseOptions options, + org.bukkit.generator.BlockPopulator... populators)
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +generateChunkData
+public org.bukkit.generator.ChunkGenerator.ChunkData generateChunkData+(org.bukkit.World world, + Random random, + int x, + int z, + org.bukkit.generator.ChunkGenerator.BiomeGrid biome) -
+
- Overrides: +
generateChunkData
in classorg.bukkit.generator.ChunkGenerator
+
+ -
+
+ +createLoopChunkData
+public abstract void createLoopChunkData+(int x, + int y, + int z, + org.bukkit.generator.ChunkGenerator.ChunkData chunk) -
+
- Specified by: +
createLoopChunkData
in classCustomChunkGenerator
+
+
+ -
+
Class NoiseOptions
+-
+
- Direct Known Subclasses: +
OctaveOptions
+
+ +
-
+
+
-
+
+ +Field Summary
+ +++Modifier and Type+Field+Description++ +private final double
+ +private final double
+ +private final boolean
+ +private final int
+ +private final int
+
+ -
+
+ +Constructor Summary
+ +++Constructor+Description++NoiseOptions
(int x, + int y, + double frequency, + double amplitude, + boolean normalized)
+
+ -
+
+ +Method Summary
+ +
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +x
+private final int x+
+ -
+
+ +y
+private final int y+
+ -
+
+ +frequency
+private final double frequency+
+ -
+
+ +amplitude
+private final double amplitude+
+ -
+
+ +normalized
+private final boolean normalized+
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +NoiseOptions
+public NoiseOptions+(int x, + int y, + double frequency, + double amplitude, + boolean normalized)
+
+ -
+
Class OctaveChunkGenerator
++ +
-
+
+
-
+
+ +Nested Class Summary
+++Nested classes/interfaces inherited from class org.bukkit.generator.ChunkGenerator
+org.bukkit.generator.ChunkGenerator.BiomeGrid, org.bukkit.generator.ChunkGenerator.ChunkData
+
+ -
+
+ +Field Summary
+ + +++Fields inherited from class dev.plex.world.CustomChunkGenerator
+height
+
+ -
+
+ +Constructor Summary
+ +++Constructor+Description++OctaveChunkGenerator
(int height, + OctaveOptions options, + org.bukkit.generator.BlockPopulator... populators)
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++abstract void
+createLoopChunkData
(int x, + int y, + int z, + org.bukkit.generator.ChunkGenerator.ChunkData chunk) +org.bukkit.generator.ChunkGenerator.ChunkData
+generateChunkData
(org.bukkit.World world, + Random random, + int x, + int z, + org.bukkit.generator.ChunkGenerator.BiomeGrid biome) ++Methods inherited from class dev.plex.world.CustomChunkGenerator
+getDefaultPopulators
++ +Methods inherited from class org.bukkit.generator.ChunkGenerator
+canSpawn, createChunkData, createVanillaChunkData, generateBedrock, generateCaves, generateNoise, generateSurface, getBaseHeight, getDefaultBiomeProvider, getFixedSpawnLocation, isParallelCapable, shouldGenerateBedrock, shouldGenerateCaves, shouldGenerateDecorations, shouldGenerateMobs, shouldGenerateNoise, shouldGenerateStructures, shouldGenerateSurface
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +options
+ +
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +OctaveChunkGenerator
+public OctaveChunkGenerator+(int height, + OctaveOptions options, + org.bukkit.generator.BlockPopulator... populators)
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +generateChunkData
+public org.bukkit.generator.ChunkGenerator.ChunkData generateChunkData+(org.bukkit.World world, + Random random, + int x, + int z, + org.bukkit.generator.ChunkGenerator.BiomeGrid biome) -
+
- Overrides: +
generateChunkData
in classorg.bukkit.generator.ChunkGenerator
+
+ -
+
+ +createLoopChunkData
+public abstract void createLoopChunkData+(int x, + int y, + int z, + org.bukkit.generator.ChunkGenerator.ChunkData chunk) -
+
- Specified by: +
createLoopChunkData
in classCustomChunkGenerator
+
+
+ -
+
Class OctaveOptions
++ +
-
+
+
-
+
+ +Field Summary
+ + +
+
+ -
+
+ +Constructor Summary
+ +++Constructor+Description++OctaveOptions
(int x, + int y, + double frequency, + double amplitude, + boolean normalized, + int octaves)
+
+ -
+
+ +Method Summary
+ +
+
-
+
+
-
+
+ +Field Details
+-
+
-
+
+ +octaves
+private final int octaves+
+
+
+ -
+
-
+
+ +Constructor Details
+-
+
-
+
+ +OctaveOptions
+public OctaveOptions+(int x, + int y, + double frequency, + double amplitude, + boolean normalized, + int octaves)
+
+ -
+
Package dev.plex.world
++
-
+
- + + +
-
+++ +++Class+Description+ +
+
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- org.bukkit.generator.ChunkGenerator
+
-
+
- dev.plex.world.CustomChunkGenerator
+
-
+
- dev.plex.world.FlatChunkGenerator
+
-
+
- dev.plex.world.BlockMapChunkGenerator
+
-
+
- dev.plex.world.ConfigurationChunkGenerator +
+
+ - dev.plex.world.BlockMapChunkGenerator
+
- dev.plex.world.NoiseChunkGenerator +
- dev.plex.world.OctaveChunkGenerator +
+ - dev.plex.world.FlatChunkGenerator
+
+ - dev.plex.world.CustomChunkGenerator
+
- dev.plex.world.NoiseOptions
+
-
+
- dev.plex.world.OctaveOptions +
+ - org.bukkit.WorldCreator
+
-
+
- dev.plex.world.CustomWorld +
+
+ - org.bukkit.generator.ChunkGenerator
+
JavaDoc Help
+-
+
- Navigation:
+
-
+
- Search +
+ - Kinds of Pages: + + +
+
Navigation
+Starting from the Overview page, you can browse the documentation using the links in each page, and in the navigation bar at the top of each page. The Index and Search box allow you to navigate to specific declarations and summary pages, including: All Packages, All Classes and Interfaces +Search
+You can search for definitions of modules, packages, types, fields, methods, system properties and other terms defined in the API, using some or all of the name, optionally using "camelCase" abbreviations. For example:
+-
+
j.l.obj
will match "java.lang.Object"
+InpStr
will match "java.io.InputStream"
+HM.cK
will match "java.util.HashMap.containsKey(Object)"
+
Refer to the Javadoc Search Specification for a full description of search features.
++
Kinds of Pages
+The following sections describe the different kinds of pages in this collection. +Overview
+The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Package
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain the following categories:
+-
+
- Interfaces +
- Classes +
- Enum Classes +
- Exceptions +
- Errors +
- Annotation Interfaces +
Class or Interface
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a declaration and description, member summary tables, and detailed member descriptions. Entries in each of these sections are omitted if they are empty or not applicable.
+-
+
- Class Inheritance Diagram +
- Direct Subclasses +
- All Known Subinterfaces +
- All Known Implementing Classes +
- Class or Interface Declaration +
- Class or Interface Description +
+
-
+
- Nested Class Summary +
- Enum Constant Summary +
- Field Summary +
- Property Summary +
- Constructor Summary +
- Method Summary +
- Required Element Summary +
- Optional Element Summary +
+
-
+
- Enum Constant Details +
- Field Details +
- Property Details +
- Constructor Details +
- Method Details +
- Element Details +
Note: Annotation interfaces have required and optional elements, but not methods. Only enum classes have enum constants. The components of a record class are displayed as part of the declaration of the record class. Properties are a feature of JavaFX.
+The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Other Files
+Packages and modules may contain pages with additional information related to the declarations nearby.
+Tree (Class Hierarchy)
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object
. Interfaces do not inherit from java.lang.Object
.
-
+
- When viewing the Overview page, clicking on TREE displays the hierarchy for all packages. +
- When viewing a particular package, class or interface page, clicking on TREE displays the hierarchy for only that package. +
Constant Field Values
+The Constant Field Values page lists the static final fields and their values.
+Serialized Form
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to those who implement rather than use the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See Also" section of the class description.
+All Packages
+The All Packages page contains an alphabetic index of all packages contained in the documentation.
+All Classes and Interfaces
+The All Classes and Interfaces page contains an alphabetic index of all classes and interfaces contained in the documentation, including annotation interfaces, enum classes, and record classes.
+Index
+The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields in the documentation, as well as summary pages such as All Packages, All Classes and Interfaces.
++This help file applies to API documentation generated by the standard doclet.
Index
+All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +
A
+-
+
- AbstractMenu - Class in dev.plex.util.menu +
- +
- AbstractMenu(String) - Constructor for class dev.plex.util.menu.AbstractMenu +
- +
- AbstractService - Class in dev.plex.services +
- +
- AbstractService(boolean, boolean) - Constructor for class dev.plex.services.AbstractService +
- +
- active - Variable in class dev.plex.banning.Ban +
-
+Whether the ban is active or not+
+
- addToCache(Admin) - Method in class dev.plex.admin.AdminList +
-
+Adds the admin to cache+
+
- Admin - Class in dev.plex.admin +
-
+Admin object to handle cached admins+
+
- Admin(UUID) - Constructor for class dev.plex.admin.Admin +
-
+Creates an admin with the startig ADMIN rank+
+
- ADMIN - Enum constant in enum class dev.plex.rank.enums.Rank +
- +
- AdminAddEvent - Class in dev.plex.event +
- +
- AdminAddEvent() - Constructor for class dev.plex.event.AdminAddEvent +
- +
- AdminCMD - Class in dev.plex.command.impl +
- +
- AdminCMD() - Constructor for class dev.plex.command.impl.AdminCMD +
- +
- adminList - Variable in class dev.plex.Plex +
- +
- AdminList - Class in dev.plex.admin +
-
+Cached storage for Admin objects+
+
- AdminList() - Constructor for class dev.plex.admin.AdminList +
- +
- AdminListener - Class in dev.plex.listener.impl +
- +
- AdminListener() - Constructor for class dev.plex.listener.impl.AdminListener +
- +
- AdminRemoveEvent - Class in dev.plex.event +
- +
- AdminRemoveEvent() - Constructor for class dev.plex.event.AdminRemoveEvent +
- +
- admins - Variable in class dev.plex.admin.AdminList +
-
+Key/Value storage, where the key is the unique ID of the admin+
+
- AdminSetRankEvent - Class in dev.plex.event +
- +
- AdminSetRankEvent() - Constructor for class dev.plex.event.AdminSetRankEvent +
- +
- AdminworldCMD - Class in dev.plex.command.impl +
- +
- AdminworldCMD() - Constructor for class dev.plex.command.impl.AdminworldCMD +
- +
- AdventureCMD - Class in dev.plex.command.impl +
- +
- AdventureCMD() - Constructor for class dev.plex.command.impl.AdventureCMD +
- +
- aliases() - Element in annotation interface dev.plex.command.annotation.CommandParameters +
-
+The aliases (optional)+
+
- amplitude - Variable in class dev.plex.world.NoiseOptions +
- +
- ANY - Enum constant in enum class dev.plex.command.source.RequiredCommandSource +
- +
- asynchronous - Variable in class dev.plex.services.AbstractService +
- +
B
+-
+
- Ban - Class in dev.plex.banning +
-
+The ban object+
+
- Ban() - Constructor for class dev.plex.banning.Ban +
-
+A constructor for Morphia, can't be used+
+
- Ban(String, UUID, UUID, String, String, LocalDateTime) - Constructor for class dev.plex.banning.Ban +
-
+Creates a ban object+
+
- Ban(UUID, UUID, String, String, LocalDateTime) - Constructor for class dev.plex.banning.Ban +
-
+Creates a ban object+
+
- BAN - Enum constant in enum class dev.plex.punishment.PunishmentType +
- +
- BanCMD - Class in dev.plex.command.impl +
- +
- BanCMD() - Constructor for class dev.plex.command.impl.BanCMD +
- +
- banManager - Variable in class dev.plex.Plex +
- +
- BanManager - Class in dev.plex.banning +
- +
- BanManager() - Constructor for class dev.plex.banning.BanManager +
- +
- banner - Variable in class dev.plex.banning.Ban +
-
+The unique ID of the person who banned the player (can be null)+
+
- BanService - Class in dev.plex.services.impl +
- +
- BanService() - Constructor for class dev.plex.services.impl.BanService +
- +
- banUrl - Variable in class dev.plex.listener.impl.LoginListener +
- +
- blockMap - Variable in class dev.plex.world.BlockMapChunkGenerator +
- +
- BlockMapChunkGenerator - Class in dev.plex.world +
- +
- BlockMapChunkGenerator(LinkedHashMap<Material, Integer>, BlockPopulator...) - Constructor for class dev.plex.world.BlockMapChunkGenerator +
- +
- broadcast(String) - Static method in class dev.plex.util.PlexUtils +
- +
- broadcast(Component) - Static method in class dev.plex.util.PlexUtils +
- +
C
+-
+
- cancelled - Variable in class dev.plex.event.PunishedPlayerEvent +
- +
- CHAT_COLOR_NAMES - Static variable in class dev.plex.util.PlexUtils +
- +
- CHAT_COLOR_POOL - Static variable in class dev.plex.util.PlexUtils +
- +
- ChatListener - Class in dev.plex.listener.impl +
- +
- ChatListener() - Constructor for class dev.plex.listener.impl.ChatListener +
- +
- ChatListener.PlexChatRenderer - Class in dev.plex.listener.impl +
- +
- checkRank(CommandSender, Rank, String) - Method in class dev.plex.command.PlexCommand +
-
+Checks whether a sender has enough permissions or is high enough a rank+
+
- checkRank(Player, Rank, String) - Method in class dev.plex.command.PlexCommand +
-
+Checks whether a player has enough permissions or is high enough a rank+
+
- chunks - Variable in class dev.plex.world.CustomWorld +
- +
- coins - Variable in class dev.plex.player.PlexPlayer +
- +
- color(String) - Static method in class dev.plex.util.PlexUtils +
- +
- colorize(String) - Static method in class dev.plex.util.PlexUtils +
- +
- CommandArgumentException - Exception in dev.plex.command.exception +
- +
- CommandArgumentException() - Constructor for exception dev.plex.command.exception.CommandArgumentException +
- +
- CommandFailException - Exception in dev.plex.command.exception +
- +
- CommandFailException(String) - Constructor for exception dev.plex.command.exception.CommandFailException +
- +
- CommandHandler - Class in dev.plex.handlers +
- +
- CommandHandler() - Constructor for class dev.plex.handlers.CommandHandler +
- +
- CommandListener - Class in dev.plex.listener.impl +
- +
- CommandListener() - Constructor for class dev.plex.listener.impl.CommandListener +
- +
- CommandParameters - Annotation Interface in dev.plex.command.annotation +
-
+Storage for a command's parameters+
+
- CommandPermissions - Annotation Interface in dev.plex.command.annotation +
-
+Storage for the command's permissions+
+
- commandSource - Variable in class dev.plex.command.PlexCommand +
-
+Required command source fetched from the permissions+
+
- commandSpy - Variable in class dev.plex.admin.Admin +
-
+Returns if the admin has command spy or not ++
+ Contains a #isCommandSpy and #setCommandSpy by lombok
+ - commandSpy - Variable in class dev.plex.player.PlexPlayer +
- +
- CommandSpyCMD - Class in dev.plex.command.impl +
- +
- CommandSpyCMD() - Constructor for class dev.plex.command.impl.CommandSpyCMD +
- +
- commitGameRules(World) - Method in class dev.plex.services.impl.GameRuleService +
- +
- componentFromString(String) - Method in class dev.plex.command.PlexCommand +
-
+Converts a string to a legacy kyori component+
+
- config - Variable in class dev.plex.Plex +
- +
- Config - Class in dev.plex.config +
- +
- Config(Plex, String) - Constructor for class dev.plex.config.Config +
- +
- ConfigurationChunkGenerator - Class in dev.plex.world +
- +
- ConfigurationChunkGenerator(String, BlockPopulator...) - Constructor for class dev.plex.world.ConfigurationChunkGenerator +
- +
- connection - Variable in class dev.plex.storage.SQLConnection +
- +
- CONSOLE - Enum constant in enum class dev.plex.command.source.RequiredCommandSource +
- +
- ConsoleMustDefinePlayerException - Exception in dev.plex.command.exception +
- +
- ConsoleMustDefinePlayerException() - Constructor for exception dev.plex.command.exception.ConsoleMustDefinePlayerException +
- +
- ConsoleOnlyException - Exception in dev.plex.command.exception +
- +
- ConsoleOnlyException() - Constructor for exception dev.plex.command.exception.ConsoleOnlyException +
- +
- createBlockMap(String) - Static method in class dev.plex.world.ConfigurationChunkGenerator +
- +
- createLoopChunkData(int, int, int, ChunkGenerator.ChunkData) - Method in class dev.plex.world.BlockMapChunkGenerator +
- +
- createLoopChunkData(int, int, int, ChunkGenerator.ChunkData) - Method in class dev.plex.world.CustomChunkGenerator +
- +
- createLoopChunkData(int, int, int, ChunkGenerator.ChunkData) - Method in class dev.plex.world.FlatChunkGenerator +
- +
- createLoopChunkData(int, int, int, ChunkGenerator.ChunkData) - Method in class dev.plex.world.NoiseChunkGenerator +
- +
- createLoopChunkData(int, int, int, ChunkGenerator.ChunkData) - Method in class dev.plex.world.OctaveChunkGenerator +
- +
- CreativeCMD - Class in dev.plex.command.impl +
- +
- CreativeCMD() - Constructor for class dev.plex.command.impl.CreativeCMD +
- +
- CustomChunkGenerator - Class in dev.plex.world +
- +
- CustomChunkGenerator(int, BlockPopulator...) - Constructor for class dev.plex.world.CustomChunkGenerator +
- +
- customTime - Variable in class dev.plex.punishment.Punishment +
- +
- CustomWorld - Class in dev.plex.world +
- +
- CustomWorld(String, CustomChunkGenerator) - Constructor for class dev.plex.world.CustomWorld +
- +
D
+-
+
- datastore - Variable in class dev.plex.cache.MongoPlayerData +
-
+The datastore object / database+
+
- DataUtils - Class in dev.plex.cache +
-
+Parent cache class+
+
- DataUtils() - Constructor for class dev.plex.cache.DataUtils +
- +
- DATE_FORMAT - Static variable in class dev.plex.command.impl.NameHistoryCMD +
- +
- debug(String) - Static method in class dev.plex.util.PlexLog +
- +
- debugEnabled - Static variable in class dev.plex.util.PlexLog +
- +
- DefaultRankObj - Class in dev.plex.rank +
- +
- DefaultRankObj(Rank) - Constructor for class dev.plex.rank.DefaultRankObj +
- +
- defaultRanks - Variable in class dev.plex.rank.RankManager +
- +
- DeopAllCMD - Class in dev.plex.command.impl +
- +
- DeopAllCMD() - Constructor for class dev.plex.command.impl.DeopAllCMD +
- +
- DeopCMD - Class in dev.plex.command.impl +
- +
- DeopCMD() - Constructor for class dev.plex.command.impl.DeopCMD +
- +
- description() - Element in annotation interface dev.plex.command.annotation.CommandParameters +
-
+The description+
+
- DEV - Enum constant in enum class dev.plex.rank.enums.Title +
- +
- dev.plex - package dev.plex +
- +
- dev.plex.admin - package dev.plex.admin +
- +
- dev.plex.banning - package dev.plex.banning +
- +
- dev.plex.cache - package dev.plex.cache +
- +
- dev.plex.command - package dev.plex.command +
- +
- dev.plex.command.annotation - package dev.plex.command.annotation +
- +
- dev.plex.command.exception - package dev.plex.command.exception +
- +
- dev.plex.command.impl - package dev.plex.command.impl +
- +
- dev.plex.command.source - package dev.plex.command.source +
- +
- dev.plex.config - package dev.plex.config +
- +
- dev.plex.event - package dev.plex.event +
- +
- dev.plex.handlers - package dev.plex.handlers +
- +
- dev.plex.listener - package dev.plex.listener +
- +
- dev.plex.listener.impl - package dev.plex.listener.impl +
- +
- dev.plex.menu - package dev.plex.menu +
- +
- dev.plex.player - package dev.plex.player +
- +
- dev.plex.punishment - package dev.plex.punishment +
- +
- dev.plex.rank - package dev.plex.rank +
- +
- dev.plex.rank.enums - package dev.plex.rank.enums +
- +
- dev.plex.services - package dev.plex.services +
- +
- dev.plex.services.impl - package dev.plex.services.impl +
- +
- dev.plex.storage - package dev.plex.storage +
- +
- dev.plex.util - package dev.plex.util +
- +
- dev.plex.util.menu - package dev.plex.util.menu +
- +
- dev.plex.world - package dev.plex.world +
- +
- DEVELOPERS - Static variable in class dev.plex.util.PlexUtils +
- +
- displayName() - Method in class dev.plex.player.PlexPlayer +
- +
- doPunishment(PunishedPlayer, Punishment) - Method in class dev.plex.punishment.PunishmentManager +
- +
E
+-
+
- endDate - Variable in class dev.plex.banning.Ban +
-
+The end date for the ban+
+
- endDate - Variable in class dev.plex.punishment.Punishment +
- +
- error(String) - Static method in class dev.plex.util.PlexLog +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.UnbanCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.CommandSpyCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.PlexCommand +
-
+Executes the command+
+
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.AdminCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.AdminworldCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.AdventureCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.BanCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.CreativeCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.DeopAllCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.DeopCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.FlatlandsCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.FreezeCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.ListCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.LocalSpawnCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.MasterbuilderworldCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.NameHistoryCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.OpAllCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.OpCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.PlexCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.PunishmentsCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.RankCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.SpectatorCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.SurvivalCMD +
- +
- execute(CommandSender, Player, String[]) - Method in class dev.plex.command.impl.WorldCMD +
- +
- executeBan(Ban) - Method in class dev.plex.banning.BanManager +
-
+Adds the ban to the database+
+
- EXECUTIVE - Enum constant in enum class dev.plex.rank.enums.Rank +
- +
- exists(UUID) - Method in class dev.plex.cache.MongoPlayerData +
-
+Checks whether the player exists in mongo's database+
+
- exists(UUID) - Method in class dev.plex.cache.SQLPlayerData +
-
+Checks if a player exists in the SQL database+
+
F
+-
+
- file - Variable in class dev.plex.config.Config +
- +
- FlatChunkGenerator - Class in dev.plex.world +
- +
- FlatChunkGenerator(int, BlockPopulator...) - Constructor for class dev.plex.world.FlatChunkGenerator +
- +
- FlatlandsCMD - Class in dev.plex.command.impl +
- +
- FlatlandsCMD() - Constructor for class dev.plex.command.impl.FlatlandsCMD +
- +
- FREEZE - Enum constant in enum class dev.plex.punishment.PunishmentType +
- +
- FreezeCMD - Class in dev.plex.command.impl +
- +
- FreezeCMD() - Constructor for class dev.plex.command.impl.FreezeCMD +
- +
- FreezeListener - Class in dev.plex.listener.impl +
- +
- FreezeListener() - Constructor for class dev.plex.listener.impl.FreezeListener +
- +
- frequency - Variable in class dev.plex.world.NoiseOptions +
- +
- fromJson(String) - Static method in class dev.plex.punishment.Punishment +
- +
- frozen - Variable in class dev.plex.event.PunishedPlayerFreezeEvent +
-
+Status of the Punished Player being frozen before the event's occurrence.+
+
- frozen - Variable in class dev.plex.player.PunishedPlayer +
- +
G
+-
+
- GameRuleService - Class in dev.plex.services.impl +
- +
- GameRuleService() - Constructor for class dev.plex.services.impl.GameRuleService +
- +
- generate() - Method in class dev.plex.world.CustomWorld +
- +
- generateChunkData(World, Random, int, int, ChunkGenerator.BiomeGrid) - Method in class dev.plex.world.FlatChunkGenerator +
- +
- generateChunkData(World, Random, int, int, ChunkGenerator.BiomeGrid) - Method in class dev.plex.world.NoiseChunkGenerator +
- +
- generateChunkData(World, Random, int, int, ChunkGenerator.BiomeGrid) - Method in class dev.plex.world.OctaveChunkGenerator +
- +
- generateConfigFlatWorld(String) - Static method in class dev.plex.world.CustomWorld +
- +
- generateDefaultRanks() - Method in class dev.plex.rank.RankManager +
- +
- generateWorlds() - Method in class dev.plex.Plex +
- +
- generator() - Method in class dev.plex.world.CustomWorld +
- +
- get() - Static method in class dev.plex.Plex +
- +
- getActiveBans() - Method in class dev.plex.banning.BanManager +
-
+Gets a list of all the current bans active+
+
- getAllAdmins() - Method in class dev.plex.admin.AdminList +
-
+Gathers every admin's username (cached and databsed)+
+
- getByUUID(UUID) - Method in class dev.plex.cache.MongoPlayerData +
-
+Gets the player from cache or from mongo's database+
+
- getByUUID(UUID) - Method in class dev.plex.cache.SQLPlayerData +
-
+Gets the player from cache or from the SQL database+
+
- getChatColorFromConfig(Config, ChatColor, String) - Static method in class dev.plex.util.PlexUtils +
- +
- getCon() - Method in class dev.plex.storage.SQLConnection +
- +
- getCurrentInventoryIndex(Inventory) - Method in class dev.plex.menu.PunishedPlayerMenu +
- +
- getCurrentInventoryIndex(Inventory) - Method in class dev.plex.menu.PunishmentMenu +
- +
- getDatastore() - Method in class dev.plex.storage.MongoConnection +
- +
- getDateFromLong(long) - Static method in class dev.plex.util.PlexUtils +
- +
- getDateNow() - Static method in class dev.plex.util.PlexUtils +
- +
- getDefaultPopulators(World) - Method in class dev.plex.world.CustomChunkGenerator +
- +
- getFromName(String) - Static method in class dev.plex.util.PlexUtils +
- +
- getHandlerList() - Static method in class dev.plex.event.AdminAddEvent +
- +
- getHandlerList() - Static method in class dev.plex.event.AdminRemoveEvent +
- +
- getHandlerList() - Static method in class dev.plex.event.AdminSetRankEvent +
- +
- getHandlerList() - Static method in class dev.plex.event.PunishedPlayerFreezeEvent +
- +
- getHandlerList() - Static method in class dev.plex.event.PunishedPlayerMuteEvent +
- +
- getHandlers() - Method in class dev.plex.event.AdminAddEvent +
- +
- getHandlers() - Method in class dev.plex.event.AdminRemoveEvent +
- +
- getHandlers() - Method in class dev.plex.event.AdminSetRankEvent +
- +
- getHandlers() - Method in class dev.plex.event.PunishedPlayerFreezeEvent +
- +
- getHandlers() - Method in class dev.plex.event.PunishedPlayerMuteEvent +
- +
- getInventory() - Method in class dev.plex.menu.PunishedPlayerMenu +
- +
- getInventory() - Method in class dev.plex.menu.PunishmentMenu +
- +
- getInventory() - Method in interface dev.plex.util.menu.IMenu +
- +
- getJedis() - Method in class dev.plex.storage.RedisConnection +
- +
- getLevel() - Method in class dev.plex.command.PlexCommand +
- +
- getLevel() - Method in enum class dev.plex.rank.enums.Rank +
- +
- getLoginMSG() - Method in enum class dev.plex.rank.enums.Rank +
- +
- getMap() - Method in class dev.plex.command.PlexCommand +
- +
- getName() - Method in class dev.plex.util.menu.AbstractMenu +
- +
- getNameHistory(UUID) - Static method in class dev.plex.util.MojangUtils +
- +
- getNonNullPlayer(String) - Method in class dev.plex.command.PlexCommand +
- +
- getNonNullWorld(String) - Method in class dev.plex.command.PlexCommand +
- +
- getOfflinePlexPlayer(UUID) - Method in class dev.plex.command.PlexCommand +
- +
- getOnlinePlexPlayer(String) - Method in class dev.plex.command.PlexCommand +
- +
- getPermissions() - Method in enum class dev.plex.rank.enums.Rank +
- +
- getPlayer(String) - Static method in class dev.plex.cache.DataUtils +
-
+Gets a player from cache or from the database+
+
- getPlayer(UUID) - Static method in class dev.plex.cache.DataUtils +
-
+Gets a player from cache or from the database+
+
- getPlayerNameList() - Static method in class dev.plex.util.PlexUtils +
- +
- getPlexPlayer(Player) - Method in class dev.plex.command.PlexCommand +
-
+Gets a PlexPlayer from Player object+
+
- getPlexPlayer(UUID) - Static method in class dev.plex.cache.PlayerCache +
- +
- getPlexPlayerMap() - Static method in class dev.plex.cache.PlayerCache +
- +
- getPlugin() - Method in class dev.plex.command.PlexCommand +
-
+The plugin+
+
- getPrefix() - Method in enum class dev.plex.rank.enums.Rank +
- +
- getPunishedPlayer(UUID) - Static method in class dev.plex.cache.PlayerCache +
- +
- getPunishedPlayerMap() - Static method in class dev.plex.cache.PlayerCache +
- +
- getPunishments() - Method in class dev.plex.player.PunishedPlayer +
- +
- getPunishmentsFile() - Method in class dev.plex.player.PunishedPlayer +
- +
- getRankFromString() - Method in class dev.plex.player.PlexPlayer +
- +
- getRankFromString(String) - Method in class dev.plex.rank.RankManager +
- +
- getReadableString() - Method in enum class dev.plex.rank.enums.Rank +
- +
- getUUID(String) - Static method in class dev.plex.util.MojangUtils +
- +
- getUUID(CommandSender) - Method in class dev.plex.command.PlexCommand +
-
+Gets the UUID of the sender+
+
H
+-
+
- handlers - Static variable in class dev.plex.event.AdminAddEvent +
- +
- handlers - Static variable in class dev.plex.event.AdminRemoveEvent +
- +
- handlers - Static variable in class dev.plex.event.AdminSetRankEvent +
- +
- handlers - Static variable in class dev.plex.event.PunishedPlayerFreezeEvent +
- +
- handlers - Static variable in class dev.plex.event.PunishedPlayerMuteEvent +
- +
- hasPlayedBefore(UUID) - Static method in class dev.plex.cache.DataUtils +
-
+Checks if the player has been on the server before+
+
- hasPrefix - Variable in class dev.plex.listener.impl.ChatListener.PlexChatRenderer +
- +
- height - Variable in class dev.plex.world.CustomChunkGenerator +
- +
- hoursToSeconds(long) - Static method in class dev.plex.util.PlexUtils +
- +
I
+-
+
- id - Variable in class dev.plex.banning.Ban +
-
+Gets the id of the ban (first 8 characters of a UUID + random 6 letters)+
+
- id - Variable in class dev.plex.player.PlexPlayer +
- +
- IMenu - Interface in dev.plex.util.menu +
- +
- importDefaultRanks() - Method in class dev.plex.rank.RankManager +
- +
- IMPOSTOR - Enum constant in enum class dev.plex.rank.enums.Rank +
- +
- IN_GAME - Enum constant in enum class dev.plex.command.source.RequiredCommandSource +
- +
- insert(PlexPlayer) - Static method in class dev.plex.cache.DataUtils +
-
+Inserts a player's information in the database+
+
- insert(PlexPlayer) - Method in class dev.plex.cache.SQLPlayerData +
-
+Inserts the player's information in the database+
+
- INSERT - Variable in class dev.plex.banning.BanManager +
- +
- INSERT - Variable in class dev.plex.cache.SQLPlayerData +
- +
- insertPunishment(PunishedPlayer, Punishment) - Method in class dev.plex.punishment.PunishmentManager +
- +
- inventories - Variable in class dev.plex.menu.PunishedPlayerMenu +
- +
- inventories - Variable in class dev.plex.menu.PunishmentMenu +
- +
- ip - Variable in class dev.plex.banning.Ban +
-
+The IP of the banned player+
+
- ips - Variable in class dev.plex.player.PlexPlayer +
- +
- IPS - Variable in class dev.plex.punishment.Punishment +
- +
- isAdmin(PlexPlayer) - Method in class dev.plex.command.PlexCommand +
-
+Checks if a player is an admin+
+
- isAdmin(PlexPlayer) - Method in class dev.plex.rank.RankManager +
- +
- isAdmin(String) - Method in class dev.plex.command.PlexCommand +
-
+Checks if a username is an admin+
+
- isAdmin(CommandSender) - Method in class dev.plex.command.PlexCommand +
-
+Checks if a sender is an admin+
+
- isAsynchronous() - Method in class dev.plex.services.AbstractService +
- +
- isAtLeast(Rank) - Method in enum class dev.plex.rank.enums.Rank +
- +
- isBanned(UUID) - Method in class dev.plex.banning.BanManager +
-
+Checks if the unique ID has an active ban in the database+
+
- isConsole(CommandSender) - Method in class dev.plex.command.PlexCommand +
-
+Checks whether a sender is console+
+
- isEnabled() - Method in class dev.plex.storage.RedisConnection +
- +
- IService - Interface in dev.plex.services +
- +
- isNotEmpty(File) - Method in class dev.plex.player.PunishedPlayer +
- +
- isNotEmpty(File) - Method in class dev.plex.punishment.PunishmentManager +
- +
- isPluginCMD(String, String) - Static method in class dev.plex.util.PlexUtils +
- +
- isRepeating() - Method in class dev.plex.services.AbstractService +
- +
- isSeniorAdmin(PlexPlayer) - Method in class dev.plex.rank.RankManager +
- +
- isSeniorAdmin(CommandSender) - Method in class dev.plex.command.PlexCommand +
-
+Checks if a sender is a senior admin+
+
- issuePunishment(PunishedPlayer, Punishment) - Method in class dev.plex.punishment.PunishmentManager +
- +
- isValidInventory(Inventory) - Method in class dev.plex.menu.PunishedPlayerMenu +
- +
- isValidInventory(Inventory) - Method in class dev.plex.menu.PunishmentMenu +
- +
J
+-
+
- jedis - Variable in class dev.plex.storage.RedisConnection +
- +
L
+-
+
- level - Variable in class dev.plex.command.PlexCommand +
-
+Minimum required rank fetched from the permissions+
+
- level - Variable in enum class dev.plex.rank.enums.Rank +
- +
- level - Variable in enum class dev.plex.rank.enums.Title +
- +
- level() - Element in annotation interface dev.plex.command.annotation.CommandPermissions +
-
+Minimum rank required+
+
- ListCMD - Class in dev.plex.command.impl +
- +
- ListCMD() - Constructor for class dev.plex.command.impl.ListCMD +
- +
- ListenerHandler - Class in dev.plex.handlers +
- +
- ListenerHandler() - Constructor for class dev.plex.handlers.ListenerHandler +
- +
- load() - Method in class dev.plex.config.Config +
- +
- LocalSpawnCMD - Class in dev.plex.command.impl +
- +
- LocalSpawnCMD() - Constructor for class dev.plex.command.impl.LocalSpawnCMD +
- +
- log(String) - Static method in class dev.plex.util.PlexLog +
- +
- LoginListener - Class in dev.plex.listener.impl +
- +
- LoginListener() - Constructor for class dev.plex.listener.impl.LoginListener +
- +
- loginMessage - Variable in enum class dev.plex.rank.enums.Rank +
- +
- loginMSG - Variable in class dev.plex.player.PlexPlayer +
- +
- loginMSG - Variable in class dev.plex.rank.DefaultRankObj +
- +
- loginMSG - Variable in enum class dev.plex.rank.enums.Title +
- +
M
+-
+
- MARIADB - Enum constant in enum class dev.plex.storage.StorageType +
- +
- MASTER_BUILDER - Enum constant in enum class dev.plex.rank.enums.Title +
- +
- MasterbuilderworldCMD - Class in dev.plex.command.impl +
- +
- MasterbuilderworldCMD() - Constructor for class dev.plex.command.impl.MasterbuilderworldCMD +
- +
- matches(String) - Method in class dev.plex.command.PlexCommand +
-
+Checks if the string given is a command string+
+
- messages - Variable in class dev.plex.Plex +
- +
- minutesToSeconds(long) - Static method in class dev.plex.util.PlexUtils +
- +
- MojangUtils - Class in dev.plex.util +
- +
- MojangUtils() - Constructor for class dev.plex.util.MojangUtils +
- +
- mongoConnection - Variable in class dev.plex.Plex +
- +
- MongoConnection - Class in dev.plex.storage +
- +
- MongoConnection() - Constructor for class dev.plex.storage.MongoConnection +
- +
- MONGODB - Enum constant in enum class dev.plex.storage.StorageType +
- +
- mongoPlayerData - Variable in class dev.plex.listener.impl.PlayerListener +
- +
- mongoPlayerData - Variable in class dev.plex.Plex +
- +
- MongoPlayerData - Class in dev.plex.cache +
-
+Mongo fetching utilities for players+
+
- MongoPlayerData() - Constructor for class dev.plex.cache.MongoPlayerData +
-
+Creates an instance of the player data+
+
- MUTE - Enum constant in enum class dev.plex.punishment.PunishmentType +
- +
- muted - Variable in class dev.plex.event.PunishedPlayerMuteEvent +
-
+Status of the Punished Player being frozen before the event's occurrence.+
+
- muted - Variable in class dev.plex.player.PunishedPlayer +
- +
N
+-
+
- name - Variable in class dev.plex.config.Config +
- +
- name - Variable in class dev.plex.player.PlexPlayer +
- +
- name - Variable in class dev.plex.util.menu.AbstractMenu +
- +
- name() - Element in annotation interface dev.plex.command.annotation.CommandParameters +
-
+The name+
+
- NameHistoryCMD - Class in dev.plex.command.impl +
- +
- NameHistoryCMD() - Constructor for class dev.plex.command.impl.NameHistoryCMD +
- +
- NoiseChunkGenerator - Class in dev.plex.world +
- +
- NoiseChunkGenerator(int, NoiseOptions, BlockPopulator...) - Constructor for class dev.plex.world.NoiseChunkGenerator +
- +
- NoiseOptions - Class in dev.plex.world +
- +
- NoiseOptions(int, int, double, double, boolean) - Constructor for class dev.plex.world.NoiseOptions +
- +
- NONOP - Enum constant in enum class dev.plex.rank.enums.Rank +
- +
- normalized - Variable in class dev.plex.world.NoiseOptions +
- +
O
+-
+
- OctaveChunkGenerator - Class in dev.plex.world +
- +
- OctaveChunkGenerator(int, OctaveOptions, BlockPopulator...) - Constructor for class dev.plex.world.OctaveChunkGenerator +
- +
- OctaveOptions - Class in dev.plex.world +
- +
- OctaveOptions(int, int, double, double, boolean, int) - Constructor for class dev.plex.world.OctaveOptions +
- +
- octaves - Variable in class dev.plex.world.OctaveOptions +
- +
- onAdminAdd(AdminAddEvent) - Method in class dev.plex.listener.impl.AdminListener +
- +
- onAdminRemove(AdminRemoveEvent) - Method in class dev.plex.listener.impl.AdminListener +
- +
- onAdminSetRank(AdminSetRankEvent) - Method in class dev.plex.listener.impl.AdminListener +
- +
- onBlockPlace(BlockPlaceEvent) - Method in class dev.plex.listener.impl.WorldListener +
- +
- onChat(AsyncChatEvent) - Method in class dev.plex.listener.impl.ChatListener +
- +
- onClick(InventoryClickEvent) - Method in class dev.plex.menu.PunishedPlayerMenu +
- +
- onClick(InventoryClickEvent) - Method in class dev.plex.menu.PunishmentMenu +
- +
- onClick(InventoryClickEvent) - Method in interface dev.plex.util.menu.IMenu +
- +
- onDisable() - Method in class dev.plex.Plex +
- +
- onEnable() - Method in class dev.plex.Plex +
- +
- onEntitySpawn(EntitySpawnEvent) - Method in class dev.plex.listener.impl.WorldListener +
- +
- onLoad() - Method in class dev.plex.Plex +
- +
- onPlayerCommandPreprocess(PlayerCommandPreprocessEvent) - Method in class dev.plex.listener.impl.CommandListener +
- +
- onPlayerMove(PlayerMoveEvent) - Method in class dev.plex.listener.impl.FreezeListener +
- +
- onPlayerSave(PlayerQuitEvent) - Method in class dev.plex.listener.impl.PlayerListener +
- +
- onPlayerSetup(PlayerJoinEvent) - Method in class dev.plex.listener.impl.PlayerListener +
- +
- onPreLogin(AsyncPlayerPreLoginEvent) - Method in class dev.plex.listener.impl.LoginListener +
- +
- onServerPing(ServerListPingEvent) - Method in class dev.plex.listener.impl.ServerListener +
- +
- OP - Enum constant in enum class dev.plex.rank.enums.Rank +
- +
- OpAllCMD - Class in dev.plex.command.impl +
- +
- OpAllCMD() - Constructor for class dev.plex.command.impl.OpAllCMD +
- +
- OpCMD - Class in dev.plex.command.impl +
- +
- OpCMD() - Constructor for class dev.plex.command.impl.OpCMD +
- +
- openInv(Player) - Method in interface dev.plex.util.menu.IMenu +
- +
- openInv(Player, int) - Method in class dev.plex.menu.PunishedPlayerMenu +
- +
- openInv(Player, int) - Method in class dev.plex.menu.PunishmentMenu +
- +
- options - Variable in class dev.plex.world.NoiseChunkGenerator +
- +
- options - Variable in class dev.plex.world.OctaveChunkGenerator +
- +
- OWNER - Enum constant in enum class dev.plex.rank.enums.Title +
- +
P
+-
+
- params - Variable in class dev.plex.command.PlexCommand +
-
+The parameters for the command+
+
- permission() - Element in annotation interface dev.plex.command.annotation.CommandPermissions +
-
+The permission+
+
- permissions - Variable in class dev.plex.rank.DefaultRankObj +
- +
- permissions - Variable in enum class dev.plex.rank.enums.Rank +
- +
- perms - Variable in class dev.plex.command.PlexCommand +
-
+The permissions for the command+
+
- player - Variable in class dev.plex.player.PlexPlayer +
- +
- PlayerCache - Class in dev.plex.cache +
-
+Cache storage+
+
- PlayerCache() - Constructor for class dev.plex.cache.PlayerCache +
- +
- PlayerListener - Class in dev.plex.listener.impl +
- +
- PlayerListener() - Constructor for class dev.plex.listener.impl.PlayerListener +
- +
- PlayerNotBannedException - Exception in dev.plex.command.exception +
- +
- PlayerNotBannedException() - Constructor for exception dev.plex.command.exception.PlayerNotBannedException +
- +
- PlayerNotFoundException - Exception in dev.plex.command.exception +
- +
- PlayerNotFoundException() - Constructor for exception dev.plex.command.exception.PlayerNotFoundException +
- +
- Plex - Class in dev.plex +
- +
- Plex() - Constructor for class dev.plex.Plex +
- +
- PlexBase - Class in dev.plex +
- +
- PlexBase() - Constructor for class dev.plex.PlexBase +
- +
- PlexChatRenderer() - Constructor for class dev.plex.listener.impl.ChatListener.PlexChatRenderer +
- +
- PlexCMD - Class in dev.plex.command.impl +
- +
- PlexCMD() - Constructor for class dev.plex.command.impl.PlexCMD +
- +
- PlexCommand - Class in dev.plex.command +
-
+Superclass for all commands+
+
- PlexCommand() - Constructor for class dev.plex.command.PlexCommand +
-
+Creates an instance of the command+
+
- PlexListener - Class in dev.plex.listener +
- +
- PlexListener() - Constructor for class dev.plex.listener.PlexListener +
- +
- PlexLog - Class in dev.plex.util +
- +
- PlexLog() - Constructor for class dev.plex.util.PlexLog +
- +
- plexPlayer - Variable in class dev.plex.event.AdminAddEvent +
- +
- plexPlayer - Variable in class dev.plex.event.AdminRemoveEvent +
- +
- plexPlayer - Variable in class dev.plex.event.AdminSetRankEvent +
- +
- PlexPlayer - Class in dev.plex.player +
- +
- PlexPlayer() - Constructor for class dev.plex.player.PlexPlayer +
- +
- PlexPlayer(UUID) - Constructor for class dev.plex.player.PlexPlayer +
- +
- plexPlayerMap - Static variable in class dev.plex.cache.PlayerCache +
-
+A key/value pair where the key is the unique ID of the Plex Player+
+
- PlexUtils - Class in dev.plex.util +
- +
- PlexUtils() - Constructor for class dev.plex.util.PlexUtils +
- +
- plugin - Static variable in class dev.plex.command.PlexCommand +
-
+Returns the instance of the plugin+
+
- plugin - Variable in class dev.plex.config.Config +
- +
- plugin - Static variable in class dev.plex.Plex +
- +
- plugin - Static variable in class dev.plex.PlexBase +
- +
- plugin - Variable in class dev.plex.storage.MongoConnection +
- +
- plugin - Static variable in class dev.plex.world.ConfigurationChunkGenerator +
- +
- plugin - Static variable in class dev.plex.world.CustomWorld +
- +
- populators - Variable in class dev.plex.world.CustomChunkGenerator +
- +
- prefix - Variable in class dev.plex.listener.impl.ChatListener.PlexChatRenderer +
- +
- prefix - Variable in class dev.plex.player.PlexPlayer +
- +
- prefix - Variable in class dev.plex.rank.DefaultRankObj +
- +
- prefix - Variable in enum class dev.plex.rank.enums.Rank +
- +
- prefix - Variable in enum class dev.plex.rank.enums.Title +
- +
- punished - Variable in class dev.plex.punishment.Punishment +
- +
- punishedPlayer - Variable in class dev.plex.event.PunishedPlayerEvent +
- +
- punishedPlayer - Variable in class dev.plex.menu.PunishedPlayerMenu +
- +
- PunishedPlayer - Class in dev.plex.player +
- +
- PunishedPlayer(UUID) - Constructor for class dev.plex.player.PunishedPlayer +
- +
- PunishedPlayerEvent - Class in dev.plex.event +
- +
- PunishedPlayerEvent(PunishedPlayer) - Constructor for class dev.plex.event.PunishedPlayerEvent +
- +
- PunishedPlayerFreezeEvent - Class in dev.plex.event +
- +
- PunishedPlayerFreezeEvent(PunishedPlayer, boolean) - Constructor for class dev.plex.event.PunishedPlayerFreezeEvent +
- +
- punishedPlayerMap - Static variable in class dev.plex.cache.PlayerCache +
-
+A key/value pair where the key is the unique ID of the Punished Player+
+
- PunishedPlayerMenu - Class in dev.plex.menu +
- +
- PunishedPlayerMenu(PunishedPlayer) - Constructor for class dev.plex.menu.PunishedPlayerMenu +
- +
- PunishedPlayerMuteEvent - Class in dev.plex.event +
- +
- PunishedPlayerMuteEvent(PunishedPlayer, boolean) - Constructor for class dev.plex.event.PunishedPlayerMuteEvent +
- +
- punishedUsername - Variable in class dev.plex.punishment.Punishment +
- +
- punisher - Variable in class dev.plex.punishment.Punishment +
- +
- Punishment - Class in dev.plex.punishment +
- +
- Punishment(UUID, UUID) - Constructor for class dev.plex.punishment.Punishment +
- +
- punishmentManager - Variable in class dev.plex.Plex +
- +
- PunishmentManager - Class in dev.plex.punishment +
- +
- PunishmentManager() - Constructor for class dev.plex.punishment.PunishmentManager +
- +
- PunishmentMenu - Class in dev.plex.menu +
- +
- PunishmentMenu() - Constructor for class dev.plex.menu.PunishmentMenu +
- +
- PunishmentsCMD - Class in dev.plex.command.impl +
- +
- PunishmentsCMD() - Constructor for class dev.plex.command.impl.PunishmentsCMD +
- +
- PunishmentType - Enum Class in dev.plex.punishment +
- +
- PunishmentType() - Constructor for enum class dev.plex.punishment.PunishmentType +
- +
R
+-
+
- RANDOM - Static variable in class dev.plex.util.PlexUtils +
- +
- randomChatColor() - Static method in class dev.plex.util.PlexUtils +
- +
- randomNum() - Static method in class dev.plex.util.PlexUtils +
- +
- randomNum(int) - Static method in class dev.plex.util.PlexUtils +
- +
- randomNum(int, int) - Static method in class dev.plex.util.PlexUtils +
- +
- rank - Variable in class dev.plex.admin.Admin +
-
+Gets the rank of the admin ++
+ Contains a #setRank and #getRank by lombok
+ - rank - Variable in class dev.plex.event.AdminSetRankEvent +
- +
- rank - Variable in class dev.plex.player.PlexPlayer +
- +
- Rank - Enum Class in dev.plex.rank.enums +
- +
- Rank(int, String, String, String) - Constructor for enum class dev.plex.rank.enums.Rank +
- +
- RankCMD - Class in dev.plex.command.impl +
- +
- RankCMD() - Constructor for class dev.plex.command.impl.RankCMD +
- +
- rankExists(String) - Method in class dev.plex.command.impl.AdminCMD +
- +
- rankManager - Variable in class dev.plex.Plex +
- +
- RankManager - Class in dev.plex.rank +
- +
- RankManager() - Constructor for class dev.plex.rank.RankManager +
- +
- readable - Variable in enum class dev.plex.rank.enums.Rank +
- +
- readable - Variable in enum class dev.plex.rank.enums.Title +
- +
- readableName - Variable in class dev.plex.rank.DefaultRankObj +
- +
- reason - Variable in class dev.plex.banning.Ban +
-
+The reason for the ban+
+
- reason - Variable in class dev.plex.punishment.Punishment +
- +
- redisConnection - Variable in class dev.plex.Plex +
- +
- RedisConnection - Class in dev.plex.storage +
- +
- RedisConnection() - Constructor for class dev.plex.storage.RedisConnection +
- +
- registerService(AbstractService) - Method in class dev.plex.services.ServiceManager +
- +
- reloadPlayers() - Method in class dev.plex.Plex +
- +
- removeFromCache(UUID) - Method in class dev.plex.admin.AdminList +
-
+Removes an admin from the cache+
+
- render(Player, Component, Component, Audience) - Method in class dev.plex.listener.impl.ChatListener.PlexChatRenderer +
- +
- renderer - Variable in class dev.plex.listener.impl.ChatListener +
- +
- repeating - Variable in class dev.plex.services.AbstractService +
- +
- repeatInSeconds() - Method in class dev.plex.services.impl.BanService +
- +
- repeatInSeconds() - Method in class dev.plex.services.impl.GameRuleService +
- +
- repeatInSeconds() - Method in interface dev.plex.services.IService +
- +
- RequiredCommandSource - Enum Class in dev.plex.command.source +
- +
- RequiredCommandSource() - Constructor for enum class dev.plex.command.source.RequiredCommandSource +
- +
- run() - Method in class dev.plex.services.impl.BanService +
- +
- run() - Method in class dev.plex.services.impl.GameRuleService +
- +
- run() - Method in interface dev.plex.services.IService +
- +
S
+-
+
- save() - Method in class dev.plex.config.Config +
- +
- save(PlexPlayer) - Method in class dev.plex.cache.MongoPlayerData +
-
+Saves the player's information in the database+
+
- saveDefault() - Method in class dev.plex.config.Config +
- +
- SELECT - Variable in class dev.plex.banning.BanManager +
- +
- SELECT - Variable in class dev.plex.cache.SQLPlayerData +
- +
- send(Audience, String) - Method in class dev.plex.command.PlexCommand +
-
+Sends a message to an audience+
+
- send(Audience, Component) - Method in class dev.plex.command.PlexCommand +
-
+Sends a message to an audience+
+
- sender - Variable in class dev.plex.event.AdminAddEvent +
- +
- sender - Variable in class dev.plex.event.AdminRemoveEvent +
- +
- sender - Variable in class dev.plex.event.AdminSetRankEvent +
- +
- SENIOR_ADMIN - Enum constant in enum class dev.plex.rank.enums.Rank +
- +
- ServerListener - Class in dev.plex.listener.impl +
- +
- ServerListener() - Constructor for class dev.plex.listener.impl.ServerListener +
- +
- serviceCount() - Method in class dev.plex.services.ServiceManager +
- +
- serviceManager - Variable in class dev.plex.Plex +
- +
- ServiceManager - Class in dev.plex.services +
- +
- ServiceManager() - Constructor for class dev.plex.services.ServiceManager +
- +
- services - Variable in class dev.plex.services.ServiceManager +
- +
- setBlocks(Location, Location, Material) - Static method in class dev.plex.util.PlexUtils +
- +
- setFrozen(boolean) - Method in class dev.plex.player.PunishedPlayer +
- +
- setHumanReadableString(String) - Method in enum class dev.plex.rank.enums.Rank +
- +
- setLoginMessage(String) - Method in enum class dev.plex.rank.enums.Rank +
- +
- setMuted(boolean) - Method in class dev.plex.player.PunishedPlayer +
- +
- setPermissions(List<String>) - Method in enum class dev.plex.rank.enums.Rank +
- +
- setPrefix(String) - Method in enum class dev.plex.rank.enums.Rank +
- +
- simpleGET(String) - Static method in class dev.plex.util.PlexUtils +
- +
- source() - Element in annotation interface dev.plex.command.annotation.CommandPermissions +
-
+Required command source+
+
- SpectatorCMD - Class in dev.plex.command.impl +
- +
- SpectatorCMD() - Constructor for class dev.plex.command.impl.SpectatorCMD +
- +
- sqlConnection - Variable in class dev.plex.Plex +
- +
- SQLConnection - Class in dev.plex.storage +
- +
- SQLConnection() - Constructor for class dev.plex.storage.SQLConnection +
- +
- SQLITE - Enum constant in enum class dev.plex.storage.StorageType +
- +
- sqlPlayerData - Variable in class dev.plex.listener.impl.PlayerListener +
- +
- sqlPlayerData - Variable in class dev.plex.Plex +
- +
- SQLPlayerData - Class in dev.plex.cache +
-
+SQL fetching utilities for players+
+
- SQLPlayerData() - Constructor for class dev.plex.cache.SQLPlayerData +
- +
- staffChat - Variable in class dev.plex.admin.Admin +
-
+Returns if the admin has staff chat toggled or not ++
+ Contains a #isStaffChat and #setStaffChat by lombok
+ - startServices() - Method in class dev.plex.services.ServiceManager +
- +
- storageType - Variable in class dev.plex.Plex +
- +
- StorageType - Enum Class in dev.plex.storage +
- +
- StorageType() - Constructor for enum class dev.plex.storage.StorageType +
- +
- SurvivalCMD - Class in dev.plex.command.impl +
- +
- SurvivalCMD() - Constructor for class dev.plex.command.impl.SurvivalCMD +
- +
- system - Variable in class dev.plex.Plex +
- +
T
+-
+
- tabComplete(CommandSender, String, String[]) - Method in class dev.plex.command.impl.AdminCMD +
- +
- tabComplete(CommandSender, String, String[]) - Method in class dev.plex.command.impl.AdventureCMD +
- +
- tabComplete(CommandSender, String, String[]) - Method in class dev.plex.command.impl.BanCMD +
- +
- tabComplete(CommandSender, String, String[]) - Method in class dev.plex.command.impl.CreativeCMD +
- +
- tabComplete(CommandSender, String, String[]) - Method in class dev.plex.command.impl.DeopCMD +
- +
- tabComplete(CommandSender, String, String[]) - Method in class dev.plex.command.impl.FreezeCMD +
- +
- tabComplete(CommandSender, String, String[]) - Method in class dev.plex.command.impl.NameHistoryCMD +
- +
- tabComplete(CommandSender, String, String[]) - Method in class dev.plex.command.impl.OpCMD +
- +
- tabComplete(CommandSender, String, String[]) - Method in class dev.plex.command.impl.PlexCMD +
- +
- tabComplete(CommandSender, String, String[]) - Method in class dev.plex.command.impl.PunishmentsCMD +
- +
- tabComplete(CommandSender, String, String[]) - Method in class dev.plex.command.impl.SpectatorCMD +
- +
- tabComplete(CommandSender, String, String[]) - Method in class dev.plex.command.impl.SurvivalCMD +
- +
- tabComplete(CommandSender, String, String[]) - Method in class dev.plex.command.impl.UnbanCMD +
- +
- tabComplete(CommandSender, String, String[]) - Method in class dev.plex.command.impl.WorldCMD +
- +
- testConnections() - Static method in class dev.plex.util.PlexUtils +
- +
- Title - Enum Class in dev.plex.rank.enums +
- +
- Title(int, String, String, String) - Constructor for enum class dev.plex.rank.enums.Title +
- +
- tl(String, Object...) - Method in class dev.plex.command.PlexCommand +
-
+Converts a message entry from the "messages.yml" to a component+
+
- tl(String, Object...) - Static method in class dev.plex.util.PlexUtils +
- +
- toJSON() - Method in class dev.plex.punishment.Punishment +
- +
- type - Variable in class dev.plex.punishment.Punishment +
- +
U
+-
+
- unban(String) - Method in class dev.plex.banning.BanManager +
-
+Unbans a player if they have an active ban on record+
+
- unban(UUID) - Method in class dev.plex.banning.BanManager +
-
+Unbans a player if they have an active ban on record+
+
- UnbanCMD - Class in dev.plex.command.impl +
- +
- UnbanCMD() - Constructor for class dev.plex.command.impl.UnbanCMD +
- +
- update(PlexPlayer) - Static method in class dev.plex.cache.DataUtils +
-
+Updates a player's information in the database+
+
- update(PlexPlayer) - Method in class dev.plex.cache.MongoPlayerData +
-
+Updates a player's information in the mongo database+
+
- update(PlexPlayer) - Method in class dev.plex.cache.SQLPlayerData +
-
+Updates a player's information in the SQL database+
+
- UPDATE - Variable in class dev.plex.cache.SQLPlayerData +
- +
- usage() - Element in annotation interface dev.plex.command.annotation.CommandParameters +
-
+The usage (optional)+
+
- usage(String) - Method in class dev.plex.command.PlexCommand +
-
+Converts usage to a component+
+
- uuid - Variable in class dev.plex.admin.Admin +
-
+Gets the unique ID of an admin (immutable)+
+
- uuid - Variable in class dev.plex.banning.Ban +
-
+The unique ID of the player who was banned+
+
- uuid - Variable in class dev.plex.player.PlexPlayer +
- +
- uuid - Variable in class dev.plex.player.PunishedPlayer +
- +
V
+-
+
- valueOf(String) - Static method in enum class dev.plex.command.source.RequiredCommandSource +
-
+Returns the enum constant of this class with the specified name.+
+
- valueOf(String) - Static method in enum class dev.plex.punishment.PunishmentType +
-
+Returns the enum constant of this class with the specified name.+
+
- valueOf(String) - Static method in enum class dev.plex.rank.enums.Rank +
-
+Returns the enum constant of this class with the specified name.+
+
- valueOf(String) - Static method in enum class dev.plex.rank.enums.Title +
-
+Returns the enum constant of this class with the specified name.+
+
- valueOf(String) - Static method in enum class dev.plex.storage.StorageType +
-
+Returns the enum constant of this class with the specified name.+
+
- values() - Static method in enum class dev.plex.command.source.RequiredCommandSource +
-
+Returns an array containing the constants of this enum class, in +the order they are declared.+
+
- values() - Static method in enum class dev.plex.punishment.PunishmentType +
-
+Returns an array containing the constants of this enum class, in +the order they are declared.+
+
- values() - Static method in enum class dev.plex.rank.enums.Rank +
-
+Returns an array containing the constants of this enum class, in +the order they are declared.+
+
- values() - Static method in enum class dev.plex.rank.enums.Title +
-
+Returns an array containing the constants of this enum class, in +the order they are declared.+
+
- values() - Static method in enum class dev.plex.storage.StorageType +
-
+Returns an array containing the constants of this enum class, in +the order they are declared.+
+
- vanished - Variable in class dev.plex.player.PlexPlayer +
- +
W
+-
+
- WorldCMD - Class in dev.plex.command.impl +
- +
- WorldCMD() - Constructor for class dev.plex.command.impl.WorldCMD +
- +
- WorldListener - Class in dev.plex.listener.impl +
- +
- WorldListener() - Constructor for class dev.plex.listener.impl.WorldListener +
- +
X
+-
+
- x - Variable in class dev.plex.world.NoiseOptions +
- +
Y
+-
+
- y - Variable in class dev.plex.world.NoiseOptions +
- +
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Plex 1.0 API
+Hierarchy For All Packages
+Package Hierarchies: +-
+
- dev.plex, +
- dev.plex.admin, +
- dev.plex.banning, +
- dev.plex.cache, +
- dev.plex.command, +
- dev.plex.command.annotation, +
- dev.plex.command.exception, +
- dev.plex.command.impl, +
- dev.plex.command.source, +
- dev.plex.config, +
- dev.plex.event, +
- dev.plex.handlers, +
- dev.plex.listener, +
- dev.plex.listener.impl, +
- dev.plex.menu, +
- dev.plex.player, +
- dev.plex.punishment, +
- dev.plex.rank, +
- dev.plex.rank.enums, +
- dev.plex.services, +
- dev.plex.services.impl, +
- dev.plex.storage, +
- dev.plex.util, +
- dev.plex.util.menu, +
- dev.plex.world +
Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- dev.plex.util.menu.AbstractMenu (implements org.bukkit.event.Listener)
+
-
+
- dev.plex.menu.PunishedPlayerMenu +
- dev.plex.menu.PunishmentMenu +
+ - dev.plex.services.AbstractService (implements dev.plex.services.IService)
+
-
+
- dev.plex.services.impl.BanService +
- dev.plex.services.impl.GameRuleService +
+ - dev.plex.admin.Admin +
- dev.plex.admin.AdminList +
- dev.plex.banning.Ban +
- dev.plex.banning.BanManager +
- dev.plex.listener.impl.ChatListener.PlexChatRenderer (implements io.papermc.paper.chat.ChatRenderer) +
- org.bukkit.generator.ChunkGenerator
+
-
+
- dev.plex.world.CustomChunkGenerator
+
-
+
- dev.plex.world.FlatChunkGenerator
+
-
+
- dev.plex.world.BlockMapChunkGenerator
+
-
+
- dev.plex.world.ConfigurationChunkGenerator +
+
+ - dev.plex.world.BlockMapChunkGenerator
+
- dev.plex.world.NoiseChunkGenerator +
- dev.plex.world.OctaveChunkGenerator +
+ - dev.plex.world.FlatChunkGenerator
+
+ - dev.plex.world.CustomChunkGenerator
+
- org.bukkit.command.Command
+
-
+
- dev.plex.command.PlexCommand (implements org.bukkit.command.PluginIdentifiableCommand)
+
-
+
- dev.plex.command.impl.AdminCMD +
- dev.plex.command.impl.AdminworldCMD +
- dev.plex.command.impl.AdventureCMD +
- dev.plex.command.impl.BanCMD +
- dev.plex.command.impl.CommandSpyCMD +
- dev.plex.command.impl.CreativeCMD +
- dev.plex.command.impl.DeopAllCMD +
- dev.plex.command.impl.DeopCMD +
- dev.plex.command.impl.FlatlandsCMD +
- dev.plex.command.impl.FreezeCMD +
- dev.plex.command.impl.ListCMD +
- dev.plex.command.impl.LocalSpawnCMD +
- dev.plex.command.impl.MasterbuilderworldCMD +
- dev.plex.command.impl.NameHistoryCMD +
- dev.plex.command.impl.OpAllCMD +
- dev.plex.command.impl.OpCMD +
- dev.plex.command.impl.PlexCMD +
- dev.plex.command.impl.PunishmentsCMD +
- dev.plex.command.impl.RankCMD +
- dev.plex.command.impl.SpectatorCMD +
- dev.plex.command.impl.SurvivalCMD +
- dev.plex.command.impl.UnbanCMD +
- dev.plex.command.impl.WorldCMD +
+
+ - dev.plex.command.PlexCommand (implements org.bukkit.command.PluginIdentifiableCommand)
+
- dev.plex.cache.DataUtils +
- dev.plex.rank.DefaultRankObj +
- org.bukkit.event.Event
+
-
+
- dev.plex.event.AdminAddEvent +
- dev.plex.event.AdminRemoveEvent +
- dev.plex.event.AdminSetRankEvent +
- org.bukkit.event.player.PlayerEvent
+
-
+
- dev.plex.event.PunishedPlayerEvent (implements org.bukkit.event.Cancellable)
+
-
+
- dev.plex.event.PunishedPlayerFreezeEvent (implements org.bukkit.event.Cancellable) +
- dev.plex.event.PunishedPlayerMuteEvent (implements org.bukkit.event.Cancellable) +
+
+ - dev.plex.event.PunishedPlayerEvent (implements org.bukkit.event.Cancellable)
+
+ - dev.plex.handlers.ListenerHandler +
- org.bukkit.configuration.MemorySection (implements org.bukkit.configuration.ConfigurationSection)
+
-
+
- org.bukkit.configuration.MemoryConfiguration (implements org.bukkit.configuration.Configuration)
+
-
+
- org.bukkit.configuration.file.FileConfiguration
+
-
+
- org.bukkit.configuration.file.YamlConfiguration
+
-
+
- dev.plex.config.Config +
+
+ - org.bukkit.configuration.file.YamlConfiguration
+
+ - org.bukkit.configuration.file.FileConfiguration
+
+ - org.bukkit.configuration.MemoryConfiguration (implements org.bukkit.configuration.Configuration)
+
- dev.plex.util.MojangUtils +
- dev.plex.storage.MongoConnection +
- dev.plex.cache.MongoPlayerData +
- dev.plex.world.NoiseOptions
+
-
+
- dev.plex.world.OctaveOptions +
+ - dev.plex.cache.PlayerCache +
- dev.plex.PlexBase
+
-
+
- dev.plex.handlers.CommandHandler +
- dev.plex.listener.PlexListener (implements org.bukkit.event.Listener)
+
-
+
- dev.plex.listener.impl.AdminListener +
- dev.plex.listener.impl.ChatListener +
- dev.plex.listener.impl.CommandListener +
- dev.plex.listener.impl.FreezeListener +
- dev.plex.listener.impl.LoginListener +
- dev.plex.listener.impl.PlayerListener +
- dev.plex.listener.impl.ServerListener +
- dev.plex.listener.impl.WorldListener +
+ - dev.plex.util.PlexLog +
- dev.plex.util.PlexUtils +
- dev.plex.player.PunishedPlayer +
- dev.plex.punishment.PunishmentManager +
- dev.plex.storage.RedisConnection +
- dev.plex.storage.SQLConnection +
+ - dev.plex.player.PlexPlayer +
- org.bukkit.plugin.PluginBase (implements org.bukkit.plugin.Plugin)
+
-
+
- org.bukkit.plugin.java.JavaPlugin
+
-
+
- dev.plex.Plex +
+
+ - org.bukkit.plugin.java.JavaPlugin
+
- dev.plex.punishment.Punishment +
- dev.plex.rank.RankManager +
- dev.plex.services.ServiceManager +
- dev.plex.cache.SQLPlayerData +
- java.lang.Throwable (implements java.io.Serializable)
+
-
+
- java.lang.Exception
+
-
+
- java.lang.RuntimeException
+
-
+
- dev.plex.command.exception.CommandArgumentException +
- dev.plex.command.exception.CommandFailException +
- dev.plex.command.exception.ConsoleMustDefinePlayerException +
- dev.plex.command.exception.ConsoleOnlyException +
- dev.plex.command.exception.PlayerNotBannedException +
- dev.plex.command.exception.PlayerNotFoundException +
+
+ - java.lang.RuntimeException
+
+ - java.lang.Exception
+
- org.bukkit.WorldCreator
+
-
+
- dev.plex.world.CustomWorld +
+
+ - dev.plex.util.menu.AbstractMenu (implements org.bukkit.event.Listener)
+
Interface Hierarchy
+ +Annotation Interface Hierarchy
+-
+
- dev.plex.command.annotation.CommandParameters (implements java.lang.annotation.Annotation) +
- dev.plex.command.annotation.CommandPermissions (implements java.lang.annotation.Annotation) +
Enum Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- java.lang.Enum<E> (implements java.lang.Comparable<T>, java.lang.constant.Constable, java.io.Serializable)
+
-
+
- dev.plex.punishment.PunishmentType +
- dev.plex.rank.enums.Rank +
- dev.plex.command.source.RequiredCommandSource +
- dev.plex.storage.StorageType +
- dev.plex.rank.enums.Title +
+
+ - java.lang.Enum<E> (implements java.lang.Comparable<T>, java.lang.constant.Constable, java.io.Serializable)
+
- ",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault()},"click .ui-menu-item":function(e){var i=t(e.target),s=t(t.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),i.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&s.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){if(!this.previousFilter){var i=t(e.target).closest(".ui-menu-item"),s=t(e.currentTarget);i[0]===s[0]&&(this._removeClass(s.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,s))}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.find(this.options.items).eq(0);e||this.focus(t,i)},blur:function(e){this._delay(function(){var i=!t.contains(this.element[0],t.ui.safeActiveElement(this.document[0]));i&&this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){var e=this.element.find(".ui-menu-item").removeAttr("role aria-disabled"),i=e.children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),i.children().each(function(){var e=t(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var i,s,n,o,a=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:a=!1,s=this.previousFilter||"",o=!1,n=e.keyCode>=96&&105>=e.keyCode?""+(e.keyCode-96):String.fromCharCode(e.keyCode),clearTimeout(this.filterTimer),n===s?o=!0:n=s+n,i=this._filterMenuItems(n),i=o&&-1!==i.index(this.active.next())?this.active.nextAll(".ui-menu-item"):i,i.length||(n=String.fromCharCode(e.keyCode),i=this._filterMenuItems(n)),i.length?(this.focus(e,i),this.previousFilter=n,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}a&&e.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,i,s,n,o,a=this,r=this.options.icons.submenu,l=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),s=l.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),i=e.prev(),s=t("").data("ui-menu-submenu-caret",!0);a._addClass(s,"ui-menu-icon","ui-icon "+r),i.attr("aria-haspopup","true").prepend(s),e.attr("aria-labelledby",i.attr("id"))}),this._addClass(s,"ui-menu","ui-widget ui-widget-content ui-front"),e=l.add(this.element),i=e.find(this.options.items),i.not(".ui-menu-item").each(function(){var e=t(this);a._isDivider(e)&&a._addClass(e,"ui-menu-divider","ui-widget-content")}),n=i.not(".ui-menu-item, .ui-menu-divider"),o=n.children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(n,"ui-menu-item")._addClass(o,"ui-menu-item-wrapper"),i.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){if("icons"===t){var i=this.element.find(".ui-menu-icon");this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)}this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t+""),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i,s,n;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),s=this.active.children(".ui-menu-item-wrapper"),this._addClass(s,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",s.attr("id")),n=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(n,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),i=e.children(".ui-menu"),i.length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var i,s,n,o,a,r;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,n=e.offset().top-this.activeMenu.offset().top-i-s,o=this.activeMenu.scrollTop(),a=this.activeMenu.height(),r=e.outerHeight(),0>n?this.activeMenu.scrollTop(o+n):n+r>a&&this.activeMenu.scrollTop(o+n-a+r))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",t,{item:this.active}),this.active=null)},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var s=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));s.length||(s=this.element),this._close(s),this.blur(e),this._removeClass(s.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=s},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(e){return!t(e.target).closest(".ui-menu").length},_isDivider:function(t){return!/[^\-\u2014\u2013\s]/.test(t.text())},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var s;this.active&&(s="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),s&&s.length&&this.active||(s=this.activeMenu.find(this.options.items)[e]()),this.focus(i,s)},nextPage:function(e){var i,s,n;return this.active?(this.isLastItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return i=t(this),0>i.offset().top-s-n}),this.focus(e,i)):this.focus(e,this.activeMenu.find(this.options.items)[this.active?"last":"first"]())),void 0):(this.next(e),void 0)},previousPage:function(e){var i,s,n;return this.active?(this.isFirstItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return i=t(this),i.offset().top-s+n>0}),this.focus(e,i)):this.focus(e,this.activeMenu.find(this.options.items).first())),void 0):(this.next(e),void 0)},_hasScroll:function(){return this.element.outerHeight()
- " + item.category + " "); + currentCategory = item.category; + } + li = rMenu._renderItemData(ul, item); + if (item.category) { + li.attr("aria-label", item.category + " : " + item.l); + li.attr("class", "result-item"); + } else { + li.attr("aria-label", item.l); + li.attr("class", "result-item"); + } + }); + }, + _renderItem: function(ul, item) { + var label = ""; + var matcher = createMatcher(escapeHtml(searchPattern), "g"); + var fallbackMatcher = new RegExp(fallbackPattern, "gi") + if (item.category === catModules) { + label = getHighlightedText(item.l, matcher, fallbackMatcher); + } else if (item.category === catPackages) { + label = getHighlightedText(item.l, matcher, fallbackMatcher); + } else if (item.category === catTypes) { + label = (item.p && item.p !== UNNAMED) + ? getHighlightedText(item.p + "." + item.l, matcher, fallbackMatcher) + : getHighlightedText(item.l, matcher, fallbackMatcher); + } else if (item.category === catMembers) { + label = (item.p && item.p !== UNNAMED) + ? getHighlightedText(item.p + "." + item.c + "." + item.l, matcher, fallbackMatcher) + : getHighlightedText(item.c + "." + item.l, matcher, fallbackMatcher); + } else if (item.category === catSearchTags) { + label = getHighlightedText(item.l, matcher, fallbackMatcher); + } else { + label = item.l; + } + var li = $("").appendTo(ul); + var div = $("").appendTo(li); + if (item.category === catSearchTags && item.h) { + if (item.d) { + div.html(label + " (" + item.h + ")
-
+
+ +Package dev.plex.command.exception
+-
+
-
+
+ +Exception dev.plex.command.exception.CommandArgumentException
+class CommandArgumentException extends RuntimeException implements Serializable+
+ -
+
+ +Exception dev.plex.command.exception.CommandFailException
+class CommandFailException extends RuntimeException implements Serializable+
+ -
+
+ +Exception dev.plex.command.exception.ConsoleMustDefinePlayerException
+class ConsoleMustDefinePlayerException extends RuntimeException implements Serializable+
+ -
+
+ +Exception dev.plex.command.exception.ConsoleOnlyException
+class ConsoleOnlyException extends RuntimeException implements Serializable+
+ -
+
+ +Exception dev.plex.command.exception.PlayerNotBannedException
+class PlayerNotBannedException extends RuntimeException implements Serializable+
+ -
+
+ +Exception dev.plex.command.exception.PlayerNotFoundException
+class PlayerNotFoundException extends RuntimeException implements Serializable+
+
+ -
+
- ").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,this.element[0]!==t.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")})},menufocus:function(e,i){var s,n;return this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type))?(this.menu.blur(),this.document.one("mousemove",function(){t(e.target).trigger(e.originalEvent)}),void 0):(n=i.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:n})&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(n.value),s=i.item.attr("aria-label")||n.value,s&&t.trim(s).length&&(this.liveRegion.children().hide(),t("
" + + item.d + "
"); + } else { + div.html(label + " (" + item.h + ")"); + } + } else { + if (item.m) { + div.html(item.m + "/" + label); + } else { + div.html(label); + } + } + return li; + } +}); +function rankMatch(match, category) { + if (!match) { + return NO_MATCH; + } + var index = match.index; + var input = match.input; + var leftBoundaryMatch = 2; + var periferalMatch = 0; + // make sure match is anchored on a left word boundary + if (index === 0 || /\W/.test(input[index - 1]) || "_" === input[index]) { + leftBoundaryMatch = 0; + } else if ("_" === input[index - 1] || (input[index] === input[index].toUpperCase() && !/^[A-Z0-9_$]+$/.test(input))) { + leftBoundaryMatch = 1; + } + var matchEnd = index + match[0].length; + var leftParen = input.indexOf("("); + var endOfName = leftParen > -1 ? leftParen : input.length; + // exclude peripheral matches + if (category !== catModules && category !== catSearchTags) { + var delim = category === catPackages ? "/" : "."; + if (leftParen > -1 && leftParen < index) { + periferalMatch += 2; + } else if (input.lastIndexOf(delim, endOfName) >= matchEnd) { + periferalMatch += 2; + } + } + var delta = match[0].length === endOfName ? 0 : 1; // rank full match higher than partial match + for (var i = 1; i < match.length; i++) { + // lower ranking if parts of the name are missing + if (match[i]) + delta += match[i].length; + } + if (category === catTypes) { + // lower ranking if a type name contains unmatched camel-case parts + if (/[A-Z]/.test(input.substring(matchEnd))) + delta += 5; + if (/[A-Z]/.test(input.substring(0, index))) + delta += 5; + } + return leftBoundaryMatch + periferalMatch + (delta / 200); + +} +function doSearch(request, response) { + var result = []; + searchPattern = createSearchPattern(request.term); + fallbackPattern = createSearchPattern(request.term.toLowerCase()); + if (searchPattern === "") { + return this.close(); + } + var camelCaseMatcher = createMatcher(searchPattern, ""); + var fallbackMatcher = new RegExp(fallbackPattern, "i"); + + function searchIndexWithMatcher(indexArray, matcher, category, nameFunc) { + if (indexArray) { + var newResults = []; + $.each(indexArray, function (i, item) { + item.category = category; + var ranking = rankMatch(matcher.exec(nameFunc(item)), category); + if (ranking < RANKING_THRESHOLD) { + newResults.push({ranking: ranking, item: item}); + } + return newResults.length <= MAX_RESULTS; + }); + return newResults.sort(function(e1, e2) { + return e1.ranking - e2.ranking; + }).map(function(e) { + return e.item; + }); + } + return []; + } + function searchIndex(indexArray, category, nameFunc) { + var primaryResults = searchIndexWithMatcher(indexArray, camelCaseMatcher, category, nameFunc); + result = result.concat(primaryResults); + if (primaryResults.length <= MIN_RESULTS && !camelCaseMatcher.ignoreCase) { + var secondaryResults = searchIndexWithMatcher(indexArray, fallbackMatcher, category, nameFunc); + result = result.concat(secondaryResults.filter(function (item) { + return primaryResults.indexOf(item) === -1; + })); + } + } + + searchIndex(moduleSearchIndex, catModules, function(item) { return item.l; }); + searchIndex(packageSearchIndex, catPackages, function(item) { + return (item.m && request.term.indexOf("/") > -1) + ? (item.m + "/" + item.l) : item.l; + }); + searchIndex(typeSearchIndex, catTypes, function(item) { + return request.term.indexOf(".") > -1 ? item.p + "." + item.l : item.l; + }); + searchIndex(memberSearchIndex, catMembers, function(item) { + return request.term.indexOf(".") > -1 + ? item.p + "." + item.c + "." + item.l : item.l; + }); + searchIndex(tagSearchIndex, catSearchTags, function(item) { return item.l; }); + + if (!indexFilesLoaded()) { + updateSearchResults = function() { + doSearch(request, response); + } + result.unshift(loading); + } else { + updateSearchResults = function() {}; + } + response(result); +} +$(function() { + $("#search-input").catcomplete({ + minLength: 1, + delay: 300, + source: doSearch, + response: function(event, ui) { + if (!ui.content.length) { + ui.content.push(noResult); + } else { + $("#search-input").empty(); + } + }, + autoFocus: true, + focus: function(event, ui) { + return false; + }, + position: { + collision: "flip" + }, + select: function(event, ui) { + if (ui.item.category) { + var url = getURLPrefix(ui); + if (ui.item.category === catModules) { + url += "module-summary.html"; + } else if (ui.item.category === catPackages) { + if (ui.item.u) { + url = ui.item.u; + } else { + url += ui.item.l.replace(/\./g, '/') + "/package-summary.html"; + } + } else if (ui.item.category === catTypes) { + if (ui.item.u) { + url = ui.item.u; + } else if (ui.item.p === UNNAMED) { + url += ui.item.l + ".html"; + } else { + url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.l + ".html"; + } + } else if (ui.item.category === catMembers) { + if (ui.item.p === UNNAMED) { + url += ui.item.c + ".html" + "#"; + } else { + url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.c + ".html" + "#"; + } + if (ui.item.u) { + url += ui.item.u; + } else { + url += ui.item.l; + } + } else if (ui.item.category === catSearchTags) { + url += ui.item.u; + } + if (top !== window) { + parent.classFrame.location = pathtoroot + url; + } else { + window.location.href = pathtoroot + url; + } + $("#search-input").focus(); + } + } + }); +}); diff --git a/static/javadocs/serialized-form.html b/static/javadocs/serialized-form.html new file mode 100644 index 0000000..2604b38 --- /dev/null +++ b/static/javadocs/serialized-form.html @@ -0,0 +1,101 @@ + + + + +
Serialized Form
+-
+