Skip to content

Combat Tag

By WoolyenoughOwner

Block commands, display messages & different scoreboards (with TAB) when players hit each other for a specified time.

9k downloads Updated
26.3 26.2

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

Combat Tag

Plugin to block commands, display messages & different scoreboards (with TAB) when players hit each other for a specified time.

Commands

  • /combat-tag reload (alias: /ct) — reload configuration

Requires combattag.admin.

Placeholders

  • %ct_in_combat%
  • %ct_time_left%

Configuration

Combat scoreboard

TAB offers a pretty nifty feature where you can display scoreboards determined by conditions. You can use this in conjunction with the in_combat placeholder offered by this plugin to create a scoreboard that is displayed when the player is in combat.

Example usage (in TAB's config.yml):

scoreboard:
  scoreboards:
    # Combat scoreboard (TAB checks top to bottom)
    combat:
      display-condition: "%ct_in_combat%=true" # <- the condition
      title: Combat scoreboard
      lines:
        - ' You are in combat!'
        - ' %ct_time_left% secs left'
    # Default scoreboard
    scoreboard:
      title: Normal scoreboard
      lines:
        - ' The default scoreboard of my server!'

Messages use MiniMessage and live in messages.yml; behaviour is configured in config.yml