Mineuniverse
Log in Register
Plugins

MCLuaBukkit

Allows lua scripts to use the Bukkit API.
by _ForgeUser8080179
Download Claim this project
2,296 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Admin Tools Developer Tools Fun

Ever wanted to make a Bukkit plugin, but didn't know how? Want to edit code in-game and test it right away? MCLuaBukkit allows use of the Bukkit API with Lua, a simple, yet powerful, scripting language.

Quick Start

Example Code

Overview

MCLuaBukkit provides a Lua VM with mappings to the Bukkit API, and a few ways to load code into the VM. It allows developers to create Bukkit plugins in Lua. This means plugins with less mistakes, more security, and smaller size. Here's an example of an MCLuaBukkit plugin:

events.onPlayerInteract:add(function(p) x,y,z = p:getTargetBlock(100) p:getLocation():lightning(x,y,z) end)

This simple plugin strikes lightning where players click. It could easily be made to work only for certain players. MCLuaBukkit provides 3 ways for server operators to load Lua plugins:

  1. By Files Files ending in ".lua" inside MCLuaBukkit's data folder will be loaded as Lua plugins.
  2. By Chat The /lua command will run Lua code in-game.
  3. By Book And Quill The /luaload command will run Lua code contained inside a book and quill.

Lua APIs Added

  • Server API
  • Event API
  • Player API
  • World API
  • Config API
  • Inventory API

Commands

  • /lua <code> Runs specified code.
  • /luaload Runs code from a book and quill in the player's hand.

Permissions

  • mcluabukkit.lua Allows execution of Lua code in-game.

Video

MCStats

MCLuaBukkit 0.63
MC CB 1.5.2-R0.1
Beta 2013-05-25 Get
MCLuaBukkit 0.6
MC CB 1.5.2-R0.1
Beta 2013-05-08 Get
MCLuaBukkit 0.5
MC CB 1.5.1-R0.1
Beta 2013-04-11 Get

You Might Also Like

WorldGuard Custom Flags
WorldGuard Custom Flags
97,851
HoloAPI
Advanced and powerful holographic displays
93,959
Minequery
Minequery
91,099
SQLibrary
SQLibrary aims to streamline driver wrappers in Java for every database engine
85,675
WolfyUtilities
Utils and APIs: Config, Language and Inventory API, Protection Utils: WorldGuard, LWC, PlotSquared
84,728
DisguiseTester
Experiment with disguises!
9,677