Class VaultChatImplementation

java.lang.Object
net.milkbowl.vault.chat.Chat
eu.cloudnetservice.modules.cloudperms.bukkit.vault.VaultChatImplementation

public class VaultChatImplementation extends net.milkbowl.vault.chat.Chat
  • Field Details

    • permissionManagement

      private final eu.cloudnetservice.driver.permission.PermissionManagement permissionManagement
  • Constructor Details

    • VaultChatImplementation

      public VaultChatImplementation(@NonNull @NonNull net.milkbowl.vault.permission.Permission permission, @NonNull @NonNull eu.cloudnetservice.driver.permission.PermissionManagement permissionManagement)
  • Method Details

    • userPermissionGroupName

      @NonNull private @NonNull Optional<String> userPermissionGroupName(@NonNull @NonNull String username)
    • permissionUserByName

      @NonNull private @NonNull Optional<eu.cloudnetservice.driver.permission.PermissionUser> permissionUserByName(@NonNull @NonNull String name)
    • permissionGroupByName

      @NonNull private @NonNull Optional<eu.cloudnetservice.driver.permission.PermissionGroup> permissionGroupByName(@NonNull @NonNull String name)
    • getName

      public String getName()
      Specified by:
      getName in class net.milkbowl.vault.chat.Chat
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in class net.milkbowl.vault.chat.Chat
    • getPlayerPrefix

      public String getPlayerPrefix(String world, String player)
      Specified by:
      getPlayerPrefix in class net.milkbowl.vault.chat.Chat
    • setPlayerPrefix

      public void setPlayerPrefix(String world, String player, String prefix)
      Specified by:
      setPlayerPrefix in class net.milkbowl.vault.chat.Chat
    • getPlayerSuffix

      public String getPlayerSuffix(String world, String player)
      Specified by:
      getPlayerSuffix in class net.milkbowl.vault.chat.Chat
    • setPlayerSuffix

      public void setPlayerSuffix(String world, String player, String suffix)
      Specified by:
      setPlayerSuffix in class net.milkbowl.vault.chat.Chat
    • getGroupPrefix

      public String getGroupPrefix(String world, String group)
      Specified by:
      getGroupPrefix in class net.milkbowl.vault.chat.Chat
    • setGroupPrefix

      public void setGroupPrefix(String world, String group, String prefix)
      Specified by:
      setGroupPrefix in class net.milkbowl.vault.chat.Chat
    • getGroupSuffix

      public String getGroupSuffix(String world, String group)
      Specified by:
      getGroupSuffix in class net.milkbowl.vault.chat.Chat
    • setGroupSuffix

      public void setGroupSuffix(String world, String group, String suffix)
      Specified by:
      setGroupSuffix in class net.milkbowl.vault.chat.Chat
    • getPlayerInfoInteger

      public int getPlayerInfoInteger(String world, String player, String node, int defaultValue)
      Specified by:
      getPlayerInfoInteger in class net.milkbowl.vault.chat.Chat
    • setPlayerInfoInteger

      public void setPlayerInfoInteger(String world, String player, String node, int value)
      Specified by:
      setPlayerInfoInteger in class net.milkbowl.vault.chat.Chat
    • getGroupInfoInteger

      public int getGroupInfoInteger(String world, String group, String node, int defaultValue)
      Specified by:
      getGroupInfoInteger in class net.milkbowl.vault.chat.Chat
    • setGroupInfoInteger

      public void setGroupInfoInteger(String world, String group, String node, int value)
      Specified by:
      setGroupInfoInteger in class net.milkbowl.vault.chat.Chat
    • getPlayerInfoDouble

      public double getPlayerInfoDouble(String world, String player, String node, double defaultValue)
      Specified by:
      getPlayerInfoDouble in class net.milkbowl.vault.chat.Chat
    • setPlayerInfoDouble

      public void setPlayerInfoDouble(String world, String player, String node, double value)
      Specified by:
      setPlayerInfoDouble in class net.milkbowl.vault.chat.Chat
    • getGroupInfoDouble

      public double getGroupInfoDouble(String world, String group, String node, double defaultValue)
      Specified by:
      getGroupInfoDouble in class net.milkbowl.vault.chat.Chat
    • setGroupInfoDouble

      public void setGroupInfoDouble(String world, String group, String node, double value)
      Specified by:
      setGroupInfoDouble in class net.milkbowl.vault.chat.Chat
    • getPlayerInfoBoolean

      public boolean getPlayerInfoBoolean(String world, String player, String node, boolean defaultValue)
      Specified by:
      getPlayerInfoBoolean in class net.milkbowl.vault.chat.Chat
    • setPlayerInfoBoolean

      public void setPlayerInfoBoolean(String world, String player, String node, boolean value)
      Specified by:
      setPlayerInfoBoolean in class net.milkbowl.vault.chat.Chat
    • getGroupInfoBoolean

      public boolean getGroupInfoBoolean(String world, String group, String node, boolean defaultValue)
      Specified by:
      getGroupInfoBoolean in class net.milkbowl.vault.chat.Chat
    • setGroupInfoBoolean

      public void setGroupInfoBoolean(String world, String group, String node, boolean value)
      Specified by:
      setGroupInfoBoolean in class net.milkbowl.vault.chat.Chat
    • getPlayerInfoString

      public String getPlayerInfoString(String world, String player, String node, String defaultValue)
      Specified by:
      getPlayerInfoString in class net.milkbowl.vault.chat.Chat
    • setPlayerInfoString

      public void setPlayerInfoString(String world, String player, String node, String value)
      Specified by:
      setPlayerInfoString in class net.milkbowl.vault.chat.Chat
    • getGroupInfoString

      public String getGroupInfoString(String world, String group, String node, String defaultValue)
      Specified by:
      getGroupInfoString in class net.milkbowl.vault.chat.Chat
    • setGroupInfoString

      public void setGroupInfoString(String world, String group, String node, String value)
      Specified by:
      setGroupInfoString in class net.milkbowl.vault.chat.Chat