Splitting plugin in files
#1
I am trying to break my plugin into files, IE SqlLite.lua, Commands.lua, etc... So I don't have this massive single huge file with everything in it.

The problem is that I don't understand how the different files are loaded by the cuberite server, IE do i have to use like a main.lua file that tells the cuberite server all of my files, or since the files live in the plugin folder they are all loaded?

I been looking at all of the multiple file plugins and the connection on how this works is eluding me at this time.

If someone could post me some language on how to search for the answer it would be great, or if you just want to tell me that is cool too.

Thank you for your time and efforts on helping this.
Reply
Thanks given by:


Messages In This Thread
Splitting plugin in files - by chrobione - 12-18-2015, 10:35 AM
RE: noob Question - by Zee1234 - 12-18-2015, 04:17 PM
RE: noob Question - by chrobione - 12-18-2015, 05:16 PM
RE: Splitting plugin in files - by xoft - 12-18-2015, 05:01 PM
RE: Splitting plugin in files - by chrobione - 12-18-2015, 05:32 PM
RE: Splitting plugin in files - by xoft - 12-18-2015, 05:01 PM
RE: Splitting plugin in files - by Zee1234 - 12-18-2015, 06:00 PM
RE: Splitting plugin in files - by sphinxc0re - 12-18-2015, 06:12 PM
RE: Splitting plugin in files - by Seadragon91 - 12-18-2015, 06:24 PM
RE: Splitting plugin in files - by NiLSPACE - 12-18-2015, 06:31 PM
RE: Splitting plugin in files - by Seadragon91 - 12-18-2015, 06:33 PM
RE: Splitting plugin in files - by chrobione - 12-19-2015, 08:05 AM
RE: Splitting plugin in files - by xoft - 12-18-2015, 06:55 PM
RE: Splitting plugin in files - by worktycho - 12-18-2015, 11:59 PM
RE: Splitting plugin in files - by NiLSPACE - 12-19-2015, 08:11 AM
RE: Splitting plugin in files - by chrobione - 12-19-2015, 08:26 AM



Users browsing this thread: 1 Guest(s)