5 hours ago
This script will create a generateGamemodeTxt function, that when used, will create a file styled like your average gamemode's gamemode.txt.
It will collect information from the gamemode you're hosting right now (Only tested on Custom gamemode).
Specifically it'll create data about all add-ons, musics, and the environment. Minigame should be handled by the creator.
Example:
Note: This will include itself in the gamemode.txt, you can remove it if you want to. It will not create (For now) $Server::GhostLimit ETC.
It will collect information from the gamemode you're hosting right now (Only tested on Custom gamemode).
Specifically it'll create data about all add-ons, musics, and the environment. Minigame should be handled by the creator.
Example:
Code:
generateGamemodeTXT("Add-ons/Gamemode_MyEpicDM/gamemode.txt"); //In consoleNote: This will include itself in the gamemode.txt, you can remove it if you want to. It will not create (For now) $Server::GhostLimit ETC.
he who

