UltraTrader 0.92 BETA

Details

  • Filename
    UltraTrader-0.92-BETA.jar
  • Uploaded by
  • Uploaded
    Jan 13, 2014
  • Size
    436.63 KB
  • Downloads
    573
  • MD5
    38f546270b3e7090f1873b3718634c3f

Supported Bukkit Versions

  • 1.7.4

Changelog

I have pushed a version .92 BETA that contains the following:

  • Default categories. If there is only one category in the shop, then all players opening the shop will only see the Item list for that category (in essence creating a default category).
  • Every new shop created now comes with a default category (Material.APPLE) and should be removed if you plan on having more than one category.
  • If you right click your NPC with PAPER in your hand, you can reassign the shop to that NPC.

Limits now will check if a player with OP and will assume they can have infinite everything. Admins that are not ops will still need to have permissions set.

---

Due to these errors I am forced to release this before I was ready, this was planned for a few more days at least. In order to fix this error I am going to release this now. There is one major breaking change. Limits.yml is no more, replaced with defaults located in config.yml

# Set the default limits of the server
# The old limits.yml is being phased out
defaults:
  trader:
    limits:
      category: 3
      levelcost:
        '1': 1000
        '2': 10000
        '3': 15000
        '4': 30000
      createshop: 1000
      createlevel: 1
      enableremote: false
      remoteitemcost: 500
      itemactivatecost: 10000
      maxshops: 1
      maxlevel: 1

Other changes:

  • BOOK and QUILL removed from item view, it was rather useless anyways
  • fixed the set price in the add item conversation
  • changed some metrics settings (added hook so extensions can add graphs)
  • fixed add category bug with dropping/adding categories and returning items.

Again I am sorry for this release, it should have been a few more days, but i feel that these need to be pushed now.. I will update Bukkit as soon as I get a good Jenkins Build, so for now, use Jenkins builds till this new version is approved.

-----

The Ultratrader that broke the World!

62 changed files with 1,419 additions and 426 deletions.

doesn't seem like much, really, but it was fun :) I think most of the confusions should be fixed with this release... The major changes in this release are:

  • rewording of some texts to better explain what is happening
  • removal of main buy screen (purchase/sell or now integrated)
  • addition of buy item screen
    • will calculate how many items the player has to sell and offer a clickable list to sell items to the shop is a right click away from the item screen
  • addition of Categories
    • current lists should be converted automatically
    • 2 categories will be added based on if you had buy items and sell items
    • create new categories by dragging an item to the category screen
  • new permission "trader.category.create" (currently no limits, if they have permissions they can create as many as wanted)
  • New item options in conversation
    • transfer category
    • combined buy/sell price setting
  • added command /trader delete #
  • adds a fix to stocking issue

It shouldn't cause any issues with servers, but to be safe please use on test environment first (I am sure I have missed something)

Now excepting BitCoin donations: 1LZTWGYcb5go7yhoMhm8zB3nQouRLd5dZu

I will be posting a fun way to generate Bitcoin for yourself, as well as donating to me with no cost to yourself.

------

This should be an "almost" complete version... I am looking for tiny things I have missed, and don't want to just past a "release" tag on my project till I feel comfortable that it has been fully tested and reviewed by my end users... Please report any issues, request documentation (I suck at it sorry), or conflicts you find.

This version should complete the permissions limits, and I will be pushing an update to the website by monday explaining all the limit settings under permissions, 80% are already listed, so goto website and read.

Fixed a create store bug (several actually, I had change to a Boxed Integer and failed to re assign all uses as I should have, causing NPE)

Again, please do not be shy about posting issues, I look at all of them.

----

This is a major update, was hoping for 1.7, but as we know this hasn't happened yet (and as far as I am concerned... take your time guys) so I am releasing this still under beta, even tho I think it is almost worthy of release (almost) there are still a few very minor things that need to be added...

What I have added in this issue:

  • Conversation work properly if attempting to start more than one (it will deny and warn you, not just keep stacking)
  • a few more submodules are working correctly (Check out UltraFrame it is cool)
  • Requires traits is working - but I need more documentation on it
  • YOU CAN ARRANGE YOU INVENTORIES!!! yes, if you are the owner of the shop a bookshelf will now appear to give you the option to re-arrange your shops inventory.
  • Logging is more effient now... still need in-game commands
  • in-game command to turn NPCs into shops (select the npc, and use /trader create) there is more documentation on the website.

As usual, please report, not delete...

----

Yet another major issue has been found and removed, banks are now set and check for existing correctly before assigning and no long will create an NPE that crashes the client.

Implemented Extension plugins, started with UltraRental which replaces all hardcoded rental options out of UltraTraders and adds it to an external plugin. If you want to offer Rentals, add UltraRental plugin to your collection.

