From 8eada640075caf8d6c5d99ed01929ab3c63f1b89 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Tue, 22 Feb 2022 02:00:15 -0600 Subject: [PATCH] Add missing files, add more info to configuration --- docs/customization/config.md | 5 +- .../dev/plex/command/impl/DebugCMD.html | 226 ++++++++++++++++ .../dev/plex/command/impl/TagCMD.html | 202 +++++++++++++++ .../dev/plex/event/GameModeUpdateEvent.html | 241 ++++++++++++++++++ .../plex/listener/impl/GameModeListener.html | 174 +++++++++++++ 5 files changed, 847 insertions(+), 1 deletion(-) create mode 100644 static/javadocs/dev/plex/command/impl/DebugCMD.html create mode 100644 static/javadocs/dev/plex/command/impl/TagCMD.html create mode 100644 static/javadocs/dev/plex/event/GameModeUpdateEvent.html create mode 100644 static/javadocs/dev/plex/listener/impl/GameModeListener.html diff --git a/docs/customization/config.md b/docs/customization/config.md index 12b5398..910c3f0 100644 --- a/docs/customization/config.md +++ b/docs/customization/config.md @@ -178,7 +178,8 @@ An infinite amount of worlds can be generated from the configuration file. A few name: 'Human readable name' permission: 'plex.world.example' noEdit: "&cThis message will display if a player doesn't have permission to edit a world." - requiredLevels: "Rank.ADMIN" # The minimum rank required to edit the world + requiredLevels: + - "Rank.ADMIN" # The minimum rank required to edit the world parameters: grass_block: 1 dirt: 32 @@ -187,6 +188,8 @@ An infinite amount of worlds can be generated from the configuration file. A few ``` Note that in the `parameters` section, this is how the world should actually be generated. The order is from top to bottom. In the example above, a world will generate with one grass layer, 32 layers of dirt, 16 layers of stone, and one layer of bedrock. +For a list of Ranks and Titles, you can refer to the Javadocs: [Ranks](https://docs.plex.us.org/javadocs/dev/plex/rank/enums/Rank.html), [Title](https://docs.plex.us.org/javadocs/dev/plex/rank/enums/Title.html). + ## Debugging **Options:** `true` / `false` diff --git a/static/javadocs/dev/plex/command/impl/DebugCMD.html b/static/javadocs/dev/plex/command/impl/DebugCMD.html new file mode 100644 index 0000000..467318d --- /dev/null +++ b/static/javadocs/dev/plex/command/impl/DebugCMD.html @@ -0,0 +1,226 @@ + + + + +DebugCMD (Plex 0.5 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class DebugCMD

+
+
java.lang.Object +
org.bukkit.command.Command +
dev.plex.command.PlexCommand +
dev.plex.command.impl.DebugCMD
+
+
+
+
+
+
All Implemented Interfaces:
+
org.bukkit.command.PluginIdentifiableCommand
+
+
+
public class DebugCMD +extends PlexCommand
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      DebugCMD

      +
      public DebugCMD()
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    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 class PlexCommand
      +
      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 class org.bukkit.command.Command
      +
      Throws:
      +
      IllegalArgumentException
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/static/javadocs/dev/plex/command/impl/TagCMD.html b/static/javadocs/dev/plex/command/impl/TagCMD.html new file mode 100644 index 0000000..7d52e37 --- /dev/null +++ b/static/javadocs/dev/plex/command/impl/TagCMD.html @@ -0,0 +1,202 @@ + + + + +TagCMD (Plex 0.5 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class TagCMD

+
+
java.lang.Object +
org.bukkit.command.Command +
dev.plex.command.PlexCommand +
dev.plex.command.impl.TagCMD
+
+
+
+
+
+
All Implemented Interfaces:
+
org.bukkit.command.PluginIdentifiableCommand
+
+
+
public class TagCMD +extends PlexCommand
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      TagCMD

      +
      public TagCMD()
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    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 class PlexCommand
      +
      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:
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/static/javadocs/dev/plex/event/GameModeUpdateEvent.html b/static/javadocs/dev/plex/event/GameModeUpdateEvent.html new file mode 100644 index 0000000..d02f28b --- /dev/null +++ b/static/javadocs/dev/plex/event/GameModeUpdateEvent.html @@ -0,0 +1,241 @@ + + + + +GameModeUpdateEvent (Plex 0.5 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class GameModeUpdateEvent

+
+
java.lang.Object +
org.bukkit.event.Event +
dev.plex.event.GameModeUpdateEvent
+
+
+
+
+
public class GameModeUpdateEvent +extends org.bukkit.event.Event
+
+
+
    + +
  • +
    +

    Nested Class Summary

    +
    +

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    +org.bukkit.event.Event.Result
    +
    +
  • + +
  • +
    +

    Field Summary

    +
    Fields
    +
    +
    Modifier and Type
    +
    Field
    +
    Description
    +
    private final org.bukkit.GameMode
    + +
     
    +
    private static final org.bukkit.event.HandlerList
    + +
     
    +
    private final org.bukkit.entity.Player
    + +
     
    +
    private final org.bukkit.command.CommandSender
    + +
     
    +
    +
    +
  • + +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    + +
     
    +
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    static org.bukkit.event.HandlerList
    + +
     
    +
    @NotNull org.bukkit.event.HandlerList
    + +
     
    +
    +
    +
    +
    +

    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
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      handlers

      +
      private static final org.bukkit.event.HandlerList handlers
      +
      +
    • +
    • +
      +

      sender

      +
      private final org.bukkit.command.CommandSender sender
      +
      +
    • +
    • +
      +

      player

      +
      private final org.bukkit.entity.Player player
      +
      +
    • +
    • +
      +

      gameMode

      +
      private final org.bukkit.GameMode gameMode
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      GameModeUpdateEvent

      +
      public GameModeUpdateEvent()
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      getHandlers

      +
      @NotNull +public @NotNull org.bukkit.event.HandlerList getHandlers()
      +
      +
      Specified by:
      +
      getHandlers in class org.bukkit.event.Event
      +
      +
      +
    • +
    • +
      +

      getHandlerList

      +
      public static org.bukkit.event.HandlerList getHandlerList()
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/static/javadocs/dev/plex/listener/impl/GameModeListener.html b/static/javadocs/dev/plex/listener/impl/GameModeListener.html new file mode 100644 index 0000000..17f1834 --- /dev/null +++ b/static/javadocs/dev/plex/listener/impl/GameModeListener.html @@ -0,0 +1,174 @@ + + + + +GameModeListener (Plex 0.5 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class GameModeListener

+
+
java.lang.Object +
dev.plex.PlexBase +
dev.plex.listener.PlexListener +
dev.plex.listener.impl.GameModeListener
+
+
+
+
+
+
All Implemented Interfaces:
+
org.bukkit.event.Listener
+
+
+
public class GameModeListener +extends PlexListener
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      GameModeListener

      +
      public GameModeListener()
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+
+
+ +