XpShop

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

XpShop is a simple Bukkit shop plugin, using experience as currency.

In the config, you can add items to sell and their price. To buy an item, simply type "/buy" followed by an item/block material name into the chat.

Here is an example config file:

shop:
  items:
    STICK: 100
    EMERALD: 100
    DIAMOND: 50
    WOOD: 90
    DIRT: 1

The name in upper case, i.e. "STICK", refers to the item being sold. The number after the colon refers to the amount of experience that is the price. For example, if the player had 50 exp and diamonds were sold for 30 exp each, he/she could execute "/buy diamond" and they would receive a diamond and be left with 20 exp.

If you don't want to edit the config, you can simply execute "/add <item> <price>" where <item> is the material name of the item being sold, and <price> is the integer price of the item.

For a list of material names, refer to this: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html

To install, simply place the plugin into your server's plugins folder and reload the server.

Source code available here: https://github.com/DaveTheModder/XpShop


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

Bukkit