# DeluxeJoin

***

<div data-full-width="false"><figure><img src="https://1313343349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4F5m0ymSjmVFSOw67SOH%2Fuploads%2FLzDulCYewe6onvN2QUD9%2FDeluxeJoin.png?alt=media&#x26;token=60eee10b-ae3f-41ab-b84b-c68054a4eba2" alt=""><figcaption></figcaption></figure></div>

## Groups

### Syntax

```yaml
groups:
  <group_name>:
    weight: 0 #More weight = more priority
    permission: permission.example
    join-actions:
      <action_1>:
        type: <action_type>
        delay: <integer>
        #...action options...
    quit-actions:
      <action_1>:
        type: <action_type>
        delay: <integer>
        #...action options...
```

## Action types

All action types and their syntax

### MESSAGE

> Sends a message in chat

```yaml
1:
  type: MESSAGE
  broadcast: true #Send to all players?
  delay: 20 #Delay in ticks to send the action
  message: "STRING"
```

{% hint style="info" %}
Placeholders from [PlaceholderAPI](https://wiki.placeholderapi.com/users/placeholder-list/) and color codes are supported.
{% endhint %}

### TITLE

> Sends a title

```yaml
2:
  type: TITLE
  broadcast: true #Send to all players?
  delay: 20 #Delay in ticks to send the action
  title: "STRING" 
  subtitle: "STRING"
  times:
    fadeIn: 20 #In ticks
    stay: 20 #In ticks
    fadeOut: 20 #In ticks
```

### COMMAND

> Executes a command

```yaml
3:
  type: COMMAND
  delay: 20 #Delay in ticks to send the action
  executor: CONSOLE #CONSOLE/PLAYER
  command: "STRING" #Command without "/"
```

### ACTIONBAR

> Sends a message in actionbar

```yaml
4:
  type: ACTIONBAR
  broadcast: true #Send to all players?
  delay: 20 #Delay in ticks to send the action
  message: "STRING"
```

### SOUND

> Plays a sound

```yaml
5:
  type: SOUND
  broadcast: true #Send to all players?
  sound: ENTITY_PLAYER_LEVELUP #https://jd.papermc.io/paper/1.21.4/org/bukkit/Sound.html
  volume: 1.0
  pitch: 1.0
```


---

# Agent Instructions: 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://ocassum-development.gitbook.io/ocassum-development/my-plugins/deluxejoin.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.
