So in the invasion UI you have this:
C#:
        protected override void CompileMenuOptions(MenuGumpOptions list)
        {
            base.CompileMenuOptions(list);

            list.AppendEntry(new ListGumpEntry("Create Invasion", OnCreateInvasion, HighlightHue));
        }
Unfortunately this is giving players access to modify invasions, I changed it to this:
C#:
        protected override void CompileMenuOptions(MenuGumpOptions list)
        {
            base.CompileMenuOptions(list);
            
            if (User.AccessLevel >= InvasionService.Access)
            {
            list.AppendEntry(new ListGumpEntry("Create Invasion", OnCreateInvasion, HighlightHue));
            }
        }
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back