Page 1 of 1

Another way to grant privileges on game start?

Posted: Thu Feb 04, 2021 20:13
by BrandNewPlayer
In Creative Mode I need to chat "/grantme fly" and "/grantme fast", every time I play. Is there a way to do this automatically, when the game starts? Maybe a script that executes everything I want before the game runs? Thank you guys in advance.

Re: Another way to grant privileges on game start?

Posted: Fri Feb 05, 2021 03:12
by Minix
You have to set
default_privs = fast, fly
in your minetest.conf, if you are on linux it's located in $HOME/.minetest/minetest.conf
if you are on windows then it's in the folder where you extracted the game.

Re: Another way to grant privileges on game start?

Posted: Fri Feb 05, 2021 03:43
by BrandNewPlayer
Minix wrote:
Fri Feb 05, 2021 03:12
You have to set
default_privs = fast, fly
in your minetest.conf, if you are on linux it's located in $HOME/.minetest/minetest.conf
if you are on windows then it's in the folder where you extracted the game.
Thank you very much. I'm on Android, and I found two minetest.conf, one them into the root folder and another into the "minetest_game" folder. I changed both and it works perfectly.

Re: Another way to grant privileges on game start?

Posted: Fri Feb 05, 2021 17:47
by Krock
You can also adjust this (and any other) setting in the Main Menu -> Settings -> All Settings, but I don't know how usable that is on Android.

Re: Another way to grant privileges on game start?

Posted: Sun Feb 07, 2021 09:08
by orwell
BrandNewPlayer wrote:
Fri Feb 05, 2021 03:43
Minix wrote:
Fri Feb 05, 2021 03:12
You have to set
default_privs = fast, fly
in your minetest.conf, if you are on linux it's located in $HOME/.minetest/minetest.conf
if you are on windows then it's in the folder where you extracted the game.
Thank you very much. I'm on Android, and I found two minetest.conf, one them into the root folder and another into the "minetest_game" folder. I changed both and it works perfectly.
The one in the main folder is sufficient. The one in minetest_game is for the game to preset some settings but the main config always overrides them.