Skip to content

Commit

Permalink
Update version number to 6.18.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCodez committed Jan 26, 2025
1 parent 826fc95 commit a951aae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions VotingPlugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.bencodez</groupId>
<artifactId>votingplugin</artifactId>
<version>6.18.1-SNAPSHOT</version>
<version>6.18.1</version>
<packaging>jar</packaging>
<name>VotingPlugin</name>
<properties>
Expand Down Expand Up @@ -257,7 +257,7 @@
<dependency>
<groupId>com.bencodez</groupId>
<artifactId>advancedcore</artifactId>
<version>3.7.13-SNAPSHOT</version>
<version>3.7.13</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 0 additions & 2 deletions VotingPlugin/src/com/bencodez/votingplugin/BungeeHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,6 @@ public void run() {
if (plugin.getBungeeSettings().isPluginMessageEncryption()) {
encryptionHandler = new EncryptionHandler(new File(plugin.getDataFolder(), "secretkey.key"));
plugin.getPluginMessaging().setEncryptionHandler(encryptionHandler);
} else {
plugin.getLogger().warning("PluginMessageEncryption is disabled, this is not recommended, please enable to prevent possible exploits");
}

bungeeVotePartyCurrent = plugin.getServerData().getBungeeVotePartyCurrent();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -483,10 +483,7 @@ public void load() {
if (method.equals(BungeeMethod.PLUGINMESSAGING)) {
if (getConfig().getPluginMessageEncryption()) {
encryptionHandler = new EncryptionHandler(new File(getDataFolderPlugin(), "secretkey.key"));
} else {
logSevere(
"Plugin message encryption disabled, please enable to prevent exploits: https://github.com/BenCodez/VotingPlugin/wiki/Bungee-Setup-PLUGINMESSAGING#prevent-exploits-recommended-if-possible");
}
}
} else if (method.equals(BungeeMethod.SOCKETS)) {
encryptionHandler = new EncryptionHandler(new File(getDataFolderPlugin(), "secretkey.key"));

Expand Down

0 comments on commit a951aae

Please sign in to comment.