public RPGValue(Player player, RPGItem item, String name, Object value) { this.value = value; map.put(player.getName() + "." + item.getID() + "." + name, this); }
public static RPGValue get(Player player, RPGItem item, String name) { return map.get(player.getName() + "." + item.getID() + "." + name); }