UltraDenizen

UltraDenizen

UltraDenizen is an extension of UltraTrader that introduces commands and tags for Denizen Plugin.

Main BukkitDev page for UltraTrader

Jenkins

Features

  • tags to display shop information
  • change prices from denizen
  • purchase items from shop without need of opening GUI, rpg quests etc.

Permissions

There are currently no permissions, permissions along with limits maybe added if demand calls for it.

Usage

Some additional Information can be found on the main webpage of UltraTrader (http://ultratrader.thedemgel.com)

Installation

First make sure you have working versions of UltraTrader and Denizens loaded, then place this plugin in the plugin directory just like any other plugin.

Create Denizen Script

You will need to learn how to write a denizen script (link to Denizen) to understand how to use UltraDenizen

Commands/Tags

shop@#

This will call the given shops ID into denizens script, example shop@3 woudl access shops 3 information.

shop@dNPC

Alternative to shop@# this will get the Shop ID from the NPC that is referenced by dNPC, example would be shop@n@npcid, this can be used anywhere shop@# would be used.

shop@#.name

This will be replaced with the name of the given shops ID

shop@#.item[id]

You will need to look either in the shop and read the ID from the bottom of the item, or open up a shops .yml file found in directory plugins/UltraTrader/stores and find the random ID tag of the item you want to find (could also use the alternative listed below for easier access)

example: [email protected][dS4k3m]

This will load the information for that item from shop 3

shop@#.item[dItem]

Easier but more resource intensive method of loading an item from a shop

example: [email protected][i@glass]

This would load the item GLASS from the shop if it has the item GLASS for sale, otherwise will return null.

shop@#.item[id].inventory

Returns the amount of inventory that shop has for selected item.

shop@#.item[id].setbuyprice/setsellprice

Sets the price from the perspective of the shop (the shop buy the item -setbuyprice- the shop sells the item -setsellprice-)

This is a double value (2.32)

shop@#.item[id].sellprice/buyprice

Current price of an Item in the shop. Examples [email protected][asD8dSs].price, shop@[email protected][i@glass].price

more commands to come

If you would like to see a command, please let me know which one you would like to see

Issues

I prefer to use Tickets as it will stay more organized, so please report issues in the Tickets area, and any comments or quick questions below in the comments section.


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    73116
  • Created
    Jan 23, 2014
  • Last Released File
    Never
  • Total Downloads
    599
  • License

Categories

Members

Recent Files