mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-25 12:05:14 +01:00
MVReload command.
This commit is contained in:
parent
7f6e9e567e
commit
b687b62a15
24
src/com/onarandombox/MultiVerseCore/commands/MVReload.java
Normal file
24
src/com/onarandombox/MultiVerseCore/commands/MVReload.java
Normal 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;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user