• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[TFS 1.0] How to save the server status?

Gesquivel

New Member
Joined
Nov 3, 2014
Messages
19
Reaction score
0
Hi! I have a server (ahinco.net) hosted in spigu.net

But there is a problem, every time I restart the server, the current status of all data dont get saved.

Ive tryed to use /save but I dont have save.lua installed in my server...

Someone who can help me please?
 
Add in talkactions/talkactions.xml
Code:
<talkaction words="/save" separator=" " script="save.lua" />

Code:
function onSay(player, words, param)
    if not player:getGroup():getAccess() then
        return true
    end

    if player:getAccountType() < ACCOUNT_TYPE_GOD then
        return false
    end

    saveServer()
    player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Server saved.")
end
 
Explain more, "not working" or "dont works" is not a clear description.
Which version of TFS 1.0 are you using, already tried with this one?
http://otland.net/threads/the-forgotten-server-1-0.223775/

What happens when you use the things that are posted?
Yes, the default for spigu.net server, when i write the command /save dont show any message in the server log and dont save the current status and locations of all accounts.

Regards! and thanks for helping.
 
Back
Top