Skip to content

Firav/TownyCombat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TownyCombat

A combat plugin for Towny, containing some fun combat/battle/pvp features.

Features:

  • 🐍 ❌ Prevent Towny-Block-Glitching by quick-block-place/destroy:
    • Via a secret magical method.
    • Try it and see!
  • ⚰️ 💰 Keep Inventory on Death:
    • If you die within 400 blocks of a town-homeblock, you keep your inventory and levels.
    • Any tools/weapons/armour in your inventory are subject to a 20% degrade.
  • 💂 ⭐ Infantry Enchancements
    • Speed Increase: +12%
    • Knockback Resistance: +25%
  • 🐴 ⭐ Cavalry Enhancements:
    • Overview:
      • Mounted Horses (aka cavalry) play the role of "Tanks" on the battlefield: tough + mobile + powerful shot.
      • Great v.s most infantry, but very vulnerable to infantry/cavalry with spears, and sustained crossbow attack.
      • Not "one man armies", but instead they do best when operating in combination with other troop types.
    • Special Abilities:
      • Teleport with player on /n or /t spawn.
      • Do not rear up on taking damage.
      • Speed Increase: +12%.
      • Resistance to PVP Attack Damage: +60% .
      • Knockback Resistance: +75%.
      • Missile Shield: Immune to PVP arrows (except from crossbows).
      • Cavalry Strength Bonus: +3 PVP Strength Bonus vs Infantry for 1 hit. Cooldown for 10 seconds.
    • Special Vulnerabilities:
      • Take +9 damage when hit by a spear in PVP.
  • ⚔️ 🆕 New Weapons
    • Warning: While native weapons are enabled, wooden swords and stone axes are not craftable (to avoid battlefield confusion).
    • Spear:
      • +9 PVP Damage v.s. Cavalry image
    • Warhammer
      • 15% PVP Chance to Break Shield image
    • Custom Weapons
      • The special bonuses can also be given to custom weapons made by other plugins. See config file for more details.
  • 🛅 🧠 👕 Encumbrance, Tactics, & Military Uniforms
    • :Encumbrance:
      • Standard RPG feature:
        • All soldiers do not move at exactly the same speed.
        • Rather, encumbered soldiers move more slowly.
      • Base Encumbrance / Speed adjustments:
        • Helmet: 0.6%
        • Leggings: 1.2%
        • Chestplate: 1.6%
        • Boots: 0.6%
        • Bow: 3%
        • Crossbow: 12%
        • Spear: 5%
        • Warhammer: 12%
        • Shield: 4%
        • Shulker Box: 15%
        • Ender Chest: 30%
      • Armour Material Modifiers:
        • Leather: x1
        • Chain-Mail: x2
        • Gold/Turtle: x3
        • Iron: x4
        • Diamond: x5
        • Netherite: x6
      • Horse Carry Modifier:
        • -50%
      • Heavy Armour Jump Damage:
        • Players with 8% encumbrance or more sometimes incur some damage when jumping or going up a hill.
        • Compensates for an MC bug which allows slowdown-bypassing via. bunny-hopping.
    • Tactics:
      • With encumbrance in effect, troops types and tactics naturally become more diverse.
    • Military Uniforms
      • With encumbrance in effect, it makes little sense for an nation to put every soldier in a full-diamond/netherite kit.
      • It makes a more sense to equip all units with at least one identifying piece of kit (e.g. a coloured leather helmet).
  • 💖 ➕ Auto-Potting
    • In combat, Splash health potions (I and II) are automatically consumed after a player's health falls below 5 hearts.
    • This feature unlocks battlefield participation for the majority of Towny players (e.g. new-players / casual-players / traders / builders / roleplayers) who are otherwise massively excluded from battles, by a too-high skill bar of lightning-quick inventory-management.
    • Protests can be expected from a minority, who having already cleared the participation bar, are willing to continue excluding the majority from battles, in exchange for holding on to their own power.
    • More progressive PVP'ers may recognize both a challenge and an opportunity, to dominate the battlefield less by twitchy young fingers, and more by solid army organization, good discipline, reliable logistics and clever tactics.
  • 👤 👣 Tactical Invisibilty: (Disabled By Default)
    • Use stealth tactics by going invisible on the dynmap.
    • This is a hardcore battle feature, which enables stealth tactics, in exchange for showing less activity on the dynmap.
    • There are 2 Modes:
      • Automatic: You go map-invisible when in the wilderness.
      • Triggered: You go map-invisible when holding a certain combination of items in your hands (e.g. double diamond swords).

Commands:

  • /tcm reload: Reloads config and language settings

Installation:

  1. Download the latest TownyCombat.jar from here.
  2. Drop the jar into your plugins folder.
  3. Restart your server.

About

A combat plugin for Towny

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%