get('admin', 'integration_updated_successfully')); Redirect::to(URL::build('/panel/core/integrations/', 'integration=' . $integration->getName())); } } else { $errors[] = $language->get('general', 'invalid_token'); } } $template->getEngine()->addVariables([ 'PREMIUM_ACCOUNTS' => $language->get('admin', 'force_premium_accounts'), 'PREMIUM_ACCOUNTS_VALUE' => Settings::get('uuid_linking'), 'REQUIRE_USERNAME_REGISTRATION' => $language->get('admin', 'require_minecraft_username_on_registration'), 'REQUIRE_USERNAME_REGISTRATION_VALUE' => Settings::get('mc_username_registration', '1', 'Minecraft Integration'), 'SETTINGS_TEMPLATE' => 'integrations/minecraft/integration_settings.tpl' ]);