Adding custom HTML page via Plugin

I’m expanding my Discord Bot Plugin to also create a HTML page for embedding a status panel on websites.

If I create the html/css/js inside a folder in the WebRoot of an instance is it possible to make accessible via a URL (i.e. amp.domain.com/instance/WebPanel/panel.html)?

If not, I assume I’d need to create a listener on an unused port and serve up the page there?

You’d use a C# plugin in AMP to do that. They can serve up extra content.

This is for a C# plugin, do you have any examples? I need to have the page available without any login. It’s designed to be embedded.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.