A better way to associate metadata with objects such as Players #2766
Labels
Category: API
Related to the plugin API
Resolution: Obsolete
Superseded by other changes
Type: Enhancement
Contributes features or other improvements to PocketMine-MP
Description
Currently it's difficult to store data which is associated with, for example, a
Player
, which will not outlive the player.Current methods used
MetadataStore
: I don't think anyone actually uses this overengineered piece of cargo-cult garbage.MetadataStore
in Bukkit is designed to deal with this problem.Metadatable
are not cleaned up when theMetadatable
is disposed, making it effectively useless for this purpose.Entity->namedtag
The text was updated successfully, but these errors were encountered: