Skip to content

Commit ce8b873

Browse files
committed
Bump version
1 parent 59f56a0 commit ce8b873

File tree

2 files changed

+30
-12
lines changed

2 files changed

+30
-12
lines changed

README.md

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,37 @@ Join [my Discord server](https://discord.gg/PuqmUMaJWk) for support and updates
77
- `/shout <message>` - Sends a message to all players in the server. Op required
88

99
### Configuration
10-
The file is located at `config/regional_chat.json`
10+
Since 1.1.0, you can use TOML or JSON5 for your config file! (**[Quilt Loader](https://quiltmc.org/) Required**).
11+
Files for older versions of the mod (1.0.x) are automatically converted to TOML, but you may keep your file in json by moving it to the path below.
12+
13+
The file is located at `config/regional_chat/regional_chat.toml`/`regional_chat.json5` in Quilt, or `config/regional_chat.json` in Fabric
1114

1215
#### Default
16+
TOML:
17+
```toml
18+
# The range in blocks a player can talk and be heard
19+
# range[0, 32767]
20+
# default: 100
21+
range = 100
22+
# Whether to notify players about the distance a message was sent from
23+
# default: true
24+
notifyDistance = true
25+
# The prefix to use when notifying players about the distance a message was sent from
26+
# default: [From %.0f blocks away]
27+
distancePrefix = "[From %.0f blocks away] "
28+
# Whether to allow operators to bypass the range limit
29+
# default: true
30+
opBypass = true
31+
# The permission level required to bypass the range limit
32+
# range[0, 4]
33+
# default: 3
34+
opRequiredPermissionLevel = 3
35+
# Whether operators should have an unlimited hearing range
36+
# default: false
37+
opUnlimitedRange = false
38+
```
39+
40+
JSON:
1341
```json
1442
{
1543
"range": 100,
@@ -20,13 +48,3 @@ The file is located at `config/regional_chat.json`
2048
"op_unlimited_range": false
2149
}
2250
```
23-
24-
#### Properties
25-
| Property | Type | Description |
26-
| ----------------- | -------- | ----------- |
27-
| `range` | number | The range in blocks a player can talk and be heard. |
28-
| `notify_distance` | boolean | Whether to notify players about the distance a message was sent from. |
29-
| `distance_prefix` | string | The prefix to use when notifying players about the distance a message was sent from. |
30-
| `op_bypass` | boolean | Whether to allow operators to bypass the range limit. |
31-
| `op_required_permission_level` | number | The permission level required to bypass the range limit. |
32-
| `op_unlimited_range` | boolean | Whether operators should have an unlimited hearing range. |

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ org.gradle.jvmargs=-Xmx1G
99
quilt_config_version=1.0.0-beta.6
1010

1111
# Mod Properties
12-
mod_version = 1.0.1
12+
mod_version = 1.1.0
1313
maven_group = me.bymartrixx
1414
archives_base_name = regional-chat
1515

0 commit comments

Comments
 (0)