# commands.yml

<details>

<summary>Config</summary>

```


# ╔══════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
# ║                                                  PLUGIN COMMANDS                                                 ║
# ╚══════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝

commands:
  base:
    permission: "baseraiders.base.use"
    description:
      - "Base BaseRaiders command."
    messages:
      missing-permission:
        - "You don't have permission to use /base"
      no-command:
        - "<dark_gray>[<gold><b>BaseRaiders</b><dark_gray>] <gray>Protection blocks"
        - " <gray>Plugin version: <green>%plugin-current-version%"
        - " <gray>Latest version: <green>%plugin-latest-version%"
        - " <gray>Update link:"
        - "  <dark_gray>- <green>%plugin-update-link%"
    # Sub commands
    sub-commands:
      reload:
        permission: "baseraiders.base.admin.use.reload"
        description:
          - "Base reload command."
        messages:
          missing-permission:
            - "You don't have permission to use /base reload"
          success:
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] - <gray>Configuration reloaded"
      leave:
        permission: "baseraiders.base.use.leave"
        description:
          - "Base leave command."
        messages:
          missing-permission:
            - "You don't have permission to use /base leave"
          insufficient-arguments:
            - " "
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] - <red>Missing arguments"
            - "<dark_gray>・<gray>base leave <protection-name>"
            - " "
          not-found:
            - "<red>You are not part of any protections with that name!"
          success:
            - "<gray>You are no longer a member of the specified protection."
      invite:
        permission: "baseraiders.base.use.invite"
        description:
          - "Base invite command."
        messages:
          missing-permission:
            - "You don't have permission to use /base invite"
          insufficient-arguments:
            - " "
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] - <red>Missing arguments"
            - "<dark_gray>・<gray>base invite <player> <protection-name>"
            - " "
          invalid-invite:
            - " "
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] - <red>Invalid invite"
            - "<dark_gray>・<gray>You have no active invites by that ID."
            - " "
          invite-self:
            - " "
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] - <red>Invalid target"
            - "<dark_gray>・<gray>You can't invite yourself."
            - " "
          protection-not-found:
            - " "
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] - <red>Not found"
            - "<dark_gray>・<gray>You don't own any protections with that name."
            - " "
          already-invited:
            - "<red>This player already has a pending invite!"
          already-a-member-target:
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] <gray>You are already a member of this protection!"
          already-a-member-sender:
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] <gray>%target-name% is already a member of this protection!"
          join-limit-target:
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] <gray>You can't join any more protections!"
          join-limit-sender:
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] <gray>%target-name% has joined too many protections and can't receive invites."
          target-invite-accepted:
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] <gray>You have accepted the invite!"
          sender-invite-accepted:
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] <gray>%target-name% has accepted the invite!"
          target-invite-declined:
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] <gray>You have declined the invite!"
          sender-invite-declined:
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] <gray>%target-name% has declined the invite!"
          sent-target:
            - " "
            - "<dark_gray>[<green><b>INVITE</b><dark_gray>] - <gray>You have received a protection invite!"
            - "<dark_gray>> <gray>From: <gold>%protection-name%"
            - "    <hover:show_text:'<gray>Click to accept.'><click:run_command:'/base invite accept %protection-invite-id%'><dark_gray>[<green>ACCEPT<dark_gray>]</click></hover>  <gray>|  <hover:show_text:'<gray>Click to deny.'><click:run_command:'/base invite decline %protection-invite-id%'><dark_gray>[<red>DECLINE<dark_gray>]</click></hover>"
            - " "
          sent-sender:
            - "<gray>Invite sent to %target-name%."
          expired:
            - "<gray>Invite expired."
      kick:
        permission: "baseraiders.base.use.kick"
        description:
          - "Base kick command."
        messages:
          missing-permission:
            - "You don't have permission to use /base kick"
      give:
        permission: "baseraiders.base.admin.use.give"
        description:
          - "Base give command."
        messages:
          missing-permission:
            - "You don't have permission to use /base give"
          insufficient-arguments:
            - " "
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] - <red>Missing arguments"
            - "<dark_gray>・<gray>base give <player> <item> <amount>"
            - " "
          item-not-found:
            - " "
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] - <red>Item not found"
            - "<dark_gray>・<gray>The item id <yellow>%item-name%<gray> was not found."
            - " "
          target-not-found:
            - " "
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] - <red>Player not found"
            - "<dark_gray>・<gray>The player <yellow>%target-name%<gray> was not found."
            - " "
          sender-success:
            - " "
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] - <gray>Gave <green>%target-name% <yellow>%item-name% <dark_gray>(x%item-amount%)"
            - " "
          target-success:
            - " "
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] - <gray>You have received <yellow>%item-name% <dark_gray>(x%item-amount%)"
            - " "
      place:
        permission: "baseraiders.base.admin.use.place"
        description:
          - "Base place command."
        messages:
          missing-permission:
            - "You don't have permission to use /base place"
          insufficient-arguments:
            - " "
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] - <red>Missing arguments"
            - "<dark_gray>・<gray>base place <protection_type> <world> <x> <y> <z> <owner_name>"
            - " "
          item-not-found:
            - " "
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] - <red>Item not found"
            - "<dark_gray>・<gray>The item id <yellow>%item-name%<gray> was not found."
            - " "
          invalid-item-data:
            - " "
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] - <red>Invalid protection data"
            - "<dark_gray>・<gray>The item id <yellow>%item-name%<gray> was not found / is not a protection block."
            - " "
          world-not-found:
            - " "
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] - <red>World not found"
            - "<dark_gray>・<gray>Couldn't find any loaded worlds with that name."
            - " "
          invalid-coords:
            - " "
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] - <red>Invalid coords"
            - "<dark_gray>・<gray>Invalid coordinates for X, Y or Z."
            - " "
          success:
            - " "
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] - <gray>Protection block placed!"
            - " "
      bypass:
        permission: "baseraiders.base.admin.use.bypass"
        description:
          - "Base bypass command."
        messages:
          missing-permission:
            - "You don't have permission to use /base bypass"
          target-not-found:
            - " "
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] - <red>Player not found"
            - "<dark_gray>・<gray>The player <yellow>%target-name%<gray> was not found."
            - " "
          success:
            - " "
            - "<dark_gray>[<gold><b>BR</b><dark_gray>] - <gray>Bypass for %target-name% <gray>is now %bypass-status%!"
            - " "
```

</details>