----

Thank god for beta status or I would feel really dumb...

Buy screen fixes in this build, I had forgotten all about it some how and thought it was done... by bad

Remove all inventory works now (in buy and sell screens now), removing on clicks works now.

Thanks goes to Kro55f1r3 from github for pointing this out to me... suprised it took so long.

-----

Yes, still in beta, but getting much closer to a TODO list that is small enough to goto release soon:

In this release:

  • Rental Traders
    • Documentation to come
    • add both ultratrader and rentalshop traits to the NPCs
      • /trait ultratrader
      • /trait rentalshop
    • then the owner of the npc needs to click on the NPC to set the term (how many units of time to pass) and termtype, the type of term unit (minutes, hours, days)
    • then also needs to set the cost
    • then enable
    • the next player to click (other than the owner or op) will be offered to rent the NPC if he has permission (trader.npc.rent)
      • on first click can create or assign shop (if they have limits and permissions)... don't let people that can;t create shops rent npcs
      • will get a new option in admin, "rental" to cancel the rental of the npc and open it up to other players again
  • put in 2 permission limits
    • these will override any settings in limits.yml

TODO: I need to update the default.yml language file to include alot of new entries, don't worry if you can't change them yet, I will be adding them.

---

Still in Beta, but please let me know if I missed something, have a bug, or just have a Feature Suggestion.

In this Release:

  • updated to use latest citizens(2.0.10)/bukkit(1.6.4 R1.0) releases
  • Levels work (increase, decrease) set is still not working as planned
  • added permissions "trader.level.increase"
  • added permissions "trader.level.decrease"
  • updated the website more
  • 1 more duplication bug found and erased (hopefully that is all of them)
  • item shops do work, but need to finish the code to make them available at shops
    • shops will have the option to activate shop items
    • if active a button will show in buy_screen and main sell screen that will allow a player to buy the item at a set price

----

This upload is to fix 3 duplication bugs that have been found and reported.

Much thanks for the reports. This Upload doesn't really add any new features, but I am working on rentalshops, item shops, and still streamlining the code, so please don't just delete, report!

Also updating this to .3 beta, as I was in the middle of other things when dups were reported.

----

Added in this upload:

  • Bank Transfers
  • Limits (how many shops a player can have)
  • setting Bank name and checking if it exists and player has access
  • some more messages on buy/sell

---

Shop transfer was added, you can now transfer shops to different players, shop limits should be taken into account, and if shop is doesn't meet the requirements (as in falls into limits) it will be denied.

Added shop limits (well this might be obvious from previous statement) and added a link in the main page to the documentation.

If you have any questions, or suggestions, please post in the forum, or even main page... PMs work too if you are shy.

----

Shop assignment now works, no longer is create the only option. Mirror your store around the lands. Also added metrics to see who is really using this plugin.

Next up:

  • Item generation by command (Item shops)
  • shop unassignment (really not sure how I am going to do this, this might have to be a command)
    • Mostly likely select with Citizens and use command such as "/trader unassign"
  • command to create a shop (mainly for admins)
  • command to admin any shop (mainly for admins)

--

What works now:

  • Fixed how inventory types were loading doesn't default to shop always now.

--

What works now:

  • Owner can "purchase" or remove items from inventory for free
  • more minor bugs fixed.

-

This has some fixes from last upload...

What Works:

  • NPC shops
  • Selling (from shop to player)
  • Buying (from player to shop)
  • creating shops (for NPCs)
  • updating and administrating shops
  • adding inventory
  • editing items
  • deleting items
  • wallet types (ADMIN, PLAYER, SHOP)
  • Inventory types (ADMIN, SHOP)

Added:

  • Inventory types
    • ADMIN doesn't check/add items to inventory
    • SHOP works as a shop should.

What doesn't work as expected yet:

  • Removing inventory by owner (will be free to remove if you are owner)
  • buy menu (99% ready)
  • removing shop, either from game or NPC
  • BANK wallet types not perfect yet

There is only one command I have created for all this:

  • /trader myshops (this will list all shops you have created)

Thats it, one command, everything else is done by answering questions as they are presented.

To Create A NPC shop is as easy as this:

  • for testing make yourself op, or you will not see anything till I can list all permissions on website.
  • /npc create somename
  • /trait ultratrader
  • click to open conversation to create a shop (select create, assign isn't ready yet)
  • remember that these are conversations, no need for / at all
  • after shop is created, click to open shop
  • click on book_and_quill
  • admin your shop
  • exit conversation
  • drag something from your inventory to trader inventory
  • answer questions

This is not ready for Production servers yet.

Please help find bugs and areas I haven't finished yet... bug me so I finish it!!!!