@maxver *
@license GPLv3
@icon https://github.com/unrealircd/unrealircd-webpanel-plugins/blob/main/example_plugin/screenshots/example_icon.png?raw=true
- @screenshot screenshots/example_plugin.png
- @screenshot screenshots/example_plugin2.png
+ @screenshot https://github.com/unrealircd/unrealircd-webpanel-plugins/blob/main/example_plugin/screenshots/example_plugin2.jpg?raw=true
+ @screenshot https://github.com/unrealircd/unrealircd-webpanel-plugins/blob/main/example_plugin/screenshots/example_plugin.jpg?raw=true
*/
class example_plugin
/* You must specify these here for internal use
* All of these are mandatory or your plugin will not work.
*/
- public $name = "Example plugin"; // Name of your plugin
+ public $name = "example_plugin"; // Name of your plugin
public $author = "Valware"; // Name or handle of your lovely self
public $version = "1.0"; // Version of this plugin
public $description = "An example plugin to show how to make stuff"; // Description of your beautiful plugin
{
$page_name = "Example";
$page_link = "plugins/example_plugin/example.php";
- $pages[$page_name] = $page_link;
+ $pages[$page_name] = ["script" => $page_link, "no_irc_server_required" => true];
}
}