Config.yml

Introduction

To get the most out of WorldPos, learning how to use the config.yml is essential. Most admins will never need to edit the config.yml, however, as only the extra features like portals support and hostname/domain teleport are enabled here.

The config.yml

roundPosition: false
portalSupport: false
hostnameSupport: false
messageOnHostnameTeleportToWorld: true
hostnames:
 creative:
  hostname: "creative.mike724.com"
  world: "creative"
 survival:
  hostname: "survival.mike724.com"
  world: "pvp"

Let's start from the top down.

roundPosition if set to true, WorldPos will save a rounded version of the player's location (rounded to nearest integer - no decimal point). This is generally not recommended.

portalSupport if set to true, will enable the portals feature of WorldPos, learn more here

hostnameSupport if set to true, will enable the hostname teleportation feature of WorldPos, page on this coming soon

messageOnHostnameTeleportToWorld if set to true, WorldPos will welcome the player to the world they were teleported to by the hostname/domain teleport feature.

hostnames list of hostname/world pairs that WorldPos will use

survival:   <--- Name of this hostname/world pair, used for permissions (WorldPos.hostname.survival)
 hostname: "survival.mike724.com"    <--- Hostname/domain the player must connect to, to be automatically teleported to the world defined (pvp)
 world: "pvp"   <--- World the player will be teleported to

Comments

Posts Quoted:
Reply
Clear All Quotes