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 Feb 26, 2013@RifFox
in file you need to add the "patterns" node and then add pattern names with priority sth like that
About the multiplier problem, It wont be possible to set multipliers in a "item" pattern you might add a multiplier to each item, but this would be just more work to do, you could also create patterns with just multipliers and add them to the trader so 2 price patterns and 1 item pattern, and as because one price pattern is only for prices and the other one only for multipliers they won't override them selfs in any way. Or I might add sth like pn: keyword, so you could set multipliers just they will only affect items within a pattern like
@AlexSmith49
Only the ones they have "hired" because /trader create does not adds them as "trader owners" where "/trader hire" does it. So players with "trader.options.manage" can only manage traders they are owning
-
View User Profile
-
Send Message
Posted Feb 25, 2013@dandielo
Hello!
Its not exactly what i meant. It will affect all prices on every trader that use this price pattern. I was talking about something like that:
So I can have one section for prices and other sections for traders. This way I can change price for item one time, and it will change evrywhere. Also I can change trader multiplier affecting prices for this trader only.
Also - how do I add patterns to trader in file? because patterns are not saved to trader config.
And one more - cant get what is wrong with this part of prices pattern:
The actual problem is with item 157, so deleting this line will solve the problem.
-
View User Profile
-
Send Message
Posted Feb 25, 2013If a normal player has trader.options.manage, can they manage all NPC's, or only the ones they have created?
-
View User Profile
-
Send Message
Posted Feb 25, 2013@RifFox
About multipliers you just set the like prices, so you tell what items should match for that multiplier and set m:0.9
this will apply a multiplier = 2.0 to all items
EDIT: Check the next build it should have fixed that issue with prices.
-
View User Profile
-
Send Message
Posted Feb 25, 2013@dandielo
ouch... my fault, sorry. but added patterns are still not saved :)
also about stacks: like - 4 p:1 a:1,10 are selling both - 1 and 10 items for 1,00 :)
and without patterns: when adding lets say 64 stones and set price 0,18 - trader will sell 64 stones for 737,28 :) also when added 1 stone to socket 0 and 64 to socket 1 - only last will be visible and usable, but all will be saved :)
btw: about patterns - is there a possibility use multipliers for selling and buying?
-
View User Profile
-
Send Message
Posted Feb 25, 2013@RifFox
change into, because if you dotn set item data it should be without ":"
-
View User Profile
-
Send Message
Posted Feb 25, 2013@dandielo
no problem :)
will try in a moment...
meanwhile about the patterns - simple check :)
put this into patterns.yml
it is loaded without errors.
then added both to trader (selected npc):
/trader pattern add p1 1
/trader pattern add i1 2
items appeared on trader, but with price set to 0.
also added patterns are not saved to npc
-
View User Profile
-
Send Message
Posted Feb 25, 2013@RifFox
Sry my fault forgot to build last changes xD build #176 got the fix
-
View User Profile
-
Send Message
Posted Feb 25, 2013@dandielo
build #175 still breaks prices with commas when loading from saves.yml (actually it loads items until price with comma is found, then it skips all the rest)
will try to set it up via pattern :)
-
View User Profile
-
Send Message
Posted Feb 25, 2013@RifFox
prices should be fixed with last build
So from up now item and price patterns are separated, so no patterns with both prices or items
Sample here (should work):
after its loaded add both using /trader pattern add <name> <priority>
priority needs to be always != of any other priority in a trader, so if a trader got a pattern with priority == 1 adding a new pattern with this priority will (remove or change it, lol, forgot)
-
View User Profile
-
Send Message
Posted Feb 25, 2013@dandielo
Almost done! Thanks! wallet balance is saving and loading. item prices are there. im able to set prices for newly addded items too.
Just one more thing with new build - sell/buy resets on load. On first save it writes items to saves.yml -
- 4 p:0,18 s:0 d:0 a:1 !pat !pm
but after reload trader stands empty - without items, and it clears all items out of saves.yml on next save.
Also can You please drop short example of patterns.yml for testing?
EDIT: It has something to do with prices with commas again :) When I have prices as integers they loads just fine.
EDIT2: Prices with dots loads just fine but converts to commas on next save and fail to load on next load :)
-
View User Profile
-
Send Message
Posted Feb 25, 2013@RifFox
Thanks for the info, going to fix them as fast as I can.
EDIT: And things i got fixed:
@AlexSmith49
I think you are using citizens 1.2.3, but you should use 2.0.7 Alpha, or better said latest jenkins build
-
View User Profile
-
Send Message
Posted Feb 25, 2013Problem: When I do /trader it says that it was made by fullwall, and thus I think Citizens is conflicting. Help please?
-
View User Profile
-
Send Message
Posted Feb 25, 2013@RifFox
Thanks for the info, going to fix them as fast as I can.
-
View User Profile
-
Send Message
Posted Feb 24, 2013Hello!
first of all - pattern file doesn load, like promised :) waiting for docs to set it up.
when wallet type npc saves to file - it saves ok (money: '12.0' for example), but loads 0 everytime. So every time server is restarted every trader have 0 money.
one more - item prices are not saved. Every item i set up saves like that: - 4 s:0 d:0 a:4 !pat !pm - no price. Also when I add item to trader it shows up. But disappears when I click wool for setting price. So I should add all items first. Then disable manage mode, enable it again and set prices then. But they are not saved anyway :)
Hope this helps.
-
View User Profile
-
Send Message
Posted Feb 24, 2013@AlexSmith49
Dunno, I'm only using Citizens Api to create NPCs
-
View User Profile
-
Send Message
Posted Feb 24, 2013Cool. Sounds good. Looking forward to it thanks.
-
View User Profile
-
Send Message
Posted Feb 24, 2013Do color codes work with the NPC name?
-
View User Profile
-
Send Message
Posted Feb 24, 2013@Ryukarada
The Wiki is atm explaining patterns for 2.4 so if you are using 2.5 or any jenkins build it wont work right now, just finished today, so i might add tomorrow a Wiki description
-
View User Profile
-
Send Message
Posted Feb 24, 2013I was trying to mess with your patterns config file, but i can't seem to get it to work. Looked at the wiki and tried to see what I did wrong. My server log says there's an error loading it. Could you clarify how to set it up?