Disable Menu Button for Creating a World

Posted:
Mon Feb 13, 2017 21:07
by GreenDimond
Hello.
I was wondering if it were possible to disable the 'New' button for creating a new world on the menu (for a subgame).
Also, is there a way to only have one world allowed? So if they try to manually make a new world in the worlds folder, they cannot select it from the list? And only one is shown?
Thanks!
-Green
Re: Disable Menu Button for Creating a World

Posted:
Mon Feb 13, 2017 23:37
by MineYoshi
GreenDimond wrote:Hello.
I was wondering if it were possible to disable the 'New' button for creating a new world on the menu (for a subgame).
Also, is there a way to only have one world allowed? So if they try to manually make a new world in the worlds folder, they cannot select it from the list? And only one is shown?
Thanks!
-Green
You can edit the .lua files in "minetest-folder/builtin/mainmenu/".
Re: Disable Menu Button for Creating a World

Posted:
Tue Feb 14, 2017 18:23
by GreenDimond
MineYoshi wrote:GreenDimond wrote:Hello.
I was wondering if it were possible to disable the 'New' button for creating a new world on the menu (for a subgame).
Also, is there a way to only have one world allowed? So if they try to manually make a new world in the worlds folder, they cannot select it from the list? And only one is shown?
Thanks!
-Green
You can edit the .lua files in "minetest-folder/builtin/mainmenu/".
In a subgame. I want to disable the new world button for a subgame.