RyanMood Docs
  • RyanMood Docs
  • Gamemode Change
    • Installation
    • Configuration Files
    • Commands & Permissions
  • PrivateChats
    • Installation
    • Configuration Files
      • Default Configs
      • chats.yml
      • events.yml
    • Supported Events
    • Commands & Permissions
    • Placeholders
    • API
    • PrivateDiscord
      • Configuration Files
        • Default Configs
      • Setup Discord Channels
Powered by GitBook
On this page

Was this helpful?

  1. PrivateChats
  2. PrivateDiscord

Setup Discord Channels

  • Navigate to your /plugins/PrivateChats/chats.yml

  • Under the chats you wish to intergrate discord into you need to add the following:

    discord: 
      id: CHANNEL ID
      embed:
        author: "%name%: %message%"
        authorIcon: "https://crafatar.com/avatars/%uuid%/?overlay=1"
        title: "%name%: %message%"
        description: "%name%: %message%"
        footer: "%name%"
        footerIcon: "https://crafatar.com/avatars/%uuid%/?overlay=1"
        timeStamp: true
        colour: "#ff0d00"

If you don't a feature of the embed, you can remove it, for example:

    discord: 
      id: CHANNEL ID
      embed:
        description: "%name%: %message%"
        colour: "#ff0d00"

Full Example:

  staffchat:
    name: "StaffChat"
    commands:
      - "staffchat"
      - "sc"
    chat_prefix: "#"
    send_perm: "privatechats.staffchat.send"
    read_perm: "privatechats.staffchat.read"
    format:
      message: "&7[&bStaffChat&7] &3%player%: %message%"
      event: "&7[&bStaffChat&7] &3%message%"
    event_message: true
    sent_message: false
    console: true
    toggle:
      enabled: true
      message: "&aYou have toggled StaffChat (%status%)!"
      commands:
        - "togglesc"
        - "togglestaffchat"
    hide:
      enabled: true
      message: "&aYou have %status% StaffChat!"
      commands:
        - "hidesc"
        - "hidestaffchat"
    discord: 
      id: CHANNEL ID
      embed:
        author: "%name%: %message%"
        authorIcon: "https://crafatar.com/avatars/%uuid%/?overlay=1"
        title: "%name%: %message%"
        description: "%name%: %message%"
        footer: "%name%"
        footerIcon: "https://crafatar.com/avatars/%uuid%/?overlay=1"
        timeStamp: true
        colour: "#ff0d00"
PreviousDefault Configs

Last updated 1 year ago

Was this helpful?