1. PaiN submitted a new resource:

    TimedExecute - Execute commands every (x) seconds.

    Read more about this resource...
     
  2. Hello nice plugin
    is it possible to add colored chat message?
    found a Fix for Supply Signal &&:
    Code:
        [
          "inv.giveall \"Supply Signal\"",
          41
        ],
    thx for help
     
    Last edited by a moderator: Jun 11, 2015
  3. PaiN updated TimedExecute with a new update entry:

    config fix

     
  4. PaiN updated TimedExecute with a new update entry:

    Re-write and clean-up

     
  5. Hi anyway instead of "Server Console" for the prefix I can make it whatever I want like my server name
     
  6. 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..
     
  7. 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
     
  8. Dont edit the plugin itself just the config. Follow his examples as well.
     
  9. 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?
     
  10. Dont see anything wrong there
    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
        }
      ]
    }
    The error is coming from the repeater setting or it might be just the airdrop command you have there.

    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
  11. Well I need the AirDrop going that is the only reason I want this plugin. Do I need some other plugin as well?
     
  12. Do you have the airdrop plugin?
     
  13. What one is that? The Air Drop Announcer? can you link it?
     
  14. You need to use one that has that command you are using in this plugin if you are not using a plugin that does not have that command you will keep getting the error and you dont need to use that command as the plugin will run your airdrops
     
  15. Do you know of one I could use? I am trying Admin Air Drop but it looks like it doesn't work
     
  16. I don't use legacy but as there are only two just try each one but do fully read the overview