Posts: 41
Threads: 7
Joined: Aug 2016
Reputation:
0
Hello, how to use dini to save the weather I select with /settime everytime the server closes? I managed to do it with score and weapon but don't find anyway for data such as time or weather.
Thanks for your help.
(I already searched, and found nothing useful)
Posts: 150
Threads: 1
Joined: Jan 2015
Reputation:
0
You should save the time and weather when you use the command /settime instead of when the server closes. The saved time and weather will still be up to date as it is saved every time you use the command.
Posts: 41
Threads: 7
Joined: Aug 2016
Reputation:
0
Thanks, do you know how I can do this ?
Posts: 41
Threads: 7
Joined: Aug 2016
Reputation:
0
Player infos are located in their own files but I don't know how to store informations in a new file I created called "server.ini"
( I want to save "weather" in "server.ini" and read it everytime the server opens. But I have no idea what to use at which callback. )
Posts: 41
Threads: 7
Joined: Aug 2016
Reputation:
0
I made it, it works. Thanks anyway!