A Bukkit plugin that allows to whitelist people based on identity verification written in Rust.
- Run
mvn packageto generate the.jarfile for the plugin. - Run
cargo build --releaseto 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_URLMC_SERVER_ADDRSMTP_ADDRSMTP_PORTSMTP_USERNAMESMTP_PASSWORDVALID_DOMAIN- The domain that email should belong to in order to be whitelisted
The .jar should be put inside the plugins/ directory of your server.
- You probably want to set
white-listtotrueinserver.properties. - And set a custom whitelist message in
spigot.yml.
jq- rust nightly
- java