A 1.21.4 Paper plugin for Lua scripting
Rocket is a powerful and lightweight Paper plugin that enables Lua scripting for Minecraft 1.21.4.
With Rocket, you can write Lua scripts to interact with your server, listen to events, and register commands. The plugin provides a simple and flexible way to customize your server without the need for Java.
- Lua scripting β Run Lua scripts within your Paper server
- Hot reloading β Modify and reload scripts without restarting your server
- Game interaction β Access Minecraft events, commands, and player actions with Lua
- Download the latest Rocket plugin JAR from the Releases page.
- Place the JAR file in your server's
plugins
folder. - Restart your Paper server to generate the necessary configuration files.
- Navigate to the
plugins/rocket/scripts
directory. - Create a new
.lua
script file. - Write your Lua script, for example:
events.on("PlayerJoinEvent", function(event) local player = event.player player.send("&eWelcome to the server!") end)
- Save the file and reload the Rocket plugin with:
/rocket reload file.lua
- Enjoy scripting with Lua!
Rocket generates a config.yml
file in the plugins/Rocket
directory.
You can tweak various settings like locales.
Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests on the GitHub repository.