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: Support@4Creation.pro
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
-
View User Profile
-
Send Message
Posted Jul 23, 2013How exactly work patterns and how do I set them up? As far as I understood it, you create a pattern file wich stores all sell and buy prices of the items you want it to contain (in my case all items) Then you say a specific trader which items he can buy and sell and that all prices are saved within the pattern file. So the trader takes the prices from the patterns file und applys them to all items he has in his stock. Am I right or did I get it wrong. And how do I create the pattern.yml and all the items and how do I tell the trader, where to get his prices for the items, he already has in his stock from?
-
View User Profile
-
Send Message
Posted Jul 22, 2013For some reason my traders saves were wiped, I always have backups, but just letting you know. Also anyway we could get item trades? It would be nice to have some items that cost like 64 obsidian, instead of money.
-
View User Profile
-
Send Message
Posted Jul 21, 2013@Mre30
So still this bug is related with the plugin below?
@Mre30
Zephyrus Is this a plugin or mod?
@Mre30
Does this happen always or you saw this just once?
-
View User Profile
-
Send Message
Posted Jul 21, 20132013-07-20 23:30:27 [SEVERE] Could not pass event InventoryCloseEvent to dtlTraders v3.0.4 Beta org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463) at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.handleInventoryCloseEvent(CraftEventFactory.java:701) at net.minecraft.server.v1_6_R2.PlayerConnection.handleContainerClose(PlayerConnection.java:1187) at net.minecraft.server.v1_6_R2.Packet101CloseWindow.handle(SourceFile:17) at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:230) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:118) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:125) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:592) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:239) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.IllegalStateException: Timer already cancelled. at java.util.Timer.sched(Timer.java:397) at java.util.Timer.schedule(Timer.java:193) at net.dandielo.citizens.traders_v3.tNpcListener$InventoryCleaner.addPlayer(tNpcListener.java:437) at net.dandielo.citizens.traders_v3.tNpcListener.inventoryCloseEvent(tNpcListener.java:157) at sun.reflect.GeneratedMethodAccessor182.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 16 more
-
View User Profile
-
Send Message
Posted Jul 20, 2013Huge edit.
Seems that... when you remove the plugin Zephyrus... it goes fucking ROUGE on your server lol. Any item from it causes the WHOLE server to stop working right.
It was the cause of my problem below and many many others.... wow.... lol If you use a wand from that plugin or even press e with it in your inventory, it crashed your client xDDD
-
View User Profile
-
Send Message
Posted Jul 20, 2013Still having this with the last dev build 322
I can buy from the trader, but no one else can.
2013-07-20 16:17:15 [INFO] [dtlTraders][DEBUG][CRITICAL] While executing inventory click event 2013-07-20 16:17:15 [INFO] [dtlTraders][DEBUG][CRITICAL] Exception: InvocationTargetException 2013-07-20 16:17:15 [INFO] [dtlTraders][DEBUG][CRITICAL] Method: sellItems 2013-07-20 16:17:15 [INFO] [dtlTraders][DEBUG][CRITICAL] Trader: Oracle, player: AlanJoe 2013-07-20 16:17:15 [INFO] [dtlTraders][DEBUG][CRITICAL] 2013-07-20 16:17:15 [INFO] [dtlTraders][DEBUG][CRITICAL] Exception message: null
-
View User Profile
-
Send Message
Posted Jul 20, 2013@Mre30
Sry wasn't on IRC hardly working to get this fixed
EDIT:
I got it fixed build is incoming on Jenkins, sorry for that Oo wasn't aware that i could make such a mess :/
-
View User Profile
-
Send Message
Posted Jul 20, 2013Ok.
So this is crazy.
I had 11 traders, all with items like I stated before. After the dev build update, all the items cleared. Ok.. we got that so far. But now I noticed some new details.
All my npc's work like normal traders. I can add items and set the price. But when you buy from them, you get that error below. BUT! lol... if you create a new trader and put something for sale, you can buy it with no problems xD (edit* only I can buy. if a normal player buys, the error below happens.)
Don't you just love those kind of problems hahaha.
I'll wait to see if you can fix it before I redo all the shops.
-
View User Profile
-
Send Message
Posted Jul 20, 2013@dandielo
lol. I do the same allll the time.
I should have set a scheduler to back up the server lol. I changed hosts and forgot to do this.
Hard lesson learned huh.
-
View User Profile
-
Send Message
Posted Jul 20, 2013@Mre30
At least the debug works, thanks for this info, looks like i fucked thing up once again lol
-
View User Profile
-
Send Message
Posted Jul 20, 2013@dandielo
None that explain why all the items are gone, but I did add a few items to test it.
I get this error in console when normal player tries to buy anything that I just added.
[dtlTraders][DEBUG][CRITICAL] While executing inventory click event 2013-07-20 13:24:44 [INFO] [dtlTraders][DEBUG][CRITICAL] Exception: InvocationTargetException 2013-07-20 13:24:44 [INFO] [dtlTraders][DEBUG][CRITICAL] Method: sellItems 2013-07-20 13:24:44 [INFO] [dtlTraders][DEBUG][CRITICAL] Trader: Oracle, player: alan 2013-07-20 13:24:44 [INFO] [dtlTraders][DEBUG][CRITICAL] 2013-07-20 13:24:44 [INFO] [dtlTraders][DEBUG][CRITICAL] Exception message: null 2013-07-20 13:24:47 [INFO] [dtlTraders][DEBUG][CRITICAL] While executing inventory click event 2013-07-20 13:24:47 [INFO] [dtlTraders][DEBUG][CRITICAL] Exception: InvocationTargetException 2013-07-20 13:24:47 [INFO] [dtlTraders][DEBUG][CRITICAL] Method: sellItems 2013-07-20 13:24:47 [INFO] [dtlTraders][DEBUG][CRITICAL] Trader: Oracle, player: alan 2013-07-20 13:24:47 [INFO] [dtlTraders][DEBUG][CRITICAL] 2013-07-20 13:24:47 [INFO] [dtlTraders][DEBUG][CRITICAL] Exception message: null 2013-07-20 13:24:57 [INFO] [dtlTraders][DEBUG][CRITICAL] While executing inventory click event 2013-07-20 13:24:57 [INFO] [dtlTraders][DEBUG][CRITICAL] Exception: InvocationTargetException 2013-07-20 13:24:57 [INFO] [dtlTraders][DEBUG][CRITICAL] Method: sellItems 2013-07-20 13:24:57 [INFO] [dtlTraders][DEBUG][CRITICAL] Trader: Oracle, player: alan 2013-07-20 13:24:57 [INFO] [dtlTraders][DEBUG][CRITICAL] 2013-07-20 13:24:57 [INFO] [dtlTraders][DEBUG][CRITICAL] Exception message: null
-
View User Profile
-
Send Message
Posted Jul 20, 2013@Mre30
hmm Any bugs/logs/ etc?
P.S. if no backup was made then it's quite impossible? :/
-
View User Profile
-
Send Message
Posted Jul 20, 2013oh dear god.
All my shops cleared when adding the newest dev build lol. That's like.... at least 5 hours of work hahahaha.. some days I hate minecraft XD
Any idea who to get them back?
I am trying a few things out now. But, I stopped the server. Started it again and users were saying that non of them could click on the npcs anymore. Strange? So I stopped and started again and all the traders cleared the items lol..but at least they can click on them now right? lmao
-
View User Profile
-
Send Message
Posted Jul 20, 2013@Mre30
You could make a custom item attribute, like perm:your.permission.here make it show this permission in the traders stock.
Then catch a TraderTransactionEvent check if it succeed get the perm form the attribute and remove the item (it's provided by this event) from the players inventory ;) just adding this custom attrib would be done from saves.yml file :)
Also with this event you can check all attributes assigned to this item. and if your's is there then handle it like said before :)
EDIT: I will need to first add this Event forgot it to do xD
EDIT2: This event was added in the latest build :) If you need any help just call :)
I also added a special boolean var to set if you want the item added to the players inventory or not :)
-
View User Profile
-
Send Message
Posted Jul 20, 2013God I love this plugin lol.
My server so damn custom, it fits it so perfect.
I know this might seem like an really odd question but, What would be an way to sell perms from the shop?
I made a plugin that will bind my arrows to a bow. And if you have the correct arrow perms for the bow, you can left click and scroll through the arrows. How would I go about making a trader, or any npc, sell the perms?
I thought about making an external plugin that hooks into dtl. Making an bukkit runnable on left click of the item, sends a command to add the perm and then removes the perm item from their inventory. Or I guess I could do an onconsum event with a water bottle. Wont need a bukkit runnable then.. but man.. is their an more easy way? All my plugins are hard coded and making changes is something I do once or twice a month.
-
View User Profile
-
Send Message
Posted Jul 19, 2013@dandielo
/banker create (name) I dont get any unknown command error or something like that.
-
View User Profile
-
Send Message
Posted Jul 19, 2013@Tessai_san
All looks just fine Oo how are you tying to create them?
-
View User Profile
-
Send Message
Posted Jul 19, 2013Latest trader version(Dev). This is all in the consol:
18:37:58 [INFO] [dtlTraders][0;37;1m[INFO] Economy plugin: [0;33;1miConomy 7[m
18:37:58 [INFO] [dtlTraders][0;37;1m[INFO] Loading config files[m
18:37:58 [INFO] [dtlTraders][0;37;1m[INFO] Registered core attributes: [0;37;1m[[0;33;1mName[m ,[0;33;1mBook[m ,[0;33;1mSkull[m ,[0;33;1mSlot[m ,[0;33;1mPrice[m ,[0;33;1mStoredEnchants[m ,[0;33;1mPotion[m ,[0;33;1mMultiplier[m ,[0;33;1mEnchants[m ,[0;33;1mDurability[m ,[0;33;1mTier[m ,[0;33;1mLeather color[m ,[0;33;1mAmount[m ,[0;33;1mFirework[m[0;37;1m][m
18:37:58 [INFO] [dtlTraders][0;37;1m[INFO] Registered core flags: [0;37;1m[[0;33;1mLore[m ,[0;33;1mNoStack[m ,[0;33;1mDataCheck[m ,[0;33;1mSplashPotion[m ,[0;33;1mStackPrice[m[0;37;1m][m
18:37:58 [INFO] [dtlTraders][0;37;1m[INFO] Registered types: [0;37;1m[[0;33;1mprivate[m ,[0;33;1mserver[m[0;37;1m][m
18:37:58 [INFO] [dtlTraders][0;37;1m[INFO] Permission plugin: [0;33;1mGroupManager[m
18:37:58 [INFO] [dtlTraders][0;37;1m[INFO] Accounts loaded: [0;33;1m0[m
18:37:58 [INFO] [dtlTraders][0;37;1m[INFO] Statistic server enabled[m
18:37:58 [INFO] [dtlTraders][0;37;1m[INFO] Enabled[
-
View User Profile
-
Send Message
Posted Jul 19, 2013@Tessai_san
any errors or other issues? Btw what trader version are you using?
-
View User Profile
-
Send Message
Posted Jul 19, 2013I cant create bankers :/. (Im using bukkit dev 1.6.2 latest)