Function Teleport - NyaaCat/NyaaUtils GitHub Wiki
Teleport
The original Essentials Home now with better pricing.
- You need Essentials or EssentialsX to enable this feature.
Command
Same commands usage with Essentials:
/home/back/sethome
Permission
- None
Config
teleport:
enable: true
sethome:
max: 100
min: 10
distance: 200
decrement: 10
world: 50
default_world: world
home:
base: 10
distance: 200
increment: 5
world: 20
max: 500
back:
base: 100
distance: 200
increment: 20
world: 20
max: 500
enable-trueto enable this feature.sethomemax- The highest possible price, higher price will be capped to this valuemin- The lowest possible price.distance- Unit integer distance to calculate price changes.decrement- The price decrement perdistance. Thus the further from spawn point, the lower price to/sethomeworld- Addon price if player set home in worlds other than 'main world'.default_world- Define the 'main world'.
home&backbase- Base price to execute this command.distance- Unit integer distance to calculate price changes.increment- The price increment perdistance.world- Addon price if player and target is in different world.max- Max possible price. Higher price will be capped to this value.
Usage
Setup
Remove:
- Any price defined in Essentials
- The following permission nodes:
essentials.homeessentials.backessentials.sethome
- Please keep permissions like
essentials.home.bed,essentials.home.multiple.vip... if you already have these.
Edit NyaaUtils/config.yml as need and reload the plugin.
Install Ourtown to calculate fees per player-selected spawn points.