Armor-Ignoring weapon plugin

Discussion in 'Plugin Requests' started by Perzan, Jun 21, 2018.

Thread Status:
Not open for further replies.
  1. Offline

    Perzan

    Plugin category: Mechanics


    Minecraft version: Spigot 1.12.2


    Suggested name: Piercing Items


    Shortest summary ever: Allows weapons or items to ignore the armor of enemies.


    The mechanics of the plugin:

    Let’s say an item has the "Pierce" byte tag in its tag compound. This is possible via modifying player DAT files directly or using a plugin such as PowerNBT. The plugin that I am requesting will need to be able to read this information about the item.


    If the value “1” is parsed to the “Pierce” tag of this item, and a vulnerable enemy is damaged by a player holding this item in their main hand, the enemy’s armor points and enchantment protection factor (EPF) will be ignored by the damage incoming to the enemy by the player. The weapon will not ignore the status effect of any level of Resistance applied on the enemy, however. This means that the enemy will still be protected with any of their Resistance status effect as usual.


    If the value “2” is parsed to the “Pierce” tag of this item, then the weapon will behave the same way as if it had the value “1” parsed to it, except that the weapon will not carry out it’s usually armor-ignoring process if the user is holding a black-listed item in their offhand. In other words, the "Pierce" byte tag will behave as if it was parsed as "0" with this condition.


    Black-listed items will be found in the plugin folder. Items listed on this black list are non-specific. For example, if “minecraft:bow” was listed, all bows types will be blacklisted. Blacklisted items can include an empty offhand! (I’m not sure if “0” is the item ID for nothing in the user’s offhand.)


    If the value “3” is parsed to the “Pierce” tag of this item, then the weapon will behave the same way as if it had the value “1” parsed to it, except that the weapon will not carry out it’s usually armor-ignoring process if the user is not holding a white-listed item in their offhand. In other words, the "Pierce" byte tag will behave as if it was parsed as "0" with this condition.


    White-listed items will be found in the plugin folder. Items listed on this white list are non-specific. For example, if “minecraft:bow” was listed, all bows types will be whitelisted. Whitelisted items can include an empty offhand!


    In the config file, if “Mode” is set to “B”, then the blacklist is enabled and the whitelist is disabled. If set to “W”, the whitelist is enabled and the blacklist is disabled. A note will be above or below this config option indicating which is which. The inputted modes are not case sensitive.


    I will list some commands which will be able to be executed below.


    Ideas for commands (Not case sensitive):

    · “/Pierce Reload” - Reloads the main configuration, the blacklist, and the white list.

    · “/Pierce Mode Blacklist” or “/Pierce Mode B”

    · “/Pierce Mode Whitelist” or “/Pierce Mode W”


    Ideas for permissions:

    · Pierce.reload

    · Pierce.mode.set


    When I'd like it by: Any time within 15-20 days.
     
    Last edited: Jun 22, 2018
Thread Status:
Not open for further replies.

Share This Page