Skip to content

Commit eff918d

Browse files
committed
docs: update README
1 parent 308af46 commit eff918d

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed

README-en.md

+26
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,16 @@ Enable '/player xxx tphere' command to teleport that real player to me.
5858
- Acceptable value: `true` `false` `ops`
5959
- Categories: `Command`
6060

61+
### playerTpRateLimitTime
62+
63+
Rate limit of `player xxx tp` command.
64+
65+
Default value: 2 (unit: seconds) (permit 1 request per 2 seconds per player, no limit if value = 0)
66+
67+
- Default value: `2`
68+
- Acceptable value: numbers >= 0
69+
- Categories: `Feature`
70+
6171
### fixXpLevelBug
6272

6373
Fix bug: xp level return to zero when player change dimension
@@ -240,6 +250,14 @@ CommandLogger.json is the config file, type: `/commandlogger reload` to reload t
240250
- Acceptable value: `true` `false`
241251
- Categories: `Command` `Feature`
242252

253+
### commandLoggerBroadcastToPlayer
254+
255+
Which players should commands in `commandLogger` be broadcast to?
256+
257+
- Default value: `false`
258+
- Acceptable value: `true` `false` `ops`
259+
- Categories: `Command`
260+
243261
### dropperCrashFix
244262

245263
Fix bug: dropper may cause server crash
@@ -326,6 +344,14 @@ If you want to use note block update suppression in 1.20, this may help you.
326344
- Acceptable value: `true` `false`
327345
- Categories: `Feature`
328346

347+
### removeBats
348+
349+
Don't spawn bats!!!
350+
351+
- Default value: `false`
352+
- Acceptable value: `true` `false`
353+
- Categories: `Feature`
354+
329355
## Command
330356

331357
### player xxx tp

README.md

+26
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,16 @@ Language: [English](https://github.com/OptiJava/OptCarpetAddition/blob/master/RE
6161
- Acceptable value: `true` `false` `ops`
6262
- Categories: `Command`
6363

64+
### playerTpRateLimitTime
65+
66+
`player xxx tp`指令限速
67+
68+
默认值: 2 (单位: 秒) (每个玩家每2秒允许1次tp请求, 设为0则不限速)
69+
70+
- Default value: `2`
71+
- Acceptable value: 整数 >= 0 (∀ x ∈ N)(逃
72+
- Categories: `Feature`
73+
6474
### fixXpLevelBug
6575

6676
修复在玩家跨越维度的时候经验值假归零的bug(在跨越维度时刷新玩家的经验条)
@@ -247,6 +257,14 @@ CommandLogger.json配置文件可以配置白名单、黑名单等,修改配
247257
- Acceptable value: `true` `false`
248258
- Categories: `Command` `Feature`
249259

260+
### commandLoggerBroadcastToPlayer
261+
262+
`commandLogger`中记录的指令会被转发到哪些玩家?
263+
264+
- Default value: `false`
265+
- Acceptable value: `true` `false` `ops`
266+
- Categories: `Command`
267+
250268
### dropperCrashFix
251269

252270
修复了方块实体替换导致投掷器激活时崩服的bug
@@ -327,6 +345,14 @@ DispenserBlockEntity dispenserBlockEntity = (DispenserBlockEntity)blockPointerIm
327345
- Acceptable value: `true` `false`
328346
- Categories: `Feature`
329347

348+
### removeBats
349+
350+
不再生成蝙蝠
351+
352+
- Default value: `false`
353+
- Acceptable value: `true` `false`
354+
- Categories: `Feature`
355+
330356
## 指令
331357

332358
### player xxx tp

0 commit comments

Comments
 (0)