Luauberries - libraries for luau and roblox

Oops forgot to mention, but a breaking change to rbxthumb will be coming soon.
Where subtables will be removed, ie

rbxthumb.avatar.headshot()

becomes

rbxthumb.avatar_headshot()

Should be easier to type, as its always bothered me having that extra indexing to do. Also methods will be returning the Content DataType instead of strings.
This update will be occuring after luau-lsp gets the Content DataType added to its typedefs.

Also should I add playerloaded as a library? Always been kinda opposed to having Libraries create remotes, but I could use CollectionService and have a tag called “PLAYER LOADED REMOTE”, with the remotes name being a GUID. So it shouldn’t conflict with any instances already in peoples games.

  • Yes
  • No

0 voters

Luauberries 17/11/2024

Changed

  • rbxthumb - All methods now return content objects, removed (avatar_item_type_to_thumbnail_type, urlformats, format), and removed subtables for formatters, ie rbxthumb.avatar.headshot() is now rbxthumb.avatar_headshot().
  • loganalytics - added logger class (currently useless as the types for logger:event() currently dont work for adding types for custom events), added loganalytics.custom() for logging custom events without a logger, and changed formatting to use = instead of - for seperating keys from values.

Added playerloaded

download
source

1 Like