Repository navigation
Commit 355645c
committed
feat(redis): 添加广播命令处理功能
- 检测以broadcast开头的消息命令
- 提取broadcast前缀后的消息内容
- 使用Bukkit.broadcastMessage发送广播消息
- 优化命令执行流程,避免重复处理控制台命令1 parent 1e68571 commit 355645c
3 files changed
Lines changed: 9 additions & 3 deletions
File tree
- src/main/kotlin/cn/huohuas001/huhobot/redis
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
50 | 56 | | |
51 | 57 | | |
52 | 58 | | |
| |||
0 commit comments