.
.
.
A mindustry plugin that checks if a image is banned. No more nsfw (hopefully)
ATTENTION:
- We need people to submit NSFW Schematics in the BMI server (Only 18+ Allowed). The more submissions we get the more NSFW get blocked.
- The api uses HTTP, not HTTPS, please refrain from attempting to access the api with https requests.
- Download the latest mod verion in #Releases.
- Go to your server's directory \ config \ mods
- Move the mod (
Jar
file) into the mods folder - Restart the server.
- Use the
mods
command to list all mods. If you see GIB as a mod, GIB was successfully installed. - Join the BMI discord server and use the bot to receive a API key.
- Config the api key through the
bmiconfig
command. - Restart the server once again and look for a successfull api connection message.
The plugin will scan the code of logic blocks, only when placed, for drawflush
which signifies the code prints to a screen.
The code is then hashed and sent to http://c-n.ddns.net:8888
to see if the hash is banned.
These are the raw setting names for the bmiconfig
.
ApiKey
(String): Api Key to access BMI API. To get an API key go to discord.gg/v7SyYd2D3y and use the bot slash command.NudityAction
(Int): 0 for Ban, 1 for Kick, 2 for Force Disconnect, 3 to Ignore.
default:1
BorderlineAction
(Int): 0 for Ban, 1 for Kick, 2 for Force Disconnect, 3 to Ignore.
default:1
FurryAction
(Int): 0 for Ban, 1 for Kick, 2 for Force Disconnect, 3 to Ignore.
default:3
ComplexSearch
(Boolean): If true, each drawflush will be checked individually.
default:false
DisconnectMessage
(String): What message to send when user is banned/kicked/disconnected. Identifier and BMI discord invite will still be sent.
default:[scarlet]Built banned logic image
ConnectionTimeout
(Int): How long, in millis, the server will wait for a http response before giving up.
default:1000
Note:c-n.ddns.net
does not respond to pings.gib_KickDuration
(Int): How many minutes the player will kick be for.
default:180
HTTPThreadCount
(Int): Max # of threads to use for HTTP requests.
default:4
CacheTTL
(Int): How many minutes the cache will retain data for.
default:5
bmiconfig
: Same as config
but for GIB settings. Set value to default
for default value.
gibclearcache
: Clears the hash cache
Rate Limit: Depends on API tier, unverified users can check 10 hashes per second.