omegga 1.4.0 → 1.5.0
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.
- package/.claude/settings.local.json +39 -0
- package/CHANGELOG.md +690 -0
- package/README.md +23 -2
- package/bin/omegga +1 -1
- package/dist/brickadia/server.js +1 -1
- package/dist/brickadia/server.js.map +1 -1
- package/dist/cli/terminal.js +47 -13
- package/dist/cli/terminal.js.map +1 -1
- package/dist/config/index.js +6 -0
- package/dist/config/index.js.map +1 -1
- package/dist/config/types.js +51 -0
- package/dist/config/types.js.map +1 -0
- package/dist/config/validator.js +8 -20
- package/dist/config/validator.js.map +1 -1
- package/dist/index.js +12 -6
- package/dist/index.js.map +1 -1
- package/dist/logger.js +38 -8
- package/dist/logger.js.map +1 -1
- package/dist/main.js +27 -1
- package/dist/main.js.map +1 -1
- package/dist/omegga/matchers/command.js +10 -0
- package/dist/omegga/matchers/command.js.map +1 -1
- package/dist/omegga/plugin/plugin_node_unsafe.js +6 -0
- package/dist/omegga/plugin/plugin_node_unsafe.js.map +1 -1
- package/dist/omegga/server.js +51 -5
- package/dist/omegga/server.js.map +1 -1
- package/dist/omegga/wrapper.js +1 -0
- package/dist/omegga/wrapper.js.map +1 -1
- package/dist/plugin.js +1 -2
- package/dist/plugin.js.map +1 -1
- package/dist/updater/steam.js +175 -68
- package/dist/updater/steam.js.map +1 -1
- package/dist/util/brick/checkBounds.js +1 -2
- package/dist/util/brick/checkBounds.js.map +1 -1
- package/dist/util/brick/displayName.js +1 -2
- package/dist/util/brick/displayName.js.map +1 -1
- package/dist/util/brick/getBounds.js +1 -2
- package/dist/util/brick/getBounds.js.map +1 -1
- package/dist/util/brick/getBrickSize.js +1 -2
- package/dist/util/brick/getBrickSize.js.map +1 -1
- package/dist/util/brick/getScaleAxis.js +1 -2
- package/dist/util/brick/getScaleAxis.js.map +1 -1
- package/dist/util/brick/setOwnership.js +1 -2
- package/dist/util/brick/setOwnership.js.map +1 -1
- package/dist/webserver/backend/database.js +5 -3
- package/dist/webserver/backend/database.js.map +1 -1
- package/dist/webserver/backend/events.js +7 -0
- package/dist/webserver/backend/events.js.map +1 -0
- package/dist/webserver/backend/index.js +64 -26
- package/dist/webserver/backend/index.js.map +1 -1
- package/dist/webserver/backend/metrics.js +122 -11
- package/dist/webserver/backend/metrics.js.map +1 -1
- package/dist/webserver/backend/router/chat.js +58 -0
- package/dist/webserver/backend/router/chat.js.map +1 -0
- package/dist/webserver/backend/router/index.js +23 -0
- package/dist/webserver/backend/router/index.js.map +1 -0
- package/dist/webserver/backend/router/player.js +248 -0
- package/dist/webserver/backend/router/player.js.map +1 -0
- package/dist/webserver/backend/router/plugin.js +150 -0
- package/dist/webserver/backend/router/plugin.js.map +1 -0
- package/dist/webserver/backend/router/role.js +17 -0
- package/dist/webserver/backend/router/role.js.map +1 -0
- package/dist/webserver/backend/router/server.js +181 -0
- package/dist/webserver/backend/router/server.js.map +1 -0
- package/dist/webserver/backend/router/session.js +33 -0
- package/dist/webserver/backend/router/session.js.map +1 -0
- package/dist/webserver/backend/router/user.js +93 -0
- package/dist/webserver/backend/router/user.js.map +1 -0
- package/dist/webserver/backend/router/world.js +139 -0
- package/dist/webserver/backend/router/world.js.map +1 -0
- package/dist/webserver/backend/trpc.js +48 -0
- package/dist/webserver/backend/trpc.js.map +1 -0
- package/dist/webserver/backend/util.js +18 -0
- package/dist/webserver/backend/util.js.map +1 -1
- package/package.json +10 -5
- package/public/app.html +122 -4
- package/public/assets/IconWorldPlus-Dkos72Ws.js +2 -0
- package/public/assets/IconWorldPlus-Dkos72Ws.js.map +1 -0
- package/public/assets/app-CLZ-5FIi.js +6 -0
- package/public/assets/app-CLZ-5FIi.js.map +1 -0
- package/public/assets/client-BT1QYH0O.js.map +1 -1
- package/public/assets/index-DLZ8-XzO.js +4 -0
- package/public/assets/index-DLZ8-XzO.js.map +1 -0
- package/public/assets/shared/@components-DPHARroA.js +2 -0
- package/public/assets/shared/@components-DPHARroA.js.map +1 -0
- package/public/assets/shared/@tabler_icons-react-iQk11eD_.js +3 -0
- package/public/assets/shared/{@tabler_icons-react-B4bN8gHc.js.map → @tabler_icons-react-iQk11eD_.js.map} +1 -1
- package/public/auth.html +13 -1
- package/dist/info/default_commands.json.js +0 -39
- package/dist/info/default_commands.json.js.map +0 -1
- package/dist/webserver/backend/api.js +0 -797
- package/dist/webserver/backend/api.js.map +0 -1
- package/public/assets/IconWorldPlus-DpfueG8_.js +0 -2
- package/public/assets/IconWorldPlus-DpfueG8_.js.map +0 -1
- package/public/assets/app-nJIpyOiP.js +0 -6
- package/public/assets/app-nJIpyOiP.js.map +0 -1
- package/public/assets/index-3dNmNZ9B.js +0 -10
- package/public/assets/index-3dNmNZ9B.js.map +0 -1
- package/public/assets/shared/@components-DdtLZOaA.js +0 -2
- package/public/assets/shared/@components-DdtLZOaA.js.map +0 -1
- package/public/assets/shared/@tabler_icons-react-B4bN8gHc.js +0 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,690 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## Latest
|
|
4
|
+
|
|
5
|
+
Add new changes here as they are implemented
|
|
6
|
+
|
|
7
|
+
## 1.5.0 - 2026-04-28
|
|
8
|
+
|
|
9
|
+
- Add utilization widget to the dashboard view
|
|
10
|
+
- Add configurable terminal timestamps via `terminal.timestamp` in config (uses [dateformat](https://www.npmjs.com/package/dateformat) syntax)
|
|
11
|
+
- Refactor config validation to use zod schemas
|
|
12
|
+
- Censor credentials and passwords in verbose config logging
|
|
13
|
+
- (For Staff) Add `omegga steamlogin` command for interactive Steam Guard authentication
|
|
14
|
+
- (For Staff) Steam downloads now use cached credentials (username only); if login fails, automatically prompts for password and Steam Guard code, then retries the download
|
|
15
|
+
- (For Staff) `STEAM_PASSWORD` env var is now optional — password is prompted interactively when needed
|
|
16
|
+
- Replace `api.steamcmd.net` update checker with local SteamCMD-based `app_info_update` + `app_status`
|
|
17
|
+
- Add `/updatecheck` (`/uc`, `/check`) terminal command to check for updates without updating
|
|
18
|
+
- Web UI: show update status subheader on server page, spinner on update check button
|
|
19
|
+
- Web UI: increase default dashboard widget size
|
|
20
|
+
- Add `/exit`, `/quit`, `/close` aliases for `/stop`
|
|
21
|
+
- Use game engine's "command does not exist" error for unknown command detection instead of a hardcoded command list
|
|
22
|
+
|
|
23
|
+
## 1.4.1 - 2026-03-10
|
|
24
|
+
|
|
25
|
+
- Add crash auto-restart: detect engine crashes via stderr/stdout and automatically restart, with a new "Restart on Crash" toggle in the web UI (default Enabled, may not catch every crash yet)
|
|
26
|
+
- Improve SteamCMD error handling: decode `EAppState` flags on update failure and redact credentials from error messages
|
|
27
|
+
- Add pluginEvents to unsafe node plugins
|
|
28
|
+
- Forward game server stderr as `err` events on the wrapper (used by crash detection)
|
|
29
|
+
- Suppress Node.js `DEP0040` deprecation warning in `bin/omegga`
|
|
30
|
+
|
|
31
|
+
## 1.4.0 - 2026-02-01
|
|
32
|
+
|
|
33
|
+
- Added `.env` support for loading env into your server. Put it next to your `omegga-config.yml` to be loaded on startup
|
|
34
|
+
- Env for steamcmd, `STEAM_USERNAME`, for devs to run omegga on internal builds
|
|
35
|
+
- Added `Player.getLeaderboard(key: string): Promise<number>` and `Player.setLeaderboard(key: string, value: integer)` to interact with player leaderboard values
|
|
36
|
+
- Added missing player functions to JSONRPC plugins
|
|
37
|
+
- Updated vm2 to 3.10.3. This includes **tiny breaking changes**, which is why this is a bump from 1.3.0 to 1.4.0
|
|
38
|
+
- Note: Promises inside safe plugins are weird imitation Promises that are not `instanceof Promise`
|
|
39
|
+
|
|
40
|
+
## 1.3.0 - 2025-12-12
|
|
41
|
+
|
|
42
|
+
- #80 update builtin command list with commands from EA2 (thanks @consoleSkunk)
|
|
43
|
+
- #77 support for loadBefore/loadAfter/loadPriority and dependencies for plugins (thanks @Commander Nick)
|
|
44
|
+
- #79 switch from webpack to vite for building backend, setup test environment
|
|
45
|
+
- **In-game BRS features are effectively deprecated or already removed.** Plugins that readSaveData/loadSaveData/interact with BRS should be considered broken.
|
|
46
|
+
|
|
47
|
+
## 1.2.9 - 2025-08-05
|
|
48
|
+
|
|
49
|
+
- Fix player.getPaint having a 1/NumPlayers chance of working
|
|
50
|
+
|
|
51
|
+
## 1.2.8 - 2025-08-04
|
|
52
|
+
|
|
53
|
+
- Fix ui crash from linkify-react/linkifyjs violating semantic versioning
|
|
54
|
+
- Add more weapon class types (ty pleasant peasant)
|
|
55
|
+
|
|
56
|
+
## 1.2.7 - 2025-08-03
|
|
57
|
+
|
|
58
|
+
- Update brs-js to support seats/weights/various components that had strange types
|
|
59
|
+
|
|
60
|
+
## 1.2.6 - 2025-07-25
|
|
61
|
+
|
|
62
|
+
- Fix steamcmd install check for archlinux (ty voximity)
|
|
63
|
+
- Fix config dir creation (ty banhathome on gh)
|
|
64
|
+
- Fix error message on server restore with player saving enabled
|
|
65
|
+
- Fix auto restart causing hang when saving world
|
|
66
|
+
|
|
67
|
+
## 1.2.5 - 2025-07-21
|
|
68
|
+
|
|
69
|
+
- Added a minimal brdb parser for reading [only] owner data from worlds
|
|
70
|
+
- Added a sortable owner section to the world view's side panel
|
|
71
|
+
|
|
72
|
+
## 1.2.4 - 2025-07-20
|
|
73
|
+
|
|
74
|
+
- Fix kicking players with web ui crashing omegga
|
|
75
|
+
|
|
76
|
+
## 1.2.3 - 2025-07-19
|
|
77
|
+
|
|
78
|
+
- Refactored a lot of `require()`s into imports (and removed some dynamic ones)
|
|
79
|
+
- Added env `PACKAGE_NOTIFIER` - When set to `false`, disables the npm update notifier
|
|
80
|
+
- Added env `STEAM_NOTIFIER` - When set to `false`, disables the SteamCMD update notifier
|
|
81
|
+
- Added env `SKIP_STEAMCMD_PROMPT` - When set to `true`, agrees to installing SteamCMD without prompting
|
|
82
|
+
- Omegga now runs with node's builtin `--enable-source-maps` rather than the ancient unmaintained `source-map-support` package
|
|
83
|
+
|
|
84
|
+
## 1.2.2 - 2025-07-19
|
|
85
|
+
|
|
86
|
+
- Fix missing displayName meta in web-ui for join messages
|
|
87
|
+
|
|
88
|
+
## 1.2.1 - 2025-07-19
|
|
89
|
+
|
|
90
|
+
- Use display names in terminal chat, chat history, and chat widget (hover in the ui for usernames)
|
|
91
|
+
- Add display names to name history
|
|
92
|
+
- Fix missing auto-scroll in home page chat widget
|
|
93
|
+
- Fix styling in login modal
|
|
94
|
+
- Type fixes for getPlayers list
|
|
95
|
+
- Fix Omegga.saveWorld and Omegga.saveWorldAs erroring when there are no minigames
|
|
96
|
+
|
|
97
|
+
## 1.2.0 - 2025-07-18
|
|
98
|
+
|
|
99
|
+
### Web UI
|
|
100
|
+
- New Worlds View (with save, load, saveas, load revision, create new, set default world)
|
|
101
|
+
- Added Check for Updates to Web UI
|
|
102
|
+
- Ported the entire UI from Vue to React
|
|
103
|
+
- Added rounded corners everywhere
|
|
104
|
+
|
|
105
|
+
### Worlds
|
|
106
|
+
- Server start and restart load a "default world"
|
|
107
|
+
- Removed save bricks/environment/minigames auto restart config
|
|
108
|
+
- Added Save World auto restart config
|
|
109
|
+
|
|
110
|
+
### Updater (SteamCMD only)
|
|
111
|
+
- Added a manual and automatic update features to the server view in the Web UI
|
|
112
|
+
- Added Automatic check for steam updates on startup
|
|
113
|
+
|
|
114
|
+
### Terminal
|
|
115
|
+
- Added `/restart` - restarts the server without a warning and loads the default world
|
|
116
|
+
- Added `/update` - updates the server using SteamCMD
|
|
117
|
+
- Added `/worlds use <world>` to set the default world
|
|
118
|
+
- `/worlds` commands now actually check for success
|
|
119
|
+
|
|
120
|
+
## 1.1.2 - 2025-07-16
|
|
121
|
+
|
|
122
|
+
- Fixes for running in wsl (ty aware!)
|
|
123
|
+
- Fix Player.getGhostBrick (ty aware!)
|
|
124
|
+
- Fix Player.getTemplateBounds (ty aware!)
|
|
125
|
+
- Fix always attempting to install old launcher on startup
|
|
126
|
+
- More verbose logging for token checking
|
|
127
|
+
- Cleaner launch auth check code
|
|
128
|
+
|
|
129
|
+
## 1.1.1 - 2025-07-16
|
|
130
|
+
|
|
131
|
+
- Fixes for launching without steam or brickadia-installer
|
|
132
|
+
- Use `BRICKADIA_TOKEN` instead of `BRICKADIA_AUTH_TOKEN` for env based token setups
|
|
133
|
+
|
|
134
|
+
## 1.1.0 - 2025-07-16
|
|
135
|
+
|
|
136
|
+
- Drop support for alpha
|
|
137
|
+
- Add /worlds terminal command and world apis to Omegga
|
|
138
|
+
- Add display names to player data
|
|
139
|
+
- Support downloading the server from steamcmd
|
|
140
|
+
- Support using the game server binary directly without any launcher
|
|
141
|
+
- Support hosting tokens
|
|
142
|
+
- Updated for brs v14
|
|
143
|
+
- !commands and /commands use player username instead of display name
|
|
144
|
+
- Interact components properly use username
|
|
145
|
+
- Selector bounds still broken
|
|
146
|
+
|
|
147
|
+
## 1.0.40 - 2023-12-19
|
|
148
|
+
|
|
149
|
+
- Another possible fix for web UI login errors (only seems to break on the NPM published versions of omegga?)
|
|
150
|
+
|
|
151
|
+
## 1.0.39 - 2023-12-19
|
|
152
|
+
|
|
153
|
+
- Recommend node 20 over node 18
|
|
154
|
+
- Bump `ttypescript` to fix TS compilation errors
|
|
155
|
+
- Bump `socket.io`, `express`, and `express-session` to fix web UI login errors
|
|
156
|
+
- Bump `pem` to fix SSL cert generation errors on node 20
|
|
157
|
+
- Fix crashes related to `Player#getPawn()` (@Critical Floof)
|
|
158
|
+
|
|
159
|
+
## 1.0.38 - 2023-09-10
|
|
160
|
+
|
|
161
|
+
- brs-js fix for a bug that caused a crash for unexpected negative numbers - by @Critical Floof
|
|
162
|
+
|
|
163
|
+
## 1.0.37 - 2023-04-23
|
|
164
|
+
|
|
165
|
+
- Minor fix to some booleans being undefined instead of false
|
|
166
|
+
|
|
167
|
+
## 1.0.36 - 2023-04-21
|
|
168
|
+
|
|
169
|
+
- Add support for node extensions in safe plugins (.node extension)
|
|
170
|
+
|
|
171
|
+
## 1.0.35 - 2023-04-20
|
|
172
|
+
|
|
173
|
+
- Fix that weird brs-js bug where it would die if your brick color wasn't an array
|
|
174
|
+
- Remove the need to install `build-essential` (probably the number one omegga install nuisance)
|
|
175
|
+
|
|
176
|
+
## 1.0.32 - 2023-03-17
|
|
177
|
+
|
|
178
|
+
- `npm audit fix` and brs-js update for smaller package size
|
|
179
|
+
|
|
180
|
+
## 1.0.31 - 2022-12-23
|
|
181
|
+
|
|
182
|
+
- More updated packages for building with the node 18 migration
|
|
183
|
+
|
|
184
|
+
## 1.0.30 - 2022-12-16
|
|
185
|
+
|
|
186
|
+
- Update some packages so building works on node 18, shouldn't have any impact on node 16
|
|
187
|
+
|
|
188
|
+
## 1.0.29 - 2022-11-21
|
|
189
|
+
|
|
190
|
+
- Remove `package-lock.json` from `.gitignore` (this means if a dep updates a minor version, it won't update it for us and break/fix anything)
|
|
191
|
+
|
|
192
|
+
## 1.0.28 - 2022-07-26
|
|
193
|
+
|
|
194
|
+
- `omegga get-config <pluginName> [configName]` - Gets a config for a plugin. If `configName` is omitted, returns all config values. -Maggiful
|
|
195
|
+
- `omegga set-config <pluginName> [configName] [configValue]` - Sets a config for a plugin. If `configValue` is omitted, the config will be reset. If `configName` is omitted, the entire plugin config will be reset. -Maggiful
|
|
196
|
+
- Fixes for when server is closed via SIGTERM/SIGINT (Ctrl+C) -Maggiful
|
|
197
|
+
|
|
198
|
+
## 1.0.27 - 2022-07-17
|
|
199
|
+
|
|
200
|
+
- `/plugins` command in-game now has case-insensitive searching -Maggiful
|
|
201
|
+
- `minigamejoin` event that is fired when a player joins a minigame, leaves a minigame (joins GLOBAL), or spawns -Maggiful
|
|
202
|
+
- `getMinigames` now has an `index` on each minigame object (index lookup code by Aware)
|
|
203
|
+
|
|
204
|
+
## 1.0.26 - 2022-07-03
|
|
205
|
+
|
|
206
|
+
- Increase typescript plugin code performance by transpiling in production mode
|
|
207
|
+
- Make source maps actually work so you can easily tell where code errors from typescript plugins
|
|
208
|
+
|
|
209
|
+
## 1.0.25 - 2022-06-17
|
|
210
|
+
|
|
211
|
+
- Fix `Omegga.getEnvironmentData` using wrong tempCounter, causing errors
|
|
212
|
+
|
|
213
|
+
## 1.0.24 - 2022-05-24
|
|
214
|
+
|
|
215
|
+
- Add even more logging to safe plugin errors
|
|
216
|
+
|
|
217
|
+
## 1.0.23 - 2022-05-24
|
|
218
|
+
|
|
219
|
+
- Add more logging for safe plugin and event errors
|
|
220
|
+
|
|
221
|
+
## 1.0.22 - 2022-05-24
|
|
222
|
+
|
|
223
|
+
- Fix Player.setMinigame with -1 index not letting players leave minigames
|
|
224
|
+
|
|
225
|
+
## 1.0.21 - 2022-05-22
|
|
226
|
+
|
|
227
|
+
- Attempt to fix timeout error on server save
|
|
228
|
+
- Add verbose log to watcher timeout rejection
|
|
229
|
+
|
|
230
|
+
## 1.0.20 - 2022-05-17
|
|
231
|
+
|
|
232
|
+
- Adjusted the timeouts for `getTemplateBounds`, `getPaint`, `getGhostBrick` to prevent timeouts before information would be pulled
|
|
233
|
+
|
|
234
|
+
## 1.0.19 - 2022-05-10
|
|
235
|
+
|
|
236
|
+
- Add `OMEGGA_UTIL.brick.getAbsoluteSize(brick, brick_assets)`: returns the brick's absolute size, accounting for its orientation
|
|
237
|
+
|
|
238
|
+
## 1.0.18 - 2022-05-10
|
|
239
|
+
|
|
240
|
+
- Add display name parser (`convertDisplayName` in `OMEGGA_UTIL.brick`)
|
|
241
|
+
- Add `brick_asset` and `brick_size` to BrickInteraction
|
|
242
|
+
- Fix `/plugins reload <plugins>` rescanning, not all plugins are being reloaded so we can't rescan
|
|
243
|
+
|
|
244
|
+
## 1.0.17 - 2022-05-10
|
|
245
|
+
|
|
246
|
+
- Fix minigames not loading sometimes
|
|
247
|
+
- Fix minigames loading out of order
|
|
248
|
+
|
|
249
|
+
## 1.0.16 - 2022-05-06
|
|
250
|
+
|
|
251
|
+
- Fix writing saves with unicode in component data
|
|
252
|
+
|
|
253
|
+
## 1.0.15 - 2022-05-06
|
|
254
|
+
|
|
255
|
+
- Fix reading saves with unicode in component data
|
|
256
|
+
|
|
257
|
+
## 1.0.14 - 2022-05-01
|
|
258
|
+
|
|
259
|
+
- Terminal commands overhaul, plus some new goodies
|
|
260
|
+
- `/plugins install <...plugin names>` installs plugins while the server is running
|
|
261
|
+
- `/plugins load <...plugin names>` loads unloaded/disabled plugins
|
|
262
|
+
- `/plugins unload <...plugin names>` unloads loaded plugins
|
|
263
|
+
- `/plugins reload [...plugin names]` reloads all plugins, or the plugins given
|
|
264
|
+
- `/plugins enable <...plugin names>` enables some plugins
|
|
265
|
+
- `/plugins disable <...plugin names>` disables any enabled/loaded plugins
|
|
266
|
+
- Fixed `setup.sh` and `omegga_plugin` not properly having +x file mode
|
|
267
|
+
|
|
268
|
+
## 1.0.13 - 2022-04-30
|
|
269
|
+
|
|
270
|
+
- Cache ts-plugin builds for faster plugin loading
|
|
271
|
+
|
|
272
|
+
## 1.0.12 - 2022-04-29
|
|
273
|
+
|
|
274
|
+
- Use webpack to bundle typescript safe plugin code. This will let you import typescript files from typescript plugins! Small chance of breaking plugins.
|
|
275
|
+
|
|
276
|
+
## 1.0.11 - 2022-04-28
|
|
277
|
+
|
|
278
|
+
- Fix template `.gitignore`s to include `package-lock.json` for node plugins
|
|
279
|
+
- Fix rust template scripts (`setup.sh` to build, `omegga_plugin` to point at correct binary)
|
|
280
|
+
|
|
281
|
+
## 1.0.10 - 2022-04-26
|
|
282
|
+
|
|
283
|
+
- Add `rust` as a template for `omegga init-plugin`
|
|
284
|
+
- Cleanup template internals
|
|
285
|
+
|
|
286
|
+
## 1.0.9 - 2022-04-25
|
|
287
|
+
|
|
288
|
+
- Allow write save data to be compatible with read save data output
|
|
289
|
+
- Fix OMEGGA_UTIL.time.debounce arg types
|
|
290
|
+
|
|
291
|
+
## 1.0.8 - 2022-04-24
|
|
292
|
+
|
|
293
|
+
- player.getScore(minigameIndex)
|
|
294
|
+
- player.setScore(minigameIndex, score)
|
|
295
|
+
- player.setTeam(teamIndex)
|
|
296
|
+
- player.setMinigame(minigameIndex)
|
|
297
|
+
- Omegga.getEnvironmentData()
|
|
298
|
+
- Omegga.readEnvironmentData(presetName)
|
|
299
|
+
- on('interact') now has `message`, `error` (when json fails parsing), `json` (for `json:{"data": "foo"}` in interact)
|
|
300
|
+
- on('event:NAME', (player:{id,name}, a, b, c)) for `event:NAME:a,b,c` in interact
|
|
301
|
+
- Update brs-js to have new interact fields
|
|
302
|
+
|
|
303
|
+
## 1.0.7 - 2022-04-20
|
|
304
|
+
|
|
305
|
+
- Fix loadDataOnPlayer not working on names with spaces
|
|
306
|
+
|
|
307
|
+
## 1.0.6 - 2022-04-20
|
|
308
|
+
|
|
309
|
+
- Fix missing `debounce` in `OMEGGA_UTIL.time`
|
|
310
|
+
|
|
311
|
+
## 1.0.5 - 2022-04-20
|
|
312
|
+
|
|
313
|
+
- Make plugin-init an alias for init-plugin
|
|
314
|
+
- Fix plugin-init cutting off first 7 characters of new plugin name
|
|
315
|
+
- Fix null pointer in getMinigames
|
|
316
|
+
|
|
317
|
+
## 1.0.3 & 1.0.4 - 2022-04-19
|
|
318
|
+
|
|
319
|
+
- Fix DataCloneError on arrays and objects -aware
|
|
320
|
+
- Fix omegga.d.ts trying to dynamically import brs-js
|
|
321
|
+
- Add weapon classname autocompletes to giveItem/takeItem
|
|
322
|
+
- Remove some no longer needed dependencies
|
|
323
|
+
|
|
324
|
+
## 1.0.2 - 2022-04-18
|
|
325
|
+
|
|
326
|
+
- Fix omegga.d.ts not copying (fixes typescript plugin init)
|
|
327
|
+
|
|
328
|
+
## 1.0.1 - 2022-04-18
|
|
329
|
+
|
|
330
|
+
- Fix omegga.d.ts not copying (I think)
|
|
331
|
+
- Load bricks after environment/minigames
|
|
332
|
+
|
|
333
|
+
## 1.0.0 - 2022-04-17 [breaking changes]
|
|
334
|
+
|
|
335
|
+
- **Migrated codebase to TypeScript** (thank you voximity, aware)
|
|
336
|
+
- Add support for TypeScript safe plugins (omegga.plugin.ts), transpiles from TypeScript on plugin load. **TypeScript plugins get autocomplete for everything :)**
|
|
337
|
+
- Support for saving and clearing regions of bricks
|
|
338
|
+
- Support for **uploading bricks to a player's clipboard**
|
|
339
|
+
- Player killing and damaging
|
|
340
|
+
- Adding/removing items from player inventories
|
|
341
|
+
- **Brick click interaction events** (on('interact')) event for bricks with the new interact component
|
|
342
|
+
- Environment reset, saving, and loading
|
|
343
|
+
- Minigame reset, next round, ending, saving, and loading
|
|
344
|
+
- MiddlePrint (`Omegga.middlePrint(target, message)`)
|
|
345
|
+
- `Omegga init-plugin` command for generating plugin templates
|
|
346
|
+
- **Automatic Server Restarts** with minigame, environment, brick, and player position persistence
|
|
347
|
+
|
|
348
|
+
## 0.1.85 - 2022-01-18
|
|
349
|
+
|
|
350
|
+
- Throttle updates on watched json files to fix a playerNameCache bug on player join
|
|
351
|
+
|
|
352
|
+
## 0.1.84 - 2022-01-10
|
|
353
|
+
|
|
354
|
+
- Address colors.js FOSS controversy (set colors.js to 1.4.0)
|
|
355
|
+
|
|
356
|
+
## 0.1.83 - 2021-12-13
|
|
357
|
+
|
|
358
|
+
- Fix using broken nedb-promises-session-store -aware
|
|
359
|
+
|
|
360
|
+
## 0.1.82 - 2021-11-03
|
|
361
|
+
|
|
362
|
+
- Add /back to default command list
|
|
363
|
+
|
|
364
|
+
## 0.1.81 - 2021-11-03
|
|
365
|
+
|
|
366
|
+
- Switch from `nedb-promise` to `nedb-promises` & add auto compacting to database -Smallguy
|
|
367
|
+
- Fix the "14 vulnerabilities" message
|
|
368
|
+
- Fix clearbricks creating an error in some cases
|
|
369
|
+
|
|
370
|
+
## 0.1.80 - 2021-11-03
|
|
371
|
+
|
|
372
|
+
- Fix a missing option chain that caused configs without branches to error
|
|
373
|
+
- Reduced the number of "Done!" messages on launch&patch
|
|
374
|
+
|
|
375
|
+
## 0.1.79 - 2021-10-28
|
|
376
|
+
|
|
377
|
+
- Add getServerStatus, getMinigames, getHostId RPC methods -Zombie_Striker
|
|
378
|
+
|
|
379
|
+
## 0.1.78 - 2021-10-25
|
|
380
|
+
|
|
381
|
+
- Fix getSaves rpc method returning wrong values -Zombie_Striker
|
|
382
|
+
|
|
383
|
+
## 0.1.77 - 2021-10-21
|
|
384
|
+
|
|
385
|
+
- WSL1 now forces the server to run in single thread mode to avoid freezing when players die/bricks clear/bricks load
|
|
386
|
+
- wsl2binds plugin is recommended at server start
|
|
387
|
+
- New `wsl` util to detect wsl version (1, 2, or 0 for neither)
|
|
388
|
+
|
|
389
|
+
## 0.1.76 - 2021-10-14
|
|
390
|
+
|
|
391
|
+
- Fix version lookup error -voximity
|
|
392
|
+
- Fix invalid require in lib
|
|
393
|
+
|
|
394
|
+
## 0.1.75 - 2021-10-13
|
|
395
|
+
|
|
396
|
+
- Fixed the safe plugin bug involving a vm2 update, will be auto fixed when they release a newer version
|
|
397
|
+
- Omegga.version is now a number (-1 or the CL version #) -x
|
|
398
|
+
- Linter changes
|
|
399
|
+
|
|
400
|
+
## 0.1.74 - 2021-10-13
|
|
401
|
+
|
|
402
|
+
- Properly close server on auth failed
|
|
403
|
+
|
|
404
|
+
## 0.1.73 - 2021-10-11
|
|
405
|
+
|
|
406
|
+
- Auth now uses branch from a config file
|
|
407
|
+
- Log which branch is used in verbose mode
|
|
408
|
+
- Should be able to run omegga as root (in containers) now with branch `unstable-server`
|
|
409
|
+
- Default branch specified in config is now `main-server`
|
|
410
|
+
|
|
411
|
+
## 0.1.72 - 2021-10-09
|
|
412
|
+
|
|
413
|
+
- Kick/ban/clearbricks from web ui and terminal
|
|
414
|
+
- Space map in map list
|
|
415
|
+
- Updated emoji list
|
|
416
|
+
|
|
417
|
+
## 0.1.71 - 2021-10-07
|
|
418
|
+
|
|
419
|
+
- Remove broken padding in plugin cli commands
|
|
420
|
+
|
|
421
|
+
## 0.1.70 - 2021-10-07
|
|
422
|
+
|
|
423
|
+
- Fix `interactjs` preventing omegga from installing ... round 2
|
|
424
|
+
|
|
425
|
+
## 0.1.69 - 2021-10-06
|
|
426
|
+
|
|
427
|
+
- Fix a bug with the `BRICKADIA_PORT` env flag
|
|
428
|
+
|
|
429
|
+
## 0.1.68 - 2021-10-06
|
|
430
|
+
|
|
431
|
+
- Use `BRICKADIA_PORT` if it exists on config init for setting brickadia port, also `OMEGGA_PORT` for web ui respectively
|
|
432
|
+
|
|
433
|
+
## 0.1.67 - 2021-10-06
|
|
434
|
+
|
|
435
|
+
- Auth via `BRICKADIA_USER` and `BRICKADIA_PASS` env in `omegga` command
|
|
436
|
+
- Added `-u` and `-p` to `omegga auth`
|
|
437
|
+
|
|
438
|
+
## 0.1.66 - 2021-09-30
|
|
439
|
+
|
|
440
|
+
- Fix `omegga auth` not properly reading arguments
|
|
441
|
+
- Fix `omegga auth -l` not having correct location for auth files
|
|
442
|
+
- Add `omegga auth -u email -p password`
|
|
443
|
+
- Fix `omegga auth --verbose`
|
|
444
|
+
- Fix `omegga auth` not properly failing on invalid credentials
|
|
445
|
+
|
|
446
|
+
## 0.1.65 - 2021-09-30
|
|
447
|
+
|
|
448
|
+
- Fix in getSaveData -aware
|
|
449
|
+
- In `omegga auth` removed `--clean` and `--force` in favor of `--global|-g` to remove global auth files and `--local|-l` to remove local auth files
|
|
450
|
+
- Minor plugin cli refactor
|
|
451
|
+
|
|
452
|
+
## 0.1.64 - 2021-09-07
|
|
453
|
+
|
|
454
|
+
- Fix invalid git branch check on `omegga update`
|
|
455
|
+
|
|
456
|
+
## 0.1.63 - 2021-09-07
|
|
457
|
+
|
|
458
|
+
- js moment
|
|
459
|
+
|
|
460
|
+
## 0.1.62 - 2021-09-07
|
|
461
|
+
|
|
462
|
+
- Plugin interop fix for safe plugins
|
|
463
|
+
- Plugin install now checks if a folder has a doc.json before complaining about the directory already existing
|
|
464
|
+
|
|
465
|
+
## 0.1.61 - 2021-08-30
|
|
466
|
+
|
|
467
|
+
- Plugin interop by voximity
|
|
468
|
+
- Plugins can now use `main` branch instead of `master` (mildly untested)
|
|
469
|
+
- Fix missing newline at end of `omegga check`
|
|
470
|
+
|
|
471
|
+
## 0.1.60 - 2021-08-23
|
|
472
|
+
|
|
473
|
+
- `player.get` and `player.getRoles` rpc methods -vox
|
|
474
|
+
|
|
475
|
+
## 0.1.58/0.1.59 - 2021-08-22
|
|
476
|
+
|
|
477
|
+
- `"emitConfig": "fileName.json"` option in `plugin.json` to emit config -vox
|
|
478
|
+
|
|
479
|
+
## 0.1.57 - 2021-08-21
|
|
480
|
+
|
|
481
|
+
- voximity added the following methods for RPC plugins (adding room for more performant rust driven plugins):
|
|
482
|
+
- player.getPermissions
|
|
483
|
+
- player.getNameColor
|
|
484
|
+
- player.getPosition
|
|
485
|
+
- player.getGhostBrick
|
|
486
|
+
- player.getPaint
|
|
487
|
+
- player.getTemplateBounds
|
|
488
|
+
- player.getTemplateBoundsData
|
|
489
|
+
- player.loadDataAtGhostBrick
|
|
490
|
+
|
|
491
|
+
## 0.1.56 - 2021-08-19
|
|
492
|
+
|
|
493
|
+
- Use brs-js 2.0.0 (may break some plugins)
|
|
494
|
+
- Add note about `git` requirement for `omegga install` command
|
|
495
|
+
|
|
496
|
+
## 0.1.55 - 2021-07-27
|
|
497
|
+
|
|
498
|
+
- Fix replace static.brickadia's 1.4 launcher with bundled one (same launcher, brickadia.com just doesn't host it anymore)
|
|
499
|
+
|
|
500
|
+
## 0.1.54 - 2021-06-18
|
|
501
|
+
|
|
502
|
+
- Fix errors I created
|
|
503
|
+
|
|
504
|
+
## 0.1.53 - 2021-06-18
|
|
505
|
+
|
|
506
|
+
- Fix auth page creating errors in console
|
|
507
|
+
|
|
508
|
+
## 0.1.52 - 2021-06-18
|
|
509
|
+
|
|
510
|
+
- Fix `omegga install <plugin>`
|
|
511
|
+
|
|
512
|
+
## 0.1.51 - 2021-06-15
|
|
513
|
+
|
|
514
|
+
- Fix `getAllPlayerPositions` for dead players -voximity
|
|
515
|
+
|
|
516
|
+
## 0.1.50 - 2021-05-19
|
|
517
|
+
|
|
518
|
+
- Add `getPlayerPosition`, `getAllPlayerPositions` to rpc plugin api -voximity
|
|
519
|
+
|
|
520
|
+
## 0.1.49 - 2021-05-18
|
|
521
|
+
|
|
522
|
+
- Fix stdio rpc plugins not even loading (oops)
|
|
523
|
+
- Add `OMEGGA_UTIL.brs` for access to `brs-js` without needing to require new deps
|
|
524
|
+
|
|
525
|
+
## 0.1.48 - 2021-04-08
|
|
526
|
+
|
|
527
|
+
- Fix safe plugins erroring because code was loading as a buffer
|
|
528
|
+
- Added `omegga auth --local` to clear auth data in the current omegga data path
|
|
529
|
+
- Clearing all auth data can be done with `omegga auth -cl`
|
|
530
|
+
|
|
531
|
+
## 0.1.47 - 2021-03-31
|
|
532
|
+
|
|
533
|
+
- Fix `OMEGGA_UTIL` not being available in `require`'d files -aware
|
|
534
|
+
- Role type for plugin config -aware
|
|
535
|
+
|
|
536
|
+
## 0.1.45 - 2021-03-17
|
|
537
|
+
|
|
538
|
+
- Fix an issue with `omegga install` not working on urls
|
|
539
|
+
- Hopefully more helpful errors with node safe plugins
|
|
540
|
+
|
|
541
|
+
## 0.1.44 - 2021-03-04
|
|
542
|
+
|
|
543
|
+
- Allow plugins with spaces in their names to load save data
|
|
544
|
+
- Fix an unnecessary worker.terminate() in vm plugins
|
|
545
|
+
|
|
546
|
+
## 0.1.43 - 2021-03-03
|
|
547
|
+
|
|
548
|
+
- brs-v10 support
|
|
549
|
+
- Fixed interactjs's dev breaking his package.json for hundreds of projects
|
|
550
|
+
|
|
551
|
+
## 0.1.39 - 2021-02-17
|
|
552
|
+
|
|
553
|
+
- Somewhat fix async errors node vm plugins from creating multiple workers
|
|
554
|
+
|
|
555
|
+
## 0.1.38 - 2021-02-16
|
|
556
|
+
|
|
557
|
+
- Fix event emitter warning if you have a LOT of plugins
|
|
558
|
+
- Fix store.wipe() not properly wiping all stored items
|
|
559
|
+
|
|
560
|
+
## 0.1.37 - 2021-02-14
|
|
561
|
+
|
|
562
|
+
- Updated brs-js, 4x faster reads (12s -> 3s for 2 mil bricks)
|
|
563
|
+
|
|
564
|
+
## 0.1.36 - 2021-02-14
|
|
565
|
+
|
|
566
|
+
- Fix postinstall not running after updates
|
|
567
|
+
|
|
568
|
+
## 0.1.35 - 2021-02-14
|
|
569
|
+
|
|
570
|
+
- Fix postinstall setup.sh not running
|
|
571
|
+
|
|
572
|
+
## 0.1.34 - 2021-02-14
|
|
573
|
+
|
|
574
|
+
- Fix plugin.json validation semver check
|
|
575
|
+
|
|
576
|
+
## 0.1.33 - 2021-02-14
|
|
577
|
+
|
|
578
|
+
- New brick utils for rotating groups of bricks, checking brick sizes/bounds, setting brick ownership, etc -aware
|
|
579
|
+
- New player methods for getting ghost brick, paint color/material, template bounds, template bricks -aware
|
|
580
|
+
- Ability to load bricks at the player's ghost brick (prefabs incoming??) -aware
|
|
581
|
+
- New CLI features to install and update plugins without git (`omegga install gh:mraware/fillcan`) -cake
|
|
582
|
+
- Update readme with "wsl2 support" (`omegga install gh:meshiest/wsl2binds`) -cake
|
|
583
|
+
- Optional `setup.sh` can be provided to be run when a plugin is installed via `omegga install` -cake
|
|
584
|
+
|
|
585
|
+
## 0.1.32 - 2021-02-05
|
|
586
|
+
|
|
587
|
+
- Update dependencies to support next brs version
|
|
588
|
+
|
|
589
|
+
## 0.1.31 - 2021-01-11
|
|
590
|
+
|
|
591
|
+
- New map detection code (`Omegga.currentMap` field, `mapchange` event, `Omegga.changeMap()` method, `server.map` config option) - aware
|
|
592
|
+
- Unsafe plugin fixes for unloading plugins with newly deleted files -aware
|
|
593
|
+
- Unsafe plugins can now modify a global `Player` for other unsafe plugins - aware
|
|
594
|
+
- Fix list configs wanting to be reset to default despite being default already
|
|
595
|
+
|
|
596
|
+
## 0.1.30 - 2021-01-06
|
|
597
|
+
|
|
598
|
+
- New plugin config `list`, `enum`, and `players` option types
|
|
599
|
+
- Player search now prioritizes exact match
|
|
600
|
+
- NOTE: Plugins that overwrite existing configs with different types may experience issues until the config is re-written
|
|
601
|
+
|
|
602
|
+
## 0.1.29 - 2021-01-05
|
|
603
|
+
|
|
604
|
+
- Fix unsafe plugins not disrequiring all dependencies
|
|
605
|
+
|
|
606
|
+
## 0.1.28 - 2021-01-01
|
|
607
|
+
|
|
608
|
+
- Fixed linear to sRGB conversion math
|
|
609
|
+
- Fixed saveBricks timeouts bugged for no bricks (aware)
|
|
610
|
+
- Fixed unsafe plugin commands not properly registering (aware)
|
|
611
|
+
|
|
612
|
+
## 0.1.27 - 2020-12-31
|
|
613
|
+
|
|
614
|
+
- Fixed color channel rounding (vox)
|
|
615
|
+
- Fixed getSaveData + loadSaveData timing out (aware)
|
|
616
|
+
- Add a `/kill` command to kill the server process without closing omegga console
|
|
617
|
+
- Minor vm plugin error handing improvements
|
|
618
|
+
- `Omegga.config` now available in vm plugins
|
|
619
|
+
|
|
620
|
+
## 0.1.26 - 2020-12-26
|
|
621
|
+
|
|
622
|
+
- Added optional return object to plugin `init()` method, allowing the passing of `{registeredCommands: ['foo', 'bar']}` to register commands `/foo`, `/bar`, etc.
|
|
623
|
+
- Added custom missing command message
|
|
624
|
+
- Added `/plugins` (new `!help`, will replace in the future)
|
|
625
|
+
- Renamed the `!help` in `!help` to `/plugins`
|
|
626
|
+
- Removed some a4 checks
|
|
627
|
+
|
|
628
|
+
## 0.1.25 - 2020-12-22
|
|
629
|
+
|
|
630
|
+
- Fix bans with negative durations not counting as permas
|
|
631
|
+
- Allow readSaveData to ignore bricks (when parsing saves)
|
|
632
|
+
- Update emoji list for chat parser
|
|
633
|
+
|
|
634
|
+
## 0.1.24 - 2020-12-22
|
|
635
|
+
|
|
636
|
+
- Fixed banlist null pointer
|
|
637
|
+
|
|
638
|
+
## 0.1.23 - 2020-12-21
|
|
639
|
+
|
|
640
|
+
- Remember that perma bans exist
|
|
641
|
+
|
|
642
|
+
## 0.1.22 - 2020-12-21
|
|
643
|
+
|
|
644
|
+
- Fixed issues with `\` and `"` in chat sanitization
|
|
645
|
+
- jsdoc for a few main parts of the code
|
|
646
|
+
- Banned users filter in web-ui
|
|
647
|
+
|
|
648
|
+
## 0.1.21 - 2020-12-20
|
|
649
|
+
|
|
650
|
+
- Now show launcher download progress
|
|
651
|
+
- Potentially error codes when auth fails
|
|
652
|
+
- Keanu's "auth fixes" which might be placebo (but placebos work)
|
|
653
|
+
- DARK MODE on web ui when your OS prefers dark mode
|
|
654
|
+
- Also got rid of some a4 garbage
|
|
655
|
+
|
|
656
|
+
## 0.1.20 - 2020-12-19
|
|
657
|
+
|
|
658
|
+
- Make omegga only kill the server process when the server "dies for real" rather than "pretending to die" by printing everything a dying server would print
|
|
659
|
+
|
|
660
|
+
## 0.1.19 - 2020-12-19
|
|
661
|
+
|
|
662
|
+
- Minor change that increases allowed lag for detecting player position (for people without god hardware)
|
|
663
|
+
|
|
664
|
+
## 0.1.18 - 2020-12-19
|
|
665
|
+
|
|
666
|
+
- Fix Omegga.whisper breaking with spaced names (fixes lazyrules bug)
|
|
667
|
+
|
|
668
|
+
## 0.1.17 - 2020-12-18
|
|
669
|
+
|
|
670
|
+
- Fix new plugin config fields being non-default when they get added
|
|
671
|
+
- Fix `!help plugin` potentially having too-long command lists
|
|
672
|
+
- Fix null pointer in plugin errors for plugins missing `doc.json` file (plugins are called "unnamed plugin")
|
|
673
|
+
|
|
674
|
+
## 0.1.16 - 2020-12-18
|
|
675
|
+
|
|
676
|
+
- Prevent !help from killing the server
|
|
677
|
+
|
|
678
|
+
## 0.1.15 - 2020-12-18
|
|
679
|
+
|
|
680
|
+
- More logging!!!!
|
|
681
|
+
|
|
682
|
+
## 0.1.14 - 2020-12-18
|
|
683
|
+
|
|
684
|
+
- Fix permissions on the scripts in `tools/` (breaks on some linuxes)
|
|
685
|
+
|
|
686
|
+
## 0.1.13 - 2020-12-18
|
|
687
|
+
|
|
688
|
+
- a5 preparation fixes
|
|
689
|
+
- Fix a cache error that cutezyash was having
|
|
690
|
+
- Fix an error where the brickadia process didn't always close
|