Horse Warp Configuration (warp.yml)

When you first run the plugin, a warp.yml file will be created in plugins/BetterHorsePlugin if one does not already exist.

This yml file is split up into two basic sections: validKeywords and invalidWarps.

validKeywords are player commands associated with warping in some manner, such as warp, spawn, and home. It does not matter where the word exists in the command. For example, /town spawn and /spawn will both work so long as "spawn" is a valid Keyword.

invalidWarps is a section that allows the server owner to decide which warps horses cannot be teleported to. The full command and warp name is needed in order for this to function properly, though it only currently accepts two arguments. For example, if you have a warp named parkour that you want to prevent players from entering with their houses, you put warp parkour (without the /) as an item under invalidWarps. By default, warp parkour and warp pvp are added in, as examples, but feel free to adjust to your needs.

Be sure to also adjust the horseWarpLag configuration so the teleportation works properly. By default, the configuration is at 1 for immediate warps. You'll need to add an extra 20 to the number for every second of delay on your warps. Eg. a 3 second delay is 3*20 + 1 = 61.


Comments

Posts Quoted:
Reply
Clear All Quotes