Blockland Fan Forums
Gamemode.txt Creation - Printable Version

+- Blockland Fan Forums (https://forum.bcs.place)
+-- Forum: Blockland Forums (https://forum.bcs.place/forumdisplay.php?fid=1)
+--- Forum: Tools and Resources (https://forum.bcs.place/forumdisplay.php?fid=3)
+--- Thread: Gamemode.txt Creation (/showthread.php?tid=84)



Gamemode.txt Creation - banana2 - 03-23-2026

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:
Code:
generateGamemodeTXT("Add-ons/Gamemode_MyEpicDM/gamemode.txt"); //In console

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.