mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-25 12:06:17 +01:00
Started the portal creation yml and updated some stuff
This commit is contained in:
parent
5219a54ea6
commit
74e1fcf484
21
Advanced Portals/src/Portals.yml
Normal file
21
Advanced Portals/src/Portals.yml
Normal 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:
|
@ -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")){
|
||||
|
Loading…
Reference in New Issue
Block a user