mirror of
				https://e.coding.net/circlecloud/QuickShop.git
				synced 2025-11-03 17:56:41 +00:00 
			
		
		
		
	#10 Force bukkit chat handler option
Added 'force-bukkit-chat-handler' to the config.yml
This commit is contained in:
		@@ -266,7 +266,7 @@ public class QuickShop extends JavaPlugin {
 | 
			
		||||
			Bukkit.getServer().getPluginManager().registerEvents(chunkListener, this);
 | 
			
		||||
		}
 | 
			
		||||
		Bukkit.getServer().getPluginManager().registerEvents(worldListener, this);
 | 
			
		||||
		if (Bukkit.getPluginManager().getPlugin("Herochat") != null) {
 | 
			
		||||
		if (this.getConfig().getBoolean("force-bukkit-chat-handler", false) && Bukkit.getPluginManager().getPlugin("Herochat") != null) {
 | 
			
		||||
			this.getLogger().info("Found Herochat... Hooking!");
 | 
			
		||||
			this.heroChatListener = new HeroChatListener(this);
 | 
			
		||||
			Bukkit.getServer().getPluginManager().registerEvents(heroChatListener, this);
 | 
			
		||||
 
 | 
			
		||||
@@ -11,6 +11,9 @@ log-actions: true
 | 
			
		||||
#For item-item based economies that don't use virtual coins.
 | 
			
		||||
whole-number-prices-only: false
 | 
			
		||||
 | 
			
		||||
#Force bukkit chat handler (https://github.com/KaiKikuchi/QuickShop/issues/10)
 | 
			
		||||
force-bukkit-chat-handler: false
 | 
			
		||||
 | 
			
		||||
database:
 | 
			
		||||
    mysql: false
 | 
			
		||||
    host: localhost
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user