public Particles(Main plugin) {
   super("particles.yml", plugin);
   this.plugin = plugin;
   Config pluginConfig = plugin.getBabies();
   this.enabled = this.config.getBoolean("Enabled");
   this.worldsBlacklist = this.config.getStringList("WorldsBlacklist");
   this.command = this.config.getString("Command");
   this.noPermissionMessage = this.config.getString("NoPermissionMessage");
   this.giveSound = Sound.valueOf(this.config.getString("GiveSound"));
   this.removeSound = Sound.valueOf(this.config.getString("RemoveSound"));
   this.updateInterval = this.config.getDouble("UpdateInterval");
   this.viewDistance = this.config.getInt("ViewDistance");
   this.guiName = this.config.getString("GUIName");
   this.guiSize = Parsing.parseInt(this.config.getString("GUISize"));
   this.noPermissionItem = Methods.getNoPermissionItem(this.config);
   this.noPermissionItem_Enabled = this.config.getBoolean("NoPermissionItem.Enabled");
   this.removeItem = Methods.getGuiItem(this.config, "RemoveItem");
   this.homeItem = Methods.getGuiItem(this.config, "HomeItem");
   this.previousItem = Methods.getGuiItem(this.config, "PreviousItem");
   this.nextItem = Methods.getGuiItem(this.config, "NextItem");
   this.particles = getParticlesInternal();
   this.maxPage = getMaxPageInternal();
   if (pluginConfig.getLoggingLevel() >= 2)
     General.sendColoredMessage(plugin, "Particles config successfully loaded!", ChatColor.GREEN);
 }
 private ParticleStorage getParticleByIdentifier(String identifier) {
   String path = "Particles." + identifier + '.';
   String item = this.config.getString(path + "Item");
   return new ParticleStorage(
       this.plugin,
       identifier,
       new CustomItem(
           Parsing.parseMaterial(item),
           1,
           Parsing.parseData(item),
           Placeholders.parse(this.config.getString(path + "Name")),
           Placeholders.parse(this.config.getString(path + "Description"))),
       this.config.getInt(path + "Position"),
       this.config.getString(path + "Permission"),
       this.config.getString(path + "Particle"),
       this.config.getInt(path + "ID"),
       this.config.getInt(path + "Data"),
       (float) this.config.getDouble(path + "Speed"),
       ParticleShape.valueOf(this.config.getString(path + "Shape").toUpperCase()));
 }