From 9915aece04e2c3af74bb8b95a2916e6e0a038108 Mon Sep 17 00:00:00 2001 From: Andrei Mihu Date: Sat, 11 Jun 2022 16:05:40 +0100 Subject: [PATCH] Update readme. --- README.md | 2 +- sample_go_module/README.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0362a8425..07f34dcdf 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ![Nakama](.github/logo.png?raw=true "Nakama logo") ====== -[![GitHub release](https://img.shields.io/github/release/heroiclabs/nakama.svg)](https://heroiclabs.com/docs/nakama-download/) +[![GitHub release](https://img.shields.io/github/release/heroiclabs/nakama.svg)](https://heroiclabs.com/docs/nakama/getting-started/install/) [![Forum](https://img.shields.io/badge/forum-online-success.svg)](https://forum.heroiclabs.com) [![License](https://img.shields.io/github/license/heroiclabs/nakama.svg)](https://github.com/heroiclabs/nakama/blob/master/LICENSE) diff --git a/sample_go_module/README.md b/sample_go_module/README.md index 7d5774893..3ffd983a8 100644 --- a/sample_go_module/README.md +++ b/sample_go_module/README.md @@ -43,12 +43,12 @@ To setup your own project to build modules for the game server you can follow th ```bash go mod init "plugin_code" - go get -u "github.com/heroiclabs/nakama-common@v1.4.0" + go get -u "github.com/heroiclabs/nakama-common@v1.23.0" ``` - ⚠️ __NOTE__: If you're working on Nakama's master branch drop the `@v1.4.0` from the above snippet. + ⚠️ __NOTE__: If you're working on Nakama's master branch drop the `@v1.23.0` from the above snippet. - ⚠️ __NOTE__: The official Nakama v2.11.+ expects nakama-common v1.4.0 in order to run. If you use v1.2.0, older, or drop the version reference, you might get a `plugin was built with a different version of package` error while starting up the nakama server. + ⚠️ __NOTE__: The official Nakama v3.12.+ expects nakama-common v1.23.0 in order to run. If you use v1.22.0, older, or drop the version reference, you might get a `plugin was built with a different version of package` error while starting up the Nakama server. 4. Develop your plugin code (you can use the [minimal example](#minimal-example) as a starting point) and save it within your plugin project directory with the `.go` extension. @@ -82,7 +82,7 @@ For Windows development and environments where you want to use our official Dock ```bash cd "$HOME/plugin_code" # Your project folder. See instructions above. - docker run --rm -w "/builder" -v "${PWD}:/builder" heroiclabs/nakama-pluginbuilder:2.11.1 build -buildmode=plugin -trimpath -o ./modules/plugin_code.so + docker run --rm -w "/builder" -v "${PWD}:/builder" heroiclabs/nakama-pluginbuilder:3.12.0 build -buildmode=plugin -trimpath -o ./modules/plugin_code.so ``` In the command above we bind-mount your current folder into the container and use the Go toolchain inside it to run the build. The output artifacts are written back into your host filesystem. -- GitLab