Config option to keep items with certain display name or lore #107


  • New
  • Enhancment
Open
Assigned to bob7l
  • adventuretc created this issue Nov 28, 2015

    Two config values would be nice the specify a regex which matches custom item display names and lores that should be kept from despawning.

    (Some users of Itemstay don't like the periodic removal check of despawned items and it is not possible to respawn them instantly.
    As of now Itemstay applies a display name to it's items so this could fix that.)

  • adventuretc added the tags New Enhancment Nov 28, 2015
  • bob7l posted a comment Nov 28, 2015

    Clearlag fires an event every time it attempts to rid of the world of entities. http://dev.bukkit.org/bukkit-plugins/clearlagg/pages/developer-api/

    Just listen for the EntityRemoveEvent, remove your items from the list, and your set.

  • adventuretc posted a comment Dec 1, 2015

    @bob7l: Go

    Thanks. Last time I looked the version right before the new api was the latest.
    I sent it out for testing, but it should work.


To post a comment, please login or register a new account.