mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-01-19 16:59:36 +01:00
Register commands
This commit is contained in:
parent
cafaa31228
commit
3487d7d4c4
@ -66,6 +66,7 @@ import org.bukkit.plugin.RegisteredServiceProvider;
|
|||||||
import org.bukkit.plugin.java.JavaPlugin;
|
import org.bukkit.plugin.java.JavaPlugin;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.commands.Buy;
|
import com.intellectualcrafters.plot.commands.Buy;
|
||||||
|
import com.intellectualcrafters.plot.commands.Cluster;
|
||||||
import com.intellectualcrafters.plot.commands.MainCommand;
|
import com.intellectualcrafters.plot.commands.MainCommand;
|
||||||
import com.intellectualcrafters.plot.commands.WE_Anywhere;
|
import com.intellectualcrafters.plot.commands.WE_Anywhere;
|
||||||
import com.intellectualcrafters.plot.config.C;
|
import com.intellectualcrafters.plot.config.C;
|
||||||
@ -1243,6 +1244,9 @@ public class PlotMain extends JavaPlugin implements Listener {
|
|||||||
if (C.ENABLED.s().length() > 0) {
|
if (C.ENABLED.s().length() > 0) {
|
||||||
sendConsoleSenderMessage(C.ENABLED);
|
sendConsoleSenderMessage(C.ENABLED);
|
||||||
}
|
}
|
||||||
|
if (Settings.ENABLE_CLUSTERS) {
|
||||||
|
MainCommand.subCommands.add(new Cluster());
|
||||||
|
}
|
||||||
|
|
||||||
// Add tables to this one, if we create more :D
|
// Add tables to this one, if we create more :D
|
||||||
final String[] tables = new String[]{"plot_trusted", "plot_ratings", "plot_comments"};
|
final String[] tables = new String[]{"plot_trusted", "plot_ratings", "plot_comments"};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user