Skip to content

Commit 6a26b3f

Browse files
wjddusrb03claude
andcommitted
Rewrite command system to be fully user-configurable
Replace hardcoded /dapi test demos with user-configurable commands: - create text/block/item with custom content and optional ID - edit properties (text, block, item, scale, billboard, glow) - move, animate, popup, near commands - &color code support, #RRGGBB hex glow colors - Full tab completion for all arguments - NPE safety for dead entities and null locations Update README and README_KO command tables to match. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f539817 commit 6a26b3f

3 files changed

Lines changed: 520 additions & 137 deletions

File tree

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,17 @@ Component comp = PlaceholderUtil.parse(player, component);
209209

210210
| Command | Description |
211211
|---------|-------------|
212-
| `/dapi test <type>` | Spawn test display (14 types) |
213-
| `/dapi list` | List active displays |
212+
| `/dapi create text <text> [id:name]` | Create text display (&color codes supported) |
213+
| `/dapi create block <block> [id]` | Create block display |
214+
| `/dapi create item <item> [id]` | Create item display |
215+
| `/dapi edit <id> <property> <value>` | Edit display (text, block, item, scale, billboard, glow) |
216+
| `/dapi move <id>` | Teleport display to your location |
217+
| `/dapi animate <id> <type>` | Apply animation (pulse, spin, bounce, float, shake, fadein, fadeout, growin) |
218+
| `/dapi popup <text>` | Create a popup text |
219+
| `/dapi near [radius]` | List nearby displays |
214220
| `/dapi remove <id>` | Remove by ID |
215221
| `/dapi removeall` | Remove all displays |
222+
| `/dapi list` | List active displays |
216223
| `/dapi save` | Save persistent displays |
217224
| `/dapi reload` | Reload config |
218225
| `/dapi info` | Plugin info |

README_KO.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,17 @@ Component comp = PlaceholderUtil.parse(player, component);
211211

212212
| 명령어 | 설명 |
213213
|--------|------|
214-
| `/dapi test <유형>` | 테스트 디스플레이 생성 (14종) |
215-
| `/dapi list` | 활성 디스플레이 목록 |
214+
| `/dapi create text <텍스트> [id:이름]` | 텍스트 디스플레이 생성 (&색코드 지원) |
215+
| `/dapi create block <블록> [id]` | 블록 디스플레이 생성 |
216+
| `/dapi create item <아이템> [id]` | 아이템 디스플레이 생성 |
217+
| `/dapi edit <id> <속성> <값>` | 디스플레이 수정 (text, block, item, scale, billboard, glow) |
218+
| `/dapi move <id>` | 디스플레이를 현재 위치로 이동 |
219+
| `/dapi animate <id> <종류>` | 애니메이션 적용 (pulse, spin, bounce, float, shake, fadein, fadeout, growin) |
220+
| `/dapi popup <텍스트>` | 팝업 텍스트 생성 |
221+
| `/dapi near [반경]` | 근처 디스플레이 검색 |
216222
| `/dapi remove <id>` | ID로 제거 |
217223
| `/dapi removeall` | 모든 디스플레이 제거 |
224+
| `/dapi list` | 활성 디스플레이 목록 |
218225
| `/dapi save` | 영속 디스플레이 저장 |
219226
| `/dapi reload` | 설정 재로드 |
220227
| `/dapi info` | 플러그인 정보 |

0 commit comments

Comments
 (0)