Sueta
PA

Paprika

v1.3.0

Code your plugins in Lua

·Plugin
  1. v1.3.0latestJan 11, 2023
    Enums and static methods that the compiled plugin has access to now get loaded as globals, and they have a "new" function that lets you instantiate them as you would in Java.
  2. v1.2.4Jan 10, 2023
    __len is populated for each translated object; previously LuaJ handled this but the new function has handling for objects that have a "values()" getter, like maps.
    6 downloads
  3. v1.2.3Jan 6, 2023
    - I forgot to bind the arguments from the Command handler to the Command function, so you couldn't do anything with the sender or args. This is in now; the commands can now take the same arguments that the function can, in the exact order: CommandSender, message label, and an array of args. - I removed the init.lua thing from the last update because it wasn't working anyways, and it's hacky to get working and as far as I can tell it's not part of the Lua standard anyways but something specific to Luarocks and Neovim
    8 downloads
  4. v1.2.2Jan 6, 2023
    put slightly more work into the "subfolders" thing from the last update then I should have. Lua files from other folders are actually evaluated now and you can include modules by their folder, and if a folder has an "init.lua" file its added to the path, allowing one to include the folder by its name. i also tested it more.
    10 downloads
  5. v1.2.1Jan 6, 2023
    Minor update that allows the plugin to resolve subfolders in the plugin folder as classes, for better organization.
    7 downloads
  6. 1.2v1.2.0Jan 6, 2023
    This update adds Lua-idomatic shorthands for getters and setters; accessing field in a mapped Java object calls getField and assigning to field calls setField
    12 downloads
  7. 1.1.0v1.1.0Jan 5, 2023
    - better errors shown to command sender - set the path appropriately so that .lua plugins can include other plugins with the require function - the reload command wasn't actually working. it works now. - MinecraftCommand functions with multiple case changes would throw an error upon being executed. this has been fixed.
    11 downloads
  8. 1.0Jan 3, 2023
    19 downloads

Similar projects

Plugin →