DsMessages - NobelD/NobleWhitelist GitHub Wiki

Placeholders:

  • <player_optional>

    • Replaces with all the player data available.
  • <player_data>

  • <account_entry>

  • <list_entry>

  • <page>

    • Replaces with the list page.
  • <only_op>

    • Replaces with status replacement.
  • <perm_min>

    • Replaces with the minimum bypass of the server or a status disabled.
  • <checking_name>

  • <checking_uuid>

  • <checking_perm>

  • <type>

  • <option>

  • <name>

    • Replaces with the player name.
  • <uuid>

    • Replaces with the player uuid.
  • <user_id>

    • Replaces with the discord id.
  • <toggle>

    • Replaces if the player can join or not.

Placeholders Replacement

  • Optional None: <player_optional>

    • Message to be used if don't has any data.
  • Optional Name: <player_optional>

    • Message to be used if the player has a name present.
  • Optional UUID: <player_optional>

    • Message to be used if the player has a uuid present.
  • Optional ID: <player_optional>

    • Message to be used if the player has a discord account linked.
  • Player Data: <player_data>

    • Message to be used as a extra placeholder.
  • Account Entry: <account_entry>

    • Replaces each entry of a list with this value.
  • List Entry: <list_entry>

    • Replaces each entry of a list with this value.
  • Toggled True: <toggle>

    • Message to be used if is true.
  • Toggled False: <toggle>

    • Message to be used if is false.
  • Status Enabled:

    • Mesagge to be used if some status message is enabled.
  • Status Disabled:

    • Mesagge to be used if some status message is disabled.
  • Checking Disabled:

    • Mesagge to be used if the specified checking is disabled.
  • Checking Optional:

    • Mesagge to be used if the specified checking is optional.
  • Checking Required:

    • Mesagge to be used if the specified checking is required.

Messages:

  • Discord:

    • Messages from Announce Channel in config.
  • Error:

    • Messages if there is an error on the commands.
  • Command:

    • Messages from the commands when is executed and has no error.

Format Examples:

mixed-example:
 type: mixed #Message Type
 content: "Message Content"
 body:
  content: "Embed Content" 

message-example:
 type: message
 content: "Message Content"
 ephemeral: false #If the message will be showed for all or only the user

embed-example:
  type: embed
  author:
    string: "Author title"
    url: "Url to redirect the title"
    icon: "Url to use as icon"
  body:
    title: "Body Title"
    url: "Url to redirect the title"
    content: "Embed Content"
    color: "FFFFFF"
  field:
    1:
      title: "Field Title 1"
      content: "Field Content 1"
      inline: false #If the field will be collapsed
    2:
      title: "Field Title 2"
      content: "Field Content 2"
      inline: false
    3:
      blank: true #If the field is blank
  image:
    url: # Max 4 images
      - Imagen Attachment 1
      - Imagen Attachment 2
      - Imagen Attachment 3
      - Imagen Attachment 4
    thumbnail: "Url thumbnail for the embed"
  footer:
    title: "Footer title"
    timestamp: 1702158291 #Footer Timestamp
    icon: "Url to use as icon"
⚠️ **GitHub.com Fallback** ⚠️