nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
LuaCraft

LuaCraft

Plugin

LuaCraft allows players to run Lua scripts in Minecraft.

Server CursedLibraryStorageTechnologyUtility

43 downloads
4 followers

LuaCraft

LuaCraft allows players to run Lua scripts in Minecraft.

Setup

  1. Place the plugin JAR in the server's plugins folder.
  2. Start the server.
  3. Start creating scripts in the lua directory!

FAQ

"I need new documentation"

  • If this is not your first time and you would like new documentation, delete the lua folder from your server root directory (and backup any scripts before doing so).

"I want to use modules"

  • Most of the time you can copy all of these modules and put them into the lua directory. You can then call these modules from anywhere executing Lua code. Just make sure the require paths are correct. Calling require('vec3') for example would have to mean that there's a vec3.lua file in the lua directory.

Commands

  • /loadscript <filename>: Loads and executes a specified Lua script from the lua directory.
  • /listscripts: Lists all available Lua scripts in the lua directory.
  • /loadstring: Everything following this command will be interpreted as code to execute.

You can easily and remotely load scripts like this:

loadstring(LuaCraft.httpGet('https://example.com/script.lua'))()

License

This project is licensed under the Apache License 2.0.

External resources


Project members

rinthjb

Member


Technical information

License
Apache-2.0
Project ID