Openfire Plugin How to get input through the dashboard

I have made a plugin to push a message to a different URL whenever the user is offline.
In the plugin I have hardcoded my server’s URL.

Is there a way to get the url’s input from the admin dashboard instead of hard coding it in the plugin’s code? Or any other way.
RestAPI client plugin has its path in Server Settings that allows input of allowed IP Addresses, is something like that possible?

You could use something like JiveGlobals.getProperty(“my-property-name”, “default-url”) to find the URL you want. You can then set the value of “my-property-name” on the System Properties pages.

That’s exactly what I needed. Thanks.