package uk.co.eluinhost.ultrahardcore;

import com.google.inject.AbstractModule;
import org.bukkit.plugin.Plugin;
import uk.co.eluinhost.commands.CommandHandler;
import uk.co.eluinhost.commands.CommandMap;
import uk.co.eluinhost.commands.RealCommandHandler;
import uk.co.eluinhost.commands.RealCommandMap;
import uk.co.eluinhost.configuration.ConfigManager;
import uk.co.eluinhost.configuration.RealConfigManager;
import uk.co.eluinhost.features.FeatureManager;
import uk.co.eluinhost.features.RealFeatureManager;
import uk.co.eluinhost.ultrahardcore.borders.BorderTypeManager;
import uk.co.eluinhost.ultrahardcore.borders.RealBorderTypeManager;
import uk.co.eluinhost.ultrahardcore.scatter.FallProtector;
import uk.co.eluinhost.ultrahardcore.scatter.Protector;

public class UHCModule extends AbstractModule {

    private final Plugin m_plugin;

    /**
     * Guice bindings
     * @param plugin the plugin to run for
     */
    public UHCModule(Plugin plugin){
        m_plugin = plugin;
    }

    @SuppressWarnings("OverlyCoupledMethod")
    @Override
    protected void configure() {
        bind(Plugin.class).toInstance(m_plugin);
        //bind(Logger.class).toInstance(m_plugin.getLogger());
        bind(CommandHandler.class).to(RealCommandHandler.class);
        bind(CommandMap.class).to(RealCommandMap.class);
        bind(ConfigManager.class).to(RealConfigManager.class);
        bind(FeatureManager.class).to(RealFeatureManager.class);
        bind(BorderTypeManager.class).to(RealBorderTypeManager.class);
        bind(Protector.class).to(FallProtector.class);
    }
}

package uk.co.eluinhost.ultrahardcore;

import com.google.inject.AbstractModule;
import org.bukkit.plugin.Plugin;
import uk.co.eluinhost.commands.CommandHandler;
import uk.co.eluinhost.commands.CommandMap;
import uk.co.eluinhost.commands.RealCommandHandler;
import uk.co.eluinhost.commands.RealCommandMap;
import uk.co.eluinhost.configuration.ConfigManager;
import uk.co.eluinhost.configuration.RealConfigManager;
import uk.co.eluinhost.features.FeatureManager;
import uk.co.eluinhost.features.RealFeatureManager;
import uk.co.eluinhost.ultrahardcore.borders.BorderTypeManager;
import uk.co.eluinhost.ultrahardcore.borders.RealBorderTypeManager;
import uk.co.eluinhost.ultrahardcore.scatter.FallProtector;
import uk.co.eluinhost.ultrahardcore.scatter.Protector;
import uk.co.eluinhost.ultrahardcore.scatter.RealScatterManager;
import uk.co.eluinhost.ultrahardcore.scatter.ScatterManager;

public class UHCModule extends AbstractModule {

    private final Plugin m_plugin;

    /**
     * Guice bindings
     * @param plugin the plugin to run for
     */
    public UHCModule(Plugin plugin){
        m_plugin = plugin;
    }

    @SuppressWarnings("OverlyCoupledMethod")
    @Override
    protected void configure() {
        bind(Plugin.class).toInstance(m_plugin);
        //bind(Logger.class).toInstance(m_plugin.getLogger());
        bind(CommandHandler.class).to(RealCommandHandler.class);
        bind(CommandMap.class).to(RealCommandMap.class);
        bind(ConfigManager.class).to(RealConfigManager.class);
        bind(FeatureManager.class).to(RealFeatureManager.class);
        bind(BorderTypeManager.class).to(RealBorderTypeManager.class);
        bind(ScatterManager.class).to(RealScatterManager.class);
        bind(Protector.class).to(FallProtector.class);
    }
}

add the scatter manager binding