omegga 1.17.0 → 1.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/dist/main.js +15 -0
  2. package/dist/main.js.map +1 -1
  3. package/package.json +14 -3
  4. package/.nvmrc +0 -1
  5. package/CHANGELOG.md +0 -885
  6. package/book/.nojekyll +0 -1
  7. package/book/404.html +0 -246
  8. package/book/CNAME +0 -1
  9. package/book/api/events.html +0 -358
  10. package/book/api/index.html +0 -282
  11. package/book/api/log-parsing.html +0 -416
  12. package/book/api/omegga.html +0 -980
  13. package/book/api/player.html +0 -762
  14. package/book/api/plugin.html +0 -449
  15. package/book/api/types.html +0 -614
  16. package/book/assets/fonts/GlacialIndifferenceBold.ttf +0 -0
  17. package/book/assets/fonts/GlacialIndifferenceRegular.ttf +0 -0
  18. package/book/assets/logo.png +0 -0
  19. package/book/ayu-highlight-3fdfc3ac.css +0 -77
  20. package/book/book-609e4cb8.js +0 -870
  21. package/book/clipboard-1626706a.min.js +0 -7
  22. package/book/config.html +0 -326
  23. package/book/containers.html +0 -338
  24. package/book/css/chrome-d279d366.css +0 -770
  25. package/book/css/general-e96d0476.css +0 -464
  26. package/book/css/print-9e4910d8.css +0 -50
  27. package/book/css/variables-8adf115d.css +0 -383
  28. package/book/elasticlunr-ef4e11c1.min.js +0 -10
  29. package/book/env.html +0 -283
  30. package/book/favicon-8114d1fc.png +0 -0
  31. package/book/favicon-de23e50b.svg +0 -22
  32. package/book/fonts/OPEN-SANS-LICENSE.txt +0 -202
  33. package/book/fonts/SOURCE-CODE-PRO-LICENSE.txt +0 -93
  34. package/book/fonts/fonts-9644e21d.css +0 -100
  35. package/book/fonts/open-sans-v17-all-charsets-300-7736aa35.woff2 +0 -0
  36. package/book/fonts/open-sans-v17-all-charsets-300italic-2c7b95c0.woff2 +0 -0
  37. package/book/fonts/open-sans-v17-all-charsets-600-486c6759.woff2 +0 -0
  38. package/book/fonts/open-sans-v17-all-charsets-600italic-1a3e8659.woff2 +0 -0
  39. package/book/fonts/open-sans-v17-all-charsets-700-c22fe8c7.woff2 +0 -0
  40. package/book/fonts/open-sans-v17-all-charsets-700italic-238ae959.woff2 +0 -0
  41. package/book/fonts/open-sans-v17-all-charsets-800-3d2c812a.woff2 +0 -0
  42. package/book/fonts/open-sans-v17-all-charsets-800italic-ba1521ec.woff2 +0 -0
  43. package/book/fonts/open-sans-v17-all-charsets-italic-6c9463f7.woff2 +0 -0
  44. package/book/fonts/open-sans-v17-all-charsets-regular-2e3b1d34.woff2 +0 -0
  45. package/book/fonts/source-code-pro-v11-all-charsets-500-2bdd9410.woff2 +0 -0
  46. package/book/guides/https.html +0 -352
  47. package/book/guides/index.html +0 -276
  48. package/book/guides/pterodactyl.html +0 -397
  49. package/book/guides/remote.html +0 -328
  50. package/book/guides/wires.html +0 -518
  51. package/book/highlight-493f70e1.css +0 -83
  52. package/book/highlight-abc7f01d.js +0 -54
  53. package/book/index.html +0 -299
  54. package/book/install/index.html +0 -287
  55. package/book/install/linux.html +0 -407
  56. package/book/install/wsl.html +0 -286
  57. package/book/mark-09e88c2c.min.js +0 -7
  58. package/book/metrics.html +0 -662
  59. package/book/permissions.html +0 -532
  60. package/book/plugins/index.html +0 -521
  61. package/book/plugins/installing.html +0 -284
  62. package/book/plugins/jsonrpc.html +0 -519
  63. package/book/plugins/safe.html +0 -368
  64. package/book/plugins/unsafe.html +0 -317
  65. package/book/print.html +0 -4852
  66. package/book/running.html +0 -283
  67. package/book/searcher-09f2665d.js +0 -558
  68. package/book/searchindex-3480b9e2.js +0 -1
  69. package/book/theme/omegga-3aa7cb40.css +0 -196
  70. package/book/theme/wirescript-hljs-69fbef4b.js +0 -75
  71. package/book/toc-faa8fb01.js +0 -455
  72. package/book/toc.html +0 -32
  73. package/book/tomorrow-night-4c0ae647.css +0 -104
  74. package/book/troubleshooting.html +0 -330
  75. package/book/uninstall.html +0 -275
  76. package/docs/CNAME +0 -1
  77. package/docs/README.md +0 -44
  78. package/docs/SUMMARY.md +0 -33
  79. package/docs/api/README.md +0 -21
  80. package/docs/api/events.md +0 -109
  81. package/docs/api/log-parsing.md +0 -162
  82. package/docs/api/omegga.md +0 -785
  83. package/docs/api/player.md +0 -525
  84. package/docs/api/plugin.md +0 -284
  85. package/docs/api/types.md +0 -339
  86. package/docs/assets/fonts/GlacialIndifferenceBold.ttf +0 -0
  87. package/docs/assets/fonts/GlacialIndifferenceRegular.ttf +0 -0
  88. package/docs/assets/logo.png +0 -0
  89. package/docs/config.md +0 -76
  90. package/docs/containers.md +0 -110
  91. package/docs/env.md +0 -27
  92. package/docs/guides/README.md +0 -14
  93. package/docs/guides/https.md +0 -121
  94. package/docs/guides/pterodactyl.md +0 -155
  95. package/docs/guides/remote.md +0 -81
  96. package/docs/guides/wires.md +0 -292
  97. package/docs/install/README.md +0 -27
  98. package/docs/install/linux.md +0 -156
  99. package/docs/install/wsl.md +0 -40
  100. package/docs/metrics.md +0 -451
  101. package/docs/permissions.md +0 -264
  102. package/docs/plugins/README.md +0 -280
  103. package/docs/plugins/installing.md +0 -47
  104. package/docs/plugins/jsonrpc.md +0 -258
  105. package/docs/plugins/safe.md +0 -136
  106. package/docs/plugins/unsafe.md +0 -68
  107. package/docs/running.md +0 -43
  108. package/docs/troubleshooting.md +0 -38
  109. package/docs/uninstall.md +0 -22
  110. package/drizzle.config.ts +0 -7
  111. package/drizzle.plugin.config.ts +0 -7
  112. package/eslint.config.mjs +0 -135
  113. package/public/assets/IconCheck-DOe3u7iH.js.map +0 -1
  114. package/public/assets/IconLockOpen-Bs7Tsf6u.js.map +0 -1
  115. package/public/assets/IconShieldCheck-Bjlm8mX2.js.map +0 -1
  116. package/public/assets/IconWorld-DgiOjCuo.js.map +0 -1
  117. package/public/assets/IconWorldPlus-DJJNrT87.js.map +0 -1
  118. package/public/assets/IconX-CvmO0bbE.js.map +0 -1
  119. package/public/assets/_commonjsHelpers-CE1G-McA.js.map +0 -1
  120. package/public/assets/app-Mh--ChqF.js.map +0 -1
  121. package/public/assets/auth-DQtYicf-.js.map +0 -1
  122. package/public/assets/client-BT1QYH0O.js.map +0 -1
  123. package/public/assets/index-2cgXLhrt.js.map +0 -1
  124. package/public/assets/index-B0LowBt1.js.map +0 -1
  125. package/public/assets/index-BDkarAkX.js.map +0 -1
  126. package/public/assets/index-BTSbuqTr.js.map +0 -1
  127. package/public/assets/index-CJ4e7_2M.js.map +0 -1
  128. package/public/assets/index-CSV4ZXsq.js.map +0 -1
  129. package/public/assets/index-CrN8I5Az.js.map +0 -1
  130. package/public/assets/index-CtCtK5BX.js.map +0 -1
  131. package/public/assets/index-D0OPOe3j.js.map +0 -1
  132. package/public/assets/jsx-runtime-BX5r4UiA.js.map +0 -1
  133. package/public/assets/jsx-runtime-DldvXD6N.js.map +0 -1
  134. package/public/assets/shared/@components-DBMXoJMT.js.map +0 -1
  135. package/public/assets/shared/@hooks-DlZ8TOOZ.js.map +0 -1
  136. package/public/assets/shared/@nanostores_react-DJPF1Eqx.js.map +0 -1
  137. package/public/assets/shared/@tabler_icons-react-i-Q2c_A_.js.map +0 -1
  138. package/public/assets/shared/@utils-BA2UvC9c.js.map +0 -1
  139. package/public/assets/shared/nanostores-BFqqIY_c.js.map +0 -1
  140. package/public/assets/shared/react-dom-8Rcmh_FG.js.map +0 -1
  141. package/public/assets/shared/react-iXLZ_Bod.js.map +0 -1
  142. package/public/assets/shared/react_jsx-runtime-BwhiLcBy.js.map +0 -1
  143. package/public/assets/shared/wouter-CUC1caxu.js.map +0 -1
  144. package/public/assets/user-XF1UyJMA.js.map +0 -1
  145. package/public/assets/utils-Ds3ldd-U.js.map +0 -1
  146. package/server/data/nedb-imported.marker +0 -1
  147. package/server/data/omegga-plugins.db +0 -0
  148. package/server/data/omegga-plugins.db-shm +0 -0
  149. package/server/data/omegga-plugins.db-wal +0 -0
  150. package/server/data/omegga-sessions.db +0 -0
  151. package/server/data/omegga-sessions.db-shm +0 -0
  152. package/server/data/omegga-sessions.db-wal +0 -0
  153. package/server/data/omegga.db +0 -0
  154. package/server/data/omegga.db-shm +0 -0
  155. package/server/data/omegga.db-wal +0 -0
  156. package/server/data/web_session_token +0 -1
  157. package/server/fakegame/Binaries/Linux/BrickadiaServer-Linux-Shipping +0 -11
  158. package/server/omegga-config.yml +0 -7
  159. package/theme/omegga.css +0 -196
  160. package/theme/wirescript-hljs.js +0 -75
  161. package/tools/tag.sh +0 -48
