A project written in Kotlin that allows you to work with the Minecraft network protocol.
net- handles packets and provides an abstract client that reads incoming packetsserver- a TCP server that processes client connectionsdummysrv- a standalone JVM application that simulates a Minecraft server (displays the MOTD and kicks players upon connection)serverstatus- can be run as a standalone JVM application to retrieve the status of a Minecraft server or used as a library to retrieve the status of a Minecraft server
- Log in to your account at Central sonatype and generate a
User Token(BE SURE TO SAVE IT) - Generate a GPG key using
gpg --full-generate-key, select a key length of 4096, fill in the details, and BE SURE to save the passphrase - Export the GPG keys using
gpg --list-keys, then copy the last 8 HEX characters from the pub category - Export your secret GPG keys using
gpg --export-secret-keys -o /path/to/secring/secring.gpg(for example:C:\Users\xffc\secring.gpg) - Publish the keys using
gpg --keyserver keyserver.ubuntu.com --send-keys XXX, where XXX is your full HEX key (see step 2) - Create ~/.gradle/gradle.properties and fill it out:
signing.keyId=Last 8 HEX characters from step 2
signing.password=Passphrase from step 1
signing.secretKeyRingFile=Path to secret GPG keys from step 3
mavenCentralUsername=Central Sonatype username from step 1
mavenCentralPassword=Central Sonatype password from step 1- Update the version
- Run
gradlew publish