Skip to content

Commit

Permalink
Merge pull request #100 from MultiChat/v19
Browse files Browse the repository at this point in the history
MultiChat 1.9.1
  • Loading branch information
OllieMartin authored May 4, 2020
2 parents 846c993 + 4d500b7 commit dc01e74
Show file tree
Hide file tree
Showing 16 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion multichat/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>xyz.olivermartin.multichat</groupId>
<artifactId>multichat</artifactId>
<version>1.9-snapshot.20.5.1</version>
<version>1.9.1</version>

<repositories>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@
*/
public class MultiChat extends Plugin implements Listener {

public static final String LATEST_VERSION = "1.9";
public static final String LATEST_VERSION = "1.9.1";

public static final String[] ALLOWED_VERSIONS = new String[] {

LATEST_VERSION,
"1.9",
"1.8.2",
"1.8.1",
"1.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public void onDisable() {
if (MultiChatLocal.getInstance().getNameManager().getMode() == LocalNameManagerMode.SQL) {

try {
DatabaseManager.getInstance().getDatabase("multichatspigot.db").get().disconnectFromDatabase();
DatabaseManager.getInstance().getDatabase("multichatlocal.db").get().disconnectFromDatabase();
} catch (SQLException e) {
MultiChatLocal.getInstance().getConsoleLogger().log("Error when disconnecting from database!");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
import xyz.olivermartin.multichat.local.sponge.listeners.communication.LocalSpongePlayerChannelListener;
import xyz.olivermartin.multichat.local.sponge.listeners.communication.LocalSpongePlayerMetaListener;

@Plugin(id = "multichat", name = "MultiChat", version = "1.9", dependencies = { @Dependency(id = "placeholderapi", optional = true) })
@Plugin(id = "multichat", name = "MultiChat", version = "1.9.1", dependencies = { @Dependency(id = "placeholderapi", optional = true) })
public class MultiChatLocalSpongePlugin {

@Inject
Expand Down Expand Up @@ -305,7 +305,7 @@ public void onServerStop(GameStoppingServerEvent event) {
if (MultiChatLocal.getInstance().getNameManager().getMode() == LocalNameManagerMode.SQL) {

try {
DatabaseManager.getInstance().getDatabase("multichatsponge.db").get().disconnectFromDatabase();
DatabaseManager.getInstance().getDatabase("multichatlocal.db").get().disconnectFromDatabase();
} catch (SQLException e) {
MultiChatLocal.getInstance().getConsoleLogger().log("Error when disconnecting from database!");
}
Expand Down
2 changes: 1 addition & 1 deletion multichat/src/main/resources/bungee.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: MultiChat
main: xyz.olivermartin.multichat.bungee.MultiChat
version: 1.9
version: 1.9.1
author: Revilo410
api-version: 1.15
2 changes: 1 addition & 1 deletion multichat/src/main/resources/chatcontrol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

##################
# DON'T EDIT #
version: "1.9" #
version: "1.9.1" #
##################

# 1. Chat Control Rules
Expand Down
2 changes: 1 addition & 1 deletion multichat/src/main/resources/chatcontrol_fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

##################
# NE PAS EDITER #
version: "1.9" #
version: "1.9.1" #
##################

# French Translation by Nogapra - Thank you !
Expand Down
2 changes: 1 addition & 1 deletion multichat/src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

##################
# DON'T EDIT #
version: "1.9" #
version: "1.9.1" #
##################

# 1. General
Expand Down
2 changes: 1 addition & 1 deletion multichat/src/main/resources/config_fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

##################
# NE PAS EDITER #
version: "1.9" #
version: "1.9.1" #
##################

# French Translation by Nogapra - Thank you !
Expand Down
2 changes: 1 addition & 1 deletion multichat/src/main/resources/joinmessages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

##################
# DON'T EDIT #
version: "1.9" #
version: "1.9.1" #
##################

############################################################
Expand Down
2 changes: 1 addition & 1 deletion multichat/src/main/resources/joinmessages_fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

##################
# Ne pas éditer #
version: "1.9" #
version: "1.9.1" #
##################

# French Translation by Nogapra - Thank you!
Expand Down
2 changes: 1 addition & 1 deletion multichat/src/main/resources/localconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

##################
# DON'T EDIT #
version: "1.9" #
version: "1.9.1" #
##################

# 1. Global Chat Settings
Expand Down
2 changes: 1 addition & 1 deletion multichat/src/main/resources/localconfig_fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

##################
# NE PAS EDITER #
version: "1.9" #
version: "1.9.1" #
##################

# French Translation by Nogapra - Thank you !
Expand Down
2 changes: 1 addition & 1 deletion multichat/src/main/resources/messages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

##################
# DON'T EDIT #
version: "1.9" #
version: "1.9.1" #
##################

############################################################
Expand Down
2 changes: 1 addition & 1 deletion multichat/src/main/resources/messages_fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

##################
# DON'T EDIT #
version: "1.9" #
version: "1.9.1" #
##################

# French Translation by Nogapra - Thank you!
Expand Down
2 changes: 1 addition & 1 deletion multichat/src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: MultiChat
version: 1.9
version: 1.9.1
author: Revilo410
main: xyz.olivermartin.multichat.local.spigot.MultiChatLocalSpigotPlugin
softdepend: [Vault,PlaceholderAPI]
Expand Down

0 comments on commit dc01e74

Please sign in to comment.