PaiN submitted a new resource:
TimedExecute - Execute commands every (x) seconds.
Read more about this resource...
TimedExecute [Unmaintained]
Discussion in 'Plugin Support' started by PaiN, Jun 2, 2015.
-
Hello nice plugin
is it possible to add colored chat message?
found a Fix for Supply Signal &&:
Code:[ "inv.giveall \"Supply Signal\"", 41 ],
Last edited by a moderator: Jun 11, 2015 -
PaiN updated TimedExecute with a new update entry:
Added TimerOnce and Reset command for the timers
-
PaiN updated TimedExecute with a new update entry:
config fix
-
PaiN updated TimedExecute with a new update entry:
Re-write and clean-up
-
Hi anyway instead of "Server Console" for the prefix I can make it whatever I want like my server name
-
when i install Timed Execute it just keeps saying "restart NOW" how do i disable stuff like that? and just make it a airdrop command
[DOUBLEPOST=1452892575][/DOUBLEPOST]could someone possibly upload a timed execute file already edited..? it'd be much help.. -
can someone help me I want to make a Auto Airdrop Command go every 30 Minutes? Any help will be Very much appreciated
[DOUBLEPOST=1462177158][/DOUBLEPOST]I get this error
[Oxide] 01:13 [Info] Loaded plugin PaiN TimedExecute v2.0.0 by PaiN
[Oxide] 01:13 [Info] [PaiN TimedExecute] Timer-Once is OFF
[Oxide] 01:13 [Info] [PaiN TimedExecute] Timer-Repeat is ON
[Oxide] 01:13 [Error] Failed to initialize plugin 'p-TimedExecute v2.0.0'
File: p-TimedExecute.lua Line: 35 invalid arguments to method call:
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 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.Ext.Lua.Plugins.LuaPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0
at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0 -
Dont edit the plugin itself just the config. Follow his examples as well.
-
What does this mean
> oxide.reload p-TimedExecute
[Oxide] 21:37 [Error] Failed to call hook 'cmdReload' on plugin 'rustlegacycore v1.0.0'
File: p-TimedExecute.lua Line: 49 bad argument #1 to 'ipairs' (table expected, got nil):
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 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.Ext.Lua.Plugins.LuaPlugin.HandleRemovedFromManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.PluginManager.RemovePlugin (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0
at Oxide.Core.OxideMod.UnloadPlugin (System.String name) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.PluginLoader.Reload (System.String directory, System.String name) [0x00000] in <filename unknown>:0
at Oxide.Core.OxideMod.ReloadPlugin (System.String name) [0x00000] in <filename unknown>:0
at Oxide.Game.RustLegacy.RustLegacyCore.cmdReload (.Arg arg) [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
My Config is this
{
"EnableTimerOnceCommands": "false",
"EnableTimerRepeatCommands": "true",
"OnceCommands": [
{
"command": "say 'Restart in 1 minute'",
"seconds": 60
},
{
"command": "say 'Restart in 30 seconds'",
"seconds": 90
},
{
"command": "say 'Restart NOW'",
"seconds": 120
},
{
"command": "restart",
"seconds": 120
},
{
"command": "reset.oncetimer",
"seconds": 121
}
],
"RepeaterCommands": [
{
"command": "server.save",
"seconds": 120
},
{
"command": "airdrop.drop",
"seconds": 1800
}
]
}
What is wrong? -
Code:{ "EnableTimerOnceCommands": "false", "EnableTimerRepeatCommands": "true", "OnceCommands": [ { "command": "say 'Restart in 1 minute'", "seconds": 60 }, { "command": "say 'Restart in 30 seconds'", "seconds": 90 }, { "command": "say 'Restart NOW'", "seconds": 120 }, { "command": "restart", "seconds": 120 }, { "command": "reset.oncetimer", "seconds": 121 } ], "RepeaterCommands": [ { "command": "server.save", "seconds": 120 }, { "command": "airdrop.drop", "seconds": 1800 } ] }
Here is it removed
Code:{ "EnableTimerOnceCommands": "false", "EnableTimerRepeatCommands": "true", "OnceCommands": [ { "command": "say 'Restart in 1 minute'", "seconds": 60 }, { "command": "say 'Restart in 30 seconds'", "seconds": 90 }, { "command": "say 'Restart NOW'", "seconds": 120 }, { "command": "restart", "seconds": 120 }, { "command": "reset.oncetimer", "seconds": 121 } ], "RepeaterCommands": [ { "command": "server.save", "seconds": 120 } ] }
Last edited by a moderator: May 3, 2016 -
-
-
-
-
-