
Список изменений
Loading System remake!
1.1 - Previously, libraries would be imported into loadedlib.lua file. Now, each library has its own file.
loader.lua changes
2.1 - New function, unload(lib).
You can now unload libraries that are registred in loadedlibs() table (every imported library should be registred).
2.2 - Changes to loadedlibs() function.
helpcmd file is no longer shown in loadedlibs table.
2.3 - Changes to reimport(lib) function.
You can now choose which library to reimport.
2.4 - Commands usage.
rootcmds and libraries are now usable outside LUA.
2.5 - Text in startup.
A text is now shown in startup.
Using the functions
3.1 - unload(lib) unloads imported libraries.
-----------------------------------
>> import(OptLib)
> Success! Imported Optlib V1.3.1
>> unload(Optlib)
> Unloaded OptLib
-----------------------------------
>> import(OptLib)
> Success! Imported Optlib V1.3.1
>> import(BetterStrings)
> Success! Imported BetterStrings V1.2
>> unload()
> Unloaded OptLib
> Unloaded BetterStrings
3.2 - reimport(lib) reimports a specific library.
-----------------------------------
>> import(OptLib)
> Success! Imported Optlib V1.3.1
>> import(BetterStrings)
> Success! Imported BetterStrings V1.2
>> reimport(OptLib)
> Success! Imported Optlib V1.3.1
-----------------------------------
>> import(OptLib)
> Success! Imported Optlib V1.3.1
>> import(BetterStrings)
> Success! Imported BetterStrings V1.2
>> reimport()
> Success! Imported Optlib V1.3.1
> Success! Imported BetterStrings V1.2
Note:
>> This is Beta version, some bugs are expected.
>> For those who previously installed the datapack: Sorry, I forgot to add the Global Packs dependency. The datapack should work correctly now.
