Buy-A-Wolf

This plugin allows players to purchase wolves through chat commands.

Update 1.3: Should be compatible with 1.2.5, although I haven't tested it. Also, Register now must be present in the plugins folder.

Commands

  • /buywolf - Lets you buy a wolf. Requires buywolf.buy.
  • /buywolf help - Displays some information and the cost of wolves.
  • /buywolf setcost <amount> - Sets the cost of wolves in-game. Requires buywolf.admin.
  • /buywolf reload - Reloads the config file from disk. Requires buywolf.admin.

Permissions

  • buywolf.buy - Default: true - Anyone with this perm can buy wolves.
  • buywolf.free - Default: op - With this perm you don't have to pay for wolves.
  • buywolf.admin - Default: op - Allows you to execute the setcost and reload commands.

Config File

  • cost - How much the player will have to pay for a wolf. Default is 10.0.
  • lang.boughtWolf - Shown when player buys a wolf. Plugin automatically pastes a space and cost. (ie. " 30 Coins!")
  • lang.boughtWolfFree - Shown when player buys a wolf without paying (buywolf.free permission)
  • lang.noMore - Shown when the tame event is cancelled.
  • lang.playersOnly - Shown when command is executed from console.
  • lang.notEnoughMoney - Shown when player doesn't have enough money.
  • lang.noPermBuy - Shown when player tries to buy a wolf, but doesn't have permission.
  • lang.noPerm - Shown when player tries to do something else they don't have permission for.

The used permissions system is Bukkit's default, so for example BukkitPermissions would work fine.

This is my first plug-in. It has been tested out, but if there's anything you want to tell me, please make a ticket :3


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    32405
  • Created
    Sep 24, 2011
  • Last Released File
    Never
  • Total Downloads
    5,917
  • License

Categories

Members

Recent Files