Configuration
On this page(35)
SnFullPvpCore ships with the following YAML files. New keys are auto-merged on boot; your edits and comments are preserved.
Every module has its own modules/<id>/config.yml, plus language files under lang/ and modules/<id>/lang/ in English and Spanish. The folders currencies/, tiers/, items/, mines/, events/ and trades/ and compress.yml are seeded once on the first install and then read from disk only: the files below are the examples, copy one to add content, delete one to remove it.
config.yml
# ============================================================
# SnFullPvpCore - configuration
# Managed by SnLib: new keys are auto-merged on boot; your values and
# comments are preserved. Do NOT add a config-version key (retired).
# Set update-configs: false to freeze this file (SnLib only warns about
# missing keys instead of inserting them).
# Sections marked "# sn:extensible" are yours: entries you delete there
# stay deleted.
# ============================================================
# Active language code; loads lang/messages_<code>.yml (falls back to en).
lang: en
# Master switch of the SnLib auto-updater for this plugin's managed files.
update-configs: true
# Runtime debug output (also toggleable live via /fullpvp debug).
debug:
# Master toggle of the debug output.
enabled: false
# Verbosity threshold: OFF, INFO, DEBUG or TRACE.
level: DEBUG
# Category filter; an empty list lets every category through.
categories: []
# ------------------------------------------------------------
# Main command.
# ------------------------------------------------------------
command:
# Aliases of /fullpvp. Re-read on /fullpvp reload.
aliases: [fpc]
# ------------------------------------------------------------
# Database. type=sqlite needs nothing else; type=mysql reads host/port/etc.
# ------------------------------------------------------------
database:
# sqlite or mysql
type: sqlite
# MySQL connection (ignored when type is sqlite).
host: localhost
port: 3306
database: snfullpvpcore
username: root
password: ""
# ------------------------------------------------------------
# Public developer API.
# ------------------------------------------------------------
# Public developer API events. When false, no API event is dispatched (zero
# cost) and cancellable hooks report "not cancelled" so gameplay proceeds.
# The query facade stays available either way.
api-events:
enabled: true
# ============================================================
# 1. MODEL
# ============================================================
# ------------------------------------------------------------
# Modules. true turns a module on, false turns it off; applied on
# /fullpvp reload. A module whose dependency is off or missing stays
# off with one warning (see /fullpvp modules).
# ------------------------------------------------------------
modules:
# Multi-currency economy (currencies/*.yml).
currencies: true
# Data-driven gear: armor tiers (tiers/*.yml) and items (items/**/*.yml).
items: true
# Combat tag, combat log, command blocking and safe-zone lock.
combat: true
# Personal PvP toggle, newbie protection and the protected-gain penalty.
pvp: true
# Cooldowns of PvP items (pearls, apples, totems...).
cooldowns: true
# Elytra rules in combat and per zone.
elytra: true
# Death rules, loot protection, currency transfer and anti-farm.
death: true
# Kill streaks, milestone rewards and bounty.
streaks: true
# Leaderboards and the tops menu.
tops: true
# Upgrade menu (needs items and currencies).
upgrade: true
# Compress, decompress and autocompact (needs items).
compress: true
# Villager-style trades with an in-game editor (needs items).
trades: true
# Currency and drop mines on SnMines (needs currencies and SnMines).
mines: true
# Timed mine events with a glowing outline (needs mines).
events: true
# Mine drop magnet: DROP mine rewards go straight into the inventory (used by mines).
magnet: true
# ============================================================
# 2. FEATURES
# ============================================================
# ------------------------------------------------------------
# Player commands. Each list holds the aliases of that command and is
# re-read on /fullpvp reload; an empty list removes every alias.
# ------------------------------------------------------------
commands:
pvp:
aliases: []
upgrade:
aliases: []
compress:
aliases: []
decompress:
aliases: []
autocompact:
aliases: []
magnet:
aliases: []
streak:
aliases: []
tops:
aliases: []
# ------------------------------------------------------------
# Multipliers. How the factors of every active source (mine events, worn
# sets, held items, the PvP-off penalty) combine into one total.
# ------------------------------------------------------------
multipliers:
# How factors combine: multiply (x3 and x2 give x6) or add (x3 and x2 give x4).
stacking: multiply
# Highest total multiplier a gain can reach; 0 = no cap.
max: 0
# ------------------------------------------------------------
# Player profiles (PvP state, newbie time, toggles, stats, balances).
# A profile is always saved on quit and at shutdown as well.
# ------------------------------------------------------------
profiles:
# Seconds between saves of the profiles that changed (minimum 10).
flush-interval: 300rules.yml
# ============================================================
# SnFullPvpCore - rules
# Managed by SnLib: new actions are auto-merged on boot; your values and
# comments are preserved. Do NOT add a config-version key (retired).
# Check the verdicts at a player's position with /fullpvp rules check [player].
# ============================================================
#
# Every action below is allowed or denied per world and per zone.
#
# mode: blacklist -> the action is DENIED inside any listed world or zone, allowed elsewhere.
# mode: whitelist -> the action is ALLOWED only inside a listed world or zone, denied elsewhere.
# zones: "wg:<region>", "mine:<id>", "mine:*", "koth:<id>", "koth:*",
# "koth-active:<id>", "koth-active:*" (only while that KOTH is running)
#
# Blacklist with empty lists means allowed everywhere.
# Whitelist with empty lists means allowed nowhere.
# worlds: world names, case-insensitive. zones: ids are case-insensitive.
# wg: needs WorldGuard, mine: needs SnMines, koth: and koth-active: need SnKoths.
# When that plugin is missing, its entries are ignored with one warning per reload.
# Action rules, one entry per action: { mode, worlds, zones }.
actions:
# Combat tag module.
combat:
# Tagging both players on a PvP hit.
tag: { mode: blacklist, worlds: [], zones: [] }
# Blocking the configured commands while tagged.
commands: { mode: blacklist, worlds: [], zones: [] }
# Walking or teleporting in while tagged; a denied zone is a safe zone with pushback.
enter-while-tagged: { mode: blacklist, worlds: [], zones: ["wg:spawn"] }
# Personal PvP toggle module.
pvp:
# Using /pvp on and /pvp off.
toggle: { mode: blacklist, worlds: [], zones: [] }
# PvP-off and newbie protection; denied means PvP is forced there.
protection: { mode: blacklist, worlds: [], zones: [] }
# Item cooldowns module, one action per cooldown entry (cooldown.<entry>).
cooldown:
# Ender pearl cooldown.
ender-pearl: { mode: blacklist, worlds: [], zones: [] }
# Golden apple cooldown.
golden-apple: { mode: blacklist, worlds: [], zones: [] }
# Enchanted golden apple cooldown.
enchanted-golden-apple: { mode: blacklist, worlds: [], zones: [] }
# Totem of undying cooldown.
totem: { mode: blacklist, worlds: [], zones: [] }
# Chorus fruit cooldown.
chorus-fruit: { mode: blacklist, worlds: [], zones: [] }
# Wind charge cooldown.
wind-charge: { mode: blacklist, worlds: [], zones: [] }
# Firework rocket boost cooldown while gliding.
firework-boost: { mode: blacklist, worlds: [], zones: [] }
# Elytra module.
elytra:
# Gliding with an elytra.
glide: { mode: blacklist, worlds: [], zones: [] }
# Swapping a worn elytra for the best chestplate when tagged.
combat-swap: { mode: blacklist, worlds: [], zones: [] }
# Death module.
death:
# Keeping the whole inventory on death.
keep-inventory: { mode: whitelist, worlds: [], zones: ["wg:spawn"] }
# Losing currency on death, and its transfer to the killer.
currency-loss: { mode: blacklist, worlds: [], zones: [] }
# Reserving the victim's drops for the killer for a few seconds.
loot-protection: { mode: blacklist, worlds: [], zones: [] }
# Kill streaks module.
streak:
# Counting a kill towards the killer's streak.
count: { mode: blacklist, worlds: [], zones: [] }
# Paying the streak milestone rewards.
rewards: { mode: blacklist, worlds: [], zones: [] }
# Paying the bounty of an ended streak.
bounty: { mode: blacklist, worlds: [], zones: [] }
# Item engine.
items:
# Passive potion effects of special items.
passive-effects: { mode: blacklist, worlds: [], zones: [] }
# Right-click abilities of special items.
abilities: { mode: blacklist, worlds: [], zones: [] }
# Armor set bonuses.
set-bonuses: { mode: blacklist, worlds: [], zones: [] }
# Upgrade module.
upgrade:
# Opening the upgrade menu.
open: { mode: blacklist, worlds: [], zones: [] }
# Mine drop magnet.
magnet: { mode: blacklist, worlds: [], zones: [] }
# Automatic compacting of picked up items.
autocompact: { mode: blacklist, worlds: [], zones: [] }
# Compress module.
compress:
# Using /compress and /decompress.
use: { mode: blacklist, worlds: [], zones: [] }
# Trades module.
trades:
# Opening a trade menu.
open: { mode: blacklist, worlds: [], zones: [] }
# Currencies module.
currency:
# Paying currency to another player.
pay: { mode: blacklist, worlds: [], zones: [] }compress.yml
# ============================================================
# SnFullPvpCore - compress chains (compress module)
# This file is seeded once on the first install and then read from disk
# only: it is yours, nothing is merged back into it. Edits apply on
# /fullpvp reload.
#
# A chain lists its steps from the base item up; each step is made from
# "ratio" units of the step before it.
# item: a vanilla material (IRON_INGOT), which matches PLAIN stacks
# only (no name, lore, enchantments or plugin data), or
# "core:<id>", a core item of items/ or tiers/ (matched by id).
# ratio: units of the previous step one unit of this step takes
# (2 or more; not read on the first step).
# display-name: optional name of the step in messages; a core item uses
# its own display-name, the first step the chain's.
# An item belongs to at most one chain: a chain that repeats an item of an
# earlier chain (or lists one twice) is skipped with a console warning, and
# so is a chain with fewer than two steps or a step that does not resolve.
# /compress makes a step from the one below it, /decompress turns a step
# back into the one below it, and autocompact runs every step of the
# chains with auto: true when items enter the inventory.
# ============================================================
# The chains, by id (lowercase letters, digits, _ and -).
# sn:extensible
chains:
iron:
# Name of the chain in the menus and messages.
display-name: "&fIron"
# Eligible for autocompact.
auto: true
# The steps, from the base item up.
steps:
- item: IRON_INGOT
- { item: "core:compressed_iron", ratio: 9 }
- { item: "core:compressed_iron_block", ratio: 9 }modules/combat/config.yml
# ============================================================
# SnFullPvpCore - combat module
# Managed by SnLib: new keys are auto-merged on boot; your values and
# comments are preserved. Where each part applies is decided in rules.yml
# (combat.tag, combat.commands, combat.enter-while-tagged).
# ============================================================
# Combat tag of a player-versus-player hit (both players are tagged).
tag:
# Seconds a tag lasts; every new hit restarts it.
duration: 15
# Which kinds of hit tag.
sources:
# A direct hit by a player (also plugin damage dealt as a player).
melee: true
# Arrows, tridents, snowballs and other projectiles shot by a player.
projectiles: true
# Harmful splash and lingering potions thrown by a player.
potions: true
# Tamed pets of a player.
pets: true
# The hook of a player's fishing rod.
fishing-rod: false
# Players that are never tagged (creative and spectator players never are either).
exclude:
# Metadata key that marks an NPC (Citizens uses NPC); empty turns the check off.
npc-metadata: "NPC"
# Metadata key that marks a vanished player (most vanish plugins use vanished); empty turns the check off.
vanish-metadata: "vanished"
# What a tagged player sees and hears.
display:
# Countdown in the action bar, refreshed every second.
actionbar: true
# Countdown in a boss bar.
bossbar:
# Shows the boss bar.
enabled: false
# Bar color: PINK, BLUE, RED, GREEN, YELLOW, PURPLE or WHITE.
color: RED
# Bar style: PROGRESS, NOTCHED_6, NOTCHED_10, NOTCHED_12 or NOTCHED_20.
overlay: PROGRESS
# Chat message when a tag starts and when it runs out.
messages: true
# Sounds as "SOUND [volume] [pitch]"; none turns one off.
sounds:
# Played when a tag starts.
tagged: "BLOCK_NOTE_BLOCK_BASS 1 0.6"
# Played when a tag runs out.
untagged: "ENTITY_EXPERIENCE_ORB_PICKUP 1 1"
# Quitting while tagged.
combat-log:
# Kills a player who quits while tagged (drops follow the death rules, the kill goes to the last attacker).
enabled: true
# A kick while tagged also counts as a combat log.
punish-on-kick: false
# Announces a combat log to the whole server.
broadcast: true
# Tells players with fullpvpcore.notify about a combat log.
notify-staff: true
# Commands while tagged (fullpvpcore.bypass.combat-commands skips this).
commands:
# blacklist blocks the listed commands; whitelist blocks every command that is not listed.
mode: blacklist
# Command names without the slash; aliases of a listed command are covered too.
list:
- spawn
- home
- homes
- warp
- tpa
- tpahere
- tpaccept
- back
- fly
- ec
- enderchest
# Zones where combat.enter-while-tagged is denied (fullpvpcore.bypass.safezone skips this).
safe-zone:
# Horizontal speed of the push away from the zone.
pushback-strength: 0.8
# Upward speed of the push away from the zone.
pushback-vertical: 0.25
# Seconds between two "you cannot enter" messages to the same player.
message-cooldown: 2
# Cancels teleports into the zone (ender pearls, chorus fruit, commands, plugins).
cancel-teleports: true
# Fake wall shown only to a tagged player at the edge of a safe zone. Works for box-shaped
# zones (WorldGuard cuboid regions, mines, KOTHs); other zones get the pushback only.
visual-wall:
# Shows the wall.
enabled: true
# Block the wall is made of; it only replaces air.
material: RED_STAINED_GLASS
# Blocks around the player in which the wall shows (1-16).
radius: 6
# Ticks between two wall updates of a moving player (1-40).
update-ticks: 5modules/compress/config.yml
# ============================================================
# SnFullPvpCore - compress module
# Managed by SnLib: new keys are auto-merged on boot; your values and
# comments are preserved. The chains live in compress.yml (plugin folder),
# the menus in modules/compress/guis/.
# ============================================================
# A click in the /compress menu keeps compressing up the chain with what it just made.
cascade: true
# Autocompact (permission fullpvpcore.autocompact plus the /autocompact toggle).
autocompact:
# Show an action bar with what an automatic compaction made.
notify: truemodules/cooldowns/config.yml
# ============================================================
# SnFullPvpCore - cooldowns module
# Managed by SnLib: new keys are auto-merged on boot; your values and
# comments are preserved. The entries section is not merged: entries
# you delete stay deleted.
# ============================================================
# Seconds between two "wait X seconds" messages to the same player; 0 sends one for every blocked use.
message-interval: 1
# Cooldown entries; the key is the entry id (lowercase [a-z0-9_-]), also used by rule cooldown.<id> and %fullpvpcore_cooldown_<id>%.
# material: vanilla material of the item, by name; an unknown one skips the entry with a warning.
# item: "core:<id>" instead of material: only stacks of that core item (needs the items module).
# seconds: seconds the item stays blocked after a use.
# group: entries with the same group share ONE cooldown (using one arms them all).
# only-in-combat: the cooldown only runs while the player is combat tagged (needs the combat module).
# vanilla-overlay: shows the grey cooldown sweep on the item (ignored for item: core:<id>).
# message: text shown while blocked instead of the language file one; {time} and {entry} work.
# The kind of use is picked from the material: eaten or drunk, thrown, a totem, or a firework rocket boost.
# Rule cooldown.<id> of rules.yml turns the cooldown off where it is denied; permission fullpvpcore.bypass.cooldowns skips it.
# sn:extensible
entries:
# Ender pearl, 15 seconds.
ender-pearl: { material: ender_pearl, seconds: 15, only-in-combat: false, vanilla-overlay: true }
# Golden apple, 10 seconds, shared with the enchanted one.
golden-apple: { material: golden_apple, seconds: 10, group: apples, only-in-combat: false, vanilla-overlay: true }
# Enchanted golden apple, 120 seconds, shared with the golden one.
enchanted-golden-apple: { material: enchanted_golden_apple, seconds: 120, group: apples, only-in-combat: false, vanilla-overlay: true }
# Totem of undying, 60 seconds: on cooldown it does not save the player.
totem: { material: totem_of_undying, seconds: 60, only-in-combat: false, vanilla-overlay: true }
# Chorus fruit, 10 seconds.
chorus-fruit: { material: chorus_fruit, seconds: 10, only-in-combat: false, vanilla-overlay: true }
# Wind charge, 3 seconds (1.21+; skipped with a warning on an older server).
wind-charge: { material: wind_charge, seconds: 3, only-in-combat: false, vanilla-overlay: true }
# Firework rocket boost while gliding, 5 seconds.
firework-boost: { material: firework_rocket, seconds: 5, only-in-combat: false, vanilla-overlay: true }modules/currencies/config.yml
# ============================================================
# SnFullPvpCore - currencies module
# Managed by SnLib: new keys are auto-merged on boot; your values and
# comments are preserved. The currencies themselves live in currencies/.
# ============================================================
# Records balance changes in the database table fpc_currency_log.
log-transactions: true
# Sources that are recorded: MINE, KILL_TRANSFER, STREAK, BOUNTY, ADMIN, PAY, TRADE, STARTING.
# MINE is left out by default because every mined block would write one row.
log-sources: [KILL_TRANSFER, STREAK, BOUNTY, ADMIN, PAY, TRADE]
# Days a log row is kept; the daily prune deletes older rows. 0 keeps every row.
log-retention-days: 30
# When the daily prune runs: "daily HH:MM" or a 5-field cron expression.
log-prune-at: "daily 04:00"
# /<currency> pay.
pay:
# A combat-tagged player cannot pay (stops moving money to an alt before a death loss).
block-while-tagged: truemodules/death/config.yml
# ============================================================
# SnFullPvpCore - death module
# Managed by SnLib: new keys are auto-merged on boot; your values and
# comments are preserved. Where each part applies is decided in rules.yml
# (death.keep-inventory, death.loot-protection, death.currency-loss); how
# much currency a death costs lives in each currencies/<id>.yml (death.*).
# ============================================================
# Deaths where rule death.keep-inventory allows it: the whole inventory is kept.
keep-inventory:
# Also keeps the experience levels (and drops no experience).
keep-level: false
# Drops of a player killed by another player, where rule death.loot-protection allows it.
loot-protection:
# Seconds only the killer can pick up the drops; 0 turns loot protection off.
seconds: 20
# The currency a death costs (amounts are set per currency in currencies/<id>.yml).
currency-loss:
# A farmed kill still costs the victim and pays the killer like a valid kill.
farmed-kill-still-loses: false
# A farmed kill counts for nothing: no currency loss, no kill or death stat, no streak, no bounty.
anti-farm:
# Turns every check below off: every kill counts.
enabled: true
# The same killer killing the same victim again and again.
pair:
# Kills of one victim by one killer that count within the window; the next ones are farmed. 0 turns the check off.
max-kills: 3
# Length of the window: 30s, 10m, 1h or a number of seconds.
window: 10m
# A kill between two players connected from the same IP address is farmed. Behind a proxy, turn on IP forwarding first.
same-ip: true
# A victim with no armor and no weapon.
naked:
# Armor points below this, with no weapon in either hand, make the victim naked. 0 turns the check off.
min-armor-points: 1
# Materials that count as a weapon; "*_SWORD" matches every material ending in _SWORD.
weapons: ["*_SWORD", "*_AXE", TRIDENT, BOW, CROSSBOW, MACE]
# Core item categories (the category key of items/**/<id>.yml) that always count as a weapon.
core-categories: [weapon, bow, special]modules/elytra/config.yml
# ============================================================
# SnFullPvpCore - elytra module
# Managed by SnLib: new keys are auto-merged on boot; your values and
# comments are preserved. Where each part applies is decided in rules.yml
# (elytra.glide, elytra.combat-swap). Players with fullpvpcore.bypass.elytra
# skip every part of this module.
# ============================================================
# Seconds between two "blocked" messages to the same player; 0 sends one for every blocked attempt.
message-interval: 2
# What a combat tag does to a worn elytra: it comes off and the best chestplate of the inventory goes on.
# While tagged an elytra cannot be put on again, whatever this section says.
swap:
# Turns the swap off (rule elytra.combat-swap also turns it off per world and zone).
enabled: true
# With no chestplate in the inventory the elytra is still taken off and the chest slot stays empty; false keeps it on.
remove-without-chestplate: true
# Seconds only the player can pick up an elytra that dropped because the inventory was full; 0 lets anyone take it at once.
loot-protection-seconds: 20modules/events/config.yml
# ============================================================
# SnFullPvpCore - events module
# Managed by SnLib: new keys are auto-merged on boot; your values and
# comments are preserved. What each event does lives in events/<id>.yml
# (plugin folder), read from disk only. Needs the mines module.
# ============================================================
# The random rotation: every interval it starts ONE event picked by weight.
rotation:
# Start events on their own. false leaves them to /fullpvp event start.
enabled: true
# Time between two rotation attempts (30m, 1h, 1h 30m); at least 10 seconds.
interval: 45m
# The rotation starts nothing while this many events run. Manual starts ignore it; 0 stops the rotation.
max-concurrent: 1
# The glowing outline of the mines an event runs on.
glow:
# false draws no outline for any event (no display entity is spawned).
enabled: true
# Most mines one event outlines, 12 display entities each; the others still get the multiplier.
max-mines-per-event: 8
# Highest view-range an event file may use, 1.0 = 64 blocks; 0.1 to 10.
max-view-range: 4.0
# The boss bar of a running event.
bossbar:
# false shows no boss bar for any event.
enabled: true
# PROGRESS, NOTCHED_6, NOTCHED_10, NOTCHED_12 or NOTCHED_20.
overlay: PROGRESSmodules/items/config.yml
# ============================================================
# SnFullPvpCore - items module
# Managed by SnLib: new keys are auto-merged on boot; your values and
# comments are preserved. The items themselves live in tiers/ (armor
# sets) and items/ (every other item).
# ============================================================
# What happens to a core item whose id no longer exists in tiers/ or items/:
# keep (the stack stays, without its behavior) or remove (the stack is deleted).
orphan-policy: keep
# Item sync after /fullpvp reload.
sync:
# Online players whose inventories are synced per tick.
players-per-tick: 5
# Armor set bonuses (bonuses: of each tiers/ file).
set-bonuses:
# Applies the set bonuses at all.
enabled: true
# Set bonus potion effects are ambient (fainter particles, beacon style).
ambient: true
# Set bonus potion effects show particles.
particles: false
# Potion effects of special items (passive-effects: of an item file).
passive-effects:
# Passive potion effects are ambient (fainter particles, beacon style).
ambient: true
# Passive potion effects show particles.
particles: false
# Highest amount /fullpvp item give hands out in one command.
give-max-amount: 2304
# Vanilla guard: core items never go into an anvil, enchanting table, grindstone,
# smithing table, crafting grid, furnace or brewing stand (the item files decide).
guard:
# Tells the player in the action bar why a station gives no result.
notify: true
# Seconds between two of those messages to the same player.
notify-cooldown: 3modules/magnet/config.yml
# ============================================================
# SnFullPvpCore - magnet module
# Managed by SnLib: new keys are auto-merged on boot; your values and
# comments are preserved. The magnet is active for a player with the
# fullpvpcore.magnet permission, the /magnet toggle on and rule magnet
# (rules.yml) allowing it where they stand.
# ============================================================
# The action bar shown when the magnet cannot fit every item in the inventory.
full-notice:
# Show the action bar.
enabled: true
# Seconds before the same player sees it again.
cooldown: 3modules/mines/config.yml
# ============================================================
# SnFullPvpCore - mines module
# Managed by SnLib: new keys are auto-merged on boot; your values and
# comments are preserved. What each mine pays lives in mines/<id>.yml
# (plugin folder), read from disk only.
# Rewards are paid on SnMines' block-break event, so SnMines needs
# api-events.enabled: true in its own config.yml (its default).
# ============================================================
# Players in creative mode also get the core reward of a profiled mine. Off: they get
# nothing from the core and SnMines keeps its own creative behavior.
allow-creative: false
# The currency gain action bar of CURRENCY profiles.
summary:
# Show one action bar per player instead of one message per block.
enabled: true
# Seconds each summary collects gains before it is shown, 1 to 60.
window-seconds: 1
# DROP profiles.
drops:
# Most item stacks one reward line yields from one block, whatever the multipliers do.
max-stacks: 36modules/pvp/config.yml
# ============================================================
# SnFullPvpCore - pvp module
# Managed by SnLib: new keys are auto-merged on boot; your values and
# comments are preserved. Where /pvp works and where PvP is forced is
# decided in rules.yml (pvp.toggle, pvp.protection).
# ============================================================
# Time between two /pvp on|off of the same player (30s, 5m...); 0 or 0s turns it off. Kept across relogs.
toggle-cooldown: 30s
# Protection of new players: no PvP damage dealt or taken while it runs.
newbie:
# Online time a first join gets (30m, 1h...); 0 or 0s turns newbie protection off.
duration: 30m
# Seconds the player has to type /pvp on confirm to end the protection early.
confirm-seconds: 10
# How a newbie sees the time left.
display:
# bossbar, actionbar or none.
mode: bossbar
# Boss bar color: PINK, BLUE, RED, GREEN, YELLOW, PURPLE or WHITE.
bossbar-color: GREEN
# Boss bar style: PROGRESS, NOTCHED_6, NOTCHED_10, NOTCHED_12 or NOTCHED_20.
bossbar-overlay: PROGRESS
# Blocking PvP damage of protected players (PvP off or newbie).
protection:
# Seconds between two "protected" messages to the same attacker.
message-cooldown: 2
# Metadata key that marks an NPC (Citizens uses NPC); NPCs are never protected nor blocked. Empty turns the check off.
npc-metadata: "NPC"
# true pauses a combat-tagged player's protection until the tag ends, so a fight started where PvP is forced cannot be escaped by walking out.
suspend-while-tagged: false
# Zones where rule pvp.protection is denied: protection does not apply there.
forced-pvp:
# Shows the forced-pvp.title title to a protected player entering such a zone.
warning-title: true
# Seconds between two forced-PvP titles to the same player.
title-cooldown: 5
# Gains of players with PvP off or newbie protection, in every mine (forced-PvP ones too).
# Mine currency gains always use the currency's pvp-off-multiplier (currencies/<id>.yml).
pvp-off-penalty:
# Also multiplies mine drop amounts while protected.
apply-to-drops: false
# Drop multiplier while protected (0.5 halves the drops).
drops-multiplier: 0.5modules/streaks/config.yml
# ============================================================
# SnFullPvpCore - streaks module
# Managed by SnLib: new keys are auto-merged on boot; your values and
# comments are preserved. The milestones section and repeat.reward are
# not merged: entries you delete stay deleted.
# Only valid kills count (a kill the death module's anti-farm judged
# farmed gives no streak, bounty or reward). Where each part applies is
# decided in rules.yml (streak.count, streak.rewards, streak.bounty),
# checked where the killer stands.
# Currency amounts are in the currency's own units (the "decimals" of
# currencies/<id>.yml); a computed amount is rounded DOWN to them.
# ============================================================
# A death (any death, also with no killer) sets the player's current streak back to 0.
reset-on-death: true
# Leaving the server sets the player's current streak back to 0.
reset-on-quit: false
# Paid to whoever ends a streak: base + per-streak x the ended streak, never above max.
bounty:
# Turns the bounty on.
enabled: true
# Smallest streak that carries a bounty.
min-streak: 5
# Fixed part of the bounty.
base: 50
# Added once per kill of the ended streak.
per-streak: 10
# Highest bounty; 0 means no cap.
max: 500
# Currency id (a file of currencies/) the bounty is paid in.
currency: gems
# Announces every bounty to the whole server (text in the language file, bounty.broadcast).
broadcast: true
# Rewards when the current streak reaches exactly this number of kills; the key is the streak.
# broadcast: server-wide line ({player}, {streak}); leave the key out for the language file one, "" for none.
# currency: currency id -> amount, in the currency's units.
# items: "core:<id> <amount>" core items; what does not fit drops at the player's feet.
# actions: action lines run for the player ([console] give {player} ..., [sound] ..., [title] ...).
# An admin /fullpvp streak set never pays a reward.
# sn:extensible
milestones:
# 5 kills: the language file's broadcast, 50 gems and one streak token.
5:
currency: { gems: 50 }
items: ["core:streak_token 1"]
actions: []
# 10 kills.
10:
broadcast: "₢f2{player} &7is unstoppable: &c{streak} &7kills in a row!"
currency: { gems: 150 }
items: ["core:streak_token 2"]
actions: []
# 15 kills.
15:
broadcast: "₢f2{player} &7is on a &4&l{streak} &7kill rampage!"
currency: { gems: 300 }
items: ["core:streak_token 3"]
actions: []
# Rewards past the LAST milestone: every "every" kills after it (20, 25, 30... with the shipped values).
repeat:
# Kills between two repeat rewards; 0 turns it off.
every: 5
# Same keys as a milestone.
# sn:extensible
reward:
broadcast: "₢f2{player} &7keeps going: &c{streak} &7kills in a row!"
currency:
gems: 100
items:
- "core:streak_token 1"
actions: []modules/tops/config.yml
# ============================================================
# SnFullPvpCore - tops module
# Managed by SnLib: new keys are auto-merged on boot; your values and
# comments are preserved. Boards: kills, best-streak and balance-<currency>
# for every currency file with leaderboard: true. A player at 0 is not ranked.
# Boards read the database: an online player's values reach it with the
# profile flush (profiles.flush-interval in config.yml), so a board can trail
# the game by up to that interval plus one refresh.
# ============================================================
# Seconds between two refreshes of every board (one database query per board, minimum 10).
refresh-seconds: 60
# Players ranked per board: how deep the menu and the %fullpvpcore_top_<board>_<pos>_name|value% placeholders reach (1 to 1000).
board-size: 100
# Board that /tops opens: kills, best-streak or balance-<currency>. An unknown board opens the first tab.
default-board: kills
# Tab icons of the menu (item material names).
icons:
# Icon of the kills board.
kills: DIAMOND_SWORD
# Icon of the best-streak board.
best-streak: BLAZE_POWDER
# Icon of every currency board.
currency: GOLD_INGOTmodules/trades/config.yml
# ============================================================
# SnFullPvpCore - trades module
# Managed by SnLib: new keys are auto-merged on boot; your values and
# comments are preserved. The trades themselves are the files of the
# trades/ folder (one trade per file); manage them with /fullpvp trade.
# ============================================================
# Most recipes one trade file may hold; the editor refuses more rows and the loader ignores the rest (1 to 1000).
max-recipes: 64
# Title written to the file of a trade made with /fullpvp trade create; {id} is the trade id.
new-trade-title: "&8{id}"modules/upgrade/config.yml
# ============================================================
# SnFullPvpCore - upgrade module
# Managed by SnLib: new keys are auto-merged on boot; your values and
# comments are preserved. What an item upgrades into and what it costs
# live in its own file (next + upgrade-cost in tiers/*.yml and items/**/*.yml).
# Cost lines: "currency:<id> <amount>", "item:<core-id> <amount>" (or
# "item:core:<core-id> <amount>"), "material:<MATERIAL> <amount>" and
# "vault <amount>" (Vault money, needs Vault and an economy plugin).
# The menu itself is modules/upgrade/guis/upgrade.yml.
# ============================================================
# Milliseconds the menu ignores further Upgrade clicks after one (double-click guard, 0 to 10000).
confirm-cooldown-ms: 750
# Action lines run for the player after every upgrade; placeholders {player}, {from} and {to}.
success-actions:
- "[sound] ENTITY_PLAYER_LEVELUP 1 1.2"
# Server-wide announcement of an upgrade (lang key upgrade.broadcast).
broadcast:
# Lowest rank of the RESULT item that is announced (rank of its tier or item file); 0 = never.
min-rank: 3
# Icons of the cost lines that are not items (core items and materials show themselves).
icons:
# Icon of a currency cost line.
currency: SUNFLOWER
# Icon of a Vault money cost line.
vault: GOLD_INGOTThe upgrade menu (modules/upgrade/guis/upgrade.yml)
Since 1.2.0 the menu has a pieces region: every core item of an upgrade chain the player holds (worn armor first, then main hand, off hand and inventory, hotbar first), shown with its real look. Clicking one picks it, which is also how worn armor and the off hand are upgraded in place. The menu opens with the item in the player's hand picked (or the first piece that can be upgraded).
layout:
- "ppppppppp" # p = one of your pieces
- "ppppppppp"
- "ffcfafrff"
- "fkkkkkkkf"
- "ffffuffff"
- "ffffxffff"
regions:
pieces: p
current: c
result: r
costs: k
button: u
templates:
# Placeholders: {item} {to} {where} {slot}. Keep "[fpc-pick] {slot}" in the click-actions.
piece:
material: STONE
lore:
- ""
- "{where} &8| &7Next: {to}"
- "₢f2Click to pick it"
click-actions:
- "[fpc-pick] {slot}"
- "[sound] UI_BUTTON_CLICK"
piece-selected:
material: STONE
lore:
- ""
- "{where} &8| &7Next: {to}"
- "&a&lPICKED"
click-actions:
- "[fpc-pick] {slot}"SnLib merges the new region and templates into an existing file, but never changes your layout: add p cells to show the pieces. Without them the menu works as before (shift-click a core item of your inventory). {where} comes from the lang keys upgrade.where.*, and the max-tier {to} from upgrade.piece-max.
currencies/gems.yml
# ============================================================
# SnFullPvpCore - currency "gems"
# One currency per file in currencies/; the file name is the currency id
# (lowercase letters, digits, _ and -). This folder is seeded once on the
# first install and then read from disk only: delete a file to remove that
# currency (stored balances are kept), copy one to add a currency.
# Deleting the whole currencies/ folder re-seeds this example on the next
# boot. Changes apply on /fullpvp reload.
# ============================================================
# Name shown in messages, menus and placeholders.
display-name: "&bGems"
# Symbol, inserted where the format writes {symbol}.
symbol: "✦"
# How an amount is shown. {amount} grouped (1,234.5), {short} abbreviated (1.23K),
# {plain} exact (1234.50), {symbol} the symbol above.
format: "&b{amount}{symbol}"
# Decimal places shown and accepted, 0 to 2. Balances are always stored in hundredths,
# so changing this later never rescales a stored balance: it only changes how amounts
# are displayed and the smallest amount a command or a gain can add.
decimals: 0
# Balance given to a player who never held this currency (first join, or the first
# join after this file was added).
starting-balance: 0
# Highest balance a player can hold; gains stop there and payments past it are refused.
# 0 = no cap.
max-balance: 0
# Player command of this currency: /<name> (own balance), /<name> <player>,
# /<name> pay <player> <amount>, /<name> top.
command:
# Command name; must not be a command of this plugin or of another currency.
name: gems
# Extra names of the same command.
aliases: []
# Lets players send this currency to each other with /<command> pay.
transferable: true
# Payment rules of /<command> pay.
pay:
# Smallest amount a single payment can send.
min: 1
# Ranks this currency in the tops module (board balance-<id>, opened by /<command> top).
leaderboard: true
# What a death costs, where the rule death.currency-loss of rules.yml allows it.
death:
# Percent of the balance lost on death, rounded down; 0 = nothing is lost.
lose-percent: 10
# Percent of the lost amount the killer receives; the rest is removed from the economy.
killer-gets-percent: 100
# Balance a death can never take.
min-protected: 0
# Most a single death can take; 0 = no cap.
max-loss: 0
# Also lose currency on a death without a player killer (fall, lava, void).
apply-on-environment-death: false
# Mine gain multiplier while the player has PvP off or newbie protection (0.5 = half).
pvp-off-multiplier: 0.5tiers/tier1.yml
# ============================================================
# SnFullPvpCore - armor set "tier1"
# One armor set per file in tiers/; the file name is the set id
# (lowercase letters, digits, _ and -). Each piece registers as the core
# item <set>_<piece> (tier1_helmet...). Ids are global: a set piece and an
# items/ file with the same id clash, and the second one is ignored.
# This folder is seeded once on the first install and then read from disk
# only: delete a file to remove that set, copy one to add a set. Deleting
# the whole tiers/ folder re-seeds these examples on the next boot.
# Edits apply on /fullpvp reload, and every stack already in play is
# rebuilt to match (enchantments, lore, textures...).
# ============================================================
# Name of the set shown in menus and messages.
display-name: "&7Tier I"
# Ordering of the sets (best piece, placeholders, sanity checks).
rank: 1
# Set an upgraded piece turns into (same piece of that set); remove on the max tier.
next: tier2
# Keys every piece gets unless the piece sets that key itself (never written to this file).
defaults:
# Pieces never lose durability.
unbreakable: true
# keep = returned on respawn, drop = dropped, destroy = removed on death.
on-death: keep
# Can be put in a villager trade.
tradeable: false
# Tooltip lines hidden on every piece.
flags: [HIDE_ATTRIBUTES]
# Texture keys of every piece (resource pack): worn armor layer, 1.21.2+.
# texture: { equippable-asset: "sntp:tier1" }
# The pieces. Every SnItem key works as-is (material, display-name, lore, color,
# enchantments, attributes, item-model, custom-model-data, trim-pattern...), plus:
# texture: { pack-item: "sntp:<id>", equippable-asset: "ns:id", tooltip-style: "ns:id",
# gui-background: "#RRGGBB" | rainbow }
# upgrade-cost: ["currency:<id> <amount>", "item:core:<id> <amount>", "material:<MATERIAL> <amount>"]
# on-death, tradeable, droppable, moveable, placeable, despawnable
pieces:
helmet:
material: LEATHER_HELMET
display-name: "&7Tier I Helmet"
lore: ["&8Armor set: &7Tier I"]
color: "#9d9d9d"
enchantments: ["protection 1"]
# texture: { pack-item: "sntp:tier1_helmet" }
upgrade-cost: ["currency:gems 500", "item:core:iron_voucher 32"]
chestplate:
material: LEATHER_CHESTPLATE
display-name: "&7Tier I Chestplate"
lore: ["&8Armor set: &7Tier I"]
color: "#9d9d9d"
enchantments: ["protection 1"]
# texture: { pack-item: "sntp:tier1_chestplate" }
upgrade-cost: ["currency:gems 800", "item:core:iron_voucher 48"]
leggings:
material: LEATHER_LEGGINGS
display-name: "&7Tier I Leggings"
lore: ["&8Armor set: &7Tier I"]
color: "#9d9d9d"
enchantments: ["protection 1"]
# texture: { pack-item: "sntp:tier1_leggings" }
upgrade-cost: ["currency:gems 700", "item:core:iron_voucher 40"]
boots:
material: LEATHER_BOOTS
display-name: "&7Tier I Boots"
lore: ["&8Armor set: &7Tier I"]
color: "#9d9d9d"
enchantments: ["protection 1"]
# texture: { pack-item: "sntp:tier1_boots" }
upgrade-cost: ["currency:gems 400", "item:core:iron_voucher 24"]
# Bonuses by number of pieces of this set worn; the highest threshold reached applies.
# potion-effects: ["EFFECT:amplifier"] (infinite while worn)
# multipliers: { currency.<id>: factor, drops: factor }
bonuses:
2: { potion-effects: ["SPEED:0"], multipliers: { currency.gems: 1.05 } }
4: { potion-effects: ["SPEED:0", "FIRE_RESISTANCE:0"], multipliers: { currency.gems: 1.10, drops: 1.10 } }tiers/tier2.yml
# ============================================================
# SnFullPvpCore - armor set "tier2"
# One armor set per file in tiers/; the file name is the set id
# (lowercase letters, digits, _ and -). Each piece registers as the core
# item <set>_<piece> (tier1_helmet...). Ids are global: a set piece and an
# items/ file with the same id clash, and the second one is ignored.
# This folder is seeded once on the first install and then read from disk
# only: delete a file to remove that set, copy one to add a set. Deleting
# the whole tiers/ folder re-seeds these examples on the next boot.
# Edits apply on /fullpvp reload, and every stack already in play is
# rebuilt to match (enchantments, lore, textures...).
# ============================================================
# Name of the set shown in menus and messages.
display-name: "&fTier II"
# Ordering of the sets (best piece, placeholders, sanity checks).
rank: 2
# Set an upgraded piece turns into (same piece of that set); remove on the max tier.
next: tier3
# Keys every piece gets unless the piece sets that key itself (never written to this file).
defaults:
# Pieces never lose durability.
unbreakable: true
# keep = returned on respawn, drop = dropped, destroy = removed on death.
on-death: keep
# Can be put in a villager trade.
tradeable: false
# Tooltip lines hidden on every piece.
flags: [HIDE_ATTRIBUTES]
# Texture keys of every piece (resource pack): worn armor layer, 1.21.2+.
# texture: { equippable-asset: "sntp:tier2" }
# The pieces; same keys as tiers/tier1.yml.
pieces:
helmet:
material: IRON_HELMET
display-name: "&fTier II Helmet"
lore: ["&8Armor set: &fTier II"]
enchantments: ["protection 2"]
# texture: { pack-item: "sntp:tier2_helmet" }
upgrade-cost: ["currency:gems 2000", "item:core:iron_voucher 64", "material:DIAMOND 4"]
chestplate:
material: IRON_CHESTPLATE
display-name: "&fTier II Chestplate"
lore: ["&8Armor set: &fTier II"]
enchantments: ["protection 2"]
# texture: { pack-item: "sntp:tier2_chestplate" }
upgrade-cost: ["currency:gems 3200", "item:core:iron_voucher 96", "material:DIAMOND 8"]
leggings:
material: IRON_LEGGINGS
display-name: "&fTier II Leggings"
lore: ["&8Armor set: &fTier II"]
enchantments: ["protection 2"]
# texture: { pack-item: "sntp:tier2_leggings" }
upgrade-cost: ["currency:gems 2800", "item:core:iron_voucher 80", "material:DIAMOND 7"]
boots:
material: IRON_BOOTS
display-name: "&fTier II Boots"
lore: ["&8Armor set: &fTier II"]
enchantments: ["protection 2"]
# texture: { pack-item: "sntp:tier2_boots" }
upgrade-cost: ["currency:gems 1600", "item:core:iron_voucher 48", "material:DIAMOND 4"]
# Bonuses by number of pieces of this set worn; the highest threshold reached applies.
bonuses:
2: { potion-effects: ["SPEED:0"], multipliers: { currency.gems: 1.10 } }
4: { potion-effects: ["SPEED:1", "FIRE_RESISTANCE:0"], multipliers: { currency.gems: 1.25, drops: 1.25 } }tiers/tier3.yml
# ============================================================
# SnFullPvpCore - armor set "tier3"
# One armor set per file in tiers/; the file name is the set id
# (lowercase letters, digits, _ and -). Each piece registers as the core
# item <set>_<piece> (tier1_helmet...). Ids are global: a set piece and an
# items/ file with the same id clash, and the second one is ignored.
# This folder is seeded once on the first install and then read from disk
# only: delete a file to remove that set, copy one to add a set. Deleting
# the whole tiers/ folder re-seeds these examples on the next boot.
# Edits apply on /fullpvp reload, and every stack already in play is
# rebuilt to match (enchantments, lore, textures...).
# ============================================================
# Name of the set shown in menus and messages.
display-name: "₢f2Tier III"
# Ordering of the sets (best piece, placeholders, sanity checks).
rank: 3
# No next: this is the max tier, its pieces cannot be upgraded.
# Keys every piece gets unless the piece sets that key itself (never written to this file).
defaults:
# Pieces never lose durability.
unbreakable: true
# keep = returned on respawn, drop = dropped, destroy = removed on death.
on-death: keep
# Can be put in a villager trade.
tradeable: false
# Tooltip lines hidden on every piece.
flags: [HIDE_ATTRIBUTES]
# Texture keys of every piece (resource pack): worn armor layer, 1.21.2+.
# texture: { equippable-asset: "sntp:tier3" }
# The pieces; same keys as tiers/tier1.yml.
pieces:
helmet:
material: DIAMOND_HELMET
display-name: "₢f2Tier III Helmet"
lore: ["&8Armor set: ₢f2Tier III"]
enchantments: ["protection 3"]
# texture: { pack-item: "sntp:tier3_helmet" }
chestplate:
material: DIAMOND_CHESTPLATE
display-name: "₢f2Tier III Chestplate"
lore: ["&8Armor set: ₢f2Tier III"]
enchantments: ["protection 3"]
# texture: { pack-item: "sntp:tier3_chestplate" }
leggings:
material: DIAMOND_LEGGINGS
display-name: "₢f2Tier III Leggings"
lore: ["&8Armor set: ₢f2Tier III"]
enchantments: ["protection 3"]
# texture: { pack-item: "sntp:tier3_leggings" }
boots:
material: DIAMOND_BOOTS
display-name: "₢f2Tier III Boots"
lore: ["&8Armor set: ₢f2Tier III"]
enchantments: ["protection 3"]
# texture: { pack-item: "sntp:tier3_boots" }
# Bonuses by number of pieces of this set worn; the highest threshold reached applies.
bonuses:
2: { potion-effects: ["SPEED:1"], multipliers: { currency.gems: 1.25 } }
4: { potion-effects: ["SPEED:1", "FIRE_RESISTANCE:0", "REGENERATION:0"], multipliers: { currency.gems: 1.50, drops: 1.50 } }items/bows/hunter_bow.yml
# ============================================================
# SnFullPvpCore - core item "hunter_bow"
# One item per file anywhere under items/ (subfolders only organize);
# the file name is the item id (lowercase letters, digits, _ and -).
# Ids are global: a duplicate id is ignored with a warning.
# Any SnItem key works as-is (material, display-name, lore, enchantments,
# attributes, item-model, custom-model-data, flags, unbreakable...).
# This folder is seeded once on the first install and then read from disk
# only. Edits apply on /fullpvp reload, and every stack already in play
# is rebuilt to match.
# ============================================================
# weapon|bow|crossbow|shield|tool|special|material|voucher (display and filters only).
category: bow
# Ordering inside the upgrade path.
rank: 1
# keep = returned on respawn, drop = dropped, destroy = removed on death.
on-death: keep
material: BOW
display-name: "&aHunter Bow"
lore: ["&7Steady hands, straight arrows."]
enchantments: ["power 3", "infinity 1"]
unbreakable: true
# texture: { pack-item: "sntp:hunter_bow" }items/compressed/compressed_iron.yml
# ============================================================
# SnFullPvpCore - core item "compressed_iron"
# One item per file anywhere under items/ (subfolders only organize);
# the file name is the item id (lowercase letters, digits, _ and -).
# Ids are global: a duplicate id is ignored with a warning.
# Any SnItem key works as-is (material, display-name, lore, enchantments,
# attributes, item-model, custom-model-data, flags, unbreakable...).
# This folder is seeded once on the first install and then read from disk
# only. Edits apply on /fullpvp reload, and every stack already in play
# is rebuilt to match.
# ============================================================
# weapon|bow|crossbow|shield|tool|special|material|voucher (display and filters only).
category: material
# keep = returned on respawn, drop = dropped, destroy = removed on death.
on-death: drop
material: IRON_INGOT
display-name: "&fCompressed Iron"
lore: ["&79 iron ingots, pressed into one."]
glow: true
# texture: { pack-item: "sntp:compressed_iron" }items/compressed/compressed_iron_block.yml
# ============================================================
# SnFullPvpCore - core item "compressed_iron_block"
# One item per file anywhere under items/ (subfolders only organize);
# the file name is the item id (lowercase letters, digits, _ and -).
# Ids are global: a duplicate id is ignored with a warning.
# Any SnItem key works as-is (material, display-name, lore, enchantments,
# attributes, item-model, custom-model-data, flags, unbreakable...).
# This folder is seeded once on the first install and then read from disk
# only. Edits apply on /fullpvp reload, and every stack already in play
# is rebuilt to match.
# ============================================================
# weapon|bow|crossbow|shield|tool|special|material|voucher (display and filters only).
category: material
# keep = returned on respawn, drop = dropped, destroy = removed on death.
on-death: drop
# Core items cannot be placed unless this is true (a placed block loses its identity).
placeable: false
material: IRON_BLOCK
display-name: "&fCompressed Iron Block"
lore: ["&79 compressed iron, pressed again."]
glow: true
# texture: { pack-item: "sntp:compressed_iron_block" }items/special/berserker_axe.yml
# ============================================================
# SnFullPvpCore - core item "berserker_axe"
# One item per file anywhere under items/ (subfolders only organize);
# the file name is the item id (lowercase letters, digits, _ and -).
# Ids are global: a duplicate id is ignored with a warning.
# Any SnItem key works as-is (material, display-name, lore, enchantments,
# attributes, item-model, custom-model-data, flags, unbreakable...).
# This folder is seeded once on the first install and then read from disk
# only. Edits apply on /fullpvp reload, and every stack already in play
# is rebuilt to match.
# ============================================================
# weapon|bow|crossbow|shield|tool|special|material|voucher (display and filters only).
category: special
# keep = returned on respawn, drop = dropped, destroy = removed on death.
on-death: keep
# Can be put in a villager trade.
tradeable: false
material: NETHERITE_AXE
display-name: "&c&lBerserker Axe"
lore:
- "&7Passive: &fStrength I &7while held."
- "&7Right click: &fRage &7(Speed II, 8s)."
- "&7Bonus: &b+10% gems &7while held."
enchantments: ["sharpness 3"]
unbreakable: true
glow: true
# texture: { pack-item: "sntp:berserker_axe", gui-background: rainbow }
# Potion effects while the item is held or worn ("EFFECT amplifier"); rule items.passive-effects.
passive-effects:
mainhand: ["STRENGTH 0"]
offhand: []
armor: []
# Right-click ability; rule items.abilities.
right-click:
# Action lines ([potion] EFFECT seconds amplifier, [sound] SOUND volume pitch, [actionbar] text...).
actions:
- "[potion] SPEED 8 1"
- "[sound] ENTITY_RAVAGER_ROAR 1 1"
- "[actionbar] &c&lRAGE!"
# Time between uses (30s, 1m, 1m30s).
cooldown: 30s
# Gain multipliers while held in the main hand: currency.<id> or drops -> factor.
multipliers:
currency.gems: 1.10items/vouchers/iron_voucher.yml
# ============================================================
# SnFullPvpCore - core item "iron_voucher"
# One item per file anywhere under items/ (subfolders only organize);
# the file name is the item id (lowercase letters, digits, _ and -).
# Ids are global: a duplicate id is ignored with a warning.
# Any SnItem key works as-is (material, display-name, lore, enchantments,
# attributes, item-model, custom-model-data, flags, unbreakable...).
# This folder is seeded once on the first install and then read from disk
# only. Edits apply on /fullpvp reload, and every stack already in play
# is rebuilt to match.
# ============================================================
# weapon|bow|crossbow|shield|tool|special|material|voucher (display and filters only).
category: voucher
# Physical currency: dropped on death like any loot.
on-death: drop
material: PAPER
display-name: "&fIron Voucher"
lore: ["&7Spend it on upgrades and trades."]
# texture: { pack-item: "sntp:iron_voucher" }items/vouchers/streak_token.yml
# ============================================================
# SnFullPvpCore - core item "streak_token"
# One item per file anywhere under items/ (subfolders only organize);
# the file name is the item id (lowercase letters, digits, _ and -).
# Ids are global: a duplicate id is ignored with a warning.
# Any SnItem key works as-is (material, display-name, lore, enchantments,
# attributes, item-model, custom-model-data, flags, unbreakable...).
# This folder is seeded once on the first install and then read from disk
# only. Edits apply on /fullpvp reload, and every stack already in play
# is rebuilt to match.
# ============================================================
# weapon|bow|crossbow|shield|tool|special|material|voucher (display and filters only).
category: voucher
# keep = returned on respawn, drop = dropped, destroy = removed on death.
on-death: keep
# Can be put in a villager trade.
tradeable: true
material: NETHER_STAR
display-name: "&6Streak Token"
lore: ["&7Earned on a kill streak milestone."]
glow: true
# texture: { pack-item: "sntp:streak_token" }items/weapons/blade_i.yml
# ============================================================
# SnFullPvpCore - core item "blade_i"
# One item per file anywhere under items/ (subfolders only organize);
# the file name is the item id (lowercase letters, digits, _ and -).
# Ids are global: a duplicate id is ignored with a warning.
# Any SnItem key works as-is (material, display-name, lore, enchantments,
# attributes, item-model, custom-model-data, flags, unbreakable...).
# This folder is seeded once on the first install and then read from disk
# only. Edits apply on /fullpvp reload, and every stack already in play
# is rebuilt to match.
# ============================================================
# weapon|bow|crossbow|shield|tool|special|material|voucher (display and filters only).
category: weapon
# Ordering inside the upgrade path.
rank: 1
# Item this one turns into when upgraded; remove at the end of the path.
next: blade_ii
# Cost of upgrading to next: "currency:<id> <amount>", "item:core:<id> <amount>", "material:<MATERIAL> <amount>".
upgrade-cost: ["currency:gems 750", "item:core:iron_voucher 16"]
# keep = returned on respawn, drop = dropped, destroy = removed on death.
on-death: keep
material: IRON_SWORD
display-name: "&fBlade &7I"
lore: ["&7A plain, honest blade."]
enchantments: ["sharpness 2"]
unbreakable: true
# Resource pack keys: pack-item "sntp:<id>", equippable-asset, tooltip-style, gui-background.
# texture: { pack-item: "sntp:blade_i" }items/weapons/blade_ii.yml
# ============================================================
# SnFullPvpCore - core item "blade_ii"
# One item per file anywhere under items/ (subfolders only organize);
# the file name is the item id (lowercase letters, digits, _ and -).
# Ids are global: a duplicate id is ignored with a warning.
# Any SnItem key works as-is (material, display-name, lore, enchantments,
# attributes, item-model, custom-model-data, flags, unbreakable...).
# This folder is seeded once on the first install and then read from disk
# only. Edits apply on /fullpvp reload, and every stack already in play
# is rebuilt to match.
# ============================================================
# weapon|bow|crossbow|shield|tool|special|material|voucher (display and filters only).
category: weapon
# Ordering inside the upgrade path.
rank: 2
# No next: the end of this upgrade path.
# keep = returned on respawn, drop = dropped, destroy = removed on death.
on-death: keep
material: DIAMOND_SWORD
display-name: "₢f2Blade &7II"
lore: ["&7Sharper than it looks."]
enchantments: ["sharpness 4", "fire_aspect 1"]
unbreakable: true
# texture: { pack-item: "sntp:blade_ii", tooltip-style: "sntp:epic" }mines/iron.yml
# ============================================================
# SnFullPvpCore - mine profile "iron" (DROP)
# One file per SnMines mine in mines/; the file name is the SnMines mine
# id (lowercase letters, digits, _ and -). A mine without a file behaves
# exactly as SnMines does. This folder is seeded once on the first install
# and then read from disk only: delete a file to give that mine back to
# SnMines, copy one to add a mine. Deleting the whole mines/ folder
# re-seeds the examples on the next boot. Changes apply on /fullpvp reload.
# A profile whose mine does not exist in SnMines pays nothing until it does
# (see /fullpvp mines list).
# ============================================================
# DROP gives items; CURRENCY pays a currency amount (see redstone.yml).
type: DROP
# What each block can drop. The key is a block material, or "default" for every
# other block of the mine; a block with neither keeps SnMines' own drop. Every
# line of a block rolls on its own:
# item: "core:<id>" (a core item, always at its current revision) or a vanilla material.
# amount: a whole number or an inclusive range ("1-2"); the drops multiplier applies on top.
# chance: percent, above 0 and at most 100 (default 100).
# Items go straight into the inventory with the magnet (/magnet), otherwise they
# are given through SnMines' drop list.
rewards:
IRON_ORE:
- { item: "core:iron_voucher", amount: "1-2", chance: 100 }
- { item: "IRON_INGOT", amount: 1, chance: 25 }mines/redstone.yml
# ============================================================
# SnFullPvpCore - mine profile "redstone" (CURRENCY)
# One file per SnMines mine in mines/; the file name is the SnMines mine
# id (lowercase letters, digits, _ and -). A mine without a file behaves
# exactly as SnMines does. This folder is seeded once on the first install
# and then read from disk only: delete a file to give that mine back to
# SnMines, copy one to add a mine. Deleting the whole mines/ folder
# re-seeds the examples on the next boot. Changes apply on /fullpvp reload.
# A profile whose mine does not exist in SnMines pays nothing until it does
# (see /fullpvp mines list).
# ============================================================
# CURRENCY pays a currency amount per block; DROP gives items (see iron.yml).
type: CURRENCY
# Currency id (a file of currencies/) the blocks pay in.
currency: gems
# What each block pays. The key is a block material, or "default" for every other
# block of the mine; a block with neither keeps SnMines' own drop. amount is a
# number or an inclusive range ("2-4") in the currency's own units; the
# multipliers (/fullpvp multiplier) apply on top.
rewards:
REDSTONE_ORE: { amount: "2-4" }
default: { amount: 1 }events/redstone-x4.yml
# ============================================================
# SnFullPvpCore - mine event "redstone-x4"
# One file per event in events/; the file name is the event id (lowercase
# letters, digits, _ and -, not "all"). This folder is seeded once on the
# first install and then read from disk only: delete a file to remove its
# event, copy one to add another. Deleting the whole events/ folder re-seeds
# the example on the next boot. Changes apply on /fullpvp reload; an event
# that is running picks them up and keeps its time left.
# Start one by hand with /fullpvp event start <id> [duration]; the rotation
# of modules/events/config.yml starts events on its own.
# ============================================================
# Name shown in the boss bar and the broadcasts (color codes allowed); the id when absent.
display-name: "&cRedstone x4"
# How long a run lasts (30s, 15m, 1h 30m).
duration: 15m
# The mines the event acts on. The three keys add up; the event needs at least one.
targets:
# SnMines mine ids.
mines: [redstone]
# Every mine whose profile in mines/ has one of these types (CURRENCY, DROP).
mine-types: []
# Every mine that has a profile in mines/.
all-mines: false
# What the event changes. A factor of 1 does nothing; the stacking mode of config.yml applies between events.
effects:
# Multiplier of each currency a CURRENCY mine pays, by currency id.
currency-multiplier:
gems: 4
# Multiplier of the amount of every DROP mine item.
drop-multiplier: 4
# The glowing outline of each targeted mine (12 display entities along the edges of its region,
# visible through walls). Absent = no outline.
glow:
# Draw the outline.
enabled: true
# Glow color: #RRGGBB or "R, G, B".
color: "#FF3333"
# A block (or item) the edges are made of.
block: WHITE_STAINED_GLASS
# Thickness of an edge in blocks, 0.01 to 1.
thickness: 0.06
# How far the outline is drawn, 1.0 = 64 blocks; the glow.max-view-range of modules/events/config.yml caps it.
view-range: 1.0
# The boss bar every player sees while the event runs. Absent = no boss bar.
bossbar:
# Show the bar.
enabled: true
# BLUE, GREEN, PINK, PURPLE, RED, WHITE or YELLOW.
color: RED
# Chat announcements (the text lives in modules/events/lang). Absent = both on.
broadcast:
# Announce the start.
start: true
# Announce the end.
end: true
# Chance of the rotation to pick this event, relative to the other events; 0 never rotates it.
weight: 10
# Players that must be online for the rotation to pick this event. Manual starts ignore it.
min-online: 15
# Action lines run for EVERY online player when the event starts or ends, so [title], [sound] and
# [message] reach everyone and a [console] line runs once per player (use {player}).
# Placeholders: {player}, {event} (the id), {name}, {duration} and {mines}.
actions:
# Run when the event starts.
start: []
# Run when the event ends (it ran out, or /fullpvp event stop).
end: []trades/blacksmith.yml
# ============================================================
# SnFullPvpCore - example trade (trades/blacksmith.yml)
# Seeded once on first install: this file is yours and is never updated.
# Open it on a player with: /fullpvp trade open blacksmith <player>
# (an NPC runs it with the action [console] fullpvp trade open blacksmith {player}).
# Edit the recipes in game with: /fullpvp trade edit blacksmith
# Deleting the whole trades/ folder seeds this example again on the next boot.
# ============================================================
# Title of the trade window (color codes, hex and MiniMessage work).
title: "&8Blacksmith"
# Recipes, each with cost-1, an optional cost-2 and a result. An item is one of:
# { item: "core:<id>", amount: N } a core item, rebuilt from its current definition
# { item: MATERIAL, amount: N } a plain stack
# { stack: <base64> } any other item (written by the editor)
# A core item used as a cost must be up to date: the window syncs the player's inventory before it opens.
recipes:
- cost-1: { item: "core:iron_voucher", amount: 32 }
cost-2: { item: DIAMOND, amount: 4 }
result: { item: "core:tier2_helmet", amount: 1 }
- cost-1: { item: "core:compressed_iron", amount: 4 }
result: { item: "core:blade_i", amount: 1 }
- cost-1: { item: "core:streak_token", amount: 3 }
result: { item: ENCHANTED_GOLDEN_APPLE, amount: 1 }