How do I use /set command?

Post Reply
BBmine
Member
Posts: 3476
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

How do I use /set command?

by BBmine » Post

Hi, I tried "/set protector_radius 5", but it still says 3 in my config file. (3 is what I had set it to manually earlier) Am I doing it right? Thanks in advance.

User avatar
bigfoot
Member
Posts: 203
Joined: Fri Sep 02, 2016 23:31
GitHub: bigfoot547
IRC: bigfoot547 or bigfoot
In-game: bigfoot547 or bigfoot
Location: Somewhere between polar bears and penguins.

Re: How do I use /set command?

by bigfoot » Post

2 years later: the settings are stored in ram (in the c++ global `g_settings`) but is only written to disk when `minetest.save_settings` is called in lua or until the minetest window is closed.

User avatar
maikerumine
Member
Posts: 1420
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

Re: How do I use /set command?

by maikerumine » Post

Try /set timespeed 0 and see if sn stops.. then you know if ypu can writr t file. Then make sure protector radiusflag is in conf. Like abve note mtmustbe off to save newparam.
Talamh Survival Minetest-->viewtopic.php?f=10&t=12959

BBmine
Member
Posts: 3476
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

Re: How do I use /set command?

by BBmine » Post

maikerumine wrote:Try /set timespeed 0 and see if sn stops.. then you know if ypu can writr t file. Then make sure protector radiusflag is in conf. Like abve note mtmustbe off to save newparam.
Too many typos maike :P I can't quite figure out what you're trying to say :(

User avatar
Tmanyo
Member
Posts: 196
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo
Location: United States
Contact:

Re: How do I use /set command?

by Tmanyo » Post

BBmine wrote:
maikerumine wrote:Try /set timespeed 0 and see if sn stops.. then you know if ypu can writr t file. Then make sure protector radiusflag is in conf. Like abve note mtmustbe off to save newparam.
Too many typos maike :P I can't quite figure out what you're trying to say :(
I believe that maikerumine is trying to say, "Try 'set -n time_speed 0' and see if the sun stops. Then you know if you can write to the file. Then make sure protector radius flag is in the config file. Like above, note it must be off to save a new param."
Tmanyo
http://www.rrhmsservers.ml
Servers I Host:
Tmanyo-Realism
Mods of mine that I don't totally hate:
Bank Accounts
T-Rating
Tmusic Player

BBmine
Member
Posts: 3476
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

Re: How do I use /set command?

by BBmine » Post

Tmanyo wrote:
BBmine wrote:
maikerumine wrote:Try /set timespeed 0 and see if sn stops.. then you know if ypu can writr t file. Then make sure protector radiusflag is in conf. Like abve note mtmustbe off to save newparam.
Too many typos maike :P I can't quite figure out what you're trying to say :(
I believe that maikerumine is trying to say, "Try 'set -n time_speed 0' and see if the sun stops. Then you know if you can write to the file. Then make sure protector radius flag is in the config file. Like above, note it must be off to save a new param."
K thanks, I'll try it someday sooner/later :)

BBmine
Member
Posts: 3476
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

Re: How do I use /set command?

by BBmine » Post

Okay, I feel like I do not have write access to the file. I tried /set -n time_speed 0, but when I do /set time_speed, it says time_speed = 72 >:(

User avatar
Lone_Wolf
Member
Posts: 2578
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: How do I use /set command?

by Lone_Wolf » Post

BBmine wrote:Okay, I feel like I do not have write access to the file. I tried /set -n time_speed 0, but when I do /set time_speed, it says time_speed = 72 >:(
Don't use -n when you are overwriting a setting. You might have to restart the game to make the change too
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

Minetest_RN
New member
Posts: 9
Joined: Wed Feb 28, 2018 19:54
In-game: Minetester_RN

.

by Minetest_RN » Post

I don't know what to do can someone help me when I download a mod I put it in the mods file thing and I go on minetest and enable it and when I go on the world I made it says
failed to load and run script from LOL I cant type more.
In the end of it is says Check debug.txt for details.
So can someone help?

User avatar
Lone_Wolf
Member
Posts: 2578
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: .

by Lone_Wolf » Post

Minetest_RN wrote:I don't know what to do can someone help me when I download a mod I put it in the mods file thing and I go on minetest and enable it and when I go on the world I made it says
failed to load and run script from LOL I cant type more.
In the end of it is says Check debug.txt for details.
So can someone help?
So this was the error?
Image
Can't help you unless you explain what is wrong.
Spoiler
Nope
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests