Class ProfileManager

java.lang.Object
studio.magemonkey.codex.manager.IListener<Divinity>
studio.magemonkey.divinity.manager.profile.ProfileManager
All Implemented Interfaces:
org.bukkit.event.Listener, studio.magemonkey.codex.manager.AbstractListener, studio.magemonkey.codex.manager.api.Loadable

public class ProfileManager extends studio.magemonkey.codex.manager.IListener<Divinity> implements studio.magemonkey.codex.manager.api.Loadable
  • Constructor Details

    • ProfileManager

      public ProfileManager(@NotNull Divinity plugin)
  • Method Details

    • setup

      public void setup()
      Specified by:
      setup in interface studio.magemonkey.codex.manager.api.Loadable
    • shutdown

      public void shutdown()
      Specified by:
      shutdown in interface studio.magemonkey.codex.manager.api.Loadable
    • isSelectOnJoin

      public boolean isSelectOnJoin()
    • getChangeCooldown

      public int getChangeCooldown()
    • getNamePattern

      @NotNull public Pattern getNamePattern()
    • getPlayerMaxProfiles

      public int getPlayerMaxProfiles(@NotNull org.bukkit.entity.Player player)
    • getSettingsGUI

      @NotNull public SettingsGUI getSettingsGUI()
    • getProfileGUI

      @NotNull public ProfileGUI getProfileGUI()
    • getProfilesGUI

      @NotNull public ProfilesGUI getProfilesGUI()
    • canCreateMoreProfiles

      public boolean canCreateMoreProfiles(@NotNull org.bukkit.entity.Player player)
    • startProfileCreation

      public void startProfileCreation(@NotNull org.bukkit.entity.Player player)
    • createProfile

      public boolean createProfile(@NotNull org.bukkit.entity.Player player, @NotNull String name)
    • switchProfile

      public boolean switchProfile(@NotNull org.bukkit.entity.Player player, @NotNull UserProfile profile)
    • setProfileSwitchCooldown

      public void setProfileSwitchCooldown(@NotNull org.bukkit.entity.Player player)
    • getProfileSwitchCooldownDate

      public long getProfileSwitchCooldownDate(@NotNull org.bukkit.entity.Player player)
    • onProfileSelectJoin

      public void onProfileSelectJoin(org.bukkit.event.player.PlayerJoinEvent e)
    • onProfileCreationChat

      public void onProfileCreationChat(org.bukkit.event.player.AsyncPlayerChatEvent e)