Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-2077

Attribute modifiers from plugins save to player.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Tested with AttributeDemo plugin and tested with no plugins

    • AttributeDemo (Any plugin that modifies attributes using the attribute API)

      I've noticed that attributes modified by plugins stay modified even when the plugin is not loaded in. For example, if you set the GENERIC_ATTACK_SPEED attribute to 16 in AttributeDemo and then remove the plugin, any player online while the plugin was loaded and modifying attributes had that attribute modifier stick to them. Players could have no GENERIC_ATTACK_SPEED cooldowns even when the plugin AttributeDemo was no loaded in the server.

      I also have a private plugin which multiplies the GENERIC_ARMOR attribute by 1.2 which no longer works, it only works for a short period of time after I reset all the player data in the world directory (which i something I don't plan to constantly do!).

            Unassigned Unassigned
            Frozon Frozon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: