mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 23:26:51 +01:00
restore terminal, rework console
This commit is contained in:
16
modules/addon_terminal/terminal.otmod
Normal file
16
modules/addon_terminal/terminal.otmod
Normal file
@@ -0,0 +1,16 @@
|
||||
Module
|
||||
name: terminal
|
||||
description: Terminal for executing lua functions
|
||||
author: OTClient team
|
||||
website: https://github.com/edubart/otclient
|
||||
|
||||
autoLoad: true
|
||||
autoLoadPriority: 1000
|
||||
|
||||
onLoad: |
|
||||
require 'terminal'
|
||||
require 'commands'
|
||||
Terminal.init()
|
||||
|
||||
onUnload: |
|
||||
Terminal.terminate()
|
||||
Reference in New Issue
Block a user