> For the complete documentation index, see [llms.txt](https://ocassum-development.gitbook.io/ocassum-development/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ocassum-development.gitbook.io/ocassum-development/my-plugins/deluxejoin.md).

# DeluxeJoin

DeluxeJoin documentation

***

<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&amp;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
```
