> For the complete documentation index, see [llms.txt](https://docs.playerpoof.com/playerpoof/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.playerpoof.com/playerpoof/modules/welcome.md).

# Welcome

## Overview

Let your virtual players be polite and greets new players on your server.

## Configuration

This module is definitively the most simple one to configure, in most cast the default configuration would work for your server.

### Delay section

```yaml
# Manage how long a player must be online before they can be welcomed.
delay:
  # The minimum delay between the first
  # player connection and the poof player greeting.
  # This is in seconds.
  minimum: 2

  # The maximum delay between the first
  # player connection and the poof player greeting.
  # This is in seconds.
  maximum: 10
```

This section allows you to configure the delay between the moment where a new player join the server and the moment where the virtual players greet him.

As for the other modules, you can configure the a delay range and the module will pick a random value within that range.

**Note that both options are in seconds.**

### Chance section

```yaml
# Control the probability of a poof player greeting a new player.
#
# This is being disabled by setting the probability to -1.
# It can be useful if you use a command to welcome players.
chance:
  # The minimum probability of a poof player greeting a new player.
  # This is a percentage.
  minimum: 10

  # The maximum probability of a poof player greeting a new player.
  # This is a percentage.
  maximum: 50
```

This section allows you to tweak the percentage of chance that a virtual players greets a new player.&#x20;

The module will pick a random value within that range and compares it to a random generated number, if it's above that number, the virtual players will greet the new player.

**Both options are percentages.**

### Command & Message

```yaml
# Only use if you have a custom welcome command.
# This option can be disabled by typing "none".
command: "/welcome"

# This option allows you to set the welcome message.
# You can use the following placeholder:
#   %player% - The player's name.
#
# This option will be disabled if you have a custom welcome command.
messages:
  - "&7Welcome to the server, &f%player%&7!"
```

In this section you can configure how players should greet new players.

{% hint style="warning" %}
If you define a command such as /welcome, the messages are not taken in count by the module.
{% endhint %}

If the command field is filled, virtual players will execute this command themselves on new player join.

Otherwise you can configure a set of messages, and the module will pick a random one when a new player join your server.


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.playerpoof.com/playerpoof/modules/welcome.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
