new locations permission blueprint

This commit is contained in:
RonanCraft
2022-03-14 17:47:57 -04:00
parent 934b246615
commit b56696cb1b
6 changed files with 46 additions and 13 deletions

View File

@@ -1,17 +1,19 @@
#Locations where rtp will center upon
#Format:
# LOCATION_NAME:
# World: world
# CenterX: 100
# CenterY: 150
# MaxRadius: 100
# MinRadius: 5
# - LOCATION_NAME:
# World: world
# CenterX: 100
# CenterY: 150
# MaxRadius: 100
# MinRadius: 5
Enabled: false
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
Locations:
- main_loc:
World: world
World: world_name
CenterX: 100
CenterZ: 150
MaxRadius: 100 #optional

View File

@@ -28,12 +28,20 @@ permissions:
description: RTP to specific biomes
betterrtp.sign:
description: Ability to create an RTP sign
#Locations
betterrtp.location:
description: Ability to use the location command
betterrtp.location.*:
description: Ability to use all locations if permissions are enabled in locations.yml
default: op
#Bypasses
betterrtp.bypass.cooldown:
description: Bypass cooldowns
betterrtp.bypass.delay:
description: Bypass delays
betterrtp.bypass.economy:
description: Bypass economy
#Reload
betterrtp.reload:
description: Reload the config
default: op