Now you can filter entities type and custom name.(Both blacklist and whitelist mode are supported.)
Fix an issue that may cause NullPointerException.
You will need to add following contents in front of enabled-death-type in config.yml before update!
Code (YAML):
filter-entities-list: #if set to true (Blacklist mode), the inventory will NOT BE RESTORED if a player killed by the entity in the list. #if set to false (Whitelist mode), the inventory will BE RESTORED if a player killed by the entity in the list. is-blacklist: true
#To disable, leave the list empty. -> entities: [] #Entity name should be the namespace of minecraft. #For example: MAGMA_CUBE, PLAYER, ENDER_DRAGON, ZOMBIE, ZOMBIE_VILLAGER, etc. #You can find it out here: https://minecraft-ids.grahamedgecombe.com/entities entities: - ENDER_DRAGON
filter-entities-name: #if set to true (Blacklist mode), the inventory will NOT BE RESTORED if a player killed by a entity which name is in the list. #if set to false (Whitelist mode), the inventory will BE RESTORED if a player killed by a entity which name is in the list. is-blacklist: false
#To disable, leave the list empty. -> names-list: [] names-list: - 'Custom Entity Name'
- '&7Full name with&a color code'