I've already read this one and this is not helping me: https://umod.org/community/rust/18551-run-a-console-command-through-plugin
I'm trying to do a plugin that reduce the upkeep time each time the server start, because I need to enter the command by the console everytime I restart it, I have something like that for the moment, can someone help me ?
using System;
namespace Oxide.Plugins
{
[Info("UpKeepHalf", "Dolotboy", 0.1)]
public class UpKeepHalf : RustPlugin
{
void Loaded()
{
PrintToConsole("UpKeep Half cost plugin has been loaded")
[RunConsoleCommand("decay.upkeep_period_minutes 2880")]
}
}
}
I'm trying to do a plugin that reduce the upkeep time each time the server start, because I need to enter the command by the console everytime I restart it, I have something like that for the moment, can someone help me ?
using System;
namespace Oxide.Plugins
{
[Info("UpKeepHalf", "Dolotboy", 0.1)]
public class UpKeepHalf : RustPlugin
{
void Loaded()
{
PrintToConsole("UpKeep Half cost plugin has been loaded")
[RunConsoleCommand("decay.upkeep_period_minutes 2880")]
}
}
}