mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 07:33:12 +09:00
Extra touch ups
This commit is contained in:
7 files changed
+12
-21
No files matched your search
@@ -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")
|
||||
Reference in new issue
Block a user