From 29e19bca3f4b1f7b6e2e9ea35ab72bc62c4c4868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Kosman?= Date: Thu, 22 Aug 2024 22:48:28 +0200 Subject: docs: add translation feature in readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 06c25bd..b3084ed 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,8 @@ Stop the game when every innocent is dead or when the timer ended (one hour and The moles can see the name of other moles with `/molehunt moles`. +You can configure every text with a resource pack (for reference, check out [the default lang file](src/client/resources/assets/molehunt/lang/en_us.json)). + ## Technologies - Java 21 -- cgit v1.2.3 From 2ec447626c1b87a74cb3201ecc5407ee3f447cc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Kosman?= Date: Fri, 23 Aug 2024 13:07:31 +0200 Subject: feat: add config file --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index b3084ed..401b81f 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,11 @@ Stop the game when every innocent is dead or when the timer ended (one hour and The moles can see the name of other moles with `/molehunt moles`. -You can configure every text with a resource pack (for reference, check out [the default lang file](src/client/resources/assets/molehunt/lang/en_us.json)). +You can configure every text line and the skin with a resource pack (for reference, check out +[the default lang file](src/client/resources/assets/molehunt/lang/en_us.json) and [the default +skin file](src/client/resources/assets/molehunt/textures/skin.png)). + +Also, more server-side values can be changed in the configuration file, located in your server config directory. ## Technologies -- cgit v1.2.3 From c6e309f02732eb79a24db6780c4f8f718fac2a29 Mon Sep 17 00:00:00 2001 From: anhgelus Date: Fri, 23 Aug 2024 14:01:38 +0000 Subject: feat(config): hot reload with /molehunt reload --- README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 401b81f..2d22e84 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ skin file](src/client/resources/assets/molehunt/textures/skin.png)). Also, more server-side values can be changed in the configuration file, located in your server config directory. +Config hot reloadable with `/molehunt reload` + ## Technologies - Java 21 -- cgit v1.2.3 From e3611b77c66d303d97528fa221553c1c1a44d1c6 Mon Sep 17 00:00:00 2001 From: anhgelus Date: Fri, 23 Aug 2024 18:22:14 +0000 Subject: feat(config): options are now gamerules --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 2d22e84..8cbd471 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,13 @@ skin file](src/client/resources/assets/molehunt/textures/skin.png)). Also, more server-side values can be changed in the configuration file, located in your server config directory. -Config hot reloadable with `/molehunt reload` +You can edit the configuration with these gamerules: +- `gameDuration` +- `molePercentage` +- `moleCount` +- `showNametags` +- `showTab` +- `showSkins` ## Technologies -- cgit v1.2.3 From 42bffd9743060356a7fbf1f4157c175a1f23edda Mon Sep 17 00:00:00 2001 From: anhgelus Date: Fri, 23 Aug 2024 18:25:11 +0000 Subject: docs(info): update readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 8cbd471..f352a66 100644 --- a/README.md +++ b/README.md @@ -24,13 +24,15 @@ Stop the game when every innocent is dead or when the timer ended (one hour and The moles can see the name of other moles with `/molehunt moles`. +## Configuration + You can configure every text line and the skin with a resource pack (for reference, check out [the default lang file](src/client/resources/assets/molehunt/lang/en_us.json) and [the default skin file](src/client/resources/assets/molehunt/textures/skin.png)). Also, more server-side values can be changed in the configuration file, located in your server config directory. -You can edit the configuration with these gamerules: +The configuration can be modified in game with these gamerules: - `gameDuration` - `molePercentage` - `moleCount` -- cgit v1.2.3 From b5434aa054090fd8a3c67590363c0638cb7eb612 Mon Sep 17 00:00:00 2001 From: anhgelus Date: Fri, 23 Aug 2024 21:02:47 +0000 Subject: docs(info): update config section in readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index f352a66..bbc6634 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,10 @@ You can configure every text line and the skin with a resource pack (for referen skin file](src/client/resources/assets/molehunt/textures/skin.png)). Also, more server-side values can be changed in the configuration file, located in your server config directory. +These settings will be applied by default to every new world. +If you want to customize only one world, use the gamerules. -The configuration can be modified in game with these gamerules: +Every setting can be modified in game with these gamerules: - `gameDuration` - `molePercentage` - `moleCount` -- cgit v1.2.3 From 191d51a2c337d37a83d6076abf5c67c76f6235b7 Mon Sep 17 00:00:00 2001 From: anhgelus Date: Fri, 23 Aug 2024 21:10:15 +0000 Subject: docs(info): update new gamerules' name in readme --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index bbc6634..f739a69 100644 --- a/README.md +++ b/README.md @@ -35,12 +35,12 @@ These settings will be applied by default to every new world. If you want to customize only one world, use the gamerules. Every setting can be modified in game with these gamerules: -- `gameDuration` -- `molePercentage` -- `moleCount` -- `showNametags` -- `showTab` -- `showSkins` +- `molehunt:gameDuration` +- `molehunt:molePercentage` +- `molehunt:moleCount` +- `molehunt:showNametags` +- `molehunt:showTab` +- `molehunt:showSkins` ## Technologies -- cgit v1.2.3