Giants/README.md

20 lines
No EOL
641 B
Markdown

# Giants
This plugin adds naturally spawning Giants with AI to your Minecraft server.
### Signing
Public key goes into `resources/verifies_downloaded_jars.pem`
A default keystore is not provided.
To create a keystore and export public key:
```
keytool -keystore testkeystore2.jks -genkeypair -keyalg RSA -alias testkey -validity 999999
keytool -exportcert -alias testkey -keystore testkeystore2.jks -file cert.cer -rfc
openssl x509 -inform pem -in cert.cer -pubkey -noout > public_key.pem
```
When using `mvn`, override with `-Djarsigner.`
```
mvn clean package -Djarsigner.keystore=/home/user/mykeystore.jks -Djarsigner.alias=mykey
```