Splitting plugin in files
#6
(12-18-2015, 05:01 PM)xoft Wrote: Cuberite loads all Lua files in the plugin's folder, and initializes them in alphabetical order, except for the Info.lua file, which gets initialized always as the last one.
Note that the sort order is case sensitive, so on platforms with case-preserving filesystems (almost all todays platforms, including Windows) it makes a difference if you name your file A.lua or a.lua.

Thank you for this information. I will make sure that my naming conventions will follow suit with need for my loading orders.

I really appreciate everyone's help with this.

Chrobi
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)