Giants/README.md
2025-03-25 16:25:24 +01:00

29 lines
No EOL
905 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
```
### Color scheme
The following color scheme is used for chat messages:
- Errors: RED
- "Soft errors" (like no permission): GRAY
- Status messages: GRAY
- Notice / call for action: YELLOW (optionally also BOLD)
- Information: GOLD
- Highlight: AQUA (TODO do that)