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 ;)
Please update to 1.7.10!
Its won't work for me... I use Spigot #1554 1.7.10
Can I run this with cb1.7.2-r0.3?
Can you make it so a npc can sell a infinite amount of items in stock?
@kill51122
isn't that just an admin shop? set shop type to admin...and it doesn't require a stock
How can you change MaxBuySell?
@kill51122
I have same problem.
Is there a way to make a shop have unlimited items? Like as if it was a hub shop? I want too make it sell unlimited items and buy unlimited items.
this dead now? I see the Jenkins site is hibernated...
I have this in currently, and was looking around to see if there was a way to allow players to see how many items there are in stock rather than just the owner of the shop. I have several items available to buy/sell, but since I have it set up so that there must be items in stock, they can only buy what has already been sold. problem is, they cant tell what is in stock and what isn't...so when they try to buy an item that has 0, they get no messages or anything, and just think the whole shop is broken...it would be awesome if the item doesn't show at all (to buy), or it shows a big 0 in stock like it does for the owner, so they know...
Will this be... updated? He has not been on for 3 months....
Hi there, is there a way to transfer a shop from one NPC to another. When I try it does not recognize them as an online player even if I have added that NPC to the player list. I also tried your Jenkins link and it took me to a page that said this account is hibernated and I can't find where the development builds are from there? I was wondering if you could please add a command to add the amount of a particular item into the shop instead of having to manually add one at time for things like chest plates? Since those can't be add as a set of 64, and perhaps adding an automatic restock when the shop is empty. Thank you :D
There is still a duplication were if a player is in the sell screen and has a item such as diamonds if the player left clicks on the sell diamond with a diamond it will give the player a diamond now the player has 2 diamonds
Please update the plugin to 1.7.9
@fuzzysgirl
Hi guys, more specifically you since you were asking for it (and I was looking for it) but check this out:
I modified his plugin a little bit in order to incorporate buying stacks of things for 1 or 2 emeralds. For my server, I have the currency set to 1 physical emerald, so I needed something like this.
What you have to do, is figure out how much an individual item costs if it's bought with a stack (like, I want to buy 32 oak planks for 1 emerald, that's 1/32 = .03125). SET THE PRICE OF THE OAK PLANKS TO .031.
What I did is I set the code so that it hides any stack that costs "0", (in this case, stacks 1, 2, 4, 8, and 16 are hidden with the oak planks) and it only gives them the option to buy 32 / 1 emerald, or 64 / 2 emeralds.
It gets tricky, but not by much, on higher-interval items. If you want to buy a stack of 2 for 1 emerald, the price would normally be 0.5. HOWEVER, due to the rounding structure of... computers in general, you have to set it to 0.495 instead. You'll get used to it.
Essentially, $1 / 2 items = 0.495. $1 / 4 items = 0.245. $1 / 8 items = 0.120. $1 / 16 items = 0.062. $1 / 32 items = 0.03. $1 / 64 items = 0.015
If you have any questions, feel free to PM me! It's a rough solution.. but a solution! And def backup your stuff before you try it, I don't wanna be liable (although works beautifully on my server). EDIT: CAVEATS: You cannot have anything with a price of 0 in the shop :(... I can *attempt* to do that for you, if anyone asks me, but also here's a nice picture of it working http://i.imgur.com/ehDe7hg.png
Thanks DannySan626! I appreciate the reply. :)
@fuzzysgirl
No this is not able to be done as far as I have experimented with this plugin. I believe I have also messaged tenowg himself and he said no. Maybe he is thinking of doing that in the future, BUT DO NOT QUOTE ME ON THAT.
@madtomic
Yes.
and on another note, Will we be able to modify the sell and buy tab items that appear for player to go to those other "pages"? Because I would like something else besides a slime ball and etc. for players to click on that make sense and would be more easy to understand for some new players to the NPC trading concept.
Can I use this with cb1.7.2-r0.3?
Hi guys! I was wondering if some could give me a clear answer on if with this plugin, I will be able to use gold nuggets as currency with the trader npc's? say they sell a stack of wheat for 2 gold nuggets, is that possible? Thanks!
~ fuzzy
Nevermind, I figured out how to get configuration to update.
Thanks.
Is is possible to configure shops using the config files? I changed the category type from APPLE to WOOD and reloaded my server but it reverted back to that. To me it would be far easier if I could edit the configuration then just reload the plug in to make changes once I've established a shop.
Thanks.