1. Can you use oxide.reload inside a mod?

    I been looking for the right command or way to use this if possible within a mod itself so that it reloads itself after a certain time.

    Can anyone tell me if its possible and if so an example of the command in a mod.
     
  2. Wulf

    Wulf Community Admin

    Code:
    rust.RunServerCommand("oxide.reload pluginname")
     
  3. is there a list of all commands available like this?
     
  4. Wulf

    Wulf Community Admin

    Yup! You can see them by clicking the "Docs" link in the navigation at the top, or directly at http://docs.oxidemod.org/#rust-functions.
     
  5. I can't find anything on SQL usage. Can you give me an example on how a mod would save data in the SQL?
     
  6. Wulf

    Wulf Community Admin

  7. This can be helpful
    insert into table (column,column1) values('value1','value2')
    update table set column='value1',column2='value2' where column='value3'
    delete from table where id='1'

    Select * from retorno
    Select colun,colun1 from retorno
     
  8. ok wait.. let me make sure I understand that thread you sent. Not only can you save directly to a DB but you can also receive? So basically you can make a mod load data from the SQL as well?
    [DOUBLEPOST=1426222198][/DOUBLEPOST]remote DB that is...
     
  9. Wulf

    Wulf Community Admin

    Yup! No more having to use a remote script as bridge.
     
  10. yeah I have several devs working on this right now for mods, we are trying to make website user interface for mod adjustments.