▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/CC:Libraries
CC:Libraries

CC:Libraries

Adds libraries to CC:Tweaked.

22
0
Все версииImport your library!

Import your library!

Release2 нед. назад

Список изменений

Import your library!

1.1 - New function, setrepo(creator, repo, Scheck, branch).

Usage: Set your own repository! Unfortunately, you must set it in every different computer. Maybe I can figure out a way to apply the change to every computer, who knows?

1.2 - Inside your library:

Create "vers" variable and write the library's version. /Ex: vers = "1.0x"/

loader.lua changes

2.1 - New function, set(var, bool).

Usage: Set a boolean state for an existing or non-existing variable.

2.2 - New function, loadedlibs().

Usage: Show every currently loaded library.

Using the functions

3.1 - setrepo(creator, repo, Scheck, branch) sets a new repository for import().

setrepo("userx", "libx") -- Maps every file inside the repository.
----------------------------------
setrepo("userx", "libx", true) -- Maps every file that ends in "S" inside the repository.
----------------------------------
setrepo("userx", "libx", true, "alt") -- Maps every file that ends in "S" inside the branch "alt".
----------------------------------
setrepo() -- Back to the default repository.

3.2 - set(var, bool) creates or modifies a boolean.

set("random", true)
> defined to true
print(random)
> true
> 1

To mention:

Use rootcmds() to see every root command explanation.

Use helplib([lib]) to see every command inside a library.

Файлы

CCLib.zip(3.31 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

V0.3R

Загрузчики

Версии игры

1.20–1.20.1

Загрузок

4

Дата публикации

2 нед. назад

Загрузил

ID версии

Главная