CombatLog
Basta furbi che escono durante un combattimento: quando un giocatore colpisce o viene colpito parte un timer con una barra in alto. Se esce prima che finisca muore, perde gli oggetti e l'uccisione va all'avversario. Durante la lotta i comandi per scappare, i teletrasporti e il volo sono bloccati.
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: /ct, /combattag
| Comando | Permesso | Descrizione |
|---|---|---|
/combat | — | Mostra se sei in combattimento e per quanto |
/combatlog reload | combatlog.admin | Ricarica configurazione e lingue |
Permessi
| Permesso | Predefinito | Descrizione |
|---|---|---|
combatlog.bypass | false | Non entra mai in combattimento (per lo staff) |
combatlog.admin | op | Ricaricare il plugin |
Comandi bloccati
Con commands.mode: blacklist sono bloccati solo i comandi della lista (spawn, home, tpa...). Con whitelist, al contrario, in combattimento si possono usare SOLO i comandi della lista. Scrivili senza la /.
Chi viene punito
Chi esce durante il timer muore e lascia gli oggetti a terra; rientrando riceve un messaggio. Se lo staff lo kicka non viene punito (logout.punish-when-kicked). Le perle di ender restano permesse perché fanno parte del PvP. Funziona insieme a LandClaims: se in un claim il PvP è spento, i colpi non mettono in combattimento.
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 combat: # Seconds a player stays in combat after hitting or being hit by another player. seconds: 15 # true = being hit by a mob also puts you in combat. tag-on-mob-damage: false display: # Timer at the top of the screen. boss-bar: true # Colors: PINK, BLUE, RED, GREEN, YELLOW, PURPLE, WHITE. Styles: SOLID, SEGMENTED_6, SEGMENTED_10, SEGMENTED_12, SEGMENTED_20 boss-bar-color: RED boss-bar-style: SOLID # Timer above the hotbar too. action-bar: false logout: # Players who log out while in combat die and drop their items. The kill goes to the last player who hit them. kill: true # When a staff member kicks a player in combat, punish them anyway? punish-when-kicked: false # Tell everyone who logged out in combat. broadcast: true commands: # "blacklist" = the commands below are blocked in combat. "whitelist" = ONLY the commands below are allowed. mode: blacklist list: - spawn - home - homes - tpa - tpahere - tpaccept - tpyes - warp - warps - back - rtp - wild - tp - ec - enderchest - fly - hub - lobby restrictions: # Block teleports from commands, plugins and portals while in combat. block-teleports: true # Ender pearls and chorus fruit are still allowed (they are part of PvP). allow-ender-pearls: true # Turn off /fly when a player enters combat. disable-flight: true # Block flying with an elytra while in combat. block-elytra: false # Worlds where nobody is put in combat. disabled-worlds: [] # Sound names from https://minecraft.wiki/w/Sounds.json -> "name:volume:pitch" ("none" = no sound) sounds: tagged: "entity.player.attack.strong:1:0.8" combat-over: "block.note_block.pling:1:1.5"