@@ -1,196 +0,0 @@
1
- /* Repaint mdBook's "navy" theme (the book's default) in the omegga web UI's
2
- * palette, so the docs and the UI look like the same product. Values are taken
3
- * from frontend/src/css/theme.scss; the few mdBook needs that the palette has
4
- * no equivalent for are derived and marked below. Loaded as additional-css,
5
- * which comes after mdBook's own variables.css, so these win on equal
6
- * specificity without vendoring the whole file.
7
- *
8
- * Only "navy" is restyled. The other themes in the paintbrush menu stay stock,
9
- * which is what a reader picking "Light" is asking for. */
10
- .navy {
11
- --bg: #131d30; /* $br-bg-secondary */
12
- --fg: #dfe7f0; /* derived: body text, softer than $br-button-fg white */
13
-
14
- --sidebar-bg: #091021; /* $br-bg-footer */
15
- --sidebar-fg: #a7bbce; /* $br-boring-button-fg */
16
- --sidebar-active: #009bee; /* $br-info-normal, same blue as links */
17
- --sidebar-non-existant: #5e7190; /* $br-element-fg, used for draft chapters */
18
- --sidebar-spacer: #263f61; /* $br-element-pressed */
19
-
20
- --scrollbar: #455a7e; /* $br-button-normal */
21
-
22
- --icons: #5e7190; /* $br-element-fg */
23
- --icons-hover: #a7bbce; /* $br-boring-button-fg */
24
-
25
- --links: #009bee; /* $br-info-normal */
26
-
27
- --inline-code-color: #4cb9f3; /* $br-info-hover */
28
-
29
- --theme-popup-bg: #162841; /* $br-element-header-bg */
30
- --theme-popup-border: #455a7e; /* $br-button-normal */
31
- --theme-hover: #263f61; /* $br-element-pressed */
32
-
33
- --quote-bg: #182b44; /* $br-bg-primary-alt */
34
- --quote-border: #455a7e; /* $br-button-normal */
35
-
36
- --warning-border: #ffa10b; /* $br-warn-normal */
37
-
38
- --table-border-color: #263f61; /* $br-element-pressed */
39
- --table-header-bg: #1b2f4a; /* $br-bg-primary, the UI's thead th */
40
- --table-alternate-bg: #111a2b; /* $br-bg-secondary-alt, the UI's alt row */
41
-
42
- --searchbar-border-color: #455a7e; /* $br-button-normal */
43
- --searchbar-bg: #263f61; /* $br-element-pressed */
44
- --searchbar-fg: #ffffff; /* $br-button-fg */
45
- --searchbar-shadow-color: #091021; /* $br-bg-footer */
46
- --searchresults-header-fg: #a7bbce; /* $br-boring-button-fg */
47
- --searchresults-border-color: #455a7e; /* $br-button-normal */
48
- --searchresults-li-bg: #182b44; /* $br-bg-primary-alt */
49
- --search-mark-bg: #4cb9f3; /* $br-info-hover */
50
-
51
- --footnote-highlight: #009bee; /* $br-info-normal */
52
- --overlay-bg: rgba(9, 16, 33, 0.6); /* $br-bg-footer, translucent */
53
-
54
- --sidebar-header-border-color: #263f61; /* $br-element-pressed */
55
-
56
- /* GitHub-style alert blockquotes, on the palette's semantic colors */
57
- --blockquote-note-color: #009bee; /* $br-info-normal */
58
- --blockquote-tip-color: #5da93d; /* $br-main-normal */
59
- --blockquote-important-color: #4cb9f3; /* $br-info-hover */
60
- --blockquote-warning-color: #ffa10b; /* $br-warn-normal */
61
- --blockquote-caution-color: #e02d2d; /* $br-error-normal */
62
-
63
- /* --copy-button-filter{,-hover} are left at mdBook's defaults: they are
64
- * filter matrices that tint an SVG, not colors, and the stock grey/blue
65
- * pair already reads correctly against this background. */
66
- }
67
-
68
- /* Glacial Indifference, the web UI's body font, for the sidebar only. The
69
- * files live in docs/assets/fonts/ because mdBook copies non-markdown src
70
- * files verbatim; putting them in theme/fonts/ would replace mdBook's bundled
71
- * Open Sans, which still sets the type for the page body. These url()s resolve
72
- * against this file's own location (book/theme/), not the page's. */
73
- @font-face {
74
- font-family: 'Glacial Indifference';
75
- src: url('../assets/fonts/GlacialIndifferenceRegular.ttf') format('truetype');
76
- font-weight: 400;
77
- font-style: normal;
78
- font-display: swap;
79
- }
80
-
81
- @font-face {
82
- font-family: 'Glacial Indifference';
83
- src: url('../assets/fonts/GlacialIndifferenceBold.ttf') format('truetype');
84
- font-weight: 700;
85
- font-style: normal;
86
- font-display: swap;
87
- }
88
-
89
- /* mdBook renders the sidebar in an iframe whose body is .sidebar-iframe-inner
90
- * and which loads this stylesheet too; .sidebar covers the non-iframe case. */
91
- .sidebar-iframe-inner,
92
- .sidebar {
93
- font-family: 'Glacial Indifference', 'Open Sans', sans-serif;
94
- }
95
-
96
- /* Nothing in mdBook's chrome.css sets a font-weight on the chapter list, so
97
- * this inherits down to links, draft-chapter spans, and fold arrows alike. */
98
- .chapter {
99
- font-weight: 700;
100
- }
101
-
102
- /* Headings in the page body. mdBook sets no font-family on h1-h6, so these
103
- * inherit Open Sans from body and this rule applies with no specificity
104
- * fight. They are bold by browser default, which is the 700 face above. */
105
- .content h1,
106
- .content h2,
107
- .content h3,
108
- .content h4,
109
- .content h5,
110
- .content h6 {
111
- font-family: 'Glacial Indifference', 'Open Sans', sans-serif;
112
- }
113
-
114
- /* Tables as rounded panels, the way the web UI draws its list containers:
115
- * one outer border with $br-radius-md corners and no interior lines at all,
116
- * rows told apart purely by the alternating background, exactly as the UI's
117
- * own `table.br-table` does it. Colours come from the same palette pair the
118
- * UI uses: $br-bg-primary for the header, $br-bg-secondary{,-alt} for rows.
119
- *
120
- * border-collapse must be `separate` for border-radius to apply at all, which
121
- * is why mdBook's `collapse` is overridden here. `overflow: hidden` clips the
122
- * corner cells; the explicit corner radii below do the same job for renderers
123
- * that decline to honour overflow on a table. */
124
- .content table {
125
- border-collapse: separate;
126
- border-spacing: 0;
127
- border: 1px solid var(--table-border-color);
128
- border-radius: 12px; /* $br-radius-md */
129
- overflow: hidden;
130
- background: #131d30; /* $br-bg-secondary, the UI's odd row */
131
- }
132
-
133
- .content table thead {
134
- background: var(--table-header-bg);
135
- }
136
-
137
- .content table th,
138
- .content table td {
139
- border: none;
140
- padding: 8px 16px;
141
- }
142
-
143
- .content table thead th,
144
- .content table thead td {
145
- font-family: 'Glacial Indifference', 'Open Sans', sans-serif;
146
- font-weight: 700;
147
- text-align: left;
148
- color: #ffffff; /* $br-button-fg */
149
- }
150
-
151
- /* Markdown has no headerless table, so a two-column layout like the "Start
152
- * here" list on the index is written `| | |` and renders an empty thead. Drop
153
- * it instead of painting a blank header bar. Browsers without :has() simply
154
- * keep the bar, which is what they show today. */
155
- .content table thead:not(:has(th:not(:empty))) {
156
- display: none;
157
- }
158
-
159
- /* ...which makes the first body row the top row, so the corners move with it */
160
- .content table thead:not(:has(th:not(:empty))) + tbody tr:first-child td:first-child {
161
- border-top-left-radius: 12px;
162
- }
163
- .content table thead:not(:has(th:not(:empty))) + tbody tr:first-child td:last-child {
164
- border-top-right-radius: 12px;
165
- }
166
-
167
- .content table thead tr:first-child th:first-child {
168
- border-top-left-radius: 12px;
169
- }
170
- .content table thead tr:first-child th:last-child {
171
- border-top-right-radius: 12px;
172
- }
173
- .content table tbody tr:last-child td:first-child {
174
- border-bottom-left-radius: 12px;
175
- }
176
- .content table tbody tr:last-child td:last-child {
177
- border-bottom-right-radius: 12px;
178
- }
179
-
180
- /* Code blocks on the sidebar's background. The colour comes from the same
181
- * variable the sidebar uses, so the two can never drift apart.
182
- *
183
- * Scoped to `pre > code` rather than `.hljs`: book.js adds the hljs class to
184
- * every `code` element, inline ones included, and mdBook styles those as
185
- * inline chips. A bare `.hljs` rule here would give every `inline mention`
186
- * in prose a dark background box. */
187
- .navy pre > code {
188
- background: var(--sidebar-bg);
189
- }
190
-
191
- /* Rounded to the same radius as the tables. Not scoped to a theme, since the
192
- * corner shape should hold whichever palette the reader picks. mdBook already
193
- * sets `overflow-x: auto` here for wide lines, so the corners clip cleanly. */
194
- .content pre > code {
195
- border-radius: 12px; /* $br-radius-md */
196
- }
@@ -1,75 +0,0 @@
1
- // Wirescript syntax highlighting for mdBook's bundled highlight.js (10.x).
2
- // mdBook loads additional-js after book.js has already highlighted the page,
3
- // so this registers the language and then re-highlights the blocks that were
4
- // skipped. Keyword lists track the Wirescript playground's Monarch grammar.
5
- (function () {
6
- if (typeof hljs === 'undefined') return;
7
-
8
- hljs.registerLanguage('wirescript', function (hljs) {
9
- var KEYWORDS = {
10
- keyword:
11
- 'if else then match on return emit await var array buffer let const ' +
12
- 'fn chip mod in out open ref import from as event static type',
13
- type:
14
- 'int float bool string entity controller character vector rotator ' +
15
- 'quat color exec brick prefab any never Map Option Result',
16
- literal: 'true false',
17
- built_in:
18
- 'PrintToConsole SendCustomEvent SendGlobalCustomEvent CustomEvent ' +
19
- 'GlobalCustomEvent ChatCommand Clock ReadBrickGrid Fmt Opaque ' +
20
- 'BroadcastChatMessage BroadcastStatusMessage ShowChatMessage ' +
21
- 'ShowStatusMessage ShowMessageBox ShowHint DisplayText FindPlayer ' +
22
- 'ControllerOf CharacterOf GetAim InputReader GetInputs Random Timer ' +
23
- 'Sleep SleepTicks SpawnPrefab SpawnExplosion Sweep Union Branch ' +
24
- 'Select Vec MakeColor Dot Cross Normalize Magnitude Distance ' +
25
- 'DeltaTime ServerUptime NearlyEqual Dampen Easing Tween ' +
26
- 'GetLocation GetRotation SetLocation SetRotation Teleport',
27
- };
28
-
29
- // `${ ... }` inside a string drops back into ordinary code
30
- var SUBST = {
31
- className: 'subst',
32
- begin: /\$\{/,
33
- end: /\}/,
34
- keywords: KEYWORDS,
35
- };
36
-
37
- var STRING = {
38
- className: 'string',
39
- variants: [
40
- { begin: /"/, end: /"/, illegal: /\n/, contains: [hljs.BACKSLASH_ESCAPE, SUBST] },
41
- { begin: /'/, end: /'/, illegal: /\n/, contains: [hljs.BACKSLASH_ESCAPE, SUBST] },
42
- ],
43
- };
44
- SUBST.contains = [STRING];
45
-
46
- return {
47
- name: 'Wirescript',
48
- aliases: ['ws'],
49
- keywords: KEYWORDS,
50
- contains: [
51
- // `///` doc comments, before the plain `//` rule
52
- hljs.COMMENT('///', '$', { relevance: 10 }),
53
- hljs.C_LINE_COMMENT_MODE,
54
- hljs.C_BLOCK_COMMENT_MODE,
55
- STRING,
56
- // `$Asset/Path` references
57
- { className: 'symbol', begin: /\$[A-Za-z_][\w]*(\/[\w.-]+)*/ },
58
- // `@fold`, `@layout(...)`, `@nofold` annotations
59
- { className: 'meta', begin: /@[A-Za-z_]\w*/ },
60
- hljs.C_NUMBER_MODE,
61
- ],
62
- };
63
- });
64
-
65
- // book.js has already run and skipped these blocks, because the language was
66
- // not registered when it did. Flatten each back to plain text (mdBook puts
67
- // nothing but text inside the `code` element, and the copy button is a
68
- // sibling) so the pass below is the same whichever order the two scripts run.
69
- document
70
- .querySelectorAll('code.language-wirescript, code.language-ws')
71
- .forEach(function (block) {
72
- block.textContent = block.textContent;
73
- hljs.highlightBlock(block);
74
- });
75
- })();