Ya está aquí RoodyDonations v1.0.0Ver novedades →
RoodyTops
v1.0.0 Paper 1.20.4+ Gratis
Guías · Archivos

config.yml

# ============================================================
#  RoodyTops · config.yml · by Roody
#  Tops: tops.yml (or /tops). Texts: lang/<language>.yml. Menus: menus/.
#  Holograms, signs, heads and statues: displays.yml (made with /tops).
#  /tops reload reloads all of them.
# ============================================================

# Language of the messages: the name of a file in lang/ (en, es, or your own).
language: en
# true = each player sees the messages and holograms in their Minecraft language when lang/ has that file.
per-player-language: true

# More names for /tops. If another plugin already uses a name, that plugin keeps it.
command-aliases:
  tops: [top, lb]

# The period that menus, holograms and /tops <top> open with: all, daily, weekly, monthly or yearly.
default-period: all

# ------------------------------------------------------------
#  Where the tops are kept
# ------------------------------------------------------------
storage:
  # sqlite (data.db, one server), mysql (several servers share the same tops) or yaml (data.yml).
  type: sqlite
  table-prefix: "roodytops_"
  mysql:
    host: 127.0.0.1
    port: 3306
    database: roodytops
    user: root
    password: ""
    options: "useSSL=false&characterEncoding=utf8"
  # MySQL: every how many seconds the changes of the other servers are read.
  sync-seconds: 30

# Networks (MySQL). The name of this server, for "updated-on" in tops.yml: a top of vanilla
# statistics should be read by the server those statistics belong to (each server has its own);
# the others (a lobby) only show it.
server-name: server
network:
  # Only ONE server of the network closes the daily/weekly/monthly periods and gives the
  # rewards. Set it to false on every other server.
  closes-periods: true

# ------------------------------------------------------------
#  Reading the values
# ------------------------------------------------------------
update:
  # Every online player is read again after this many seconds...
  seconds: 20
  # ...this many players per tick, so a big server never reads everyone at once.
  players-per-tick: 20
# Changes are written every this many seconds (and when the server stops).
save-seconds: 60

# When daily, weekly, monthly and yearly periods start.
periods:
  # "server" = the time zone of the machine; or one like Europe/Madrid, America/New_York, UTC.
  timezone: server
  # Hour of the day (0-23).
  reset-hour: 0
  # First day of the week: MONDAY, SUNDAY...
  week-starts: MONDAY

# Players left out of every top (they are still counted, just not shown).
exclude:
  # Whoever has this permission given on purpose (being op is not enough).
  permission: roodytops.exclude
  # Players hidden with /tops hide <player>.
  players: []
  # Banned players are not shown.
  hide-banned: true

rewards:
  # Players who are not online when a period ends: pending (they get it when they join, on any
  # server of the network) or skip (only commands run; messages and items are lost).
  offline: pending
  # How many positions the end-of-period announcement shows (0 = no announcement).
  announce-top: 3

# Fill the tops with the players who are not online (vanilla statistics, Vault money and
# placeholders that work offline) the first time a top exists on this server. /tops import does it again.
import:
  on-first-start: true
  players-per-tick: 25

# ------------------------------------------------------------
#  Displays (each hologram can change these in displays.yml or with /tops hologram set)
# ------------------------------------------------------------
holograms:
  # Players closer than this see them (blocks). Nothing is spawned while nobody is near.
  view-range: 48
  # Every how many seconds their texts are updated.
  update-seconds: 5
  # Positions shown (per page).
  rows: 10
  # The head of the #1 spinning on top.
  head: true
  # A line under it with each player's own position (only they see it).
  your-position: true
  # Right click = next period, left click = next top (when it shows several) or page.
  click: true
  # default (the vanilla dark one), none, or a colour #RRGGBB / #AARRGGBB.
  background: default

signs:
  # Signs, heads and statues are updated every this many seconds.
  update-seconds: 10

statues:
  # auto = a Mannequin with the player's skin on 1.21.9+ and an armour stand with their head
  # before; mannequin; armorstand; citizens (a Citizens NPC, when Citizens is installed).
  type: auto
  # Mannequins already wear the player's skin; true = the armour below too.
  armor-on-mannequin: false
  # Armour of each position (none = nothing). color: for leather pieces.
  armor:
    "1": {chestplate: GOLDEN_CHESTPLATE, leggings: GOLDEN_LEGGINGS, boots: GOLDEN_BOOTS}
    "2": {chestplate: IRON_CHESTPLATE, leggings: IRON_LEGGINGS, boots: IRON_BOOTS}
    "3": {chestplate: LEATHER_CHESTPLATE, leggings: LEATHER_LEGGINGS, boots: LEATHER_BOOTS, color: "#CD7F32"}
    others: {chestplate: CHAINMAIL_CHESTPLATE, leggings: none, boots: none}

chat:
  # Positions per page of /tops <top>.
  page-size: 10

# Tell the console and admins (permission roodytops.update) when a new version is out
# on plugins.roody.es.
check-updates: true

# Every 30 minutes the plugin sends anonymous server statistics to plugins.roody.es:
# players online and maximum, Minecraft and Java version and the software (Paper,
# Purpur...). Nothing about your players. Set to false to turn them off.
metrics: true