-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
1475 lines (1303 loc) · 103 KB
/
Copy pathindex.html
File metadata and controls
1475 lines (1303 loc) · 103 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
:root {
--bg-page: #09090b;
--bg-sidebar: #09090b;
--bg-card: #121214;
--bg-code: #000000;
--border: #27272a;
--border-bright: #3f3f46;
--text-primary: #fafafa;
--text-secondary: #a1a1aa;
--text-muted: #52525b;
--accent: #3b82f6;
--accent-glow: rgba(59, 130, 246, 0.15);
/* Badges colors */
--c-req-bg: rgba(239, 68, 68, 0.1); --c-req-text: #f87171;
--c-opt-bg: rgba(161, 161, 170, 0.1); --c-opt-text: #a1a1aa;
--c-root-bg: rgba(168, 85, 247, 0.1); --c-root-text: #c084fc;
--c-det-bg: rgba(245, 158, 11, 0.1); --c-det-text: #fbbf24;
--c-tag-bg: rgba(59, 130, 246, 0.1); --c-tag-text: #60a5fa;
--c-mech-bg: rgba(16, 185, 129, 0.1); --c-mech-text: #34d399;
--sidebar-width: 280px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: 'Plus Jakarta Sans', sans-serif;
background-color: var(--bg-page);
color: var(--text-primary);
display: flex;
min-height: 100vh;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
overflow-y: scroll;
}
/* Sidebar Navigation */
aside {
width: var(--sidebar-width);
height: 100vh;
position: fixed;
background: var(--bg-sidebar);
border-right: 1px solid var(--border);
padding: 1.5rem;
display: flex;
flex-direction: column;
overflow-y: auto;
z-index: 100;
}
.logo {
font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em;
margin-bottom: 2rem; display: flex; align-items: center; gap: 12px; color: #fff;
}
.logo i { color: var(--accent); }
.nav-group { margin-bottom: 1.5rem; }
.nav-label {
font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
color: var(--text-muted); letter-spacing: 0.05em;
margin-bottom: 0.75rem; padding-left: 0.5rem;
}
.nav-item {
display: flex; align-items: center; padding: 0.5rem 0.75rem;
color: var(--text-secondary); text-decoration: none;
font-size: 0.85rem; font-weight: 500; border-radius: 8px;
transition: all 0.2s; cursor: pointer; margin-bottom: 2px;
}
.nav-item:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-item.active { color: var(--accent); background: var(--accent-glow); font-weight: 600; }
/* Folders (Accordions) */
.folder-btn {
display: flex; align-items: center; justify-content: space-between;
width: 100%; border: none; background: none; color: var(--text-secondary);
padding: 0.5rem 0.75rem; font-size: 0.85rem; font-weight: 600; cursor: pointer;
border-radius: 8px; transition: all 0.2s;
}
.folder-btn:hover { color: #fff; background: rgba(255,255,255,0.05); }
.folder-content {
margin-left: 1.25rem; border-left: 1px solid var(--border);
padding-left: 0.5rem; display: none; margin-top: 2px; margin-bottom: 4px;
}
.folder-content.open { display: block; }
.sub-folder-btn {
font-size: 0.8rem; padding: 0.4rem 0.75rem; color: var(--text-secondary);
display: flex; justify-content: space-between; align-items: center;
width: 100%; background: none; border: none; cursor: pointer; font-weight: 600;
}
.sub-folder-btn:hover { color: #fff; }
.sub-folder-content {
margin-left: 0.5rem; border-left: 1px solid var(--border);
padding-left: 0.5rem; display: none; margin-top: 2px;
}
.sub-folder-content.open { display: block; }
.sub-folder-content .nav-item { font-size: 0.75rem; font-family: 'JetBrains Mono', monospace; padding: 0.35rem 0.75rem; }
.chevron { font-size: 0.65rem; transition: transform 0.2s; color: var(--text-muted); }
.rotated { transform: rotate(90deg); }
/* Main Content Area */
main {
margin-left: var(--sidebar-width); flex: 1;
padding: 4rem 5%; display: flex; justify-content: center;
}
.container { width: 100%; max-width: 900px; position: relative; }
.tab-panel { display: none; animation: fadeIn 0.3s ease forwards; opacity: 0; transform: translateY(10px); }
.tab-panel.active { display: block; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.breadcrumb span { color: var(--accent); }
.breadcrumb i { font-size: 0.7rem; }
h1 { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 1rem; line-height: 1.1; }
.subtitle { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 3rem; }
h2 { font-size: 1.5rem; font-weight: 700; margin: 3rem 0 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); color: #fff; }
h3 { font-size: 1.1rem; font-weight: 600; margin: 2rem 0 1rem; color: #fff; }
p { color: var(--text-secondary); margin-bottom: 1.5rem; }
/* Specifications Table */
.spec-container { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 2rem; overflow: hidden; }
.spec-row { display: flex; border-bottom: 1px solid var(--border); }
.spec-row:last-child { border-bottom: none; }
.spec-key { flex: 0 0 240px; padding: 1.25rem 1.5rem; background: rgba(255,255,255,0.015); border-right: 1px solid var(--border); }
.spec-val { flex: 1; padding: 1.25rem 1.5rem; color: var(--text-secondary); font-size: 0.9rem; }
.name-label { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 0.85rem; color: #fff; display: block; margin-bottom: 0.4rem; }
/* Badges */
.badge { display: inline-flex; padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; font-family: 'JetBrains Mono', monospace; font-weight: 700; }
.b-req { background: var(--c-req-bg); color: var(--c-req-text); }
.b-opt { background: var(--c-opt-bg); color: var(--c-opt-text); }
.b-root { background: var(--c-root-bg); color: var(--c-root-text); }
.b-det { background: var(--c-det-bg); color: var(--c-det-text); }
.b-tag { background: var(--c-tag-bg); color: var(--c-tag-text); }
.b-mech { background: var(--c-mech-bg); color: var(--c-mech-text); }
/* Code Blocks */
code { font-family: 'JetBrains Mono', monospace; background: rgba(255,255,255,0.08); padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.85em; color: #e2e8f0; }
.code-block { background: #000; border: 1px solid var(--border); border-radius: 12px; margin: 1.5rem 0; position: relative; }
.code-header { padding: 0.75rem 1.25rem; background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; border-radius: 12px 12px 0 0; }
.code-title { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--text-muted); }
pre { padding: 1.5rem; overflow-x: auto; font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; color: #cbd5e1; line-height: 1.6; }
.s-k { color: #f472b6; } .s-v { color: #38bdf8; } .s-s { color: #a7f3d0; } .s-c { color: #64748b; font-style: italic; }
.btn-copy { background: transparent; border: 1px solid var(--border); color: var(--text-secondary); padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; cursor: pointer; transition: 0.2s; }
.btn-copy:hover { color: #fff; border-color: var(--border-bright); }
.example-preview { margin-top: 2rem; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg-card); }
.example-preview img { display: block; width: 100%; height: auto; }
.signature { background: var(--bg-code); border: 1px solid var(--border-bright); padding: 1.25rem; border-radius: 12px; font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; margin-bottom: 1.5rem; color: #e2e8f0; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.sig-cmd { color: #38bdf8; font-weight: 700; }
.sig-return { color: #a7f3d0; }
.sig-opt { color: #64748b; font-style: italic; }
.alert-deprecated {
background: rgba(239, 68, 68, 0.1);
border: 1px solid #ef4444;
color: #fca5a5;
padding: 1.25rem 1.5rem;
border-radius: 12px;
margin-bottom: 2rem;
display: flex;
align-items: center;
gap: 16px;
font-weight: 600;
}
.alert-deprecated i { font-size: 2rem; color: #ef4444; }
.alert-deprecated span { display: block; font-size: 1.1rem; color: #fff; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 800; }
.alert-deprecated p { margin: 0; color: #fca5a5; font-size: 0.9rem; line-height: 1.5; }
.info-box {
background: rgba(59, 130, 246, 0.08);
border: 1px solid rgba(59, 130, 246, 0.25);
color: #93c5fd;
padding: 1.25rem 1.5rem;
border-radius: 12px;
margin-bottom: 1.5rem;
}
.info-box strong { color: #fff; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-bright); }
</style>
<aside>
<div class="logo"><i class="fas fa-cubes"></i> Denizen Utilities</div>
<div class="nav-group">
<div class="nav-label">General</div>
<a class="nav-item active" data-tab="tab-config">Configuration</a>
</div>
<div class="nav-group">
<div class="nav-label">Commands</div>
<a class="nav-item" data-tab="tab-dialog-cmd-showdialog">ShowDialog</a>
</div>
<div class="nav-group">
<div class="nav-label">Containers</div>
<button class="folder-btn" onclick="toggleFolder('folder-dialog', this)">
<span style="display:flex;align-items:center;gap:8px"><i class="fas fa-layer-group" style="font-size:0.9rem"></i> Dialog</span>
<i class="fas fa-chevron-right chevron" id="icon-folder-dialog"></i>
</button>
<div class="folder-content" id="folder-dialog">
<a class="nav-item" data-tab="tab-intro">Overview & Core</a>
<a class="nav-item" data-tab="tab-type-multi">Layout: Multi</a>
<a class="nav-item" data-tab="tab-type-list">Layout: List</a>
<a class="nav-item" data-tab="tab-type-confirm">Layout: Confirm</a>
<a class="nav-item" data-tab="tab-type-notice">Layout: Notice</a>
<a class="nav-item" data-tab="tab-inputs">Components: Inputs</a>
<a class="nav-item" data-tab="tab-bodies">Components: Bodies</a>
<a class="nav-item" data-tab="tab-actions">Buttons & Actions</a>
<a class="nav-item" data-tab="tab-example">Full Example</a>
</div>
</div>
<div class="nav-group">
<div class="nav-label">Events</div>
<a class="nav-item" data-tab="tab-event-connection">Player Connect Configure</a>
<a class="nav-item" data-tab="tab-event-click">Player Custom Click</a>
</div>
<div class="nav-group">
<div class="nav-label">Objects</div>
<a class="nav-item" data-tab="tab-biome">BiomeTag</a>
<a class="nav-item" data-tab="tab-connection">ConnectionTag</a>
<a class="nav-item" data-tab="tab-player">PlayerTag</a>
</div>
<div class="nav-group">
<div class="nav-label">Bridges</div>
<!-- BetterModel -->
<button class="folder-btn" onclick="toggleFolder('folder-bm', this)">
<span style="display:flex;align-items:center;gap:8px"><i class="fas fa-cube" style="color:#38bdf8;font-size:0.9rem"></i> BetterModel</span>
<i class="fas fa-chevron-right chevron" id="icon-folder-bm"></i>
</button>
<div class="folder-content" id="folder-bm">
<button class="sub-folder-btn" onclick="toggleSubFolder('sub-bm-cmd', this)">
Commands <i class="fas fa-chevron-right chevron" id="icon-sub-bm-cmd"></i>
</button>
<div class="sub-folder-content" id="sub-bm-cmd">
<a class="nav-item" data-tab="tab-bm-cmd-bmmodel">- bmmodel</a>
<a class="nav-item" data-tab="tab-bm-cmd-bmlimb">- bmlimb</a>
<a class="nav-item" data-tab="tab-bm-cmd-bmstate">- bmstate</a>
<a class="nav-item" data-tab="tab-bm-cmd-bmpart">- bmpart</a>
</div>
<button class="sub-folder-btn" onclick="toggleSubFolder('sub-bm-evt', this)">
Events <i class="fas fa-chevron-right chevron" id="icon-sub-bm-evt"></i>
</button>
<div class="sub-folder-content" id="sub-bm-evt">
<a class="nav-item" data-tab="tab-bm-evt-start">bm start reload</a>
<a class="nav-item" data-tab="tab-bm-evt-end">bm end reload</a>
<a class="nav-item" data-tab="tab-bm-evt-signal">bm animation signal</a>
<a class="nav-item" data-tab="tab-bm-evt-player-signal">bm player animation signal</a>
<a class="nav-item" data-tab="tab-bm-evt-interact">bm player model interact</a>
</div>
<button class="sub-folder-btn" onclick="toggleSubFolder('sub-bm-obj', this)">
Objects <i class="fas fa-chevron-right chevron" id="icon-sub-bm-obj"></i>
</button>
<div class="sub-folder-content" id="sub-bm-obj">
<a class="nav-item" data-tab="tab-bm-obj-model">BMActiveModelTag</a>
<a class="nav-item" data-tab="tab-bm-obj-static-model">BMModelTag</a>
<a class="nav-item" data-tab="tab-bm-obj-bone">BMBoneTag</a>
</div>
<button class="sub-folder-btn" onclick="toggleSubFolder('sub-bm-ext', this)">
Extensions <i class="fas fa-chevron-right chevron" id="icon-sub-bm-ext"></i>
</button>
<div class="sub-folder-content" id="sub-bm-ext">
<a class="nav-item" data-tab="tab-bm-ext-player">PlayerTag</a>
<a class="nav-item" data-tab="tab-bm-ext-entity">EntityTag</a>
</div>
</div>
<!-- SkinsRestorer -->
<button class="folder-btn" onclick="toggleFolder('folder-sr', this)">
<span style="display:flex;align-items:center;gap:8px"><i class="fas fa-user-circle" style="color:#a78bfa;font-size:0.9rem"></i> SkinsRestorer</span>
<i class="fas fa-chevron-right chevron" id="icon-folder-sr"></i>
</button>
<div class="folder-content" id="folder-sr">
<button class="sub-folder-btn" onclick="toggleSubFolder('sub-sr-cmd', this)">
Commands <i class="fas fa-chevron-right chevron" id="icon-sub-sr-cmd"></i>
</button>
<div class="sub-folder-content" id="sub-sr-cmd">
<a class="nav-item" data-tab="tab-sr-cmd-skin">- skin</a>
</div>
<button class="sub-folder-btn" onclick="toggleSubFolder('sub-sr-evt', this)">
Events <i class="fas fa-chevron-right chevron" id="icon-sub-sr-evt"></i>
</button>
<div class="sub-folder-content" id="sub-sr-evt">
<a class="nav-item" data-tab="tab-sr-evt-apply">player skin apply</a>
</div>
<button class="sub-folder-btn" onclick="toggleSubFolder('sub-sr-ext', this)">
Extensions <i class="fas fa-chevron-right chevron" id="icon-sub-sr-ext"></i>
</button>
<div class="sub-folder-content" id="sub-sr-ext">
<a class="nav-item" data-tab="tab-sr-ext-player">PlayerTag</a>
</div>
</div>
<!-- DiscordSRV -->
<button class="folder-btn" onclick="toggleFolder('folder-dsrv', this)">
<span style="display:flex;align-items:center;gap:8px"><i class="fab fa-discord" style="color:#5865f2;font-size:0.9rem"></i> DiscordSRV</span>
<i class="fas fa-chevron-right chevron" id="icon-folder-dsrv"></i>
</button>
<div class="folder-content" id="folder-dsrv">
<button class="sub-folder-btn" onclick="toggleSubFolder('sub-dsrv-evt', this)">
Events <i class="fas fa-chevron-right chevron" id="icon-sub-dsrv-evt"></i>
</button>
<div class="sub-folder-content" id="sub-dsrv-evt">
<a class="nav-item" data-tab="tab-dsrv-evt-link">player links</a>
<a class="nav-item" data-tab="tab-dsrv-evt-unlink">player unlinks</a>
</div>
<button class="sub-folder-btn" onclick="toggleSubFolder('sub-dsrv-ext', this)">
Extensions <i class="fas fa-chevron-right chevron" id="icon-sub-dsrv-ext"></i>
</button>
<div class="sub-folder-content" id="sub-dsrv-ext">
<a class="nav-item" data-tab="tab-dsrv-ext-player">PlayerTag</a>
</div>
</div>
<!-- ViaVersion -->
<button class="folder-btn" onclick="toggleFolder('folder-via', this)">
<span style="display:flex;align-items:center;gap:8px"><i class="fas fa-network-wired" style="color:#34d399;font-size:0.9rem"></i> ViaVersion</span>
<i class="fas fa-chevron-right chevron" id="icon-folder-via"></i>
</button>
<div class="folder-content" id="folder-via">
<button class="sub-folder-btn" onclick="toggleSubFolder('sub-via-ext', this)">
Extensions <i class="fas fa-chevron-right chevron" id="icon-sub-via-ext"></i>
</button>
<div class="sub-folder-content" id="sub-via-ext">
<a class="nav-item" data-tab="tab-via-ext-connection">ConnectionTag</a>
</div>
</div>
</div>
</aside>
<main>
<div class="container">
<!-- ===== CONFIGURATION ===== -->
<div id="tab-config" class="tab-panel active">
<div class="breadcrumb">General <i class="fas fa-chevron-right"></i> <span>Configuration</span></div>
<h1>Plugin Configuration</h1>
<p class="subtitle">Global settings and fixes available in the plugin's <code>config.yml</code> file.</p>
<h2>Fixes & Patches</h2>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key">
<span class="name-label">fixes.fakeinternaldata</span>
<div class="badge b-opt">Boolean</div>
</div>
<div class="spec-val">
Enables a patch for Denizen's <code>fakeinternaldata</code> command on Minecraft 1.21 and higher.
This patch is provided because the Denizen developers still haven't fixed this command on newer game versions. Default is <code>true</code>.
</div>
</div>
</div>
<div class="code-block">
<div class="code-header"><span class="code-title">config.yml</span></div>
<pre><span class="s-k">fixes:</span>
<span class="s-k">fakeinternaldata:</span> <span class="s-v">true</span></pre>
</div>
</div>
<!-- ===== DIALOG: INTRO ===== -->
<div id="tab-intro" class="tab-panel">
<div class="breadcrumb">Containers <i class="fas fa-chevron-right"></i> Dialog <i class="fas fa-chevron-right"></i> <span>Overview & Core</span></div>
<h1>Overview & Core Setup</h1>
<p class="subtitle">Dialog script containers allow you to define native Paper API UI screens rendered on the client side.</p>
<h2>Anatomy of a Script</h2>
<div class="code-block">
<div class="code-header"><span class="code-title">Structure</span></div>
<pre><span class="s-k">my_dialog:</span>
<span class="s-k">type:</span> <span class="s-v">dialog</span>
<span class="s-k">base:</span>
<span class="s-k">type:</span> <span class="s-v">multi</span>
<span class="s-k">title:</span> <span class="s-s"><gold>Header Title</span>
<span class="s-k">bodies:</span> <span class="s-v">...</span>
<span class="s-k">inputs:</span> <span class="s-v">...</span>
<span class="s-k">buttons:</span> <span class="s-v">...</span></pre>
</div>
<h2>Dynamic Generation (Procedural)</h2>
<p>You can define a <code>procedural:</code> script section at the root of the container. This executes a Denizen queue in parallel when opening the dialog, allowing you to dynamically construct and determine maps for <code>inputs</code>, <code>bodies</code>, or <code>buttons</code>.</p>
<p>Any statically defined elements in the dialog container (such as a static submit button) will be cleanly merged with your procedurally generated maps.</p>
<p><em>Note: You can naturally use click-time tags like <code><context.connection></code> or <code><context.button_id></code> inside your dynamic scripts; they are automatically escaped at load-time to prevent premature execution.</em></p>
<h2>Universal Base Properties</h2>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key"><span class="name-label">type</span><span class="badge b-req">Required</span></div>
<div class="spec-val">The layout engine: <code>multi</code>, <code>list</code>, <code>confirm</code>, or <code>notice</code>.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label">title</span><span class="badge b-req">Required</span></div>
<div class="spec-val">The main header. Supports tags and MiniMessage.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label">external title</span><span class="badge b-opt">Optional</span></div>
<div class="spec-val">The window title in the client's OS frame.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label">can close with escape</span><span class="badge b-opt">Optional</span></div>
<div class="spec-val">Boolean. If <code>true</code> (default), ESC closes the window.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label">after action</span><span class="badge b-opt">Optional</span></div>
<div class="spec-val">Action behavior after dialog completion. Options: <code>CLOSE</code> (default - closes and returns to previous screen), <code>NONE</code> (keeps current screen open), or <code>WAIT_FOR_RESPONSE</code> (shows a waiting screen).</div>
</div>
</div>
<h2>Conditional Rendering</h2>
<p>Inputs, body elements, and buttons can be dynamically shown or hidden using the <code>condition</code> key. It evaluates a Denizen tag and requires it to return <code>true</code> to show the element.</p>
<div class="code-block">
<div class="code-header"><span class="code-title">Example</span></div>
<pre><span class="s-k">bodies:</span>
<span class="s-k">1:</span>
<span class="s-k">type:</span> <span class="s-v">message</span>
<span class="s-k">condition:</span> <span class="s-s"><player.inventory.contains_item[diamond]></span>
<span class="s-k">message:</span> <span class="s-s"><gray>You have a diamond in your inventory, so cool!</span></pre>
</div>
</div>
<!-- ===== DIALOG: SHOWDIALOG COMMAND ===== -->
<div id="tab-dialog-cmd-showdialog" class="tab-panel">
<div class="breadcrumb">Commands <i class="fas fa-chevron-right"></i> <span>showdialog</span></div>
<h1>showdialog</h1>
<div class="signature">- <span class="sig-cmd">showdialog</span> <span class="sig-arg">[<dialog>]</span> <span class="sig-opt">(def:<ListTag>)</span></div>
<p class="subtitle">Opens a custom Paper-native dialog UI screen for the player attached to the script queue.</p>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key"><span class="name-label">dialog</span><span class="badge b-req">Required</span></div>
<div class="spec-val">The exact name of the <code>dialog</code> script container to display.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label">def</span><span class="badge b-opt">Optional</span></div>
<div class="spec-val">An optional list of values to pass as parameter definitions into the dialog. In the target dialog container, these definitions are assigned to definition names in matching order (e.g. <code>definitions: quest_id|reward</code>).</div>
</div>
</div>
<div class="code-block">
<div class="code-header"><span class="code-title">Usage</span></div>
<pre><span class="s-k">-</span> <span class="s-v">showdialog</span> <span class="s-s">MySimpleDialog</span>
<span class="s-k">-</span> <span class="s-v">showdialog</span> <span class="s-s">QuestConfirmDialog def:quest_01|1000</span></pre>
</div>
</div>
<!-- ===== DIALOG: MULTI ===== -->
<div id="tab-type-multi" class="tab-panel">
<div class="breadcrumb">Containers <i class="fas fa-chevron-right"></i> Dialog <i class="fas fa-chevron-right"></i> <span>Layout: Multi</span></div>
<h1>Layout: Multi</h1>
<p class="subtitle">A versatile form layout. Supports multiple inputs and custom buttons.</p>
<h2>Multi-specific `base:` Properties</h2>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key"><span class="name-label">columns</span><span class="badge b-opt">Optional</span></div>
<div class="spec-val">Integer. Arrange elements into grid columns.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label">exit button</span><span class="badge b-opt">Optional</span></div>
<div class="spec-val">A button definition block used as a dedicated close button.</div>
</div>
</div>
<h2>Multi-specific Root Properties</h2>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key"><span class="name-label">buttons:</span><span class="badge b-req">Required</span></div>
<div class="spec-val">A map of action buttons at the bottom.</div>
</div>
</div>
</div>
<!-- ===== DIALOG: LIST ===== -->
<div id="tab-type-list" class="tab-panel">
<div class="breadcrumb">Containers <i class="fas fa-chevron-right"></i> Dialog <i class="fas fa-chevron-right"></i> <span>Layout: List</span></div>
<h1>Layout: List</h1>
<p class="subtitle">Designed to display buttons that open other dialog scripts.</p>
<h2>List-specific `base:` Properties</h2>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key"><span class="name-label">columns</span><span class="badge b-opt">Optional</span></div>
<div class="spec-val">Integer. Columns in the grid.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label">button width</span><span class="badge b-opt">Optional</span></div>
<div class="spec-val">Integer. Sets a fixed pixel width for auto-generated buttons.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label">exit button</span><span class="badge b-opt">Optional</span></div>
<div class="spec-val">A button definition block used as a dedicated close button.</div>
</div>
</div>
<h2>List-specific Root Properties</h2>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key"><span class="name-label">dialogs:</span><span class="badge b-req">Required</span></div>
<div class="spec-val">A list of script names to display.</div>
</div>
</div>
</div>
<!-- ===== DIALOG: CONFIRM ===== -->
<div id="tab-type-confirm" class="tab-panel">
<div class="breadcrumb">Containers <i class="fas fa-chevron-right"></i> Dialog <i class="fas fa-chevron-right"></i> <span>Layout: Confirm</span></div>
<h1>Layout: Confirm</h1>
<p class="subtitle">A simple confirmation box with two actions.</p>
<h2>Confirm-specific Root Properties</h2>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key"><span class="name-label">yes:</span><span class="badge b-root">Root</span></div>
<div class="spec-val">Affirmative ActionButton definition.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label">no:</span><span class="badge b-root">Root</span></div>
<div class="spec-val">Negative ActionButton definition.</div>
</div>
</div>
</div>
<!-- ===== DIALOG: NOTICE ===== -->
<div id="tab-type-notice" class="tab-panel">
<div class="breadcrumb">Containers <i class="fas fa-chevron-right"></i> Dialog <i class="fas fa-chevron-right"></i> <span>Layout: Notice</span></div>
<h1>Layout: Notice</h1>
<p class="subtitle">A simple alert box.</p>
<h2>Notice-specific Root Properties</h2>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key"><span class="name-label">button:</span><span class="badge b-root">Root</span></div>
<div class="spec-val">Optional ActionButton definition. If omitted, creates a default "OK" button.</div>
</div>
</div>
</div>
<!-- ===== DIALOG: INPUTS ===== -->
<div id="tab-inputs" class="tab-panel">
<div class="breadcrumb">Containers <i class="fas fa-chevron-right"></i> Dialog <i class="fas fa-chevron-right"></i> <span>Components: Inputs</span></div>
<h1>Components: Inputs</h1>
<p class="subtitle">Inputs defined under <code>inputs:</code>. Values available via <code><context.key_name></code>.</p>
<h2>Universal Input Properties</h2>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key"><span class="name-label">condition</span><span class="badge b-opt">Optional</span></div>
<div class="spec-val">A boolean tag. If it evaluates to <code>false</code>, the input field will not be shown.</div>
</div>
</div>
<h3>Text Input (type: text)</h3>
<div class="spec-container">
<div class="spec-row"><div class="spec-key"><span class="name-label">width</span></div><div class="spec-val">Field width.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">max length</span></div><div class="spec-val">Limit characters.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">initial</span></div><div class="spec-val">Default text.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">label visible</span></div><div class="spec-val">Boolean. Show/Hide the label.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">multiline options</span></div><div class="spec-val">Section with <code>max lines</code> and <code>height</code>.</div></div>
</div>
<h3>Boolean Input (type: boolean)</h3>
<div class="spec-container">
<div class="spec-row"><div class="spec-key"><span class="name-label">initial</span></div><div class="spec-val">Default state (true/false).</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">on true / on false</span></div><div class="spec-val">Labels for ON/OFF states.</div></div>
</div>
<h3>Number Input (type: number)</h3>
<div class="spec-container">
<div class="spec-row"><div class="spec-key"><span class="name-label">start / end</span><span class="badge b-req">Req</span></div><div class="spec-val">Range bounds (Float).</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">step</span></div><div class="spec-val">Increment step.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">initial</span></div><div class="spec-val">Starting value.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">width</span></div><div class="spec-val">Slider width.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">label format</span></div><div class="spec-val">Format string (e.g. <code>"Val: %s"</code>).</div></div>
</div>
<h3>Single Choice (type: single)</h3>
<div class="spec-container">
<div class="spec-row"><div class="spec-key"><span class="name-label">options:</span><span class="badge b-req">Req</span></div><div class="spec-val">Map of options (<code>id</code>, <code>display</code>, <code>initial</code>).</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">label visible</span></div><div class="spec-val">Boolean.</div></div>
</div>
</div>
<!-- ===== DIALOG: BODIES ===== -->
<div id="tab-bodies" class="tab-panel">
<div class="breadcrumb">Containers <i class="fas fa-chevron-right"></i> Dialog <i class="fas fa-chevron-right"></i> <span>Components: Bodies</span></div>
<h1>Components: Bodies</h1>
<p class="subtitle">Defined under <code>bodies:</code> root key.</p>
<h2>Universal Body Properties</h2>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key"><span class="name-label">condition</span><span class="badge b-opt">Optional</span></div>
<div class="spec-val">A boolean tag. If it evaluates to <code>false</code>, the body element will not be shown.</div>
</div>
</div>
<h2>Body Types</h2>
<div class="spec-container">
<div class="spec-row"><div class="spec-key"><span class="name-label">type: message</span></div><div class="spec-val">• <code>message</code>: The text.<br>• <code>width</code>: Fixed width.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">type: item</span></div><div class="spec-val">• <code>item</code>: ItemTag.<br>• <code>width / height</code>: Visual size.<br>• <code>show tooltip / decorations</code>: Booleans.<br>• <code>description</code>: Nested message-type body.</div></div>
</div>
</div>
<!-- ===== DIALOG: ACTIONS ===== -->
<div id="tab-actions" class="tab-panel">
<div class="breadcrumb">Containers <i class="fas fa-chevron-right"></i> Dialog <i class="fas fa-chevron-right"></i> <span>Buttons & Actions</span></div>
<h1>Buttons & Actions</h1>
<p class="subtitle">Common properties and action types.</p>
<div class="spec-container">
<div class="spec-row"><div class="spec-key"><span class="name-label">label</span><span class="badge b-req">Req</span></div><div class="spec-val">Button text.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">tooltip</span></div><div class="spec-val">Hover text.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">width</span></div><div class="spec-val">Button width.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">condition</span><span class="badge b-opt">Optional</span></div><div class="spec-val">A boolean tag. If it evaluates to <code>false</code>, the button will not be shown.</div></div>
</div>
<h2>Action Types (type:)</h2>
<div class="spec-container">
<div class="spec-row"><div class="spec-key"><span class="name-label">SCRIPT</span></div>
<div class="spec-val">
<strong>Key:</strong> <code>script:</code>. Runs Denizen commands.<br><br>
<strong>Available Contexts:</strong><br>
<code><context.connection></code> - The ConnectionTag of the player.<br>
<code><context.button_id></code> - The ID of the clicked button.<br>
<code><context.namespace></code> - The namespace (e.g. 'denizen').<br>
<code><context.inputs></code> - MapTag of all active inputs.<br>
<code><context.[input_id]></code> - Directly access typed value of an input field.<br>
</div>
</div>
<div class="spec-row"><div class="spec-key"><span class="name-label">RUN_COMMAND</span></div><div class="spec-val"><strong>Key:</strong> <code>command:</code>. Runs a player command. <b>Must include slash (/)</b>.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">OPEN_URL</span></div><div class="spec-val"><strong>Key:</strong> <code>url:</code>. Opens a link.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">COPY_TO_CLIPBOARD</span></div><div class="spec-val"><strong>Key:</strong> <code>text:</code>. Copies text.</div></div>
</div>
</div>
<!-- ===== DIALOG: EXAMPLE ===== -->
<div id="tab-example" class="tab-panel">
<div class="breadcrumb">Containers <i class="fas fa-chevron-right"></i> Dialog <i class="fas fa-chevron-right"></i> <span>Full Example</span></div>
<h1>Full Example</h1>
<div class="code-block">
<div class="code-header"><span class="code-title">staff_application.dsc</span><button class="btn-copy">Copy YAML</button></div>
<pre><span class="s-k">st:</span>
<span class="s-k">type:</span> <span class="s-v">dialog</span>
<span class="s-k">base:</span>
<span class="s-k">type:</span> <span class="s-v">multi</span>
<span class="s-k">title:</span> <span class="s-s"><yellow>Staff Application</span>
<span class="s-k">columns:</span> <span class="s-v">1</span>
<span class="s-k">bodies:</span>
<span class="s-k">header:</span>
<span class="s-k">type:</span> <span class="s-v">message</span>
<span class="s-k">message:</span> <span class="s-s"><gray>Please fill out the form below carefully.</span>
<span class="s-k">inputs:</span>
<span class="s-k">1:</span>
<span class="s-k">type:</span> <span class="s-v">text</span>
<span class="s-k">label:</span> <span class="s-s">Your Real Name</span>
<span class="s-k">key:</span> <span class="s-v">applicant_name</span>
<span class="s-k">2:</span>
<span class="s-k">type:</span> <span class="s-v">number</span>
<span class="s-k">label:</span> <span class="s-s">Your Age</span>
<span class="s-k">start:</span> <span class="s-v">13</span>
<span class="s-k">end:</span> <span class="s-v">99</span>
<span class="s-k">initial:</span> <span class="s-v">18</span>
<span class="s-k">step:</span> <span class="s-v">1</span>
<span class="s-k">key:</span> <span class="s-v">applicant_age</span>
<span class="s-k">has_experience:</span>
<span class="s-k">type:</span> <span class="s-v">boolean</span>
<span class="s-k">label:</span> <span class="s-s">Previous Experience?</span>
<span class="s-k">buttons:</span>
<span class="s-k">1:</span>
<span class="s-k">label:</span> <span class="s-s"><green>Submit Application</span>
<span class="s-k">script:</span>
<span class="s-k">-</span> <span class="s-s">narrate "Name: <context.applicant_name>"</span>
<span class="s-k">-</span> <span class="s-s">narrate "Age: <context.applicant_age>"</span>
<span class="s-k">-</span> <span class="s-s">narrate "Experience: <context.has_experience>"</span>
<span class="s-k">2:</span>
<span class="s-k">type:</span> <span class="s-v">OPEN_URL</span>
<span class="s-k">label:</span> <span class="s-s">Join Support Discord</span>
<span class="s-k">url:</span> <span class="s-s">https://discord.gg/example</span></pre>
</div>
<div class="example-preview"><img src="https://i.postimg.cc/d3fHjsND/image.png" alt="Preview"></div>
</div>
<!-- ===== EVENTS ===== -->
<div id="tab-event-connection" class="tab-panel">
<div class="breadcrumb">Events <i class="fas fa-chevron-right"></i> <span>Player Connection Configure</span></div>
<h1>player connection configure</h1>
<div class="signature"><span class="sig-return">on</span> player connection configure:</div>
<p class="subtitle">Triggers when a player's connection is being configured (Paper specific).</p>
<h2>Contexts</h2>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key"><span class="name-label"><context.connection></span><span class="badge b-tag">ConnectionTag</span></div>
<div class="spec-val">Returns the <code>ConnectionTag</code> associated with the joining player.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label"><context.reflect_event></span><span class="badge b-tag">JavaReflectedObjectTag</span></div>
<div class="spec-val">Returns a JavaReflectedObjectTag of the raw internal event.</div>
</div>
</div>
<h2>Determinations</h2>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key"><span class="name-label">WAIT:<DurationTag></span><span class="badge b-det">Determine</span></div>
<div class="spec-val">Delays the configuration process by the specified duration (e.g. <code>WAIT:1m</code>). During this time, you can show Dialogs or process backend tasks. If no WAIT determination is specified, the configuration process completes immediately.</div>
</div>
</div>
</div>
<div id="tab-event-click" class="tab-panel">
<div class="breadcrumb">Events <i class="fas fa-chevron-right"></i> <span>Player Custom Click</span></div>
<h1>player custom click</h1>
<div class="signature"><span class="sig-return">on</span> player custom click:</div>
<p class="subtitle">Triggers when a player clicks a button in a PaperMC Dialog UI.</p>
<h3>Switches</h3>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key"><span class="name-label">button_id:<id></span></div>
<div class="spec-val">Only process the event if the clicked button's ID matches the given text.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label">namespace:<name></span></div>
<div class="spec-val">Only process the event if the dialog's namespace matches the given text (e.g. 'denizen').</div>
</div>
</div>
<h3>Contexts</h3>
<div class="spec-container">
<div class="spec-row"><div class="spec-key"><span class="name-label"><context.connection></span><span class="badge b-tag">ConnectionTag</span></div><div class="spec-val">Returns the ConnectionTag of the player who clicked.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label"><context.button_id></span><span class="badge b-tag">ElementTag</span></div><div class="spec-val">Returns the ID of the button that was clicked.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label"><context.namespace></span><span class="badge b-tag">ElementTag</span></div><div class="spec-val">Returns the namespace of the dialog (e.g. 'denizen').</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label"><context.inputs></span><span class="badge b-tag">MapTag</span></div><div class="spec-val">Returns a MapTag of all inputs and their current values.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label"><context.[input_key]></span><span class="badge b-tag">ElementTag</span></div><div class="spec-val">Returns the specific value of a dialog input directly by its key.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label"><context.reflect_event></span><span class="badge b-tag">JavaReflectedObjectTag</span></div><div class="spec-val">Returns the underlying <code>PlayerCustomClickEvent</code>.</div></div>
</div>
</div>
<!-- ===== OBJECTS ===== -->
<div id="tab-biome" class="tab-panel">
<div class="breadcrumb">Objects <i class="fas fa-chevron-right"></i> <span>BiomeTag</span></div>
<h1>BiomeTag</h1>
<p class="subtitle">Additions for interacting with Biomes.</p>
<h2>Tags</h2>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key"><span class="name-label"><BiomeTag.attribute[<name>]></span></div>
<div class="spec-val">
Returns the value of the specified environment attribute for this biome.<br>
Valid attribute names correspond to the Minecraft EnvironmentAttributes API.<br>
See: <a href="https://minecraft.wiki/w/Environment_attribute" style="color:var(--accent)">Environment_attribute</a>.<br>
Example: <code><player.location.biome.attribute[sky_color]></code>
</div>
</div>
</div>
<h2>Mechanisms</h2>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key"><span class="name-label">attribute</span><span class="badge b-req">Input: MapTag</span></div>
<div class="spec-val">
Sets one or more environment attributes for this biome.<br>
Valid attribute names correspond to the Minecraft EnvironmentAttributes API.<br>
See: <a href="https://minecraft.wiki/w/Environment_attribute" style="color:var(--accent)">Environment_attribute</a>.<br>
Example: <code>- adjust <biome[plains]> attribute:[sky_color=red;fog_color=<color[green]>]</code>
</div>
</div>
</div>
</div>
<div id="tab-connection" class="tab-panel">
<div class="breadcrumb">Objects <i class="fas fa-chevron-right"></i> <span>ConnectionTag</span></div>
<h1>ConnectionTag</h1>
<p class="subtitle">Methods and properties for interacting with client connections.</p>
<h2>Tags</h2>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key"><span class="name-label"><ConnectionTag.is_connected></span><span class="badge b-tag">ElementTag(Boolean)</span></div>
<div class="spec-val">Returns whether this connection is currently open and active.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label"><ConnectionTag.uuid></span><span class="badge b-tag">ElementTag</span></div>
<div class="spec-val">Returns the player profile's UUID associated with this connection.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label"><ConnectionTag.name></span><span class="badge b-tag">ElementTag</span></div>
<div class="spec-val">Returns the player profile's name associated with this connection.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label"><ConnectionTag.viaversion_protocol></span><span class="badge b-tag">ElementTag(Number)</span></div>
<div class="spec-val">Returns the raw protocol version number of the player's client via ViaVersion (e.g., 765).</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label"><ConnectionTag.viaversion_version></span><span class="badge b-tag">ElementTag</span></div>
<div class="spec-val">Returns the human-readable Minecraft client version name via ViaVersion (e.g., "1.20.4", "1.16.5").</div>
</div>
</div>
<h2>Mechanisms</h2>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key"><span class="name-label">connect</span><span class="badge b-opt">Input: None</span></div>
<div class="spec-val">Confirms the connection and allows the player to continue the login process. Use this to finish the configuration stage once your requirements are met.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label">disconnect</span><span class="badge b-req">Input: ElementTag</span></div>
<div class="spec-val">Disconnects the connection with a specified reason. Supports Paper-formatted text.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label">reconfigure</span><span class="badge b-opt">Input: None</span></div>
<div class="spec-val">Completes the configuration for this player, causing them to reenter configuration/game phase.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label">transfer</span><span class="badge b-req">Input: ElementTag</span></div>
<div class="spec-val">Natively transfers the client to another Minecraft server (host or host:port) using Minecraft 1.20.5+ Transfer Packet without needing BungeeCord/Velocity. Example: <code>transfer:play.example.com:25565</code>.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label">show_dialog</span><span class="badge b-req">Input: ScriptTag</span></div>
<div class="spec-val">Shows a specific dialog to the connection using the exact name of a Dialog script container.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label">close_dialog</span><span class="badge b-opt">Input: None</span></div>
<div class="spec-val">Closes any currently open dialog for this specific connection.</div>
</div>
</div>
</div>
<div id="tab-player" class="tab-panel">
<div class="breadcrumb">Objects <i class="fas fa-chevron-right"></i> <span>PlayerTag</span></div>
<h1>PlayerTag</h1>
<p class="subtitle">Additions for interacting with Players.</p>
<h2>Tags</h2>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key"><span class="name-label"><PlayerTag.connection></span><span class="badge b-tag">ConnectionTag</span></div>
<div class="spec-val">Returns the active <code>ConnectionTag</code> associated with this online player. Allows accessing network connection mechanisms and tags (such as ViaVersion protocol/version or native server transfer) directly from a PlayerTag. Example: <code><player.connection.viaversion_version></code>.</div>
</div>
</div>
<h2>Mechanisms</h2>
<div class="spec-container">
<div class="spec-row">
<div class="spec-key"><span class="name-label">show_dialog</span><span class="badge b-req">Input: ElementTag</span></div>
<div class="spec-val">Shows a specific dialog to the online player using the exact name of a Dialog script container.</div>
</div>
<div class="spec-row">
<div class="spec-key"><span class="name-label">close_dialog</span><span class="badge b-opt">Input: None</span></div>
<div class="spec-val">Closes any currently open dialog for the online player.</div>
</div>
</div>
</div>
<!-- ===== BETTERMODEL TABS ===== -->
<div id="tab-bm-cmd-bmmodel" class="tab-panel">
<div class="breadcrumb">Bridges <i class="fas fa-chevron-right"></i> BetterModel <i class="fas fa-chevron-right"></i> Commands <i class="fas fa-chevron-right"></i> <span>bmmodel</span></div>
<h1>bmmodel</h1>
<div class="signature">- <span class="sig-cmd">bmmodel</span> <span class="sig-arg">entity:<entity></span> <span class="sig-arg">model:<model></span> <span class="sig-opt">(remove)</span></div>
<p>Attaches a specific BetterModel to an entity or removes an existing one. An entity can have multiple models at once.</p>
<div class="info-box" style="background: rgba(245, 158, 11, 0.08); border-color: rgba(245, 158, 11, 0.25); color: #fde68a;">
<strong>Pre-configuration Sub-block Support:</strong><br>
The <code>bmmodel</code> command now supports passing a YAML sub-content block directly under the command to pre-configure mechanisms on model creation.<br>
<em>Note: Some mechanisms normally take effect only after animation playback, so using this pre-configuration feature is strongly recommended.</em>
</div>
<div class="spec-container">
<div class="spec-row"><div class="spec-key"><span class="name-label">entity:</span><span class="badge b-req">Required</span></div><div class="spec-val">The target entity to attach or detach the model from.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">model:</span><span class="badge b-req">Required</span></div><div class="spec-val">The model name (must exist in BetterModel's loaded models).</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">remove</span><span class="badge b-opt">Switch</span></div><div class="spec-val">If present, removes the model instead of adding it.</div></div>
</div>
<div class="code-block">
<div class="code-header"><span class="code-title">Usage & Pre-configuration Example</span></div>
<pre><span class="s-k">-</span> <span class="s-v">bmmodel</span> <span class="s-s">entity:<context.entity> model:dragon</span>
<span class="s-k">-</span> <span class="s-v">bmmodel</span> <span class="s-s">entity:<context.entity> model:dragon remove</span>
<span class="s-c"># Pre-configuring model mechanisms on creation:</span>
<span class="s-k">-</span> <span class="s-v">bmmodel</span> <span class="s-s">entity:<player> model:dragon:</span>
<span class="s-k">glow:</span> <span class="s-v">true</span>
<span class="s-k">glow_color:</span> <span class="s-v">red</span>
<span class="s-k">model_scale:</span> <span class="s-v">1.5</span></pre>
</div>
</div>
<div id="tab-bm-cmd-bmlimb" class="tab-panel">
<div class="breadcrumb">Bridges <i class="fas fa-chevron-right"></i> BetterModel <i class="fas fa-chevron-right"></i> Commands <i class="fas fa-chevron-right"></i> <span>bmlimb</span></div>
<h1>bmlimb</h1>
<div class="signature">- <span class="sig-cmd">bmlimb</span> <span class="sig-arg">target:<entity></span> <span class="sig-arg">model:<model></span> <span class="sig-arg">animation:<animation></span> <span class="sig-opt">(loop:<mode>)</span> <span class="sig-opt">(override)</span></div>
<p>Manages BetterModel limb animations for a player.<br>Plays a specific limb animation for a player or NPC.</p>
<div class="spec-container">
<div class="spec-row"><div class="spec-key"><span class="name-label">target:</span><span class="badge b-req">Required</span></div><div class="spec-val">The player or NPC target.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">model:</span><span class="badge b-req">Required</span></div><div class="spec-val">The limb model name.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">animation:</span><span class="badge b-req">Required</span></div><div class="spec-val">The animation name to play.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">loop:</span><span class="badge b-opt">Optional</span></div><div class="spec-val">Available loop modes: <code>PLAY_ONCE</code>, <code>LOOP</code>, <code>HOLD_ON_LAST</code>.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">override</span><span class="badge b-opt">Switch</span></div><div class="spec-val">If present, overrides currently playing animations on this limb.</div></div>
</div>
<div class="code-block">
<div class="code-header"><span class="code-title">Usage</span></div>
<pre><span class="s-k">-</span> <span class="s-v">bmlimb</span> <span class="s-s">target:<player> model:player_arm animation:wave loop:PLAY_ONCE</span></pre>
</div>
</div>
<div id="tab-bm-cmd-bmstate" class="tab-panel">
<div class="breadcrumb">Bridges <i class="fas fa-chevron-right"></i> BetterModel <i class="fas fa-chevron-right"></i> Commands <i class="fas fa-chevron-right"></i> <span>bmstate</span></div>
<h1>bmstate</h1>
<div class="signature">- <span class="sig-cmd">bmstate</span> <span class="sig-arg">model:<BMActiveModelTag></span> <span class="sig-opt">(state:<animation>)</span> <span class="sig-opt">(bones:<list>)</span> <span class="sig-opt">(loop:<mode>)</span> <span class="sig-opt">(speed:<#.#>)</span> <span class="sig-opt">(override)</span> <span class="sig-opt">(remove)</span></div>
<p>Starts, stops, or modifies animations on a model. Optionally targets specific bones.</p>
<div class="spec-container">
<div class="spec-row"><div class="spec-key"><span class="name-label">model:</span><span class="badge b-req">Required</span></div><div class="spec-val">The <code>BMActiveModelTag</code> instance to target.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">state:</span><span class="badge b-opt">Optional*</span></div><div class="spec-val">The animation name. Required to start. Optional when stopping all animations via <code>remove</code>.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">bones:</span><span class="badge b-opt">Optional</span></div><div class="spec-val">List of bone names to target. Omit to affect all bones.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">loop:</span><span class="badge b-opt">Optional</span></div><div class="spec-val">Playback mode: <code>PLAY_ONCE</code> (default), <code>LOOP</code>, or <code>HOLD_ON_LAST</code>.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">speed:</span><span class="badge b-opt">Optional</span></div><div class="spec-val">Playback speed multiplier. Default: <code>1.0</code>.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">override</span><span class="badge b-opt">Switch</span></div><div class="spec-val">If present, forces the animation to override any currently running animations on the targeted bones.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">remove</span><span class="badge b-opt">Switch</span></div><div class="spec-val">Stops the animation. No <code>state</code> given stops all animations.</div></div>
</div>
<div class="code-block">
<div class="code-header"><span class="code-title">Usage</span></div>
<pre><span class="s-k">-</span> <span class="s-v">bmstate</span> <span class="s-s">model:<[my_model]> state:walk loop:LOOP speed:1.2</span>
<span class="s-k">-</span> <span class="s-v">bmstate</span> <span class="s-s">model:<[my_model]> state:nod bones:head|waist loop:PLAY_ONCE</span>
<span class="s-k">-</span> <span class="s-v">bmstate</span> <span class="s-s">model:<[my_model]> state:walk remove</span></pre>
</div>
</div>
<div id="tab-bm-cmd-bmpart" class="tab-panel">
<div class="breadcrumb">Bridges <i class="fas fa-chevron-right"></i> BetterModel <i class="fas fa-chevron-right"></i> Commands <i class="fas fa-chevron-right"></i> <span>bmpart</span></div>
<h1>bmpart</h1>
<div class="alert-deprecated">
<i class="fas fa-exclamation-triangle"></i>
<div>
<span>DEPRECATED</span>
<p>The <code>bmpart</code> command is now deprecated. Use <code>BMBoneTag.skin</code> / <code>BMActiveModelTag.skin</code> instead.</p>
</div>
</div>
<div class="signature">- <span class="sig-cmd">bmpart</span> <span class="sig-arg">entity:<entity></span> <span class="sig-arg">model:<model_name></span> <span class="sig-arg">bone:<bone></span> <span class="sig-arg">part:<limb_name></span> <span class="sig-arg">from:<player></span></div>
<p>Applies a limb texture from an online player's skin to a specific bone. Useful for player-skin-based models.</p>
<div class="spec-container">
<div class="spec-row"><div class="spec-key"><span class="name-label">entity:</span><span class="badge b-req">Required</span></div><div class="spec-val">The target entity holding the active model tracker.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">model:</span><span class="badge b-req">Required</span></div><div class="spec-val">The active model tracker name operating on the entity.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">bone:</span><span class="badge b-req">Required</span></div><div class="spec-val">The destination bone name in your model.</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">part:</span><span class="badge b-req">Required</span></div><div class="spec-val">Source limb name from the player skin (e.g. <code>HEAD</code>, <code>TORSO</code>).</div></div>
<div class="spec-row"><div class="spec-key"><span class="name-label">from:</span><span class="badge b-req">Required</span></div><div class="spec-val">An online <code>PlayerTag</code> whose skin provides the texture source.</div></div>
</div>
<div class="code-block">
<div class="code-header"><span class="code-title">Usage</span></div>
<pre><span class="s-k">-</span> <span class="s-v">bmpart</span> <span class="s-s">entity:<[some_npc]> model:statue bone:head part:HEAD from:<player></span>
<span class="s-k">-</span> <span class="s-v">bmpart</span> <span class="s-s">entity:<[some_npc]> model:chest_model bone:chest part:TORSO from:<player[PlayerName]></span></pre>
</div>
</div>
<div id="tab-bm-evt-start" class="tab-panel">
<div class="breadcrumb">Bridges <i class="fas fa-chevron-right"></i> BetterModel <i class="fas fa-chevron-right"></i> Events <i class="fas fa-chevron-right"></i> <span>bm start reload</span></div>
<h1>bm start reload</h1>
<div class="signature"><span class="sig-return">on</span> bm start reload:</div>
<p>Triggers when the BetterModel plugin begins the reload process (before models and resource packs are regenerated).</p>
</div>
<div id="tab-bm-evt-end" class="tab-panel">
<div class="breadcrumb">Bridges <i class="fas fa-chevron-right"></i> BetterModel <i class="fas fa-chevron-right"></i> Events <i class="fas fa-chevron-right"></i> <span>bm end reload</span></div>
<h1>bm end reload</h1>
<div class="signature"><span class="sig-return">on</span> bm end reload:</div>