StartupCommands

Moved

Total Downloads: 2,464 - First Release: Jan 13, 2015 - Last Update: Jul 28, 2017

5/5, 12 likes
  1. it seems to not work with commands that require quotations.
    For example, my server host seems to be broken with the server header image so I have to manually set it after every server restart.
    Code:
    server.headerimage: "http://blahblah.com/picture.png"
    Without the quotes the command does not work and the plugin junks my config if I try to manually put in the quotations in the config.json.
     
  2. Wulf

    Wulf Community Admin

    When using quotations in JSON, you need to escape them.
    Code:
    server.headerimage: \"http://blahblah.com/picture.png\"
     
  3. Wulf

    Wulf Community Admin

    Wulf updated StartupCommands with a new update entry:

    1.0.3

     
  4. Seems it still does not work.

    Code:
    (15:26:41) | Unloaded plugin StartupCommands v1.0.2 by Wulf/lukespragg
    (15:26:41) | Loaded plugin StartupCommands v1.0.3 by Wulf/lukespragg
    (15:26:41) | Protocol: 1951
    Build Version: 1128.55
    Build Date: Thursday, January 12, 2017 1:12:07 PM
    Unity Version: 5.4.4f1
    Changeset: 18276
    Branch: /main
    Oxide Version: 2.0.2929
    (15:26:41) | Protocol: 1951
    Build Version: 1128.55
    Build Date: Thursday, January 12, 2017 1:12:07 PM
    Unity Version: 5.4.4f1
    Changeset: 18276
    Branch: /main
    Oxide Version: 2.0.2929
    (15:26:41) | Fog: 0% (was 0%)
    (15:26:41) | Command not found
     
  5. Wulf

    Wulf Community Admin

    Looks like it's working fine there, you have two commands being ran. Could I see your config please?
     
  6. My issue is it is saying command not found.
     

    Attached Files:

  7. Wulf

    Wulf Community Admin

    You added a : to your server.headerimage command, which makes it an invalid command.
     
  8. Yeah, I just noticed that on my end.. bleh. Sorry for the trouble.
     
  9. Hi,
    I've got a problem with my server, and I think this plugin might be THE solution.
    My host shut down my server every hours because of CPU overload... grrr...
    I've found that with the plugin EmptyLowFPS, it's run fine, because when no players are on the server, CPU run very low, my hist is happy.

    So I want StartUpCommand to launch EmptyLowFPS at every server's start (seems that EmptyLowFPS don't run at startup, I'm really unlucky...).

    But, I think that StartUpCommand don't run my commands at startup...

    Here is my .json file :
    Code:
    {
      "Commands": [
        "version",
        "oxide.version",
        "oxide.load AntiOfflineRaid",
        "oxide.load EmptyLowFPS"
      ]
    }
    How can I do in order to make it works ? I really need that EmptyLowFPS runs at every boot of the server :/
     
  10. Wulf

    Wulf Community Admin

    If plugins aren't loaded on startup, something is wrong with your setup most likely. There isn't anything this plugin can do to remedy that if a plugin is failing to load for some reason either. This plugin runs commands when your server has been fully started.
     
  11. Wulf

    Wulf Community Admin

    Wulf updated StartupCommands with a new update entry:

    1.0.5

     
  12. newest version is broken... console commands dont work and editing the config file makes no difference it always runs the standard commands
     
  13. Wulf

    Wulf Community Admin

    Nothing changed with any of that. I'd need more details on what you are doing.
     
  14. I updated from 1.0.3 to 1.0.5 . The plugin run the commands "version" and "oxide.version" , but in my config file i got this
    Code:
    {
      "Commands": [
        "weather.fog 0",
        "weather.clouds 0",
        "weather.wind 0",
        "weather.rain 0"
      ]
    }
    After reloading the plugin several times without changes, i tried the console commands
    Code:
    > startcmd list
    Command 'startcmd list' not found
    > startcmd add weather.fog 0
    Command 'startcmd add weather.fog 0' not found
    version 1.0.3 works fine
     
  15. Wulf

    Wulf Community Admin

    The default command is startupcmd; startcmd is defined in your oxide/lang/en file for the plugin unless you changed it. I'll take a look later today though.
     
  16. Wulf

    Wulf Community Admin

    Wulf updated StartupCommands with a new update entry:

    1.0.6

     
  17. it still loads only the standard commands "verison" and "oxide.version" even if they aren't in the config file.
     
  18. Wulf

    Wulf Community Admin

    Did you reload the plugin afterward?
     
  19. Wulf

    Wulf Community Admin

    Wulf updated StartupCommands with a new update entry:

    1.0.7

     
  20. Sure i did, otherwise i wouldnt know what commands it's loading ^^

    Thanks for the updates 1.0.7 works fine :)