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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
/*
* Copyright (C) 2022 NotEnoughUpdates contributors
*
* This file is part of NotEnoughUpdates.
*
* NotEnoughUpdates is free software: you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* NotEnoughUpdates is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with NotEnoughUpdates. If not, see <https://www.gnu.org/licenses/>.
*/
package io.github.moulberry.notenoughupdates.options.separatesections;
import com.google.gson.annotations.Expose;
import io.github.moulberry.moulconfig.annotations.ConfigAccordionId;
import io.github.moulberry.moulconfig.annotations.ConfigEditorAccordion;
import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
import io.github.moulberry.moulconfig.annotations.ConfigEditorColour;
import io.github.moulberry.moulconfig.annotations.ConfigEditorDropdown;
import io.github.moulberry.moulconfig.annotations.ConfigEditorSlider;
import io.github.moulberry.moulconfig.annotations.ConfigOption;
public class Notifications {
@Expose
@ConfigOption(
name = "Update Messages",
desc = "Give a notification in chat whenever a new version of NEU is released"
)
@ConfigEditorDropdown(values = {"Off", "Releases", "Pre-Releases"})
public int updateChannel = 1;
@Expose
@ConfigOption(
name = "Missing repo warning",
desc = "Warning when repo data is missing or out of date"
)
@ConfigEditorBoolean
public boolean outdatedRepo = true;
@Expose
@ConfigOption(
name = "RAM Warning",
desc = "Warning when game starts with lots of RAM allocated\n" +
"\u00a7cBefore disabling this, please seriously read the message. If you complain about FPS issues without listening to the warning, that's your fault."
)
@ConfigEditorBoolean
public boolean doRamNotif = true;
@Expose
@ConfigOption(
name = "OldAnimations Warning",
desc = "Warning when an unsupported OldAnimations mod is used"
)
@ConfigEditorBoolean
public boolean doOamNotif = true;
@Expose
@ConfigOption(
name = "Fast Render Warning",
desc = "\u00a7cIf and ONLY if you have Fast Render disabled and are still seeing the warning, you can disable it here.\nDisabling it with Fast Render still on will lead to broken features."
)
@ConfigEditorBoolean
public boolean doFastRenderNotif = true;
@Expose
@ConfigOption(
name = "Booster Cookie Warning",
desc = "Warning when a booster cookie is about to expire"
)
@ConfigEditorBoolean
public boolean doBoosterNotif = false;
@Expose
@ConfigOption(
name = "Booster Cookie Warning Minutes",
desc = "Change the minimum time required for the Booster Cookie warning to activate"
)
@ConfigEditorSlider(
minValue = 10,
maxValue = 5760,
minStep = 25
)
public int boosterCookieWarningMins = 1440;
@Expose
@ConfigOption(
name = "Ender Nodes",
desc = ""
)
@ConfigEditorAccordion(id = 1)
public boolean enderNodeAccordion = true;
@Expose
@ConfigOption(
name = "Nested Endermite Alert",
desc = "It will alert the user if a nested endermite gets spawned"
)
@ConfigEditorBoolean
@ConfigAccordionId(id = 1)
public boolean endermiteAlert = true;
@Expose
@ConfigOption(
name = "Nested Endermite Alert Color",
desc = "The color the alert will be shown"
)
@ConfigEditorColour
@ConfigAccordionId(id = 1)
public String endermiteAlertColor = "0:255:194:0:174";
@Expose
@ConfigOption(
name = "Nested Endermite Alert Display Time",
desc = "How long the display would stay for in ticks"
)
@ConfigEditorSlider(
minValue = 1,
maxValue = 200,
minStep = 20
)
@ConfigAccordionId(id = 1)
public int endermiteAlertTicks = 20;
}
|