Skip to content

Commit 780f5bc

Browse files
committed
fix some quirks
1 parent c8ceb99 commit 780f5bc

File tree

1 file changed

+19
-21
lines changed

1 file changed

+19
-21
lines changed

src/topper/extra/provider/index.md

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ holders:
2222
2323
== FabricMC
2424
25-
```json
25+
```jsonc
2626
{
2727
"holders": {
2828
"jump": {
@@ -49,7 +49,7 @@ holders:
4949
jump:
5050
type: statistic
5151
statistic: jump
52-
default-value: null # [!code focus:5] # The default value of an entry. This will be used when a player joins the server the first time
52+
default-value: null # [!code focus:5] The default value of an entry. This will be used when a player joins the server the first time
5353
null-name: "---" # Default value for the name
5454
null-uuid: "---" # Default value for the uuid
5555
null-value: "---" # Default value for the value
@@ -58,17 +58,17 @@ holders:
5858
5959
== FabricMC
6060
61-
```json
61+
```jsonc
6262
{
6363
"holders": {
6464
"jump": {
6565
"type": "statistic",
6666
"statistic": "minecraft:jump",
67-
"default-value": null, // [!code focus:5]
68-
"null-name": "---",
69-
"null-uuid": "---",
70-
"null-value": "---",
71-
"line": "<gray>[<blue>{index}<gray>] <blue>{name} <gray>- <blue>{value}"
67+
"default-value": null, // [!code focus:5] The default value of an entry. This will be used when a player joins the server the first time
68+
"null-name": "---", // Default value for the name
69+
"null-uuid": "---", // Default value for the uuid
70+
"null-value": "---", // Default value for the value
71+
"line": "<gray>[<blue>{index}<gray>] <blue>{name} <gray>- <blue>{value}" // Default format for the top line in the top list
7272
}
7373
}
7474
}
@@ -94,7 +94,7 @@ holders:
9494
9595
== FabricMC
9696
97-
```json
97+
```jsonc
9898
{
9999
"holders": {
100100
"jump": {
@@ -129,17 +129,15 @@ holders:
129129
130130
== FabricMC
131131
132-
```json
132+
```jsonc
133133
{
134134
"holders": {
135135
"example-formatted-value-provider": {
136136
"type": "statistic",
137137
"statistic": "minecraft:jump",
138-
"formatted": true, // [!code focus:5]
139-
"formatted-settings": {
140-
// Optional settings for the formatted value
141-
"decimal-separator": "."
142-
// Change this to the decimal separator of the formatted value
138+
"formatted": true, // [!code focus:4]
139+
"formatted-settings": { // Optional settings for the formatted value
140+
"decimal-separator": "." // Change this to the decimal separator of the formatted value
143141
}
144142
}
145143
}
@@ -173,7 +171,7 @@ holders:
173171
174172
== FabricMC
175173
176-
```json
174+
```jsonc
177175
{
178176
"holders": {
179177
"jump": {
@@ -184,7 +182,7 @@ holders:
184182
"jump-multiple": {
185183
"type": "statistic",
186184
"statistic": "minecraft:jump",
187-
"ignore-permission": [ // [!code focus:3]
185+
"ignore-permission": [ // [!code focus:4]
188186
"exclude.permission1",
189187
"exclude.permission2"
190188
]
@@ -218,7 +216,7 @@ holders:
218216
219217
== FabricMC
220218
221-
```json
219+
```jsonc
222220
{
223221
"holders": {
224222
"jump": {
@@ -229,7 +227,7 @@ holders:
229227
"jump-multiple": {
230228
"type": "statistic",
231229
"statistic": "minecraft:jump",
232-
"reset-permission": [ // [!code focus:3]
230+
"reset-permission": [ // [!code focus:4]
233231
"reset.permission1",
234232
"reset.permission2"
235233
]
@@ -258,7 +256,7 @@ holders:
258256
259257
== FabricMC
260258
261-
```json
259+
```jsonc
262260
{
263261
"holders": {
264262
"jump": {
@@ -287,7 +285,7 @@ holders:
287285
288286
== FabricMC
289287
290-
```json
288+
```jsonc
291289
{
292290
"holders": {
293291
"jump": {

0 commit comments

Comments
 (0)