Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

Game-Of-Arkadia/Plugin-CombatAttributes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CombatAttributes Banner

The plugin is licensed under AGPL-3.0

Fix combat items attributes : solve a logical combat design problem that Mojang refuses to tackle!

Languages available :

  • English (default) 🇬🇧 🇺🇸
  • French 🇫🇷
  • Custom language into custom file

Features

🚧 Fix

  • Lore (damage points, attack speed)
  • Attack damage and attack speed on weapons with attributes
  • Armor, armor toughness and knockback resistance on armor pieces with attributes

🚫 Remove

  • Knockback resistance on netherite armors

ExecutableItems support (soft dependency)

How it works

The plugin uses NMS

When are the items updated ?

The items are not updated all the time, but they are updated automatically, when :

  • a player changes its game language
  • a player run the /fix-attributes command with the item in the hand.
  • an enchantment book is applied in an anvil.
  • an enchantment is applied in an enchantment table.
  • (Knockback resistance netherite) a player takes a netherite armor piece from the creative inventory.
  • (ExecutableItems dependency) the item is given by a moderator who used /ei give command or the EI Editor menu

Does this apply to all items ?

NO. It only works for CUSTOM ITEMS.
⚠️ A CUSTOM ITEM is an item which has attribute modifiers (for example +2 speed)

If this condition is met, the item will be updated during previously announced events.
You can test the presence of this condition with the /fix-attributes command.

Commands

  • /fix-attributes
    Fix items attributes and update lore (not mandatory).

Permissions

Nothing.

Dependencies

  • MCTranslationLib by KeyKatyu