Guías · Archivos
config.yml
# ============================================================
# RoodyDonations · config.yml · by Roody
# Packages: packages.yml · Effects: effects.yml · Goal: goal.yml · GG waves: waves.yml
# Donor tiers: tiers.yml · Texts: lang/<language>.yml · Menus: menus/
# Everything can also be changed in game: /donations admin. /donations reload reads the files again.
#
# The store's command (Tebex, CraftingStore... run from the console):
# donations give <player> <amount> [package] [-anon] [-silent] [-nowave] [-seconds=20]
# ============================================================
# Language of the messages: the name of a file in lang/ (en, es, or your own).
language: en
# true = each player sees the texts in their Minecraft language when lang/ has that file.
per-player-language: true
# More names for the commands. If another plugin already uses a name, that plugin keeps it.
command-aliases:
donations: [donation, dono]
ggwave: [gwave]
# Your store, shown as {store} in the texts and in the menu.
store-link: "https://store.example.com"
# How amounts are written. {amount} = the number ("12,50"); "${amount}" for dollars.
currency:
format: "{amount}€"
# 0, 1 or 2.
decimals: 2
decimal-separator: ","
thousands-separator: "."
# true = "10€" instead of "10,00€".
hide-zero-decimals: true
# Announcements go out one at a time so two donations in a row never mix.
queue:
# Seconds between two announcements.
gap-seconds: 4
# More than this waiting: the next ones are shown at once.
max-waiting: 30
announcements:
# Players can hide announcements with /donations toggle (or in the menu); this is the default.
shown-by-default: true
# The face drawn in chat next to the announcement.
heads:
enabled: true
# Where the skin is looked for, in this order: the player's profile on this server (also the
# skin SkinsRestorer gave them), SkinsRestorer's storage, Mojang by name, the fallback below.
# When nothing works, the face that comes with the plugin is used: there is always a head.
sources: [profile, skinsrestorer, mojang, fallback]
# A player name (MHF_Steve...), a skin URL, or "" (a heads/fallback.png in the plugin folder
# wins over this). Used for anonymous donations and players without a skin.
fallback-skin: "MHF_Steve"
# Days a face found is kept in heads/ (0 = asked every time).
cache-days: 7
# The character each pixel is drawn with.
character: "█"
# true = the hat layer of the skin on top of the face.
hat-layer: true
# Where the donations are saved. sqlite = data.db in this folder; mysql = one database for all
# the servers of a network (the goal, the top and the tiers are shared). Needs a restart.
storage:
type: sqlite
table-prefix: "roodydon_"
mysql:
host: "127.0.0.1"
port: 3306
database: "roodydonations"
user: "root"
password: ""
options: "useSSL=false&characterEncoding=utf8"
# Name of this server, saved with each donation (for networks; "" = none).
server-name: ""
# A network (Velocity): put this same jar on the proxy too and turn this on in every server.
# Donations are announced on every server, a GG counts once in the whole network and the
# rewards go to the server where the player is. Use storage: mysql (one goal and top for all).
# The store can send its command to any server, or to the proxy ("donations give ..." there).
network:
enabled: false
# A name for this server, different on each one ("" = server-name, or server-<port>).
server-id: ""
# The same on every server (one is written here the first time it is empty).
secret: ""
# Messages to a Discord channel through a webhook (Channel settings > Integrations > Webhooks).
# The texts are in lang/ under discord.
discord:
enabled: false
webhook-url: ""
username: "Donations"
avatar-url: ""
# The image of the buyer's head ({name} or {uuid}).
head-url: "https://mc-heads.net/avatar/{name}/64"
color: "#F5C136"
send:
donation: true
milestone: true
goal-reached: true
wave-summary: false
# Tell the console and admins (permission roodydonations.update) when a new version is out
# on plugins.roody.es.
check-updates: true