⚙️Configuration

Config files and key settings.

The DealOrNoDeal plugin provides several configuration files that allow server administrators to customize gameplay behavior, rewards, economy integration, and language settings.

All configuration files are located in the plugin directory:

/plugins/DealOrNoDeal/

Main Configuration File

The primary configuration file is:

config.yml

This file controls general plugin behavior such as language settings, economy integration, cooldowns, and optional gameplay features.


Language Setting

The plugin supports multiple languages through language files.

Example:

language: en

This option defines which language file will be used for plugin messages.

Language files are located in the languages folder.


Economy Configuration

The plugin supports multiple economy integration methods.

Example:

Available providers:

Provider
Description

VAULT

Uses the Vault plugin to integrate with economy plugins such as EssentialsX or CMI.

COMMAND

Executes custom commands to give or take money.

NONE

Disables automatic money rewards.


Custom Economy Commands

If the provider is set to COMMAND, the plugin will use commands to give or remove money.

Example:

Placeholders:

Placeholder
Description

%player%

Player name

%amount%

Money amount


Game Cooldown

The cooldown setting prevents players from starting multiple games within a short period of time.

Example:

Value explanation:

Value
Meaning

0

Cooldown disabled

>0

Number of minutes a player must wait before starting another game


Entry Tax

The plugin supports an optional entry tax system.

Example:

If this value is greater than zero, players must pay a tax before starting a game.

This feature requires a working Vault economy plugin.


Ticket System

The plugin also includes an optional ticket system.

Example:

Settings explanation:

Setting
Description

price

Price required to buy a game ticket

owner

Player who receives the money from ticket sales

If the owner field is empty or the player is offline, the money will be removed from the economy.


Reloading the Configuration

After making changes to the configuration files, you can reload the plugin without restarting the server.

Use the command:

This will reload all plugin configuration files.

Last updated