dtlTraders
dtlTraders was created to easily setup admin shops for your server.
Make and manage your shops with a GUI. Seriously, no hassle with configs and commands ;)
Do you like dtlTraders? Let other people know by a review!
⋆ Features:
- Easy way to setup and manage shops using a GUI
- Make/edit your shops just by drag and drop
- 3 types of shops: 'Sell', 'Buy' and 'Limit'
- 3 types of item content: 'static' and 'tradable' and 'trade'
- 1 powerful trader type: "trader" (/trait trader) bind the dtlTraders shops with citizens(2) NPC's
- Support of vanilla and custom NBT/DataTags
- NBT/DataTags makes custom item from 3rd party plugins possible
- Advanced users can customize there own items using the configs.
- Allows stack trades
- ANY economy plugin support
- Auto converts shops created with older versions of dtlTrader
- adding a description to items
- Compatible with spigot/bukkit 1.8 - 1.13.x
-
New features on Version 5.0.4:
- Set what you need to see first with "default shop"
- Get rid of the shops you don't want with "toggle shops"
- Make your rank based shops with custom "permissions"
- Adjust shop interaction with "custom input amount" and "stack shift"
Do the real trade with the "Trade Shop" !Delayed to next version- More navigation buttons and GUI modules with a aim to "One GUI"
For users that wants more features, we have a premium plugin named: dtlTradersPlus
Features of dtlTradersPlus:
- Make your shop bigger by adding more pages
- Set a command to open the shops without need to interact with a NPC
- Bring the shop function to a next level, set commands on items you sell
- 2 types of commands on items function: 'Buy and Run' and 'Buy and Keep (run it later)'
- And you can do all of it just using a GUI
- All the features of dtlTraders (non premium version)
-
New features on Version 5.0.4:
- New method for commands on items: "Run as OP"
- And it could not be easier with "mirror shop" just copy between shop types and other shops
- Get real shop experience with the "discount" function
Unlock premium features with dtlTradersPlus. Buy your copy at: www.4Creation.pro/dtltradersplus
Buying the premium version, helps US continue working on future updates for both versions dtlTraders and dtlTradersPlus. ☕
➲ Installation:
- Download dtlTraders(Plus).jar and place it into your plugins folder. Since the recreation version "5.0.0" you need to delete the dtltraders folder! (shops created with older versions are automatic converted!)
- Download Citizens (Citizens2) and place that into your plugins folder as well.
- You also need Vault and ANY economy plugin.
- Start your server.
- Installation is done.
Note: If you want to convert again , check the Documentation and go to the section converter for more.
↝ Simple guide:
- Create or add trait trader's to a npc with the GUI /dtltraders trait
- Make your shops using /dtltraders create "name"
- Add the items in your inventory that you want to sell in the shop
- Manage/edit shops content using /dtltraders edit or /dtltraders trait
- In the edit options you can drag/drop items, set prices, set limits, set names and much more .
- After finish, right click on the NPC and choose the shop you want to hook into.
- You are done :)
- Advanced guide: Dtltraders-5.0.0 and higher
/dtltraders shorter aliases: /dtl and /traders
- Documentation
- Old documentation
- Older versions
- Spigot page
- Old Sourcecode (Old version of dtlTraders (V3.4.2)) (Recreation version V5 hasn't been published)
▶ Video tutorial:
This is a tutorial we made for dtlTraders 'V5.0.0' and above, we guide you there for a fresh installation and you get answers by upgrading from the older versions:
Video tutorial is not ready yet!
We only give support for versions started with V5.0.0 !
✉ Contact or Issues:
For questions or suggestions:
- PM me
- Join Discord channel: https://discord.gg/fyabsMF
- Send a mail to: [email protected]
For issues:
- Use the issues tracker by clicking: here
- Join Discord channel: https://discord.gg/fyabsMF
Special thanks to TheWGBbroz for making the recreation possible
Created with our experience @4Creation
This mod is fantastic. The new save action for patterns to simply invaluable. Consider yourself donated to.
I will ask one more thing, and I feel its a bit bulky and may require hooking into another mod that does the same thing... but,
Is it possible to make an option in the config to set configurable fluctuations of prices over a period of time, similar to how stock market mods work for MC? i.e, every 24 hours passed on the server, the prices in a merchants inventory change via a configurable percentage, either going lower or higher.
For example, if someone wanted to type 75 in the config, the prices would fluctuate to a MAXIMUM of +75% and -75% each 24 hours that pass. Also, making it possible for traders with the same pattern to follow the same fluctuation.
I realize this is a bit much and its just an idea :) I think it would set this mod apart from others even more than it already has.
@KaleFaolan I think you're using another plug, as objects to interact more here. Try to update the plugin. By the way, I do not advise to use both DTLTrader SitiTrader and NPSTrader - will not work because they use shared variables.
@KaleFaolan
It happens only to one specific trader on that map? hmm... tbh I can't really figure out this issue sorry :< Might be a bug with NPC spawning/despawning, dunno it. You might try to set im up a second time.
I have an issue, maybe. I have an NPC Trader but when ever I leave the world he's in, he suddenly stops working as a trader. He's still got the "trader" trait, but he doesn't at like a trader any longer. BUT, there are other traders that don't go weird like that. Am I doing something wrong? Should I restart him from scratch? Can I just smack him around a bit with a fish?
Thanks in advance!
@MadeOke
may I get the save.yml?
our player can sell 351 item (like dye) but i only set the sell for lapis lazuli please fix :)
Keep getting this error when i try to open a trader as a potential customer.?
2013-01-05 18:38:50 [SEVERE] Could not pass event NPCRightClickEvent to DtlCitizensTrader v2.3.0 Beta org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.citizensnpcs.EventListen.onPlayerInteractEntity(EventListen.java:232) at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:1129) at net.minecraft.server.v1_4_6.Packet7UseEntity.handle(SourceFile:36) at net.minecraft.server.v1_4_6.Packet7UseEntity$$EnhancerByCGLIB$$9ca64717.CGLIB$handle$0(<generated>) at net.minecraft.server.v1_4_6.Packet7UseEntity$$EnhancerByCGLIB$$9ca64717$$FastClassByCGLIB$$1ef19d05.invoke(<generated>) at com.comphenix.net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at com.comphenix.protocol.injector.ReadPacketModifier.intercept(ReadPacketModifier.java:109) at net.minecraft.server.v1_4_6.Packet7UseEntity$$EnhancerByCGLIB$$9ca64717.handle(<generated>) at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:291) at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:122) at net.minecraft.server.v1_4_6.ServerConnection.b(ServerConnection.java:54) at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:629) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:228) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:517) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:447) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.ArrayIndexOutOfBoundsException: 550 at org.bukkit.craftbukkit.v1_4_6.inventory.CraftItemFactory.getItemMeta(CraftItemFactory.java:48) at org.bukkit.craftbukkit.v1_4_6.inventory.CraftItemFactory.getItemMeta(CraftItemFactory.java:44) at org.bukkit.craftbukkit.v1_4_6.inventory.CraftItemStack.getItemMeta(CraftItemStack.java:303) at org.bukkit.craftbukkit.v1_4_6.inventory.CraftItemStack.getItemMeta(CraftItemStack.java:298) at org.bukkit.inventory.ItemStack.serialize(ItemStack.java:481) at net.dtl.citizens.trader.objects.NBTTagEditor.removeDescriptions(NBTTagEditor.java:33) at net.dtl.citizens.trader.types.ServerTrader.onRightClick(ServerTrader.java:969) at net.dtl.citizens.trader.NpcEcoManager.onNPCRightCLick(NpcEcoManager.java:314) at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339) ... 27 more
sorry bout how long this is.
@dandielo Me again. Created merchant type "player" is set to buy blocks of land of 10 pieces. Checked - works, then you can fill more than the limit will buy it. Another question. I have 30 blocks of stone, I want to put these 30 units for sale.
Select the tab for sale, we click on Stuckey with the stone, one stone hits the sale and nothing more I can do. If you exit the settings tab in buying - 1 block of stone. I want to buy, says that there is no limit to it. What to do?
Just need to sell only the amount of stone, which is a player. Moreover, they could only manage this player - the owner. I need it to automate the process of issuing merchants VIP players. Thank you for your attention.
/trader create t:market Trader Name
Or you may use a server trader with limits,
and a market traders is only setup by a **market pattern** how does it looks? Here is a sample:
btw when setting an amount in the tabs sections it's like "the minimum required quantity i buy from players" so setting 2 for the amount would like multiple the price like always (untli stack price is enabled) but it requires a minimum of 2 items to sell them
main characteristics, a base market patterns is build up from the "buy" section within items, you set the items a player can sell to the trader, if he sells them the trader will start to sell them too, until he sells all. basically you might add also the same id's on the other side, to have some start items, should work but i'm not 100% sure, sorry. The prices section allows to inherit prices from a main "global prices" pattern, or set the prices within this pattern.
a list of keywords is in the "patterns" link on the page, going to add item patterns tomorrow, atm got 5am here and just fixed a dupe bug (jenkins build available).
P.S. wrote it realy fast and yawed like 20 times, going to finish pattern descriptions tomorrow, for now i'm just like a zombie sry, Good night
And had very good plugin is required to replace the already bored sunduchnyh stores. But, unfortunately, not everything is perfect. I gave permission to build merchant ordinary player.
After the creation and installation of items for sale find that shop is the type of server, that is the subject of endless. Command to change the type of trader is not found. I tried to change manually in sitizens2 avail.
Say, this feature does not work because not implemented yet and this is just basting, or error plugin and it should work? Just if you have not already, then quietly wait, and if does not work, then I will look for the cause.
@Blockia
Ok added the command
/trader pattern save [name] (prices/items/all) (clear/reset)
and added a new option to patterns. You might now set inheritance for pricing patterns, so you can set a single pattern for all prices, and set inheritance for each item pattern so you don't need to set up for each pattern prices :)
a description is going to be added soon :)
Build available on jenkins
@dandielo
Sounds perfect, thanks a lot, look forward to future updates too! =)
@Blockia
Might add such an option, you want to create a pattern based on the traders stock, right? It would take some time but i think i might be done till Saturday.
command will be
/trader pattern save [name] (prices/items/all) (clear/reset)
where clear clears additional the stock and reset resets all prices so patterns may affect them, and if any of those are used this pattern will be set to the trader in other cases just saved
and going to add with this a /trader reset command similar to /trader clear just it resets all prices
just a project atm is anythings will be changed going to add info about it.
Out of curiosity, is there any way to save a current Trader's pricing to a pattern? Basically, I have all my traders set up individually with no patterns, but I just saw the tier thing that can add a multiplier based on a permission node which could be really great so would it be possible to add something like:
/trader pattern save [name]
Which would import all of the prices and meta data, set all the blocks to pattern prices and then I could refine things in the config? Don't worry if not, wouldn't take too long to just type out all the prices etc. - mainly just wondering if it's already implemented?
Thanks again for such awesome support and quick updates!
@triarry
so all things are already added lol just in a different way and still i need to finish the documentation.
1. and 4. Setting prices are much more extended you just need to know 4 key blocks:
in ex. taking 10 cobblestone and clicking with it on your item will set the price 1000 and non-integers are supported already ;)
2. there is one command that allows to instantly set a trader with all prices and items you want ;)
/trader pattern set <name>
3. And finally cloning ;) Using a item pattern and setting it to each trader is not really cloning but it's setting a trader with one command you just need to set the pattern. Where item patterns are going to be described soon
Sorry for lack of documentation so far, but still got a lot of things to get done and it's not easy for me. I hope i could help you.
EDIT: pattern tiers are more or less described, there may be some changes in the future how they work
Hi there,
It's difficult for me to use this mod in its current state. I have a few items that I wish to cost over $1000, and I really don't think its necessary to click over 1000 times just to increase the price. Can you make this something to do with command? EDIT: I found that you can click with a full stack to increase by 64. This would still be tedious if I wanted to set the price of an item to 1,000,000.
Also, is possible to make it so you can edit the shop using commands as well? I would prefer to set the shop up without spawning things into my inventory and THEN placing them inside the store. It'd be simpler with one command.
Finally, is it possible to clone the traders? If not, can this be added? I have a system of traders amongst different towns that are supposed to sell the same items for the same price, and it'd be simpler just to set up a cloning facility somewhere on the server rather than remake the same trader 10+ times.
Thanks a lot!
EDIT: Is it possible to make the prices non-integers, as well?
How do I make the patterns work? Copied your sample but still the prices are 0 for buy & sell...
Fighting with Jenkins, I hope to get it work soon ;)
EDIT: Jenkins is working ;)
@dandielo
Ahhh I'm so sorry!
When I was looking at the commands wiki, it hadn't updated and I just checked now and it's updated which is so much clearer.
That perm was needed, but when I tried /trader owner nothing showed.
I thought this was just an error and the command had gone through, but you do need to be in manager mode to change the owner haha.
Sorry, it's all working like it should be - my mistake! Thanks for the help and thanks again for such an awesome plugin and support!!
@Blockia
Ok found it I've forgot to add 1 more very important permission - dtl.trader.options.manage
try to add this permission and see if it works, moreover /trader deposit isn't working with latest version so NPC wallets are atm broken, going to fix this with 2.3.0 Beta
Updated description with a new fixed permission paste