19 lines
467 B
C#
19 lines
467 B
C#
using Oxide.Core.Plugins;
|
|
using UnityEngine;
|
|
|
|
namespace Oxide.Plugins {
|
|
|
|
[Info("RereadConfigs", "TungstonMiner", "0.1.0")]
|
|
[Description("Re-read the server configs after loading to override gamemode settings")]
|
|
public class RereadConfigs : RustPlugin {
|
|
|
|
private const float DELAY = 10f;
|
|
|
|
void OnServerInitialized() {
|
|
timer.Once(DELAY, () => {
|
|
Server.Command("server.readcfg");
|
|
});
|
|
}
|
|
}
|
|
}
|