Extra touch ups

This commit is contained in:
Cooldude2606 committed 2024-03-05 00:56:01 +00:00
1 parent 3adfcf0a29
commit a66b1af454
7 files changed
+12 -21

No files matched your search

@@ -0,0 +1,3 @@
--- Expose any globals here, typically just your control file if you want to access it through rcon or commands
-- luacheck: globals __plugin_name__
__plugin_name__ = require("modules/__plugin_name__/control")
@@ -5,7 +5,7 @@
],
"require": [
//%if instance
"module_exports.lua"
"globals.lua"
//%endif
],
"dependencies": {
@@ -1,10 +1,3 @@
local MyModule = require("./control")
//%if instance
--- Can contain anything you plan to use with send_rcon including functions, modules, or data
-- luacheck: globals ipc___plugin_name__
ipc___plugin_name__ = MyModule
//%endif
--- Can contain anything you want to allow other plugins to have access to, this example exposes the whole module
return MyModule
--- Can contain anything you want to allow other plugins to have access to, this example exposes the control file
-- Access the exports from other modules using require("modules/__plugin_name__")
return require("modules/__plugin_name__/control")