Skip to content

Commit 300f9fd

Browse files
committed
Update version number to 7.0
1 parent cc03511 commit 300f9fd

11 files changed

Lines changed: 36 additions & 39 deletions

File tree

VotingPlugin/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.bencodez</groupId>
66
<artifactId>votingplugin</artifactId>
7-
<version>7.0-SNAPSHOT</version>
7+
<version>7.0</version>
88
<packaging>jar</packaging>
99
<name>VotingPlugin</name>
1010
<properties>
@@ -283,7 +283,7 @@
283283
<dependency>
284284
<groupId>com.bencodez</groupId>
285285
<artifactId>advancedcore</artifactId>
286-
<version>3.7.20-SNAPSHOT</version>
286+
<version>3.8</version>
287287
<scope>compile</scope>
288288
</dependency>
289289
<dependency>

VotingPlugin/src/main/java/com/bencodez/votingplugin/proxy/VotingPluginWire.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import com.bencodez.simpleapi.servercomm.codec.JsonEnvelope;
77

88
/**
9-
* Canonical wire format for proxy <-> backend messages.
9+
* Canonical wire format for proxy - backend messages.
1010
*
1111
* Rules: - Only JsonEnvelope is sent over the wire (no legacy String[] /
1212
* delimiters). - All fields are named keys (no numeric indices). - Versioning

VotingPlugin/src/main/java/com/bencodez/votingplugin/proxy/bungee/VotingPluginBungee.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
/**
4242
* VotingPlugin proxy implementation for BungeeCord.
43-
* <p>
43+
*
4444
* Supports a true hot reload (no proxy restart required) by:
4545
* <ul>
4646
* <li>Stopping the old {@link VotingPluginProxy} runtime</li>
@@ -50,7 +50,7 @@
5050
* state refreshed)</li>
5151
* <li>Re-initializing caches and rescheduling tasks</li>
5252
* </ul>
53-
* </p>
53+
*
5454
*/
5555
public class VotingPluginBungee extends Plugin implements Listener {
5656

VotingPlugin/src/main/java/com/bencodez/votingplugin/proxy/velocity/VotingPluginVelocity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@
5959

6060
/**
6161
* VotingPlugin proxy implementation for Velocity.
62-
* <p>
62+
*
6363
* Reload behavior:
6464
* <ul>
6565
* <li><b>/vpp reload</b> = small reload (config.reload +
6666
* votingPluginProxy.reload)</li>
6767
* <li><b>/vpp reloadall</b> = full reload (rebuild runtime, reload mysql,
6868
* reload caches/tasks)</li>
6969
* </ul>
70-
* </p>
70+
*
7171
*/
7272
@Plugin(id = "votingplugin", name = "VotingPlugin", version = "1.0", url = "https://www.spigotmc.org/resources/votingplugin.15358/", description = "VotingPlugin Velocity Version", authors = {
7373
"BenCodez" }, dependencies = { @Dependency(id = "nuvotifier", optional = true) })

VotingPlugin/src/main/java/com/bencodez/votingplugin/user/VotingPluginUser.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,6 @@ public void offVote() {
12461246
*
12471247
* @param voteSite the vote site
12481248
* @param online whether the player is online
1249-
* @param broadcast whether to broadcast the vote
12501249
* @param bungee whether to use bungee
12511250
*/
12521251
public void playerVote(VoteSite voteSite, boolean online, boolean bungee) {

VotingPlugin/src/main/java/com/bencodez/votingplugin/webhook/WebhookConfigLoader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* Loads webhook definitions from VotingPlugin's Config.yml section.
1111
*
12-
* <p>Expected structure under the root section you pass:
12+
* Expected structure under the root section you pass:
1313
* <pre>
1414
* Enabled: true
1515
* Definitions:
@@ -33,7 +33,7 @@
3333
* Header: "X-Signature"
3434
* Secret: "secret"
3535
* </pre>
36-
* </p>
36+
*
3737
*/
3838
public final class WebhookConfigLoader {
3939

VotingPlugin/src/main/java/com/bencodez/votingplugin/webhook/WebhookRewardEntry.java

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
/**
44
* Represents one webhook entry under a reward's "Webhooks:" list.
55
*
6-
* <p>Two payload styles:
6+
* Two payload styles:
77
* <ul>
8-
* <li>Raw JSON: {@link #getJson()}</li>
9-
* <li>Discord convenience payload: content + optional embed fields</li>
8+
* <li>Raw JSON: {@link #getJson()}</li>
9+
* <li>Discord convenience payload: content + optional embed fields</li>
1010
* </ul>
11-
* </p>
11+
*
1212
*
13-
* <p>All fields may contain placeholders and are expanded at execution time.</p>
13+
* All fields may contain placeholders and are expanded at execution time.
1414
*/
1515
public final class WebhookRewardEntry {
1616

@@ -34,19 +34,20 @@ public final class WebhookRewardEntry {
3434
/**
3535
* Creates a reward entry.
3636
*
37-
* @param webhookId webhook definition id
38-
* @param json raw json payload (nullable)
39-
* @param content discord content (nullable)
40-
* @param embedEnabled embed enabled
41-
* @param embedTitle embed title
42-
* @param embedDescription embed description
43-
* @param embedColorHex hex color #RRGGBB (nullable)
37+
* @param webhookId webhook definition id
38+
* @param json raw json payload (nullable)
39+
* @param content discord content (nullable)
40+
* @param embedEnabled embed enabled
41+
* @param embedTitle embed title
42+
* @param embedDescription embed description
43+
* @param embedColorHex hex color #RRGGBB (nullable)
4444
* @param embedThumbnailUrl thumbnail url (nullable)
45-
* @param footerEnabled footer enabled
46-
* @param footerText footer text (nullable)
45+
* @param footerEnabled footer enabled
46+
* @param footerText footer text (nullable)
4747
*/
4848
public WebhookRewardEntry(String webhookId, String json, String content, boolean embedEnabled, String embedTitle,
49-
String embedDescription, String embedColorHex, String embedThumbnailUrl, boolean footerEnabled, String footerText) {
49+
String embedDescription, String embedColorHex, String embedThumbnailUrl, boolean footerEnabled,
50+
String footerText) {
5051
this.webhookId = webhookId;
5152
this.json = json;
5253
this.content = content;

VotingPlugin/src/main/java/com/bencodez/votingplugin/webhook/WebhookRewardExecutor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
/**
1010
* Executes webhook rewards using configured definitions.
1111
*
12-
* <p>
12+
*
1313
* This class:
1414
* <ul>
1515
* <li>expands placeholders for payloads/headers/secrets</li>
1616
* <li>builds either raw JSON payloads or Discord-friendly payloads</li>
1717
* <li>queues requests on {@link WebhookService}</li>
1818
* </ul>
19-
* </p>
19+
*
2020
*/
2121
public final class WebhookRewardExecutor {
2222

VotingPlugin/src/main/java/com/bencodez/votingplugin/webhook/WebhookRewardParser.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
/**
1010
* Parses reward "Webhooks:" entries from a Bukkit {@link ConfigurationSection}.
1111
*
12-
* <p>
12+
*
1313
* This is intentionally tolerant of missing fields, so presets won't hard-crash
1414
* reward parsing.
15-
* </p>
15+
*
1616
*
17-
* <p>
17+
*
1818
* Supported YAML examples:
1919
*
2020
* <pre>
@@ -37,7 +37,7 @@
3737
* enabled: true
3838
* message: "{TIMESTAMP}"
3939
* </pre>
40-
* </p>
40+
*
4141
*/
4242
public final class WebhookRewardParser {
4343

VotingPlugin/src/main/java/com/bencodez/votingplugin/webhook/WebhookService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/**
1818
* Asynchronous webhook dispatcher.
1919
*
20-
* <p>
20+
*
2121
* This service queues webhook requests and sends them off the main thread to
2222
* avoid blocking server ticks. It supports:
2323
* <ul>
@@ -28,7 +28,7 @@
2828
* <li>Discord 429 retry_after handling</li>
2929
* <li>retry/backoff for transient failures</li>
3030
* </ul>
31-
* </p>
31+
*
3232
*/
3333
public final class WebhookService {
3434

0 commit comments

Comments
 (0)