A mindustry plugin that checks if logic block code has a newer version. Attem is updated into supply crew.
ATTENTION:
- We need developers to submit logic code in the LU server. The more submissions we get, the more old code gets updated.
- 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 LU discord server and use the bot to receive an API key.
- Config the api key through the
luconfig
command. - Restart the server once again and look for a successful 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 luconfig
.
ApiKey
(String): Api Key to access LU API. To get an API key go to discord.gg/v7SyYd2D3y and use the bot slash command.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.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
luconfig
: Same as config
but for GIB settings. Set value to default
for default value.
luclearcache
: Clears the hash cache
Rate Limit: Depends on API tier, unverified users can check 10 hashes per second.