Lost in configuration...

Post Reply
abdutron
Member
Posts: 19
Joined: Tue Sep 08, 2020 20:26

Lost in configuration...

by abdutron » Post

Hello,

To put it simply: I just don't undeerstand how to configure a minetest server.

I have installed a MINETEST latest version on a DEBIAN 10 OS, using the BACKPORTS packages.

All is fine and running, except one silly thing: I do not manage to make the server accept any changes I configure using the file "minetest.conf".

I try to:

Grand Admin privileges to one player
Customize the default keys
Limit the inventory to basic blocs

So I have tried to add these instructions:

Code: Select all

eymap_forward = KEY_KEY_Z
keymap_backward = KEY_KEY_S
keymap_left = KEY_KEY_Q
keymap_right = KEY_KEY_D
keymap_zoom = KEY_KEY_A
for example to these files:
/etc/minetest/minetest.conf
/usr/share/games/minetest/games/minetest_game/minetest.conf

I have tried to restart the service using this command:
/etc/init.d/minetest restart

Well, when users connect, all these changes are reduced to... NOTHING!

It looks like local configuration files on clients computers have a kind of a prevalency and are interpreted instead of the instructions I try to configure on the server side.

Any help would be very appreciated :)

Thank you,
Stéphane.

User avatar
rubenwardy
Moderator
Posts: 6295
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

Re: Lost in configuration...

by rubenwardy » Post

The server cannot set client settings, nor should it be able to - the client is in charge of things like its keymap

If you're trying to use minetest locally - say with children or a school class - you can distribute the client with the settings already set

abdutron
Member
Posts: 19
Joined: Tue Sep 08, 2020 20:26

Re: Lost in configuration...

by abdutron » Post

Hello,

Thank you for your answer, crystal clear ;)

Does this mean that the Admin status also has to be setup on the client side?

Stéphane

Festus1965
Member
Posts: 1435
Joined: Sun Jan 03, 2016 11:58
In-game: bye bye

Re: Lost in configuration...

by Festus1965 » Post

abdutron wrote:
Wed Sep 23, 2020 12:07
Does this mean that the Admin status also has to be setup on the client side?
No, who is admin is set in minetest.conf "name = xxx"
the rights are set by first login as admin and use /grantmeall easiest
after that you can let other gamer in ...
Last edited by Festus1965 on Wed Sep 23, 2020 21:41, edited 1 time in total.
Minetest has no future

abdutron
Member
Posts: 19
Joined: Tue Sep 08, 2020 20:26

Re: Lost in configuration...

by abdutron » Post

OK I take good note of it, that's perfect.

Thank you again,
Stéph

User avatar
rubenwardy
Moderator
Posts: 6295
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

Re: Lost in configuration...

by rubenwardy » Post

The admin is a server-side setting, called name (not admin). The client-side value of name isn't used in dedicated servers

abdutron
Member
Posts: 19
Joined: Tue Sep 08, 2020 20:26

Re: Lost in configuration...

by abdutron » Post

I must be really stupid, but I cannot enter the /grantmeall command because of the letter 'm' (small caps) being configured by default to open / close the terminal. I have tried to change this in the Keys section, but it has no effect...

abdutron
Member
Posts: 19
Joined: Tue Sep 08, 2020 20:26

Re: Lost in configuration...

by abdutron » Post

rubenwardy wrote:
Wed Sep 23, 2020 12:59
The admin is a server-side setting, called name (not admin). The client-side value of name isn't used in dedicated servers
Thanks for the advice.

I tried to add the name = xxx setting in both my minetest.conf files on the server, but when I login as xxx and try to fly, it says that the fly ability is not activated for my account...

abdutron
Member
Posts: 19
Joined: Tue Sep 08, 2020 20:26

Re: Lost in configuration...

by abdutron » Post

OK I manage (finally) to activate the FLY(admin) status
The command to be entered is:
/grant USER all

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests