fulltree = true; // Create a new settings page for your plugin. $settings = new admin_settingpage('local_asystgrade', get_string('pluginname', 'local_asystgrade')); // Add the settings page to the admin tree. $ADMIN->add('localplugins', $settings); // Add your settings here. $settings->add(new admin_setting_configtext( 'local_asystgrade/apiendpoint', get_string('apiendpoint', 'local_asystgrade'), get_string('apiendpoint_desc', 'local_asystgrade'), '', PARAM_URL )); }