# Config file

```
# ================================================================================
#      ___   _                _    __  __
#     |   \ (_) _ _  ___  __ | |_ |  \/  | ___  ___ ___ __ _  __ _  ___
#     | |) || || '_|/ -_)/ _||  _|| |\/| |/ -_)(_-<(_-</ _` |/ _` |/ -_)
#     |___/ |_||_|  \___|\__| \__||_|  |_|\___|/__//__/\__,_|\__, |\___|
#                                                            |___/
# ================================================================================

# Direct Message Scoreboard Title
DM-Title: '&7Me &d-> &f{receiver}'

Sender-Color: '&7'
Receiver-Color: '&f'

Spy-Chat-Format: '&7[{sender} -> {receiver}] {message}'

# If a message exceeds this length, the message is split and a new line is entered.
Max-Message-Line-Length: 32

# After (seconds) the timeout, the default scoreboard will be switched.
# Supported scoreboard plugins: FeatherBoard, AnimatedScoreboard
Action-Timeout: 15

# If Catch-Send is true, all messages sent to the chat while the DM window is open will go to the player in the DM.
Catch-Send: true

Sounds:
  Notification:
    Sound: 'minecraft:block.note_block.bell'
    Pitch: 1.0
  Message:
    Sound: 'minecraft:entity.chicken.egg'
    Pitch: 1.0

Messages:
  Closed-DM: '&cDM has been turned off!'
  Entered-DM: '&aYou entered the DM with {receiver}!'
  Not-Yourself: '&cYou can''t correspond with yourself.'
  Already-In-DM: '&cYou''re already in DM with {receiver}!'
  Sent-You-Message: '&e{sender} sent you a message!'
  Click-To-Unblock: '&a[Click to unblock {player}]'
  Click-To-Enter-DM: '&a[Click to enter DM with {sender}]'
  You-Blocked: '&aYou blocked {player}!'
  You-Unblocked: '&aYou unblocked {player}!'
  Toggle-On: '&aDM is on!'
  Toggle-Off: '&cDM is off!'
  Catch-Send-On: '&aCatch Send option is enabled!'
  Catch-Send-Off: '&cCatch Send option is disabled!'
  You-Cant-Dm-Off: '&cYou can''t do this when DM is off.'
  Blocked-You: '&c{player} has blocked you!'
  Message-To-Blocked: '&cYou can''t send messages because you''ve blocked {player}.'
  List-Of-Blocked: '&7List of player you have blocked: &c'
  Already-Blocked: '&cYou already blocked {player}!'
  Already-Unblocked: '&cYou already unblocked {player}!'
  Immune-To-Block: '&cYou can''t block {player}!'
  No-Correspondence: '&cYou didn''t send or receive a message from anyone.'
  No-One-Blocked: '&cYour blocked list is empty!'
  Offline-Player: '&c{player} is not online!'
  Player-Not-Exists: '&c{player} not exists!'
  Config-Reloaded: '&aDM config reloaded successfully!'
  Command-DmBlock-Usage: '&cUsage: /block <player> - Blocks player from DM'
  Command-DmUnblock-Usage: '&cUsage: /unblock <player> - Unblocks player from DM'
  Command-Reply-Usage: '&cUsage: /reply <message> - Sends a message to the last player you messaged'
  Command-Help:
    - ""
    - "                            &dDirectMessage"
    - ""
    - " &7/dmhelp &7- &fShows the help menu"
    - " &7/dm &7- &fIf DM is open, it closes it"
    - " &7/dm &8<&dplayer&8> &7- &fOpens the DM window with the player"
    - " &7/dm &8<&dplayer&8> <&dmessage&8> &7- &fOpens the DM window with the &r                                        &l  &rplayer and sends message"
    - " &7/reply &8<&dmessage&8> &7- Sends a message to the last player you messaged"
    - " &7/block &8<&dplayer&8> &7- &fBlocks player from DM"
    - " &7/unblock &8<&dplayer&8> &7- &fUnblocks player from DM"
    - " &7/blocklist &7- &fShows your blocked list"
    - " &7/dmtoggle &7- &fEnables/disables DM"
    - " "

# You can configure subcommands and command completions from this section
Subs:
  dm:
    message: 'message'
  dmreply:
    message: 'message'
  dmsettings:
    catch-send: 'catch-send'
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pledix.gitbook.io/directmessage/files/config.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
