diff --git a/Advanced Portals/src/Portals.yml b/Advanced Portals/src/Portals.yml new file mode 100644 index 0000000..a776ef4 --- /dev/null +++ b/Advanced Portals/src/Portals.yml @@ -0,0 +1,21 @@ +portals: + + +# ExamplePortal: +# hastriggerblock: false # if false it will teleport a player when they enter the region, usefull if u want air or just you enter an area. +# triggerblock: LAVA # will only be used if the hastriggerblock is true +# pos1: +# X: +# Y: +# Z: +# pos2: +# X: +# Y: +# Z: +# destination: +# issetpoint: true # if this was false point name would not be used and the coordinates would be saved here, it just adds more customisation. +# pointname: examplepoint # if issetpoint is false this wont be here and tppos will be. +# tppos: +# X: +# Y: +# Z: diff --git a/Advanced Portals/src/com/sekwah/advancedportals/AdvancedPortalsCommand.java b/Advanced Portals/src/com/sekwah/advancedportals/AdvancedPortalsCommand.java index 0aee431..65782f4 100644 --- a/Advanced Portals/src/com/sekwah/advancedportals/AdvancedPortalsCommand.java +++ b/Advanced Portals/src/com/sekwah/advancedportals/AdvancedPortalsCommand.java @@ -74,6 +74,9 @@ public class AdvancedPortalsCommand implements CommandExecutor { else{ player.sendMessage("§c[§7AdvancedPortals§c] You need to have two points selected to make a portal!"); } + } + else if(args[0].toLowerCase().equals("select")) { + } else if(args[0].toLowerCase().equals("show")){ if(player.hasMetadata("Pos1World") && player.hasMetadata("Pos2World")){