Skip to content

v0.4.9

Pre-release
Pre-release

Choose a tag to compare

@Agnarz Agnarz released this 03 Oct 02:17
· 13 commits to main since this release

Stuff

  • Added jotai back in. created src/state. All atoms are here.
  • Created src/types. All typings are here
  • Updated menu init.: All options are imported in the front end now. The commands, favorites and quick actions are loaded via init callback but not with updateMenu anymore.

New Commands in the menu

  • Kick, Kickall and Ban.

Commands changes

  • Removed fav key from all commands. This key is now added after the commands and favorites are loaded, same as the id.

Favorites

  • Changed the way favorites are stored and loaded.
  • Instead of loading/saving the entire list of commands, it's only an array of command names. W
  • When clicking the favorite icon, it either saves the name of the command to an array or it removes it from this array.
  • The big thing is that it's not using the entire commands list when loading/saving/updating, just names of commands in an array.

Components

FormCommand

  • Updated ArgValue type to allow array of strings. (Timecycles & PedModels)
  • Added step prop to number input.

Types

  • Updated import paths for types
  • Renamed FormCommand type to FormCommandProps
  • Renamed ButtonCommand type to ButtonCommandProps
  • Renamed QuickAction type to QuickActionProps
  • Renamed Command type to CommandProps
  • Renamed Player type to PlayerProps

Other changes:

  • Teleports: Maze Bank Helipad added
  • Added close prop to QuickActions but it's broken right now :(