KitPvP
Kit pronti per combattere: si scelgono da un menu (clic destro = anteprima di cosa c'è dentro). Kit gratis, per grado o a pagamento, ognuno con la sua attesa. Lo staff crea i kit direttamente dal proprio inventario. Statistiche di uccisioni, K/D e serie di vittorie con annunci in chat.
Installazione
- Scarichi il file dall'area clienti e lo copi nella cartella
pluginsdel server. - Avvii il server una volta: viene creata la cartella del plugin con
config.yml. - Incolli la sua licenza alla voce
license:e riavvii il server.
Comandi
Alias: /kits
| Comando | Permesso | Descrizione |
|---|---|---|
/kit | — | Menu con i kit (clic sinistro = prendi, destro = anteprima) |
/kit <name> | — | Prende subito un kit |
/kitpvp stats [player] · top | — | Statistiche e classifica delle uccisioni |
/kitpvp create <name> [cooldown] [price] | kitpvp.admin | Crea un kit dal tuo inventario (anche armatura e mano sinistra) |
/kitpvp delete <name> | kitpvp.admin | Elimina un kit |
/kitpvp reload | kitpvp.admin | Ricarica configurazione, kit e lingue |
Permessi
| Permesso | Predefinito | Descrizione |
|---|---|---|
kitpvp.kit.<kit> | — | Solo se nel kit c'è permission: ... (es. kitpvp.kit.tank per il kit Tank) |
kitpvp.bypass.cooldown | op | Prende i kit senza aspettare |
kitpvp.admin | op | Creare ed eliminare kit, ricaricare il plugin |
Creare un kit
Metti nell'inventario quello che vuoi nel kit (anche armatura indossata e scudo), tieni in mano l'oggetto da usare come icona e scrivi /kitpvp create nome 60 0 (60 secondi di attesa, gratis). Poi in kits.yml puoi cambiare nome colorato, descrizione e permesso, e fare /kitpvp reload.
Kit per gradi e a pagamento
Per un kit VIP scrivi permission: "kitpvp.kit.vip" in kits.yml e dai quel permesso al grado con il tuo plugin dei permessi (es. LuckPerms). Per farlo pagare metti price: 500: servono Vault e un plugin di economia (es. EssentialsX).
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 # The kits are in kits.yml. You can also make one from your inventory: /kitpvp create <name> [cooldown-seconds] [price] kits: # true = taking a kit empties the inventory first. false = the kit items are added to what the player already has. clear-inventory: true death: # true = players drop nothing when they die (good for kit arenas). clear-drops: false rewards: # Money for every kill (needs Vault and an economy plugin). 0 = nothing. money-per-kill: 0 # Tell everyone when a player reaches a kill streak of 5, 10, 15... (0 = never). announce-streak-every: 5 # Sound names from https://minecraft.wiki/w/Sounds.json -> "name:volume:pitch" ("none" = no sound) sounds: kit: "item.armor.equip_iron:1:1" streak: "entity.ender_dragon.growl:0.4:1.5"
kits.yml
kits: warrior: display-name: "&c&lWarrior" icon: iron_sword lore: - "&7Iron armor, sword and food." permission: "" price: 0 cooldown: 30 items: ["iron_sword", "bow", "arrow:16", "cooked_beef:16", "golden_apple:1"] armor: ["iron_helmet", "iron_chestplate", "iron_leggings", "iron_boots"] offhand: shield archer: display-name: "&a&lArcher" icon: bow lore: - "&7Light armor and lots of arrows." permission: "" price: 0 cooldown: 30 items: ["stone_sword", "bow", "arrow:64", "cooked_beef:16"] armor: ["leather_helmet", "chainmail_chestplate", "chainmail_leggings", "leather_boots"] tank: display-name: "&9&lTank" icon: diamond_chestplate lore: - "&7Diamond armor, but slow weapons." - "&eVIP only" permission: "kitpvp.kit.tank" price: 0 cooldown: 120 items: ["stone_axe", "cooked_beef:16", "golden_apple:2"] armor: ["diamond_helmet", "diamond_chestplate", "diamond_leggings", "diamond_boots"] offhand: shield berserker: display-name: "&6&lBerserker" icon: diamond_sword lore: - "&7A diamond sword and golden apples." permission: "" price: 250 cooldown: 300 items: ["diamond_sword", "golden_apple:4", "cooked_beef:16"] armor: ["iron_helmet", "iron_chestplate", "iron_leggings", "iron_boots"]