I've added some more icons to show you the possibilities. You can customize which buffs you want to see. If you don't want any, write // in front of the line you want to ignore or simply delete it.
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
// turn on MultiplayerExperienceRangePlugin
Hud.TogglePlugin<MultiplayerExperienceRangePlugin>(true);
// turn off sell darkening
Hud.GetPlugin<InventoryAndStashPlugin>().NotGoodDisplayEnabled = false;
// disable arcane affix label
Hud.GetPlugin<EliteMonsterAffixPlugin>().AffixDecorators.Remove(MonsterAffix.Arcane);
// override an elite affix's text
Hud.GetPlugin<EliteMonsterAffixPlugin>().CustomAffixNames.Add(MonsterAffix.Desecrator, "DES");
// Your Custom Code here
Hud.RunOnPlugin<PlayerBottomBuffListPlugin>(plugin => {
plugin.BuffPainter.ShowTimeLeftNumbers = true;
plugin.RuleCalculator.Rules.Clear();
plugin.RuleCalculator.Rules.Add(new BuffRule(484289) { IconIndex = 10, MinimumIconCount = 1, ShowStacks = true, ShowTimeLeft = true }); // Gears of Dreadland
plugin.RuleCalculator.Rules.Add(new BuffRule(Hud.Sno.SnoPowers.SquirtsNecklace.Sno) { IconIndex = 5, MinimumIconCount = 1, ShowTimeLeft = false, ShowStacks = true }); //Squirt's Necklace
plugin.RuleCalculator.Rules.Add(new BuffRule(359583) { IconIndex = 1, MinimumIconCount = 1, ShowTimeLeft = true }); // Focus
plugin.RuleCalculator.Rules.Add(new BuffRule(359583) { IconIndex = 2, MinimumIconCount = 1, ShowTimeLeft = true }); // Restraint
plugin.RuleCalculator.Rules.Add(new BuffRule(403471) { IconIndex = null, MinimumIconCount = 1, ShowTimeLeft = true, ShowStacks = true }); //Taeguk
plugin.RuleCalculator.Rules.Add(new BuffRule(302846) { IconIndex = 0, MinimumIconCount = 1, ShowTimeLeft = true }); // DemonHunter_Vengeance, all runes
plugin.RuleCalculator.Rules.Add(new BuffRule(365311) { IconIndex = 2, MinimumIconCount = 1, ShowTimeLeft = true }); // DemonHunter_Companion, rune 5
plugin.RuleCalculator.Rules.Add(new BuffRule(Hud.Sno.SnoPowers.WrapsOfClarity.Sno) { IconIndex = 1, MinimumIconCount = 1, ShowTimeLeft = true }); // Wraps of Clarity
} );
// End Your Custom Code
}
}
}