A Bukkit plugin that allows to whitelist people based on identity verification written in Rust.
mvn package
to generate the .jar
file for the plugin.cargo build --release
to generate the dynamic library for the plugin.Both files will be found in /target/
.
fix_whitelist.sh
MAY be run called from start.sh
. It ensures the whitelist
has a correct format and is loaded when the server restarts.
The LD_LIBRARY_PATH
or java.library.path
should be set to the path of the
directory containing the dynamic library.
Environment variables for the http server:
SUPPORT_EMAIL_ADDRESS
- The address that a staff should send an email to in
order to be whitelisted. (The program will not send emails to staff members.)WEBSITE_URL
MC_SERVER_ADDR
SMTP_ADDR
SMTP_PORT
SMTP_USERNAME
SMTP_PASSWORD
VALID_DOMAIN
- The domain that email should belong to in order to be
whitelistedThe .jar
should be put inside the plugins/
directory of your server.
white-list
to true
in server.properties
.spigot.yml
.jq