added min/max y support + locations revamp

This commit is contained in:
RonanCraft
2022-03-15 17:48:20 -04:00
parent b56696cb1b
commit a218104e56
18 changed files with 286 additions and 134 deletions

View File

@@ -60,6 +60,8 @@ Default:
CenterX: 0
CenterZ: 0
Shape: 'square'
MaxY: 320
MinY: 0
## Blocks BetterRTP will NOT teleport onto. More Blocks at: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html #
BlacklistedBlocks:
@@ -95,6 +97,8 @@ CustomWorlds:
CenterZ: 0
Price: 50
Shape: 'square'
MaxY: 320
MinY: 0
- other_custom_world:
MaxRadius: 10000
MinRadius: 150
@@ -133,6 +137,8 @@ PermissionGroup: #Player requires "betterrtp.group.<world_name>" to trigger thes
CenterX: 10
CenterZ: 10
Price: 10
MaxY: 320
MinY: 0
- vip2: # permission: betterrtp.group.vip2
- Build_World:
MaxRadius: 25000

View File

@@ -6,10 +6,13 @@
# CenterY: 150
# MaxRadius: 100
# MinRadius: 5
# MinY: 0
# MaxY: 320
Enabled: false #enable the locations feature
RequirePermission: false #Require players to have `betterrtp.location.<world_name>`
UseLocationIfAvailable: false #Will choose a location upon `/rtp` if location(s) is available in the world
#OnlyAllowInWorld: true #Only allow players to use locations that correspond to the world they are standing in
Locations:
- main_loc:
@@ -18,4 +21,6 @@ Locations:
CenterZ: 150
MaxRadius: 100 #optional
MinRadius: 5 #optional
Shape: square #optional
Shape: square #optional
MinY: 0 #optional
MaxY: 320 #optional