Description
Wildcard
What is Wildcard?
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.
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.
The interface is handled internal by custom code and everything depending on structure / design is handled by the files in the webpage folder. You are able to include any css / html / javascript files in there.
Placeholder and template support is only available in html files tho.
Web Interface Preview


Getting started
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)
Database
This mod currently only supports SQL databases.
Right now there are two drivers which are supported.
- MySQL
- 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.
Config
The config (settings.json) is a JSON file and therefore follows the normal JSON Syntax rules.
The default config file looks like this:

Translation
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 mod 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.
en-uk.json

de-de.json

Compatibility
This mod is compatible with Fabric and Forge, you only need to download the correct jar for your platform.
If there are any incompatibilities with any other mods please let me know on GitHub.
YOU ONLY NEED TO INSTALL THIS MOD ON YOUR SERVER, NOT THE CLIENT
Other platforms
Wildcard is also available for other platforms which you can all see on our GitHub.
Comments and Discussions
Comments are comments and not a place to ask for help.
If you need help then contact me over on GitHub.
I'm not opening CurseForge that often so it could be that I might answer quite late when it comes to comments.
That's it, tell me if you need anything on GitHub or leave a comment if you liked it / didn't liked it and maybe also include why :)


