Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Function Teleport

Phoenix Nemo edited this page Nov 16, 2017 · 2 revisions

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 - true to enable this feature.
  • sethome
    • max - The highest possible price, higher price will be capped to this value
    • min - The lowest possible price.
    • distance - Unit integer distance to calculate price changes.
    • decrement - The price decrement per distance. Thus the further from spawn point, the lower price to /sethome
    • world - Addon price if player set home in worlds other than 'main world'.
    • default_world - Define the 'main world'.
  • home & back
    • base - Base price to execute this command.
    • distance - Unit integer distance to calculate price changes.
    • increment - The price increment per distance.
    • 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.home
    • essentials.back
    • essentials.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.