Console module

Debug console.

Creates a textfield allowing you to run commands directly in your mod's enviorment.

This module requires the use of stdlib's Event module for GUI interactions.

This module was originally the Console code from a modder named adil, which has been modified for use with stdlib.

Usage

remote.add_interface("my_interface", {show = require("stdlib/utils/console")})
/c remote.call("my_interface", "show", game.player)
--In the window that appears you can run lua code directly on your mod, including globals.