Skip to content

raidcraft/rcreferrals

Repository files navigation

RCReferrals

Build Status GitHub release (latest SemVer including pre-releases) codecov Commitizen friendly semantic-release

A simple plugin that allows players to tell who referred them and both get rewards.

Configuration

# The timeout after which players cannot say why they came to the server.
# 1h, 1d, etc.
referral_timeout: "0s"
# The time in ticks to wait until posting the referral message to the player.
login_message_delay: 1200
types:
  # define various referral types here
  # the player gets listed all active types and can choose
  vote:
    name: Voting Top Liste
    description: Du bist über eine der Server Listen auf uns gestoßen.
    text: "eine "
    active: true
# An ART list of rewards new players get when they answer how they found the server.
new_player_rewards:
  - '!item diamond 20'
  - '!money 1000'
  - '!rcskills:exp 1000'
# An ART list of rewards for players that referred other players
player_rewards:
  - '!loot.create common'
  - '?referrals >5'
  - '!item diamond 20'
database:
  username: sa
  password: sa
  driver: h2
  url: "jdbc:h2:~/referrals.db"