MVReload command.

This commit is contained in:
Rigby 2011-03-09 16:02:39 +00:00
parent 7f6e9e567e
commit b687b62a15

View File

@ -0,0 +1,24 @@
package com.onarandombox.MultiVerseCore.commands;
import org.bukkit.command.CommandSender;
import com.onarandombox.MultiVerseCore.MVCommandHandler;
import com.onarandombox.MultiVerseCore.MultiVerseCore;
public class MVReload extends MVCommandHandler {
public MVReload(MultiVerseCore plugin) {
super(plugin);
}
@Override
public boolean perform(CommandSender sender, String[] args) {
// TODO: Implement Permissions
MultiVerseCore.log.info(MultiVerseCore.logPrefix + "Reloading MultiVerse");
plugin.loadConfigs();
plugin.loadWorlds();
MultiVerseCore.log.info(MultiVerseCore.logPrefix + "Reload Complete!");
return true;
}
}