Another way to grant privileges on game start?

Post Reply
BrandNewPlayer
New member
Posts: 8
Joined: Thu Feb 04, 2021 16:54

Another way to grant privileges on game start?

by BrandNewPlayer » Post

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.

User avatar
Minix
Member
Posts: 144
Joined: Thu Nov 12, 2020 13:51
In-game: Minix

Re: Another way to grant privileges on game start?

by Minix » Post

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.

BrandNewPlayer
New member
Posts: 8
Joined: Thu Feb 04, 2021 16:54

Re: Another way to grant privileges on game start?

by BrandNewPlayer » Post

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.

User avatar
Krock
Developer
Posts: 4650
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: Another way to grant privileges on game start?

by Krock » Post

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.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
orwell
Member
Posts: 958
Joined: Wed Jun 24, 2015 18:45
GitHub: orwell96
IRC: orwell96_mt
In-game: orwell
Location: Raxacoricofallapatorius

Re: Another way to grant privileges on game start?

by orwell » Post

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.
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests