CustomBuffDefinition
Defined in: server/api.d.ts:8213
Immutable custom effect, with an existing native buff supplying its icon.
Properties
Section titled “Properties”description?
Section titled “description?”
optionaldescription?:string
Defined in: server/api.d.ts:8222
Optional description, up to 4096 UTF-8 bytes.
duration?
Section titled “duration?”
optionalduration?:number
Defined in: server/api.d.ts:8232
Positive real seconds up to seven days, or -1 for permanent; default -1.
maxStacks?
Section titled “maxStacks?”
optionalmaxStacks?:number
Defined in: server/api.d.ts:8247
Integer 1 to 16; default 1.
modifiers?
Section titled “modifiers?”
optionalmodifiers?:Record<string,number| {operation:"set"|"add"|"multiply";value:number; }>
Defined in: server/api.d.ts:8257
Optional native modifiers. A number adds points. Buffs.modifiers lists supported names. healthRegeneration adds health per second. Effective stat changes do not change earned XP.
name:
string
Defined in: server/api.d.ts:8217
Display name; 1 to 256 UTF-8 bytes.
refresh?
Section titled “refresh?”
optionalrefresh?:boolean
Defined in: server/api.d.ts:8252
Default true. At the stack limit, replaces the oldest instance with a full-duration instance; false ignores applications at the limit.
stackable?
Section titled “stackable?”
optionalstackable?:boolean
Defined in: server/api.d.ts:8242
Default false. When true, each application has its own native timer and modifiers.
tickInterval?
Section titled “tickInterval?”
optionaltickInterval?:number
Defined in: server/api.d.ts:8237
Server lifecycle callback interval in seconds; zero disables, otherwise 0.1 to 86400. Default zero.
visual
Section titled “visual”visual:
string
Defined in: server/api.d.ts:8227
Existing game buff name or GUID; only presentation is borrowed.