Token based Whitelist to give away "Keys" to join your server
1

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.

Default Settings

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 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.

Default Translations

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.

Other platforms

Wildcard is also available for other platforms which you can all see on our GitHub .

Discussions

If you need help then contact me over on GitHub :)

Category: Admin Tools

Published on Feb 1, 2022

views

stars

watchers

total downloads

Licensed under GNU General Public License (GPL)

Promoted Versions

Members