Configure Rewards
Configure Rewards
How to Configure Plugin Rewards
- Open the
config.yml
file of RewardAdsInter. You will find a structure like this:
database:
type: yaml # Options: mysql, sqlite, yaml
mysql:
host: localhost
port: 3306
database: rewards
table: rewards
username: root
password: password
sqlite:
file: database.db
menu:
size: 27
items-for-page: 18
main:
title: "&6Rewards List - Page "
edit:
title: "&8Reward: %reward% - Page "
rewards:
'1234567':
command:
- "say %player% %name% %cost% %id%"
- "ping"
'7654321':
command:
- "say HI"
-
Replace the numbers (1234567, 7654321, etc.) with your reward ID, which you can find in the RewardADs console, or configure it with
/rewardadsinter
. -
Customize the commands according to your needs.
Each reward ID represents a different reward, and the commands listed under each ID will be executed when the reward is claimed.