Tutte le guide
PvP

Duels

Duelli 1 contro 1: sfidi un giocatore con /duel, lui clicca Accetta e vi ritrovate in un'arena libera con un conto alla rovescia. Kit pronti, kit creati in gioco o il proprio inventario, scommesse in soldi, statistiche e classifica. Nessuno muore davvero: alla fine inventario, vita e posizione tornano come prima e i blocchi dell'arena si rimettono a posto.

Acquistare la licenza Paper, Spigot, Bukkit 1.20 – 1.21 · Java 17+

Installazione

  1. Scarichi il file dall'area clienti e lo copi nella cartella plugins del server.
  2. Avvii il server una volta: viene creata la cartella del plugin con config.yml.
  3. Incolli la sua licenza alla voce license: e riavvii il server.

Comandi

Alias: /duels

ComandoPermessoDescrizione
/duel <player> [kit] [bet]duels.useSfida un giocatore
/duel accept · deny [player]duels.useAccetta o rifiuta una sfida (o clicca i pulsanti in chat)
/duel leaveduels.useTi arrendi
/duel kits · stats [player] · top—Kit disponibili, statistiche, classifica
/duel arena create|setspawn|delete|list <name> [1|2]duels.adminCrea e gestisce le arene
/duel kit save|delete <name>duels.adminSalva il tuo inventario come kit o lo elimina
/duel reloadduels.adminRicarica configurazione, kit e lingue

Permessi

PermessoPredefinitoDescrizione
duels.usetrueSfidare e giocare i duelli
duels.adminopArene, kit e ricarica (e comandi liberi durante i duelli)

Creare un'arena

1) /duel arena create arena1. 2) Mettiti sul primo punto di partenza e scrivi /duel arena setspawn arena1 1, poi sul secondo /duel arena setspawn arena1 2. Puoi creare quante arene vuoi: ogni duello prende un'arena libera. Se l'arena è dentro un claim di LandClaims il duello funziona lo stesso.

Kit e reset

In kits.yml ci sono già i kit iron, diamond e archer. Per crearne uno con incantesimi metti gli oggetti nel tuo inventario e scrivi /duel kit save nome. Durante il duello i giocatori possono piazzare blocchi (arenas.allow-building) e rompere solo quelli: alla fine tutto quello che è cambiato entro arenas.reset-radius torna com'era.

Scommesse

Con Vault e un plugin di economia: /duel Steve iron 500 = tutti e due pagano 500 quando il duello parte e chi vince prende 1000. In caso di pareggio (tempo scaduto) i soldi tornano indietro.

File di configurazione

config.yml
# Your license key (you received it privately from our Discord bot).
license: "PASTE-YOUR-LICENSE-HERE"

# Message language: "en" (English) or "it" (Italiano). Files are in /lang and can be edited freely.
language: en
# When true, each player sees the messages in their own game language (when a file for it exists).
use-client-language: true

# Setup in 3 steps (as op):
#   1) /duel arena create arena1
#   2) stand on the first spawn point and type /duel arena setspawn arena1 1, then on the second /duel arena setspawn arena1 2
#   3) optional: put the items you want in your inventory and /duel kit save mykit   (some kits are already in kits.yml)

requests:
  # Seconds before a duel request expires.
  expire-seconds: 30

duel:
  # Kit used when the player doesn't choose one: a kit name from kits.yml, or "own" = everyone fights with their own inventory.
  default-kit: own
  # Allow duels with the players' own inventory (nothing is lost: inventories are not dropped).
  allow-own-inventory: true
  # Seconds of countdown (players can't move) before the fight.
  countdown-seconds: 3
  # Seconds the players stay in the arena after the end before going back.
  end-delay-seconds: 3
  # A duel that lasts longer than this ends in a draw (0 = no limit).
  max-duration-seconds: 300
  # Tell the whole server who won.
  broadcast-result: true
  # Only these commands work during a duel.
  allowed-commands:
    - duel
    - msg
    - tell
    - r
  # Commands run by the console for the winner. {winner} and {loser} are replaced with the names.
  winner-commands: []
  #  - "give {winner} diamond 1"

arenas:
  # Players can place blocks during the duel (they are removed at the end) and break only those blocks.
  allow-building: true
  # Blocks changed within this distance from the middle of the arena are put back after the duel.
  reset-radius: 40

bets:
  # /duel <player> [kit] <amount> = both players pay the amount, the winner takes everything. Needs Vault and an economy plugin.
  enabled: true
  # Maximum bet (0 = no limit).
  max-bet: 0

# Sound names from https://minecraft.wiki/w/Sounds.json  ->  "name:volume:pitch"  ("none" = no sound)
sounds:
  countdown: "block.note_block.hat:1:1"
  start: "entity.ender_dragon.growl:0.5:1.4"
  win: "ui.toast.challenge_complete:0.8:1"
kits.yml
kits:
  iron:
    items: ["iron_sword", "bow", "arrow:16", "cooked_beef:8", "golden_apple:2"]
    armor: ["iron_helmet", "iron_chestplate", "iron_leggings", "iron_boots"]
    offhand: shield
  diamond:
    items: ["diamond_sword", "diamond_axe", "bow", "arrow:32", "golden_apple:4", "cooked_beef:16", "oak_planks:64"]
    armor: ["diamond_helmet", "diamond_chestplate", "diamond_leggings", "diamond_boots"]
    offhand: shield
  archer:
    items: ["stone_sword", "bow", "arrow:64", "cooked_beef:8"]
    armor: ["leather_helmet", "chainmail_chestplate", "chainmail_leggings", "leather_boots"]