Refactoring
This commit is contained in:
		
							
								
								
									
										10
									
								
								TODO.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								TODO.md
									
									
									
									
									
								
							| @ -6,12 +6,14 @@ | ||||
| - [x] Make Discord Webhoook for item changes | ||||
| - [x] chest name | ||||
| - [x] Show next Item | ||||
| - [x] /void manage bring  | ||||
| - [+] /void give afficher title | ||||
|     - subtitle + chat | ||||
| - [+] Double Check Inventory reset on die | ||||
| - [ ] i18n | ||||
| - [ ] /void manage bring  | ||||
| - [ ] Dupe bug (respawn) -> Gamerule | ||||
| - [+] Annonce | ||||
| - [+] Find Map : 51 (250, 300) | ||||
| - [+] Dupe bug (respawn) | ||||
| - [-] i18n | ||||
| - [ ] Events | ||||
| - [ ] Command completions | ||||
| - [ ] Annonce | ||||
| - [ ] More descriptive /void commands | ||||
|  | ||||
| @ -11,7 +11,6 @@ import java.util.HashMap; | ||||
| import java.util.UUID; | ||||
|  | ||||
| import org.bukkit.Bukkit; | ||||
| import org.bukkit.entity.Player; | ||||
| import org.jetbrains.annotations.Nullable; | ||||
|  | ||||
| public class DatabaseManager { | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| package ovh.herisson.thevoidroad.Event; | ||||
| package ovh.herisson.thevoidroad; | ||||
| 
 | ||||
| import java.time.LocalTime; | ||||
| 
 | ||||
| @ -1,4 +1,4 @@ | ||||
| package ovh.herisson.thevoidroad.Entity; | ||||
| package ovh.herisson.thevoidroad; | ||||
| 
 | ||||
| import java.io.File; | ||||
| import java.nio.file.Files; | ||||
| @ -24,12 +24,6 @@ import org.bukkit.inventory.ItemStack; | ||||
| import org.bukkit.persistence.PersistentDataType; | ||||
| 
 | ||||
| import net.kyori.adventure.text.Component; | ||||
| import ovh.herisson.thevoidroad.DatabaseManager; | ||||
| import ovh.herisson.thevoidroad.DiscordWebhook; | ||||
| import ovh.herisson.thevoidroad.TheVoidRoad; | ||||
| import ovh.herisson.thevoidroad.Voids; | ||||
| import ovh.herisson.thevoidroad.Event.HourEvent; | ||||
| import ovh.herisson.thevoidroad.util.Tuple; | ||||
| 
 | ||||
| //Unique, so singleton patern | ||||
| public class Merchand implements Listener{ | ||||
| @ -2,9 +2,9 @@ package ovh.herisson.thevoidroad; | ||||
|  | ||||
| import org.bukkit.plugin.java.JavaPlugin; | ||||
|  | ||||
| import ovh.herisson.thevoidroad.Commands.VoidCommands; | ||||
| import ovh.herisson.thevoidroad.Entity.Merchand; | ||||
| import ovh.herisson.thevoidroad.Event.HourEvent; | ||||
| import ovh.herisson.thevoidroad.VoidCommands; | ||||
| import ovh.herisson.thevoidroad.Merchand; | ||||
| import ovh.herisson.thevoidroad.HourEvent; | ||||
|  | ||||
| public class TheVoidRoad extends JavaPlugin{ | ||||
|  | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| package ovh.herisson.thevoidroad.util; | ||||
| package ovh.herisson.thevoidroad; | ||||
| 
 | ||||
| public class Tuple<X, Y> {  | ||||
|   public final X x;  | ||||
| @ -1,4 +1,4 @@ | ||||
| package ovh.herisson.thevoidroad.Commands; | ||||
| package ovh.herisson.thevoidroad; | ||||
| 
 | ||||
| import java.util.ArrayList; | ||||
| import java.util.List; | ||||
| @ -17,7 +17,7 @@ import net.kyori.adventure.text.Component; | ||||
| import ovh.herisson.thevoidroad.DatabaseManager; | ||||
| import ovh.herisson.thevoidroad.TheVoidRoad; | ||||
| import ovh.herisson.thevoidroad.Voids; | ||||
| import ovh.herisson.thevoidroad.Entity.Merchand; | ||||
| import ovh.herisson.thevoidroad.Merchand; | ||||
| 
 | ||||
| public class VoidCommands implements CommandExecutor, TabCompleter{ | ||||
| 	private final Merchand m = Merchand.getInstance(); | ||||
		Reference in New Issue
	
	Block a user