Hey,
Trying to integrate the OnRaidableBaseCompleted hook to trigger updates, but I never seem to get it to fire. I'm very much a noob when it comes to plugins so likely there's something I'm missing. For sake of ease, I've trimmed the code to a console message of the players that were raiding, but nothing shows up.
class Test : RustPlugin
{
[PluginReference]
private Plugin RaidableBases
private void OnRaidableBaseCompleted(List<BasePlayer> raiders)
{
foreach (BasePlayer player in raiders)
{
Puts(player.displayName);
}
}
}