Giants/README.md

23 lines
No EOL
716 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 test (and default) keystore is provided:
- keystore: `testkeystore`
- storepass: `123456`
- alias: `testkey`
When using `mvn`, override with `-Djarsigner.`
```
mvn clean package -Djarsigner.keystore=/home/user/mykeystore.jks -Djarsigner.alias=mykey
```
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
```