Change to survival mode

bonne
New member
 
Posts: 5
Joined: Sat Jan 26, 2019 12:43

Change to survival mode

by bonne » Sat Jan 26, 2019 12:49

Running a dedicated server on linux. Ran it with:

minetest --server

Clients can connect. But it seems to be running in creative mode. How to change to survival mode?

Regards, Lars.
 

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

Re: Change to survival mode

by Krock » Sat Jan 26, 2019 13:10

Hello.
Open your server's minetest.conf file and add/change the setting `creative_mode` to creative_mode = false

Reference: https://github.com/minetest/minetest/bl ... mple#L1221
You may also do the configuration via GUI on a client and copy the modified minetest.conf parts to your server.
If you login with the admin account, then use the chat command /revoke adminname creative to switch to survival (might need to rejoin). If that does not work, use an alternative account where it doesn't grant you all privileges automatically.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

bonne
New member
 
Posts: 5
Joined: Sat Jan 26, 2019 12:43

Re: Change to survival mode

by bonne » Sat Jan 26, 2019 13:44

Thanks.

config now changed to:

selected_world_path = /root/.minetest/worlds/xxx
mg_name = v7
mainmenu_last_selected_world = 1
fixed_map_seed =
name = xxx
screenW = 800
enable_server = true
port = 30000
menu_last_game = minetest
maintab_LAST = local
screenH = 551
enable_damage = false
creative_mode = false

Do I need to reboot or can I change live?

Regards, Lars.
 

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

Re: Change to survival mode

by Krock » Sat Jan 26, 2019 16:42

To ensure that the settings are applied correctly, first shut down minetestserver, then save the configuration file and start minetest afterwards again.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 


Return to Servers



Who is online

Users browsing this forum: No registered users and 15 guests