CombatTag 2.5

Prevent player from getting combat logout and cheating in pvp

  1. Peace2016
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    My Plugins
    CombatTag, Reputation, CommandSpy, GroupWorldChat, AntiPluginSpy, SafetyGuard

    Description
    Prevent player to cheat in PvP and combat logout. This plugin working with java 8.

    SoftDepend Plugin
    LibsDisguises, WorldGuard, WorldEdit, Factions, Essentials, Vault, Reputation, PlaceholderAPI

    Feautures
    • Enable/Disable combat at certain world
    • AutoRespawn
    • Detect Pet Tamer
    • Death drop head
    • Cheating Prevent Example BlockBreak, BlockPlace, Fly, Disguise, CreativeMode, Invisibility, DropItem, PickupItem, Gamemode change, storage, craft, furnace, enchant, anvil, teleport item, teleportation, commands, elytra and brewing
    • Deny player to walk into safezone
    • Fly/God Region Flag to prevent player to use fly/god in the region
    • KillStats Region Flag to enable/disable killstats run in the region
    • KillStats System
    • KillStreak Reward
    • Punishment System for combatlog
    • Integration to Essentials, LibsDisguises, WorldGuard, WorldEdit, Factions, Vault, Reputation.
    • Two new worldguard region flag
    • Placeholder Support
    • 95% message editable
    • Safezone Knockback
    How to use
    1. Download this plugin.
    2. Download SoftDepend plugin
    3. Put this plugin and softdepend plugin into your plugin folder.
    4. Reload or restart your server.
    5. Configuration your file.
    Commands & Permission
    • /combattag
      • Description: Check combat tag time
      • Aliases: [ct, tag]
      • Permission: combattag.check / OP
    • /combattag reload
      • Description: Reload combat tag plugin
      • Aliases: [ct reload, tag reload]
      • Permission: combattag.admin / OP
    • /combattag untag
      • Description: Untag player
      • Aliases: [ct untag, tag untag]
      • Permission: combattag.admin / OP
    • /killstats
      • Description: Check your killstats/Display killstats help
      • Aliases: [ks]
    • /killstats <player>
      • Description: Check other player killstats
      • Aliases: [ks <player>]
      • Permission: combattag.killstats.check / OP
    • /killstats top kills
      • Description: Display top kills
      • Aliases: [ks top kills]
      • Permission: combattag.killstats.top / OP
    • /killstats top deaths
      • Description: Display top deaths
      • Aliases: [ks top deaths]
      • Permission: combattag.killstats.top / OP
    • /killstats top killstreak
      • Description: Display top killstreak
      • Aliases: [ks top killstreak]
      • Permission: combattag.killstats.top / OP
    • /rg flag <region name> fly <allow/deny>
      • Description: Set fly region flag
      • Permission: Depend on worldguard permission
    • /rg flag <region name> god <allow/deny>
      • Description: Set god region flag
      • Permission: Depend on worldguard permission
    • /rg flag <region name> killstats <allow/deny>
      • Description: Set killstats region flag that enable/disable killstats at the region
      • Permission: Depend on worldguard permission
    • combattag.bypass.tag
      • Description: Bypass being combat tagged
      • Editable: true
    • combattag.bypass.region
      • Description: Bypass fly/god region flag
      • Editable: true
    PlaceHolder
    • PlaceholderAPI by clip
      • %combattag_kills% - Get kills count
      • %combattag_deaths% - Get deaths count
      • %combattag_killstreak% - Get killstreak count
    Configuration
    ######################################
    # Options #
    ######################################
    #List of worlds where combat tagging disabled.
    UpdateChecker: true
    disabled-worlds:
    - "TestWorld"
    #AutoRespawn - Respawn player while death.
    #AutoRespawnPermission - Permission for autorespawn if autorespawn is true.
    AutoRespawn: true
    AutoRespawnPermission: combattag.autorespawn
    #KickReasonBlacklist - Get kick while combat tagged and notice as logout while combat.
    KickReasonBlacklist:
    - disconnect.spam
    ######################################
    # Combat Options #
    ######################################
    #TagTimer - Time of combat tagged player.
    TagTimer: 20
    #Tag-Bypass - Set this true to allow player to bypass combat tag.
    #Tag-BypassPermission - Permission for bypass if bypass is true.
    Tag-Bypass: true
    Tag-BypassPermission: combattag.bypass.tag
    #Untagondeath - Untag when die.
    Untagondeath: true
    #TagMob - True to allow player to tag player.
    #TagPet - True to allow Pet Tamer to be tag.
    TagMob: true
    TagPet: true
    ######################################
    # Drop Heads Section #
    ######################################
    DeathDropHead: true
    DeathDropHeadChance: 25
    ######################################
    # Combattag Settings Section #
    ######################################
    #BlockBreak - Prevent player to break block.
    #BlockPlace - Prevent player to place block.
    #Fly - Disable player fly mode while combat tagged.
    #GodMode - Disable player god mode while combat tagged.
    #Disguise - Disable player disguise while combat tagged.
    #CreativeMode - Disable player creative mode while combat tagged.
    #Invisibility - Disable player invisibility while combat tagged.
    #DropItem - Prevent player to drop item.
    #PickupItem - Prevent player to pickup item.
    #GamemodeChange - Prevent player to change gamemode.
    #Storage - Prevent player to access storage.
    #Craft - Prevent player to craft.
    #Furnace - Prevent player to furnace.
    #Enchant - Prevent player to enchant.
    #Anvil - Prevent player to anvil.
    #EnderPearl - Prevent player to teleport by using enderpearl.
    #ChorusFruit - Prevent player to teleport by using chorusfruit.
    #Teleportation - Prevent player to teleport by using other methods other than enderpearl and chorusfruit.
    #Safezone - Prevent escape pvp which going to the safezone.
    #Brewing - Prevent player to anvil.
    #Commands - Prevent player to use commands.
    #CommandListType - <Whitelist>[Allow player to use command that at CommandList] <BlackList>[Deny player to use command that at CommandList]
    #[allow] - Allow player on that setting.
    #[deny] - Block player on that setting.
    #Elytra - Prevent player to use elytra.
    CombatTag:
    BlockBreak: deny
    BlockPlace: deny
    Fly: deny
    GodMode: deny
    Disguise: deny
    CreativeMode: deny
    Invisibility: deny
    DropItem: deny
    PickupItem: deny
    GamemodeChange: deny
    Storage: deny
    Craft: deny
    Furnace: deny
    Enchant: deny
    Anvil: deny
    EnderPearl: deny
    ChorusFruit: deny
    Teleportation: deny
    Safezone: deny
    Brewing: deny
    Commands: deny
    CommandListType: whitelist
    CommandList:
    - '/helpop'
    Elytra: deny
    #PotionSplashTag - List of splash potion that will be tagged while thrown to enemy
    PotionSplashTag:
    - BLINDNESS
    - CONFUSION
    - HARM
    - HUNGER
    - POISON
    - SLOW
    - SLOW_DIGGING
    - WEAKNESS
    - WITHER
    #TeleportItemResetTagtime - Reset tag time while using enderpearl or chorusfruit.
    TeleportItemResetTagTime: true
    #Safezone-Knockback - Knockback player while trying to move into safezone.
    Safezone-KnockBack: true
    ######################################
    # WorldGuard Region Flag #
    ######################################
    #Region-BypassPermission - Permission for bypass.
    Region-BypassPermission: combattag.bypass.region
    #Region-Fly - Register fly worldguard region flag. While player moving into region that having (fly deny) will automatic disable fly.
    #Region-God - Register god worldguard region flag. While player moving into region that having (god deny) will automatic disable god.
    #Region-KillStats - Register killstats worldguard region flag. While player moving into region that having (killstats deny) will not stored the stats.
    Region-God: true
    Region-Fly: true
    Region-KillStats: true
    ######################################
    # Combatlog Settings Section #
    ######################################
    #PunishmentSystem - True to enable, False to disable
    #InstantKill - After join, straight kill player that logout from battling.
    #ExpClear - After join, straight clear player exp that logout from battling.
    #MoneyDeduct - After join, straight deduct player money that logout from battling. [Set 0 to disable] (Required Vault Plugin)
    #Command - True to run command list.
    #CommandList - After player that logout from battling join, run the command.
    #Reputation - Reputation that will be deducted (Required Reputation Plugin)
    PunishmentSystem: true
    Punishments:
    InstantKill: true
    EXPClear: false
    MoneyDeduct: 1000
    Command: true
    CommandList:
    - 'warn %player% combat logout'
    Reputation: 5
    ######################################
    # KillStats Options #
    ######################################
    #KillstatsSystem - True to enable, False to disable
    #Disabled-World - World that kill stats not working
    #KillStreakReward:
    # <amount>:
    # Command:
    # - '<Command to run when reach killstreak>'
    KillstatsSystem: true
    Killstats:
    Disabled-World:
    - "TestWorld"
    KillStreakReward:
    5:
    Command:
    - 'eco give %player% 1000'
    10:
    Command:
    - 'eco give %player% 5000'
    Prefix: '&e[&aCombattag&e] '
    Messages:
    Tag: '&bYou participated in the battle. Type &c/ct &bto check your combat timer.'
    Untag: '&aYou are no longer in the battle.'
    AutoRespawn: '&bSuccesful automatic respawned.'
    BlockBreak: '&6BlockBreak &cis disabled during combat.'
    BlockPlace: '&6BlockPlace &cis disabled during combat.'
    DropItem: '&6ItemDrop &cis disabled during combat.'
    PickupItem: '&6ItemPickup &cis disabled during combat.'
    GamemodeChange: '&6Gamemode Change &cis disabled during combat.'
    Storage: '&6Storage &cis disabled during combat.'
    Craft: '&6Craft &cis disabled during combat.'
    Furnace: '&6Furnace &cis disabled during combat.'
    Enchant: '&6Enchant &cis disabled during combat.'
    Anvil: '&6Anvil &cis disabled during combat.'
    Brewing: '&6Brewing &cis disabled during combat.'
    EnderPearl: '&6EnderPearl &cis disabled during combat.'
    ChorusFruit: '&6ChorusFruit &cis disabled during combat.'
    Teleportation: '&6Teleportation &cis disabled during combat.'
    Fly: '&6Fly &cis disabled during combat.'
    Disguise: '&6Disguise &cis disabled during combat.'
    GodMode: '&6God mode &cis disabled during combat.'
    Invisibility: '&6Invisibility &cis disabled during combat.'
    Region-God: '&6God mode &cis disabled in this region.'
    Region-Fly: '&6Fly mode &cis disabled in this region.'
    Safezone: '&cSorry, you cannot walk into safezone.'
    Combatlog: '&cYou logged out while battling.'
    PunishNotify: '&c%punishment% punishment given out.'
    InGamePlayerOnly: '&cSorry, ingameplayer only.'
    NoPermission: '&cSorry, you no have permission.'
    PluginReload: '&aSuccesful reloaded Combattag plugin.'
    TagCheckYes: '&a%time% &cseconds remaining for combat tag.'
    TagCheckNo: '&aYou are not in battle.'
    Usage-Untag: '&cUsage: /ct untag (player)'
    PlayerOffline: '&cSorry, that player offline.'
    TargetUntagSuccess: '&aSuccesful untag that player.'
    TargetUntagFail: '&cThat player not in battle.'
    CommandBlock: '&6%command% &cis disabled during combat.'
    Elytra: '&6Elytra &cis disabled during combat.'
    PlayerNoFound: '&cSorry, player not found.'
    TopList:
    Header: '&a===========&7[&6%type% &eTop&7]&a==========='
    List: '&b#%top% - &6%player% &f[%result%]'
    Footer: '&a===========&7[&6%type% &eTop&7]&a==========='
    KillStats:
    Header: '&e===========&7[&aKillStats &5- &6%player%&7]&e==========='
    Kills: '&eKills &7- &b%amount%'
    Death: '&eDeath &7- &b%amount%'
    Killstreak: '&eKillstreak &7- &b%amount%'
    Footer: '&e===========&7[&aKillStats &5- &6%player%&7]&e==========='
    Plan To Do
    • MySQL
    • MVdWPlaceholderAPI
    • Particle
    Public API
    Code (Java):
    package com.peacehero.combattag.handler;

    import org.bukkit.entity.Player;

    import com.peacehero.combattag.main.PublicApi;

    public class PublicAPI_CombatTag {
        public void setup(Player player){
            int kills = PublicApi.getKills(player);
            int deaths = PublicApi.getDeaths(player);
            int killstreak = PublicApi.getKillstreak(player);
        }
    }
     

Recent Updates

  1. Fixed bugs
  2. Fixed Error
  3. Fixed error and add knockback

Recent Reviews

  1. predavanje
    predavanje
    5/5,
    Version: 2.3
    Good plugin does what it should do there is also quick support I had suggestion and it was added in few hours
    1. Peace2016
      Author's Response
      Thank you for your review.