-
Notifications
You must be signed in to change notification settings - Fork 1
/
PoMConfig.cs
36 lines (30 loc) · 980 Bytes
/
PoMConfig.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using Newtonsoft.Json;
using System.ComponentModel;
using Terraria.ModLoader.Config;
namespace PathOfModifiers
{
public class PoMConfigServer : ModConfig
{
public override ConfigScope Mode => ConfigScope.ServerSide;
[Label("Try disable vanilla prefixes on weapons")]
[DefaultValue(true)]
public bool DisableVanillaPrefixesWeapons;
[Label("Try disable vanilla prefixes on accessories")]
[DefaultValue(true)]
public bool DisableVanillaPrefixesAccessories;
[Label("Disable maps")]
[DefaultValue(true)]
[ReloadRequired]
[JsonIgnore]
public bool DisableMaps;
[Label("Disable NPC modifiers")]
[DefaultValue(true)]
[ReloadRequired]
[JsonIgnore]
public bool DisableNPCModifiers;
public override bool AcceptClientChanges(ModConfig pendingConfig, int whoAmI, ref string message)
{
return false;
}
}
}