aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java
blob: 34495ae4786bcabaabc38e1850c583d65b92cbcd (plain)
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
/*
 * 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.seperateSections;

import com.google.gson.annotations.Expose;
import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigAccordionId;
import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorAccordion;
import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorBoolean;
import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorButton;
import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorDropdown;
import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorKeybind;
import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorSlider;
import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigOption;
import org.lwjgl.input.Keyboard;

public class Misc {
	@Expose
	@ConfigOption(
		name = "Only Show on SkyBlock",
		desc = "The item list and some other GUI elements will only show on SkyBlock"
	)
	@ConfigEditorBoolean
	public boolean onlyShowOnSkyblock = true;

	@Expose
	@ConfigOption(
		name = "Hide Potion Effects",
		desc = "Hide the potion effects inside your inventory while on SkyBlock"
	)
	@ConfigEditorBoolean
	public boolean hidePotionEffect = true;

	@Expose
	@ConfigOption(
		name = "Streamer Mode",
		desc = "Randomize lobby names in the scoreboard and chat messages to help prevent stream sniping"
	)
	@ConfigEditorBoolean
	public boolean streamerMode = false;

	@ConfigOption(
		name = "Fairy Soul Waypoints",
		desc = ""
	)
	@ConfigEditorAccordion(id = 0)
	public boolean fariySoulAccordion = false;
	@Expose
	@ConfigOption(
		name = "Track Fairy Souls",
		desc = "Track Found Fairy Souls"
	)
	@ConfigEditorBoolean(runnableId = 20)
	@ConfigAccordionId(id = 0)
	public boolean trackFairySouls = true;

	@Expose
	@ConfigOption(
		name = "Show Waypoints",
		desc = "Show Fairy Soul Waypoints (Requires fairy soul tracking)"
	)
	@ConfigEditorBoolean(
		runnableId = 15
	)
	@ConfigAccordionId(id = 0)
	public boolean fariySoul = false;

	@Expose
	@ConfigOption(
		name = "Mark All As Found",
		desc = "Mark all fairy souls in current location as found"
	)
	@ConfigEditorButton(
		runnableId = 16,
		buttonText = "Clear"
	)
	@ConfigAccordionId(id = 0)
	public boolean fariySoulClear = false;

	@Expose
	@ConfigOption(
		name = "Mark All As Missing",
		desc = "Mark all fairy souls in current location as missing"
	)
	@ConfigEditorButton(
		runnableId = 17,
		buttonText = "Unclear"
	)
	@ConfigAccordionId(id = 0)
	public boolean fariySoulUnclear = false;

	@Expose
	@ConfigOption(
		name = "GUI Click Sounds",
		desc = "Play click sounds in various NEU-related GUIs when pressing buttons"
	)
	@ConfigEditorBoolean
	public boolean guiButtonClicks = true;

	@Expose
	@ConfigOption(
		name = "Replace Chat Social Options",
		desc = "Replace Hypixel's chat social options with NEU's profile viewer or with /ah"
	)
	@ConfigEditorDropdown(
		values = {"Off", "/pv", "/ah"}
	)
	public int replaceSocialOptions1 = 1;

	@Expose
	@ConfigOption(
		name = "Damage Indicator Style",
		desc = "Change SkyBlock damage indicators to use shortened numbers\n" +
			"\u00A7cSome old animations mods break this feature"
	)
	@ConfigEditorBoolean
	public boolean damageIndicatorStyle2 = false;

	@Expose
	@ConfigOption(
		name = "Profile Viewer",
		desc = "Brings up the profile viewer (/pv)\n" +
			"Shows stats and networth of players"
	)
	@ConfigEditorButton(runnableId = 13, buttonText = "Open")
	public boolean openPV = true;

	@Expose
	@ConfigOption(

		name = "Edit Enchant Colours",
		desc = "Change the colours of certain SkyBlock enchants (/neuec)"
	)
	@ConfigEditorButton(runnableId = 8, buttonText = "Open")
	public boolean editEnchantColoursButton = true;

	@Expose
	@ConfigOption(
		name = "Chroma Text Speed",
		desc = "Change the speed of chroma text for items names (/neucustomize) and enchant colours (/neuec) with the chroma colour code (&z)"
	)
	@ConfigEditorSlider(
		minValue = 10,
		maxValue = 500,
		minStep = 10
	)
	public int chromaSpeed = 100;

	@Expose
	@ConfigOption(
		name = "Disable Skull retexturing",
		desc = "Disables the skull retexturing."
	)
	@ConfigEditorBoolean
	public boolean disableSkullRetexturing = false;

	@Expose
	@ConfigOption(
		name = "Disable NPC retexturing",
		desc = "Disables the NPC retexturing."
	)
	@ConfigEditorBoolean
	public boolean disableNPCRetexturing = false;

	@Expose
	@ConfigOption(
		name = "Wiki",
		desc = "The wiki to use in the wiki renderer."
	)
	@ConfigEditorDropdown(values = {
		"Hypixel",
		"Fandom"
	})
	public int wiki = 0;

	@Expose
	@ConfigOption(
		name = "Waypoint Keybind",
		desc = "Press this keybind to show waypoints to various NPCs"
	)
	@ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE)
	public int keybindWaypoint = Keyboard.KEY_NONE;

	@Expose
	@ConfigOption(
		name = "Untrack close Waypoints",
		desc = "Automatically untrack waypoints once you get close to them."
	)
	@ConfigEditorBoolean
	public boolean untrackCloseWaypoints = true;

	@Expose
	@ConfigOption(
		name = "Warp twice",
		desc = "Warp twice when using SHIFT+<waypoint keybind> to /warp to a waypoint."
	)
	@ConfigEditorBoolean
	public boolean warpTwice = true;

	@Expose
	@ConfigOption(
		name = "Calculator",
		desc = "Replace calculations like §9\"1+2\"§7 with the calculation result in sign popups (AH/BZ) and in the neu search bar"
	)
	@ConfigEditorDropdown(values = {"Off", "Enabled with ! Prefix", "Always enabled"})
	public int calculationMode = 2;

	@Expose
	@ConfigOption(
		name = "Enable Abiphone Warning",
		desc = "Asks for confirmation when removing a contact in the abiphone"
	)
	@ConfigEditorBoolean
	public boolean abiphoneWarning = true;

	@Expose
	@ConfigOption(
		name = "Enable Coop Warning",
		desc = "Asks for confirmation when clicking the coop diamond in profile menu"
	)
	@ConfigEditorBoolean
	public boolean coopWarning = true;

}