Reneb submitted a new resource:
Save - Manually save the world
Read more about this resource...
Save [Unmaintained]
Discussion in 'Plugin Support' started by Reneb, Nov 2, 2014.
-
There is an opportunity to do so when you write "quit" in the console, then worked to save game?
-
Code:
function PLUGIN:OnRunCommand( arg ) -- Check if the command is being send from an in-game player. if ( not arg ) then return end if ( not arg.cmd ) then return end if ( not arg.cmd.name ) then return end -- Check if the quit command was used. if arg.cmd.name == "quit" then print( self:SaveAll() ) print("Shutting down...") timer.Once(5, function() global.ConsoleGlobal.quit( arg ) end ) return false end end
Last edited by a moderator: Nov 3, 2014 -
not working!!!im save game... and quit should... 0 result.my world again new>what to ....
-
-
thanks mughisi, i'll add that
-
Reneb updated Save with a new update entry:
force save of quit option (by Mughisi)
-
can u update this one please for new rust version
-
Reneb updated Save with a new update entry:
update for new version
-
Reneb updated Save with a new update entry:
fixed folder path
-
do this plugin save the item in loots ( Wooden Box ) ?
-
It uses the ingame save system so it should
-
i use rust experimental devblog35 server file and i downloaded thsi plugin and save my server
but
home of my players is save but items in loot not saved ? must i update my server to devblog38 ? or not ?
Save (Manually save the world) Plugin Version 1.1.1 -
latest update was devblog 36
37 and 38 didn't have any updates released.
and no idea why it doesn't save your items in loot i'll look into it. but pretty sure it's just rust and not this plugin. -
Code:
[Oxide] 6:22 PM [Error] save: [string "save.lua"]:55: attempt to call field 'Save' (a table value) at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Last edited by a moderator: Jan 19, 2015 -
Reneb updated Save with a new update entry:
fix for new rust update. no more arguments
-
is it possible to make a save.all command automatic?
-
why would that be relevent? the auto save or rust already exist :x
-
-
when you got your answer ... if you shutdown the server with "brute force" it just shuts down the server without saving since the last save.
save are by default every hour. you can edit that with server.saveinterval XXX (XX being seconds)