Releases: Lukkit/Lukkit
Lukkit 2.1.2 - Support fixes
Adds:
- BukkitRunnable factory using LuaFunction objects via
util.getBukkitRunnable(function)
Fixes:
- Coercing a Lua
number
to Java would produce anInteger
object and not a primitive.
Changes:
- Removed LuaJ-JME dependency
- Version bump to 2.1.2
- Updated pom package naming and include directories
Lukkit 2.1.1 - A year and all you've got are bugfixes?
Lukkit 2.1.0
This is a smaller release while v3 is being worked on.
Added:
util.cast(userdata, className)
method for casting (temporary)
Fixed:
require
now returns baselibs if a Lua file isn't found in the plugin's data
Lukkit 2.0.0
This rewrite was first started by @jammehcow and has been developed slowly, but is now ready for release. I don't expect it to be perfect, so please post bugs in issues. Plugins that are written for Lukkit 1.0 will not work on 2.0, but a wiki has been created to explain every detail of creating a Lukkit plugin.
Lukkit V1.1.3
This release fixes logging of an update when one wasn't available.
Apologies to all who were confused.
Lukkit v1.1.2
What's new in this release
Major changes:
- Updated event callbacks to 1.11
- Implemented config option to disable the /lukkit run command
- Added permission node "lukkit.run" to allow non-ops to use
- Added a Lukkit config file (related to the can-run-code key)
Minor changes:
- Cleaned a bit of code here and there, no biggie.
Cheers to @hintss and @SwadicalRag for submitting some PRs on things I didn't originally pick up on.
Cheers!
Lukkit v1.1.1 - The 1.10.2 update
1.10.2 compatibility
With this release brings the long awaited update to 1.10.2 (the latest version of Minecraft).
Lukkit's development has been dead for a while with the previous version being released back in 2012, so I thought it was time to pick it back up from @UnwrittenFun and update it.
What's new in this release
Major changes:
- Updated event callbacks to 1.10.2
- Upgraded LuaJ to 3.0.1
- Implemented a /lukkit plugins command to display all loaded plugins
- Added a TabCompleter for /lukkit [sub-command]
Minor changes:
- Made the transition from Bukkit API to Spigot API
For those who use it, if you have any suggestions, submit and issue and I'll tag it. The more the merrier.
EDIT: the jar is no longer 20MB. My mistake, apologies.
Lukkit v1.0-alpha5b
- Release for 1.7.9
Lukkit v1.0-alpha5
- Add ability to read and write files to plugin folder
local fileContents = plugin.readFile(filename)
plugin.writeFile(filename, content)
- Add interface for config files
-- Set the value if not already in the config
-- plugin.config.setDefault(path, value)
plugin.config.setDefault("test.bool", false)
plugin.config.setDefault("test.int", 45)
-- Set the value regardless of if it already exists
-- plugin.config.set(path, value)
plugin.config.set("test.float", 4.7)
plugin.config.set("test.string", "a string")
-- plugin.config.get(path, default)
plugin.config.get("test.bool", true)
-- Save the config to file
plugin.config.save()
Lukkit v1.0-alpha4
- Add support for plugins in folders
- lukkit.addPlugin command
- Plugins in a folder load main.lua within the folder
- lukkit.include to include other lua files in plugins with their own folder
- lukkit.itemStack to create a new itemstack