mirror of
https://github.com/edubart/otclient.git
synced 2025-10-23 07:45:54 +02:00
reorganize modules
This commit is contained in:
20
modules/addon_console/console.otmod
Normal file
20
modules/addon_console/console.otmod
Normal file
@@ -0,0 +1,20 @@
|
||||
Module
|
||||
name: console
|
||||
description: Console for executing lua functions
|
||||
author: OTClient team
|
||||
website: https://github.com/edubart/otclient
|
||||
|
||||
// console can be loaded after core
|
||||
autoLoad: true
|
||||
autoLoadPriority: 20
|
||||
|
||||
dependencies:
|
||||
- core
|
||||
|
||||
onLoad: |
|
||||
require 'console'
|
||||
Console.init()
|
||||
return true
|
||||
|
||||
onUnload: |
|
||||
Console.terminate()
|
Reference in New Issue
Block a user