UltraTrader
Remember the donate button works, I could use some fresh Mt. Dew (I also except BitCoin (address below)
Information
Links | Description |
---|---|
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk. | |
Jenkins | Development Downloads on CI provided by CloudBees |
GitHub | Source Code is hosted by GitHub.com by DemgelOpenSource group |
Website | WebSite is hosted by Github using maven-site |
Donate BitCoin | 17U5koSrxqYphGTSN4nZsd1sDr7Ti96XW4 |
Donating FUN | Some fun options for donating if you don't have money but want to help |
Citizens Wiki | My Wiki entry on Citizens 2 website |
Most Documentation will be on the Website
at http://ultratrader.thedemgel.com
Installation |
Commands | Permissions | Create A Trader | Localization | Configuration | Setting Shop Limits
UltraTrader and Citizens
UltraTrader doesn't require Citizens to run. But it does come ready to integrate out of the box, and most extensions do currently require the use of citizens. UltraTrader will work with Citizens to create NPC traders, but if you don't want to use Citizens, you can easily make blocks/signs into shops.
Buying and Selling
Some notes on buying and selling:
- Owners will always receive items from their shop for free (FREE)
- Owners can never sell items to their own shop. Items placed into a Traders buy screen will just be returned.
External Plugins
As a way to extend Ultratraders without bloating the already sizable amount of code required any farther, I have started to create external plugins that extend UltraTrader. Some of these can be found on the Jenkins Site, but we aware that these are not bukkit tested yet, and may be full of bugs.
Working Extensions (not flawlessly yet)
- UltraRental - Create Rental NPCs
- UltraDenizen - Allows UltraTrader to work with Denizens
- UltraWorldGuard
- Adds some requirements that can be setup by:
- using required traits in limits.yml
- adding required trait permissions "trader.limit.required.default.worldguardowner"
- currently only adds "worldguardowner" (trader must be standing a region the player owns) and "worldguardmember" (trader must be standing in a region a player is a member of)
- Currently should still work, but updates are suspended till I the new repo.
- Adds some requirements that can be setup by:
- UltraFrames
- Currently will show randomly changing items that your shop sells
- add ultraframe trait to NPC
- right click with stick to select
- place item frames and watch the magic.
- Currently will show randomly changing items that your shop sells
Compatibility Extensions
These extensions are there to extend the compatibility of UltraTraders to more specific modes beyond the normal use of UltraTraders. Some planned extensions will likely be a bridge Extension for handling Bukkit->Forge communications, as well as NBT related code that I don't want to place directly into UltraTrader.
Metrics
This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
If you wish to disable this feature (/me cries), you can do so by opt-ing out, which you can do in the config file under /plugins/PluginMetrics/
Some Videos
If anyone wants to create a video demonstrating the use of UltraTrader, please PM me, thanks. I will be creating more as time goes on, but removed the out dated material for now
TODO
- command to allow Ops to not always get items for free from all stores
- Currently I have removed OPs completely from the free sell list (OPs no longer get free items, or shouldn't)
- Players can use the "/traderplayer toggleop" command to toggle paying at their own shop (for test purposes)
- Item to allow click to see shop information
- The command is there (/trader info) but it does nothing yet due to forced update
- adding aliases: "/trader" -> "/ut" - "/traderplayer" -> "/utp" - "/traderadmin" -> "/uta"
- removing logging from ultratrader and using a extension plugin, to hopefully invite some members to add pull requests to add logging features.
Thanks
- dayron1313 - Github issues
- Chriszh - for being persistant ;)
@ecilavip
I currently use Bukkits item saving methods, so to be honest I am not sure if that is considered on their end. It is the tags that are getting removed and i will have to look into it more when I get the time.
@tenowg
oops!sorry. I assume ItemMeta is data that each item has like attackdamage,Maxhealth...etc)
For Example. In default Minecraft,Diamond_axe has "+6 Attack Damage. This data is able to edit. I use EpicBossGoldEdition.(Plugin will also present in other)
But,Edited Item's Metadate(attackdamege...etc) is not saved.
example I edit Metadata to set Max health +20 of Diamond Chest. and,I set shop by this plugin. Then, when you restart the server, Metadeta is off. (Tag of Max health is off)
sorry,I can write English well... If I had wrong, please point out.
@tenowg
sorry..I can't understand well... Would you like to explain in more detail? (So if you can, please explain in the video)
@ecilavip
I have looked into this, and I must assume I am misunderstanding you, here is the item with Lore saved to the shop, and successfully persisted through several server re-starts...
if it is possible for you to explain in more detail (or even a video) of you problem I will be happy to solve it.
@ecilavip
I am going to have to assume you mean ItemMeta (the text under the item that another plugin can add). I will look into this and see what is the issue.
Hi,I always use this plugins.
It appears to be writing the information to the config.yml but,Item tags(meta-data? sorry,I don't know in detail) is not saved. (Example:Speed,Attack,Health,KnockbackRes. but,skull owner info is saved)
Could you fix it? I hope!
My English is poor. I'm sorry.
@xXxBob
admin shops already have unlimited inventory.
set wallet (bank) to admin, and inventory to admin, and you have an admin shop
for future reference: http://ultratrader.thedemgel.com/UltraTrader/createtrader.html#/Create_Admin_Shop
Can u make it if we have it as a admin shop it has unlimited inventory
I was hoping to push out the next update when 1.7.2 is ready, but it may be taking longer than I expected to get a 1.7.2 (no worries bukkit, not your fault), so Monday after cleaning up a few more things I will push another update, either way....
Things working now:
Thanks for the patience, and hope to see more feedback.
I have a few more things to check out, and I believe I am close to a release, I have moved all strings to the resourcebundle, added the player command to create a trader, added a required traits function to limits.
The required traits is designed to work with different groups, or based on permissions. If you use limits.yml you are limited to single groups, if you use permissions a player can have multiple groups and can call "/trader create" to get the default settings, or be more specific and use "/trader create groupname". Added mostly because some people to use worldguard and residence and towny together.
Next I will be working on any bugs you guys find, and custom item placement within shops.
There is a build on Jenkins that fixes a bug related to setting the bank to player/bank, causing a NPE that couldn't be fixed in game, if this happened to you, you need to open your shop files and change "bank" to "shop" and update to the latest build on Jenkins
I have added some Logging. It is on the Jenkins build, and a page on the website (look up) that gives details on how to enable and use it. right now you need a mysql client to view the logs, but I will be adding more commands to view the logs in-game when I have time.
The page name is Administration on the website :)
Please let me know if you find any bugs!!
@ursak
What parts did you like about CitiTrader? So I might be know what to be sure to include if not already... Ultratrader is so much more that Cititrader will ever be tho already. Unfortunatly some feature will be missing, such as chest inventories, and linked traders (the new method is so much better)
Ah, looking forward to this. Loved CitiTraders when it actually worked. :)
@mozartripper
it will be able to, I am currently working on the mysql saving, first will be transactions, then when I get the chance I will be working on loading/saving shops to mysql as well.
Looking great man. Will try it out when bukkit updates to 1.7 :P PS: Can it logs transactions ?
There is a new updating coming to fix some major issues with the buy screen and funcationality... I had forgotten to finish this area and was recently (about an hour ago) that it needed to be finished. Either test from Jenkins, or wait for Bukkit approval to download and use...
PLEASE UPDATE ASAP!!!
@DarkrRaider99
I need the full error, the one line doesnt tell me where it is, could you paste the full stracktrace please, thanks
Also please update your version of Ultratraders and test again before pasting, .3 Beta is the recent upload, not .11 Beta
I get this in the console constantly:
[SEVERE] Could not pass event PlayerInteractEvent to UltraTrader v.11 BETA
@InsomniaCraft
yea, just set the inventory type to admin, and wallet type to admin will create a unlimited item/money shop. All you need to do currently is place one of the type you want to sell or buy ( I am working on a way to add a way to add buy items by text)