Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
OptiJava committed Jul 30, 2024
1 parent 308af46 commit eff918d
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ Enable '/player xxx tphere' command to teleport that real player to me.
- Acceptable value: `true` `false` `ops`
- Categories: `Command`

### playerTpRateLimitTime

Rate limit of `player xxx tp` command.

Default value: 2 (unit: seconds) (permit 1 request per 2 seconds per player, no limit if value = 0)

- Default value: `2`
- Acceptable value: numbers >= 0
- Categories: `Feature`

### fixXpLevelBug

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

### commandLoggerBroadcastToPlayer

Which players should commands in `commandLogger` be broadcast to?

- Default value: `false`
- Acceptable value: `true` `false` `ops`
- Categories: `Command`

### dropperCrashFix

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

### removeBats

Don't spawn bats!!!

- Default value: `false`
- Acceptable value: `true` `false`
- Categories: `Feature`

## Command

### player xxx tp
Expand Down
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@ Language: [English](https://github.com/OptiJava/OptCarpetAddition/blob/master/RE
- Acceptable value: `true` `false` `ops`
- Categories: `Command`

### playerTpRateLimitTime

`player xxx tp`指令限速

默认值: 2 (单位: 秒) (每个玩家每2秒允许1次tp请求, 设为0则不限速)

- Default value: `2`
- Acceptable value: 整数 >= 0 (∀ x ∈ N)(逃
- Categories: `Feature`

### fixXpLevelBug

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

### commandLoggerBroadcastToPlayer

`commandLogger`中记录的指令会被转发到哪些玩家?

- Default value: `false`
- Acceptable value: `true` `false` `ops`
- Categories: `Command`

### dropperCrashFix

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

### removeBats

不再生成蝙蝠

- Default value: `false`
- Acceptable value: `true` `false`
- Categories: `Feature`

## 指令

### player xxx tp
Expand Down

0 comments on commit eff918d

Please sign in to comment.