Esempio n. 1
0
  public Boolean run(CommandSender sender, String[] args) {

    if (EditWizard.players.containsKey(((Player) sender).getName())) {
      EditWizard.players.remove(((Player) sender).getName());
      Util.Message(Settings.getString(Setting.MESSAGE_EDITING_MODE_EXIT), sender);
    } else Util.Message(Settings.getString(Setting.MESSAGE_NOT_IN_EDIT_MODE), sender);

    return true;
  }
Esempio n. 2
0
  public Boolean run(CommandSender sender, String[] args) {

    IO.LoadSettings();

    Util.Message("&aConfig reloaded successfully!", sender);

    return true;
  }