Sure, why not?
StartupCommands
Moved
Total Downloads: 2,464 - First Release: Jan 13, 2015 - Last Update: Jul 28, 2017
- 5/5, 12 likes
-
Wulf Community Admin
-
how should the config looks like?
"Commands": [
"server.globalchat true",
"server.stability false",
server.hostname "[TEST] Rustafield/tp/move/bla/test"
],
or smth like this?
"server.hostname "[TEST]Rustafield/tp/move/bla/test""
how should i do it with the "" ?? -
Wulf Community Admin
You need to escape any " inside each line with \. -
Code:
[Debug] at NLua.MetaFunctions.GetMethodInternal (LuaState luaState) [0x00000] in <filename unknown>:0 at NLua.MetaFunctions.GetMethod (LuaState luaState) [0x00000] in <filename unknown>:0 at (wrapper native-to-managed) NLua.MetaFunctions:GetMethod (KeraLua.LuaState) at (wrapper managed-to-native) KeraLua.NativeMethods:LuaNetPCall (intptr,int,int,int) at KeraLua.Lua.LuaNetPCall (IntPtr luaState, Int32 nArgs, Int32 nResults, Int32 errfunc) [0x00000] in <filename unknown>:0 at NLua.LuaLib.LuaPCall (LuaState luaState, Int32 nArgs, Int32 nResults, Int32 errfunc) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
-
Wulf Community Admin
-
-
How would you use this for your server description with multiple lines? Since I can't use \n as a line break is there another way to have multiple lines? For example: "My Rust Server\nFeatures:\n- 2x gather\n- 3x xp\n etc..."
-
Wulf Community Admin
-
Ya I use gameservers and I added +server.description "text" and also added that to the serverauto.cfg but whenever my server restarts it shows 1 as the description. I'll probably have to create a ticket, I just wanted to see if there was a way around it with this.
-
Wulf Community Admin
-
This mod is not working (auto.commands not found) even after completely removing the mod and restarting the server
-
Wulf Community Admin
-
-
Wulf Community Admin
-
Code:
[Oxide] 19:21 [Error] Failed to call hook 'cmdAutoCommand' on plugin 'autocommands v0.2.4' (IndexOutOfRangeException: Array index is out of range.) [Oxide] 19:21 [Debug] at NLua.MetaFunctions.GetMethodInternal (LuaState luaState) [0x00000] in <filename unknown>:0 at NLua.MetaFunctions.GetMethod (LuaState luaState) [0x00000] in <filename unknown>:0 at (wrapper native-to-managed) NLua.MetaFunctions:GetMethod (KeraLua.LuaState) at (wrapper managed-to-native) KeraLua.NativeMethods:LuaNetPCall (intptr,int,int,int) at KeraLua.Lua.LuaNetPCall (IntPtr luaState, Int32 nArgs, Int32 nResults, Int32 errfunc) [0x00000] in <filename unknown>:0 at NLua.LuaLib.LuaPCall (LuaState luaState, Int32 nArgs, Int32 nResults, Int32 errfunc) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
Last edited by a moderator: Sep 26, 2016 -
Wulf Community Admin
-
-
Wulf Community Admin
-
/autocmd add but there it's not that the permission is not working, When i enter it with this normal command.
Oxide.grant user name permission -
Wulf Community Admin
I'd need to know exactly what you are entering for granting the permission too, skimping on the info won't help me help you.