Hello,
I tried editing the PluginEnablerorDisablerPlugin.cs file with the following, but have 43x exception errors. Can someone please advise what I'm doing wrong?
Code:
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
// *.txt files are not loaded automatically by TurboHUD
// you have to change this file's extension to .cs to enable it
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
using Turbo.Plugins.Default;
namespace Turbo.Plugins.User
{
public class PluginEnablerOrDisablerPlugin : BasePlugin, ICustomizer
{
public PluginEnablerOrDisablerPlugin()
{
Enabled = true;
}
public override void Load(IController hud)
{
base.Load(hud);
}
// "Customize" methods are automatically executed after every plugin is loaded.
// So these methods can use Hud.GetPlugin<class> to access the plugin instances' public properties (like decorators, Enabled flag, parameters, etc)
// Make sure you test the return value against null!
public void Customize()
{
// basic examples
Hud.GetPlugin<InventoryAndStashPlugin>().NotGoodDisplayEnabled = false;
Hud.GetPlugin<EliteMonsterAffixPlugin>().AffixDecorators.Remove(MonsterAffix.Arcane);
Hud.GetPlugin<EliteMonsterAffixPlugin>().CustomAffixNames.Add(MonsterAffix.Desecrator, "DES");
Hud.GetPlugin<ChestPlugin>(false);
Hud.GetPlugin<ClickableChestGizmoPlugin>(false);
Hud.GetPlugin<CursedEventPlugin>(false);
Hud.GetPlugin<DeadBodyPlugin>(false);
Hud.GetPlugin<GlobePlugin>(false);
Hud.GetPlugin<OculusPlugin>(false);
Hud.GetPlugin<PortalPlugin>(false);
Hud.GetPlugin<RackPlugin>(false);
//Hud.GetPlugin<ShrinePlugin>(false);
//Hud.GetPlugin<BasePlugin>(false);
Hud.GetPlugin<CheatDeathBuffFeederPlugin>(false);
//Hud.GetPlugin<ConventionOfElementsBuffListPlugin>(false);
//Hud.GetPlugin<MiniMapLeftBuffListPlugin>(false);
//Hud.GetPlugin<MiniMapRightBuffListPlugin>(false);
Hud.GetPlugin<PlayerBottomBuffListPlugin>(false);
//Hud.GetPlugin<PlayerLeftBuffListPlugin>(false);
//Hud.GetPlugin<PlayerRightBuffListPlugin>(false);
//Hud.GetPlugin<PlayerTopBuffListPlugin>(false);
//Hud.GetPlugin<TopLeftBuffListPlugin>(false);
//Hud.GetPlugin<TopRightBuffListPlugin>(false);
Hud.GetPlugin<GroundLabelDecoratorPainterPlugin>(false);
//Hud.GetPlugin<BloodShardPlugin>(false);
//Hud.GetPlugin<InventoryAndStashPlugin>(false);
//Hud.GetPlugin<InventoryFreeSpacePlugin>(false);
//Hud.GetPlugin<InventoryKanaiCubedItemsPlugin>(false);
//Hud.GetPlugin<InventoryMaterialCountPlugin>(false);
Hud.GetPlugin<StashPreviewPlugin>(false);
Hud.GetPlugin<StashUsedSpacePlugin>(false);
Hud.GetPlugin<CosmeticItemsPlugin>(false);
Hud.GetPlugin<HoveredItemInfoPlugin>(false);
Hud.GetPlugin<ItemsPlugin>(false);
//Hud.GetPlugin<PickupRangePlugin>(false);
//Hud.GetPlugin<AttributeLabelListPlugin>(false);
Hud.GetPlugin<BannerPlugin>(false);
Hud.GetPlugin<HeadStonePlugin>(false);
Hud.GetPlugin<MultiplayerExperienceRangePlugin>(false);
//Hud.GetPlugin<OtherPlayersPlugin>(false);
//Hud.GetPlugin<PlayerSkillPlugin>(false);
//Hud.GetPlugin<SkillRangeHelperPlugin>(false);
Hud.GetPlugin<OriginalHealthPotionSkillPlugin>(false);
//Hud.GetPlugin<OriginalSkillBarPlugin>(false);
//Hud.GetPlugin<BountyTablePlugin>(false);
//Hud.GetPlugin<DamageBonusPlugin>(false);
//Hud.GetPlugin<ExperienceOverBarPlugin>(false);
Hud.GetPlugin<GameInfoPlugin>(false);
Hud.GetPlugin<NetworkLatencyPlugin>(false);
//Hud.GetPlugin<NotifyAtRiftPercentagePlugin>(false);
//Hud.GetPlugin<PortraitBottomStatsPlugin>(false);
Hud.GetPlugin<ResourceOverGlobePlugin>(false);
//Hud.GetPlugin<RiftPlugin>(false);
//Hud.GetPlugin<TopExperienceStatistics>(false);
//Hud.GetPlugin<DebugPlugin>(false);
//Hud.GetPlugin<UiHiddenPlayerSkillBarPlugin>(false);
//Hud.GetPlugin<BloodShardPlugin>(false);
Hud.GetPlugin<ExplosiveMonsterPlugin>(false);
Hud.GetPlugin<EliteMonsterAffixPlugin>(false);
Hud.GetPlugin<DangerousMonsterPlugin>(false);
//Hud.GetPlugin<MonsterPackPlugin>(false);
}
}
}