tModLoader

tModLoader

Not enough ratings
Permanent Buffs
   
Award
Favorite
Favorited
Unfavorite
Mod Side: Both
tModLoader Version: 1.4.4
File Size
Posted
Updated
86.249 KB
May 30 @ 8:42am
Jun 24 @ 4:21am
22 Change Notes ( view )

Subscribe to download
Permanent Buffs

Description
Permanent Buffs

Permanent Buffs is a simple mod that allows the user better control over their buffs. Tired of having to go to each station everytime you respawn?
Tired of having to replace banners everywhere you go? Tired of your summons expiring in your afk farm? Permanent buffs has you covered.

- PermaBuff: By designating a buff as a 'PermaBuff', it becomes permanent. This means the buff has an infinite duration and will be re-applied instantly if it's ever deleted.
PermaBuffs are indicated by a Golden Border around the buff icon.
- NeverBuff: By designating a buff as a 'NeverBuff', it becomes inactive. This means the buff will be blocked from applying its effects in 'Buff.Update' and force enables deletion by right clicking the buff.
Neverbuffs are indicated by a Purple Border around the buff icon.

Both Permabuffs and Neverbuffs can be toggled by hovering the mouse over the buff icon and pressing their respective keybinds.

This mod should be compatible with most other mod buff and does not change any behaviour unless the config options are enabled. Some additional features are:
- Keybind to flag a NeverBuff for auto deletion - this means the buff will not ever be added to the player again. This way they won't take up a buff slot if re-added.
- Option to selectively apply death/save&quit persistence to station buffs, so you don't have to click the stations every time you respawn.
- Option to selectively apply death/save&quit persistence to banners, so that they remain with you wherever you go once placed.
- Option to disable visuals on affected buff icons.
- Option to hide additional keybind tooltips once the keybinds are bound.
- Option to disable death/save&quit persistence entirely.
- PermaBuffing summons is now FULLY supported! As long as you keep the summoning item in your inventory and PermaBuff the icon, the mod will automatically fill all your summon slots! This works with mod summons too.
- Option to enable experimental cross-mod functionality patches.

**Disclaimer**: Depending on the buff in question, enabling/blocking/force deleting the buff using Perma/NeverBuff might not work fully. This is because certain buffs have their behaviour decided somewhere that isn't in Buff.Update
This is the case with Potion Sickness (patched as of 1.6.1) and certain other modbuffs. Please report these exceptions to me through github/discord, so I can patch them.

Possible future changes:
- Patching buffs from any other reports I recieve for other mods.
- Creating a UI list of modified buffs that can be toggled or untoggled in game.
- Any other suggestions/bugs as raised in Github or in the discord.

If you've read this far, you might want to join the discord.
You can ask about my mods, suggest any future changes, commission me to make a mod, report bugs, or just hang around and watch a coding stream.
Discord: https://discord.gg/krZV4fCWqV

All the code is also on github if you want to edit the mod for your own preferences or take a look at how I coded anything.
Github Link: https://github.com/linklight2/Permanent-Buffs

Special thanks to all others who have helped out with the mod!
- 成为睾玩多打泡 provided a Chinese translation
Originally posted by tModLoader PermaBuffs:
Developed By Linklight2
5 Comments
S1LV3R Sep 7 @ 6:15pm 
Sent a pull request for localization
N00bForce  [author] Jun 24 @ 2:43am 
If anyone would like to provide a localization translation for this mod to any language other than English or Simplified Chinese, that would be greatly appreciated. Add me on steam or send a pull request through github if interested in helping out! :cassie:
Raf Jun 3 @ 1:15am 
this is really useful, I mainly use it to keep the station buffs permanently. Thx
N00bForce  [author] Jun 2 @ 9:35pm 
@riley_ "How does this work?"
You hover over a buff icon on the player menu and press the keybind you designated in the controls to mark a buff as a permaBuff or a neverBuff. The above description explains further.
riley_ Jun 2 @ 2:19pm 
how does this work?