Is there any way to call a method without any of oxide hook. I trying to make a plugin that will send a server command at specific time, but I have no idea how to check server time without overloading server by "onFrame","onTick" etc. Im writing in C#.
Using method without a hook?
Discussion in 'Rust Development' started by CZYSTARASOWOEUROPA, Sep 13, 2016.
-
Wulf Community Admin
You can call pretty much any public method in Rust or Oxide without a hook. Hooks are just used to trigger events. There are lots of options for checking the server time, such as calling what Rust uses directly, running a console command for time, or even using Oxide's Covalence API and server.Time.
-
Yeah, but is there way to trigger method and not to use oxide ones?
-
Wulf Community Admin
What method are you referring to? As I mentioned previously, you can easily call essentially any public method in Rust or Oxide, these are not hooks and do not rely on Oxide.
