This is a discussion topic for the Ore project, Wildcard. View the full project on Ore for downloads and more information.
Wildcard is a small Whitelist mod which adds the ability to either whitelist people on normal fashion with a command or to just give away keys which can be used on a fully customizable Web Interface.
The web interface consists of a folder called webpage in the mod’s data directory. You can change everything related to the interface there.
Placeholder and template support is only available in html files tho.
Using this mod is mostly just drag and drop.
Put it into your mods folder and start the server.
The plugin will be useable directly from the start up.
I would still encourage to change some settings like the Web Interface host name. If you don’t change the host name then the Web Interface will be hosted at localhost meaning only the device itself can access it.
If you want SSL for that side I would recommend using a reverse Proxy as I’ve no plans on adding SSL support at the moment as the HttpServer was self written and I’ve no clue how you actually do that x)
This mod currently only supports SQL databases.
Right now there are two drivers which are supported.
- SQLite (default)
MySQL does not just mean MySQL, it should also work with PostgreSQL; MariaDB and any other SQL database which is similar to MySQL.
The config (settings.json) is a JSON file and therefore follows the normal JSON Syntax rules.
The mod supports two languages by default
- (en-uk) English (United Kingdom)
- (de-de) Deutsch (Deutschland)
As of right now the mod only uses one language at the time as I thought that would be enough, if multiple languages (basically per player languages) are needed then I can look into adding that.
The language is set in the settings.json and you can add as many languages to the plugin as you want.
To add a new language you only need to create a json file in the translation folder. I recommend using the short language code as the name of the file but that is not needed.
The content of the file is again, JSON.
The language code is used to set the language in the config, I would recommend using the real language code but you can yeah, ignore that.
And the name is obviously the language name and again you can set it to whatever you like it doesn’t really need to be set to the real language name but again I recommend doing so.
Wildcard is also available for other platforms which you can all see on our GitHub .
If you need help then contact me over on GitHub