Started the portal creation yml and updated some stuff

This commit is contained in:
sekwah41 2013-10-28 19:34:47 +00:00
parent 5219a54ea6
commit 74e1fcf484
2 changed files with 24 additions and 0 deletions

View File

@ -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:

View File

@ -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")){