mirror of
				https://github.com/Aust1n46/VentureChat.git
				synced 2025-10-30 21:52:23 +00:00 
			
		
		
		
	Rename "defaultconfig" to something more... verbose.
This commit is contained in:
		
							parent
							
								
									44c2363db3
								
							
						
					
					
						commit
						32e4420712
					
				| @ -55,14 +55,17 @@ commandspy: | |||||||
| antispam: | antispam: | ||||||
|   enabled: true |   enabled: true | ||||||
|    |    | ||||||
|   # number of messages to be spam |   # Number of messages to be spam | ||||||
|   spamnumber: 5 |   spamnumber: 5 | ||||||
|    |    | ||||||
|   # amount of time in seconds for it to be spam |   # Amount of time in seconds for it to be spam | ||||||
|   spamtime: 10 |   spamtime: 10 | ||||||
|    |    | ||||||
|   # amount of time in minutes for the mute to last, use 0 for untimed mute |   # Amount of time for the mute to last | ||||||
|   mutetime: 10 |   # Acceptable units are: d,h,m,s | ||||||
|  |   # Units can be combined, for example: 1d8h30m15s | ||||||
|  |   # Use 0 for untimed mute | ||||||
|  |   mutetime: 10m | ||||||
|   |   | ||||||
| # Logging chat and commands to a mysql database  | # Logging chat and commands to a mysql database  | ||||||
| mysql: | mysql: | ||||||
| @ -179,16 +182,16 @@ venturegui: | |||||||
|   mute: |   mute: | ||||||
|     icon: 'REDSTONE_BLOCK' |     icon: 'REDSTONE_BLOCK' | ||||||
|     durability: 0 |     durability: 0 | ||||||
|     text: '&cMute {player_name}' |     text: '&cMute {player_name} &410m' | ||||||
|     permission: 'mute' |     permission: 'mute' | ||||||
|     command: '/mute {player_name} {channel} 10' |     command: '/mute {channel} {player_name} 10m' | ||||||
|     slot: 1 |     slot: 1 | ||||||
|   unmute: |   unmute: | ||||||
|     icon: 'DIAMOND_BLOCK' |     icon: 'DIAMOND_BLOCK' | ||||||
|     durability: 0 |     durability: 0 | ||||||
|     text: '&bUnmute {player_name}' |     text: '&bUnmute {player_name}' | ||||||
|     permission: 'mute' |     permission: 'mute' | ||||||
|     command: '/unmute {player_name} {channel}' |     command: '/unmute {channel} {player_name} ' | ||||||
|     slot: 2 |     slot: 2 | ||||||
|   removemessage: |   removemessage: | ||||||
|     icon: 'DIAMOND_AXE' |     icon: 'DIAMOND_AXE' | ||||||
| @ -196,7 +196,7 @@ public class MineverseChat extends JavaPlugin implements PluginMessageListener { | |||||||
| 				Bukkit.getConsoleSender().sendMessage(Format.FormatStringAll("&8[&eVentureChat&8]&e - Config found! Loading file.")); | 				Bukkit.getConsoleSender().sendMessage(Format.FormatStringAll("&8[&eVentureChat&8]&e - Config found! Loading file.")); | ||||||
| 			} | 			} | ||||||
| 
 | 
 | ||||||
| 			saveResource("defaultconfig.yml", true); | 			saveResource("example_config_always_up_to_date!.yml", true); | ||||||
| 		} | 		} | ||||||
| 		catch(Exception ex) { | 		catch(Exception ex) { | ||||||
| 			log.severe(String.format("[" + String.format("VentureChat") + "]" + " - Could not load configuration!\n " + ex, getDescription().getName())); | 			log.severe(String.format("[" + String.format("VentureChat") + "]" + " - Could not load configuration!\n " + ex, getDescription().getName())); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Aust1n46
						Aust1n46