Minecord Wiki: Configuration

Sep 20, 2018 at 7:06 PM
Minecord Wiki: Configuration
  • Minecord Wiki: Configuration


    Code (YAML):
    # Information: Please pay attention to the the instructions of each section.

    # General settings of the plugin.
    Options
    :
     # The list of worlds in which the plugin will be disabled.
      DisabledWorlds
    : []
      # Whether or not the plugin will change the Discord nickname of linked players.
      SetNick
    : true
      # The radius in which a group of players have to be in order to start voice chatting.
      Radius
    : 40
      # The Y radius in which a group of players have to be in order to start voice chatting. (Set to -1 to disable and use
      # the default 'Radius' value for Y coordinate as well).
      YRadius
    : 10
      # Whether or not players must press a key (X by default) in order to talk. This key must be configured by each player
      # in his/her Discord settings.
      UseVoiceActivity
    : true
      # WARNING: In order to modify this field you must stop the server before modifying it.
      # Whether or not a scoreboard will appear showing the information of the voice chat for each player. Disable this
      # setting if you are using any other scoreboard-depending plugin.
      UseScoreboard
    : true
      # If the previous setting is enabled, whether or not to remove the scoreboard when a player is not chatting (although
      # the player has the voice chat enabled).
      RemoveScoreboardOnDisconnect
    : false
      # Whether or not disable the voice chat of a player who is muted.
      DisableVoiceChatIfMuted
    : false
      # Whether or not disable the voice chat of a player who is deafened.
      DisableVoiceChatIfDeafened
    : false
      # Whether or not force every player to link their account with Discord and enter the Waiting Channel so that they can
      # join the server.
      ForceVoiceChat
    : false

    # Discord settings of the plugin.
    Discord
    :
     # The token ID of the Discord bot. (This field has to be filled in order to enable the plugin: read the installation
      # instructions).
      Token
    : null
      # The guild ID of the guild in which the Discord bot will operate. (This field has to be filled in order to enable the
      # plugin: read the installation instructions).
      Guild
    : null
      # The channel ID of the Discord guild waiting channel. (This field has to be filled in order to enable the plugin:
      # read the installation instructions).
      WaitingChannel
    : null
      # The list of roles IDs which will be able to see all the voice chat channels but not connect.
      BypassRoles
    : []

    # If the 'UseScoreboard' field in the 'Options' section is enabled, scoreboards, and its settings, used by the plugin,
    # any value here which will be displayed in the scoreboard (noted above) cannot have more than 16 characters (including
    # color codes), otherwise it will not be displayed properly. The maximum entries of scoreboard a client can render is
    # 15.
    Scoreboards
    :
     # (String displayed in the scoreboard). The title of the scoreboard.
      Title
    : "&d&lMinecord"
      # If the 'RemoveScoreboardOnDisconnect' field in the 'Options' section is disabled, settings of the scoreboard
      # displayed when a player has the voice chat disconnected.
      Disconnected
    :
       # (String displayed in the scoreboard). (List of string displayed each one below the one before). Information
        # displayed after the title and a space.
        Info
    :
         - "&cVoice chat"
          - "&cdisconnected."
      # Settings of the scoreboard displayed when a player is not chatting but has the voice chat enabled.
      Nobody
    :
         # (String displayed in the scoreboard). (List of string displayed each one below the one before). Information
          # displayed after the title and a space.
          Info
    :
           - "&cNobody can"
            - "&chear you."
      # Settings of the scoreboard displayed when a player is chatting.
      Chatting
    :
       # (String displayed in the scoreboard). (List of string displayed each one below the one before). Information
        # displayed after the title and a space.
        Info
    :
         - "&bThese players"
          - "&bcan hear you:"
        # (String displayed in the scoreboard). (List of string displayed each one below the one before). Information
        # displayed after the "info" and a space if nobody can hear the player. This will be only displayed if the
        # 'RemoveScoreboardOnDisconnect' field in the 'Options' section is disabled.
        Empty
    :
         - "&cNobody is"
          - "&chearing you."
        # (String displayed in the scoreboard). The color code set to someone who can hear the player and is in their radius.
        InRangePlayerColor
    : "&d"
        # (String displayed in the scoreboard). The color code set to someone who is not in the player's radius but,
        # however, this player can hear the other player due to Discord limitations.
        OutOfRangePlayerColor
    : "&d&o"
        # The maximum number of players who can be displayed in the scoreboard.
        MaxPlayers
    : 8
        # (String displayed in the scoreboard). When the previous limit is reached the indicator of that the limit of
        # players displayed has been reached.
        MaxReachedIndicator
    : "&7..."

    # Sounds used by the plugin, all sounds must be legal type of sounds according to your server version. The following
    # default sounds are for 1.13.1 (Minecraft version), change them if you are using other Minecraft version. (You may change
    # to "null" any sound in order to not play that sound at any time). Field names are self-explanatory.
    Sounds
    :
      VoiceChatConnect
    : "ENTITY_CHICKEN_EGG"
      VoiceChatDisconnect
    : "ENTITY_CHICKEN_EGG"

    # Messages used by the plugin, the placeholders supported by each message will be noted above of each field. (You may
    # change to "null" any message in order to not send that message at any time, moreover, use '&' and a color code to add
    # colors to the messages). Field names are self-explanatory.
    Messages
    :
     # No placeholders supported.
      Prefix
    : "&d[&bMinecord&d]"
      # Placeholders supported: %PREFIX% (displays the configured prefix), %GOOD_USAGE% (displays the correct usage of the
      # command).
      BadSyntax
    : "%PREFIX% &cIncorrect command. Use instead &d%GOOD_SYNTAX%&b."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      NotEnoughPermissions
    : "%PREFIX% &cYou do not have enough permissions to perform that command."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      InvalidTarget
    : "%PREFIX% &cThe player name you entered is invalid or is not connected."
      # (List of messages sent simultaneously and in order). Placeholders supported: %PREFIX% (displays the configured
      # prefix).
      Info
    :
       - "%PREFIX% &bInformation:"
        - ""
        - "&dThe ultimate voice chat solution for Minecraft!"
        - "&o&dPowered by Spomg.me."
        - "&o&dVisit the SpigotMC resource site for info!"
        - ""
        - "&bUse &d/minecord help &bto obtain help."
      # (List of messages sent simultaneously and in order). Placeholders supported: %PREFIX% (displays the configured
      # prefix).
      Help
    :
       - "%PREFIX% &bHelp:"
        - ""
        - "&b> &d/minecord &b- Displays general information about the plugin."
        - "&b> &d/minecord help &b- Displays this commands information."
        - "&b> &d/minecord reload &b- Reloads the config file."
        - "&b> &d/minecord stop &b- Stops the Discord bot. (Only for debug purposes!)"
        - "&b> &d/minecord link &b- Links your Minecraft account with your Discord account."
        - "&b> &d/minecord unlink <player> &b- Unlinks a player's Minecraft account with their Discord account."
        - "&b> &d/minecord toggle (player) &b- Toggles your (or a player's) voice chat state."
        - "&b> &d/minecord mute <player> &b- Prevents a player from using the voice chat."
        - "&b> &d/minecord unmute <player> &b- Allows a player to use the voice chat again."
        - ""
        - "&bYou may use &d/md &binstead of &d/minecord&b. The arguments between &d<> &bare compulsory, while the ones
          between &d() &bare optional."

      # Placeholders supported: %PREFIX% (displays the configured prefix).
      ReloadedSuccessfully
    : "%PREFIX% &bYou successfully reloaded the config file."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      StoppedSuccessfully
    : "%PREFIX% &bYou successfully stopped the bot. Please note that this is only for debug purposes."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      PreLinkErrorAlready
    : "%PREFIX% &cYour account is already linked."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      PreLinkErrorPending
    : "%PREFIX% &cYou are already linking your account."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      PreLinkTimeout
    : "%PREFIX% &cYour linking code has expired, please create a new one."
      # Placeholders supported: %PREFIX% (displays the configured prefix), %CODE% (displays the generated linking code).
      PreLinkedSuccessfully
    : "%PREFIX% &bYou successfully generated a linking code, please send a direct message to the
      Minecord Discord bot with the following code within five minutes: &d%CODE%&b."

      # Placeholders supported: %PREFIX% (displays the configured prefix).
      LinkedSuccessfully
    : "%PREFIX% &bYou successfully linked your account with Discord. You may now use &d/minecord toggle
      &bto start chatting!"

      # Placeholders supported: %PREFIX% (displays the configured prefix).
      UnlinkPlayerErrorBypass
    : "%PREFIX% &cYou cannot unlink that player's account."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      UnlinkPlayerErrorAlready
    : "%PREFIX% &cThat player's account is not linked."
      # Placeholders supported: %PREFIX% (displays the configured prefix), %PLAYER% (displays the target player name).
      UnlinkedPlayerSuccessfully
    : "%PREFIX% &bYou successfully unlinked &d%PLAYER%&b's account."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      UnlinkedSuccessfully
    : "%PREFIX% &cYour account has been unlinked."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      TogglePlayerErrorBypass
    : "%PREFIX% &cYou cannot toggle that player's voice state."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      TogglePlayerErrorMuted
    : "%PREFIX% &cThat player is muted."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      TogglePlayerErrorUnlink
    : "%PREFIX% &cThat player's account is unlinked."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      TogglePlayerErrorNoWaiting
    : "%PREFIX% &cIn order to enable that  voice chat the player must be waiting in the
      Voice Chat Waiting channel."

      # Placeholders supported: %PREFIX% (displays the configured prefix), %PLAYER% (displays the target player name).
      ToggledPlayerEnabledSuccessfully
    : "%PREFIX% &bYou successfully &denabled %PLAYER%&b's voice chat."
      # Placeholders supported: %PREFIX% (displays the configured prefix), %PLAYER% (displays the target player name).
      ToggledPlayerDisabledSuccessfully
    : "%PREFIX% &bYou successfully &ddisabled %PLAYER%&b's voice chat."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      ToggleErrorMuted
    : "%PREFIX% &cYou cannot toggle your voice chat because you are muted."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      ToggleErrorUnlink
    : "%PREFIX% &cPlease, in order to toggle your voice chat, link first your account using &d/minecord
      link&c."

      # Placeholders supported: %PREFIX% (displays the configured prefix).
      ToggleErrorNoWaiting
    : "%PREFIX% &cIn order to enable your voice chat you must be waiting in the Voice Chat Waiting
      channel."

      # Placeholders supported: %PREFIX% (displays the configured prefix).
      ToggledEnabledSuccessfully
    : "%PREFIX% &bYour voice chat has been &denabled&b."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      ToggledDisabledSuccessfully
    : "%PREFIX% &bYour voice chat state been &ddisabled&b."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      MutePlayerErrorBypass
    : "%PREFIX% &cYou cannot mute that player."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      MutePlayerErrorAlready
    : "%PREFIX% &cThat player is already muted."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      MutedPlayerSuccessfully
    : "%PREFIX% &bYou successfully muted &d%PLAYER%&b."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      MutedSuccessfully
    : "%PREFIX% &cYou have been muted."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      UnmutePlayerErrorAlready
    : "%PREFIX% &cThat player is not muted."
      # Placeholders supported: %PREFIX% (displays the configured prefix), %PLAYER% (displays the target player name).
      UnmutedPlayerSuccessfully
    : "%PREFIX% &bYou successfully unmuted &d%PLAYER%&b."
      # Placeholders supported: %PREFIX% (displays the configured prefix).
      UnmutedSuccessfully
    : "%PREFIX% &bYou have been unmuted."
      # (If the 'ForceVoiceChat' field in the 'Options' section is enabled). Placeholders supported: %PREFIX% (displays the
      # configured prefix).
      ForceVoiceChatPlayerErrorCommandDisabled
    : "%PREFIX% &cThat command has been disabled for that player."
      # (If the 'ForceVoiceChat' field in the 'Options' section is enabled). Placeholders supported: %PREFIX% (displays the
      # configured prefix).
      ForceVoiceChatErrorCommandDisabled
    : "%PREFIX% &cThat command has been disabled."
      # (If the 'ForceVoiceChat' field in the 'Options' section is enabled). Placeholders supported: %PREFIX% (displays the
      # configured prefix).
      ForceVoiceChatKickedForceUnlinked
    : "%PREFIX% &cYou have been kicked because your Minecraft account has been unlinked
      with your Minecraft account. Please try to reconnect"

      # (If the 'ForceVoiceChat' field in the 'Options' section is enabled). Placeholders supported: %PREFIX% (displays the
      # configured prefix).
      ForceVoiceChatKickedForceToggled
    : "%PREFIX% &cYou have been kicked because your voice chat has been disabled."
      # (If the 'ForceVoiceChat' field in the 'Options' section is enabled). Placeholders supported: %PREFIX% (displays the
      # configured prefix).
      ForceVoiceChatKickedNotWaiting
    : "%PREFIX% &cYou have been kicked because you are not waiting in the Waiting Channel."
      # (If the 'ForceVoiceChat' field in the 'Options' section is enabled). Placeholders supported: %PREFIX% (displays the
      # configured prefix), %CODE% (displays the generated linking code).
      ForceVoiceChatKickedUnlinked
    : "%PREFIX% &cYou have been kicked because your Minecraft account is not linked with your
      Discord account. Please, in order to link your accounts, please send a direct message to the Minecord Discord bot with
      the following code within five minutes: &d%CODE%&b. "

      # No placeholders supported.
      DiscordLinkErrorInvalidCode
    : "The linking code you entered is invalid."
      # No placeholders supported.
      DiscordLinkedSuccessfully
    : "You successfully linked your account with Discord."
    The file is fully commented and documented. If there is any doubt with any field, please, ask for support as per instructions from the support section of the main page of the resource.
    Another file, the data file, is generated when the plugin enables for the first time or does not find it when it loads. Please be careful when modifyng this file, and avoid doing it.
    When an update of the plugins is posted, please check for a warning message asking the buyers to delete the config/data files before uploading the updated plugin to your server. If this message appears, please follow the given instructions.


    WARNING: This wiki should be only modified by the author of the resource or any authorized users. Please if you found any error report it as per instructions from the support section of the main page of the resource.
  • Loading...
  • Loading...