mirror of
https://github.com/Aust1n46/VentureChat.git
synced 2025-05-22 18:09:06 +00:00
Rename MineverseChatBungee.
This commit is contained in:
parent
828058d611
commit
43f8f4f490
@ -31,9 +31,9 @@ import net.md_5.bungee.event.EventHandler;
|
||||
*
|
||||
* @author Aust1n46
|
||||
*/
|
||||
public class MineverseChatBungee extends Plugin implements Listener, VentureChatProxySource {
|
||||
public class VentureChatBungee extends Plugin implements Listener, VentureChatProxySource {
|
||||
private static Configuration bungeeConfig;
|
||||
private File BUNGEE_PLAYER_DATA_DIRECTORY_PATH;
|
||||
private File bungeePlayerDataDirectory;
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
@ -51,9 +51,9 @@ public class MineverseChatBungee extends Plugin implements Listener, VentureChat
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
BUNGEE_PLAYER_DATA_DIRECTORY_PATH = new File(getDataFolder().getAbsolutePath() + "/PlayerData");
|
||||
ProxyPlayerData.loadLegacyBungeePlayerData(BUNGEE_PLAYER_DATA_DIRECTORY_PATH, this);
|
||||
ProxyPlayerData.loadProxyPlayerData(BUNGEE_PLAYER_DATA_DIRECTORY_PATH, this);
|
||||
bungeePlayerDataDirectory = new File(getDataFolder().getAbsolutePath() + "/PlayerData");
|
||||
ProxyPlayerData.loadLegacyBungeePlayerData(bungeePlayerDataDirectory, this);
|
||||
ProxyPlayerData.loadProxyPlayerData(bungeePlayerDataDirectory, this);
|
||||
|
||||
this.getProxy().registerChannel(VentureChatProxy.PLUGIN_MESSAGING_CHANNEL_STRING);
|
||||
this.getProxy().getPluginManager().registerListener(this, this);
|
||||
@ -61,7 +61,7 @@ public class MineverseChatBungee extends Plugin implements Listener, VentureChat
|
||||
|
||||
@Override
|
||||
public void onDisable() {
|
||||
ProxyPlayerData.saveProxyPlayerData(BUNGEE_PLAYER_DATA_DIRECTORY_PATH, this);
|
||||
ProxyPlayerData.saveProxyPlayerData(bungeePlayerDataDirectory, this);
|
||||
}
|
||||
|
||||
@EventHandler
|
@ -35,6 +35,11 @@ import net.md_5.bungee.config.Configuration;
|
||||
import net.md_5.bungee.config.ConfigurationProvider;
|
||||
import net.md_5.bungee.config.YamlConfiguration;
|
||||
|
||||
/**
|
||||
* VentureChat Minecraft plugin for Velocity.
|
||||
*
|
||||
* @author Aust1n46
|
||||
*/
|
||||
@Plugin(id = "venturechat", name = "VentureChat", version = "3.1.0",
|
||||
description = "#1 Channels Chat plugin! Spigot + Bungee. Supports PlaceholderAPI + JSON formatting. Moderation GUI!", authors = {"Aust1n46"})
|
||||
public class VentureChatVelocity implements VentureChatProxySource {
|
||||
|
Loading…
x
Reference in New Issue
Block a user