dandielo / dtltraders Goto Github PK
View Code? Open in Web Editor NEWCitizens2 trader and banker traits,
Citizens2 trader and banker traits,
I want all the money that any trader receives to go to %someone% money account.
Would you please add that?
Hellow @Dandielo the location of Splash Potion will change to vacant space if will arrange it after i stop and start my server it will change to vacant space 😢
Im trying to use your latest version. But whenever I have an item in my hand or inventory thats setup in the config to alter costs, it disappears. Also any item I put in buy stock, if i have on hand or inventory also disappears as soon as I click on the NPC
This console log.
[01:11:40] [Server thread/ERROR]: Error occurred while enabling dtlTraders v3.2.0-snapshot (Is it up to date?)
java.lang.ExceptionInInitializerError
at net.dandielo.citizens.traders_v3.core.PluginSettings.initPluginSettings(PluginSettings.java:34) ~[?:?]
at net.dandielo.citizens.traders_v3.bukkit.DtlTraders.onEnable(DtlTraders.java:60) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.java:455) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.java:389) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.MinecraftServer.n(MinecraftServer.java:352) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.MinecraftServer.g(MinecraftServer.java:326) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.MinecraftServer.a(MinecraftServer.java:282) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.java:189) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:436) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
Caused by: java.lang.IllegalArgumentException: No enum constant net.dandielo.citizens.traders_v3.core.dB.DebugLevel.CRİTİCAL
at java.lang.Enum.valueOf(Unknown Source) ~[?:1.7.0_55]
at net.dandielo.citizens.traders_v3.core.dB$DebugLevel.valueOf(dB.java:160) ~[?:?]
at net.dandielo.citizens.traders_v3.core.dB.(dB.java:27) ~[?:?]
... 13 more
[01:11:40] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[01:11:40] [Server thread/INFO]: Done (3,881s)! For help, type "help" or "?"
does'nt work !
I am running a cauldron server 1.7.10 and i have the right citizens plugin (the one meant for cauldron) and i added the dtlTraders plugin. When ever i try to put items in his inventory i press unlock stock and then i add the items. I click exit and save and it brings me back to the regular screen and the items are not there. If i click the square where i added the items into, it says buying . so it gives me the items but they are invisible in his inventory so i cant see what i am buying or selling. If you could help i would be very happy.
Thanks - BLAKOUT13
When I open shop, things work fine, but when others attempt to do this, the console is spammed with stuff like
14.05 21:45:49 [Server] INFO [21:45:49 INFO]: WOOD
14.05 21:45:49 [Server] INFO [21:45:49 INFO]: WOOD
14.05 21:45:49 [Server] INFO [21:45:49 INFO]: magic_wand
14.05 21:45:49 [Server] INFO [21:45:49 INFO]: WOOD
14.05 21:45:49 [Server] INFO [21:45:49 INFO]: d
14.05 21:45:49 [Server] INFO [21:45:49 INFO]: .hidef
Note that this is just a small portion of what is spammed. For the more part it spams WOOD, magic_wand (from the magic plugin I have, which strangely uses their own type of shop, not dtlTraders), d, and .hidef. What I find strange is that this only happens for users, and not any staff that I've given dtl.trader.* (or whatever the node is to give them permissions for the whole plugin) which makes me believe its something permissions based, but I've tried giving users a lot of different permissions and nothing seems to help.
I am running on version 3.4.3 of this plugin on the latest version of spigot.
Heres a screenshot of the console:
So, I'm taking coal from the creative inventory, putting it into the sell and buy stocks, all good, but when I try to buy it, it buys an iron ore instead of coal. I've been switching\retrying this several times but the result is always the same. I have even caught some error here, in console. http://pastebin.com/aExWCPpb
Using latest dtlTraders-3.3-SNAPSHOT.jar (Build 25) as well as spigot-1.8.3 and latest citizens-2.0.15 (Build 1219).
Hi, NPC that sell items work fine, but if they buy something, this exception occurs when right clicking the NPC. I hope the following helps you resolve the issue:
[18:27:21] [Server thread/ERROR]: Could not pass event NPCRightClickEvent to dtlTraders v3.2.0-snapshot
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) ~[spigot-1.8.3.jar:git-Spigot-26dfd01-5cb9b70]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.8.3.jar:git-Spigot-26dfd01-5cb9b70]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8.3.jar:git-Spigot-26dfd01-5cb9b70]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8.3.jar:git-Spigot-26dfd01-5cb9b70]
at net.citizensnpcs.EventListen.onPlayerInteractEntity(EventListen.java:278) [citizens-2.0.15-SNAPSHOT.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) [spigot-1.8.3.jar:git-Spigot-26dfd01-5cb9b70]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-1.8.3.jar:git-Spigot-26dfd01-5cb9b70]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8.3.jar:git-Spigot-26dfd01-5cb9b70]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8.3.jar:git-Spigot-26dfd01-5cb9b70]
at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java:1287) [spigot-1.8.3.jar:git-Spigot-26dfd01-5cb9b70]
at net.minecraft.server.v1_8_R2.PacketPlayInUseEntity.a(SourceFile:52) [spigot-1.8.3.jar:git-Spigot-26dfd01-5cb9b70]
at net.minecraft.server.v1_8_R2.PacketPlayInUseEntity.a(SourceFile:11) [spigot-1.8.3.jar:git-Spigot-26dfd01-5cb9b70]
at net.minecraft.server.v1_8_R2.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.8.3.jar:git-Spigot-26dfd01-5cb9b70]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_60]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_60]
at net.minecraft.server.v1_8_R2.SystemUtils.a(SourceFile:60) [spigot-1.8.3.jar:git-Spigot-26dfd01-5cb9b70]
at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:710) [spigot-1.8.3.jar:git-Spigot-26dfd01-5cb9b70]
at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:368) [spigot-1.8.3.jar:git-Spigot-26dfd01-5cb9b70]
at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:651) [spigot-1.8.3.jar:git-Spigot-26dfd01-5cb9b70]
at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:554) [spigot-1.8.3.jar:git-Spigot-26dfd01-5cb9b70]
at java.lang.Thread.run(Unknown Source) [?:1.7.0_60]
Caused by: java.lang.NullPointerException
at net.dandielo.citizens.traders_v3.traders.transaction.participants.TraderParticipant.check(TraderParticipant.java:31) ~[?:?]
at net.dandielo.citizens.traders_v3.utils.items.attributes.Price.allowTransaction(Price.java:108) ~[?:?]
at net.dandielo.citizens.traders_v3.utils.items.attributes.Price.getDescription(Price.java:113) ~[?:?]
at net.dandielo.citizens.traders_v3.traders.transaction.ShopSession.getDescription(ShopSession.java:87) ~[?:?]
at net.dandielo.citizens.traders_v3.traders.stock.StockPlayer.setInventory(StockPlayer.java:47) ~[?:?]
at net.dandielo.citizens.traders_v3.traders.stock.StockPlayer.getInventory(StockPlayer.java:28) ~[?:?]
at net.dandielo.citizens.traders_v3.traders.types.Server.onRightClick(Server.java:112) ~[?:?]
at net.dandielo.citizens.traders_v3.tNpcListener.npcRightClickEvent(tNpcListener.java:345) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ~[spigot-1.8.3.jar:git-Spigot-26dfd01-5cb9b70]
... 24 more
'31':
name: "\xa7cXephos"
uuid: 77b6ede4-0dc0-45e8-96b0-96c52138201e
traits:
wallet:
player-uuid: none
type: infinite
money: 0.0
inventory: {}
trader:
type: server
owner-uuid: none
patterns: []
sell: []
buy:
- diamond s:0 p:100.00 a:1
- gold_ingot s:2 p:50.00 a:1
- iron_ingot s:4 p:10.00 a:1
stock:
default: buy
location:
world: Kratanien
x: '5.423657067284029'
y: '80.0625'
z: '-8.42914375154863'
yaw: '-1.6860504150390625'
pitch: '2.069162607192993'
spawned: true
equipment:
helmet:
type: LEATHER_HELMET
amount: 1
durability: 0
mdata: 0
meta:
armor:
color: 10040115
leggings:
type: LEATHER_LEGGINGS
amount: 1
durability: 0
mdata: 0
meta:
armor:
color: 10040115
boots:
type: LEATHER_BOOTS
amount: 1
durability: 0
mdata: 0
meta:
armor:
color: 10040115
text:
talk-close: true
random-talker: true
realistic-looking: false
range: '5.0'
talkitem: default
text:
'0': I will give you money for your goods!
speech: chat
owner:
owner: server
uuid: ''
lookclose:
enabled: true
range: '5.0'
realisticlooking: false
traitnames: inventory,text,trader,spawned,speech,type,equipment,owner,wallet,location,lookclose
navigator:
pathfindingrange: '25.0'
stationaryticks: -1
speedmodifier: '1.0'
avoidwater: false
usedefaultstuckaction: true
metadata:
cached-skin-uuid: 2c6d7b3d-7674-4b18-8d86-bb6a707ea8e4
cached-skin-uuid-name: Xephos
[18:43:27] [Server thread/INFO]: [dtlTraders][DEBUG][CRITICAL] While executing inventory click event
[18:43:27] [Server thread/INFO]: [dtlTraders][DEBUG][CRITICAL] Exception: InvocationTargetException
[18:43:27] [Server thread/INFO]: [dtlTraders][DEBUG][CRITICAL] Method: generalUI
[18:43:27] [Server thread/INFO]: [dtlTraders][DEBUG][CRITICAL] Trader: Adf, player: Xericore
[18:43:27] [Server thread/INFO]: [dtlTraders][DEBUG][CRITICAL] Exception message: null
[18:43:27] [Server thread/INFO]: [dtlTraders][DEBUG][CRITICAL] While executing inventory click event
[18:43:27] [Server thread/INFO]: [dtlTraders][DEBUG][CRITICAL] Exception: InvocationTargetException
[18:43:27] [Server thread/INFO]: [dtlTraders][DEBUG][CRITICAL] Method: __topUpdate
[18:43:27] [Server thread/INFO]: [dtlTraders][DEBUG][CRITICAL] Trader: Adf, player: Xericore
[18:43:27] [Server thread/INFO]: [dtlTraders][DEBUG][CRITICAL] Exception message: null
What features you lack, what would you like to have added?
Features list:
After updating to the latest bukkit build 1.6.2 after saving inventory for sale on a trader it no longer allows you to right click him to add more
Guys here who actually have Citizens run dtlTrader(or any other traits plugin) with MCPC+? I only need the dtltrader but I've tried the other traits plugin to make sure, and they all have same issue.
I've tried looking at Citizens if its the problem, and if I have people with same problem as mine but they only have problem with compatibility. Mine actually works even the commands. Seems like when I add the dtltrader my exciting npc locations suddenly becomes
x: '0.0'
y: '0.0'
z: '0.0'
yaw: '0.0'
pitch: '0.0'
that's why I cant see them and when I try to make new one I get error. Also when I try to move the existing npc to my position same error. when I remove the dtltrader. I can move and create NPC's again.
I found logs very hard to use because of mainly two reasons:
What do you think? I know, it might be strange to complain about something so background as logs, but I use them a lot and I found them just impossible to use if you want to track someone's actions effectively. Mysql would have helped filtering all the logs by name\item, etc. Would be really useful. It would also create a door for some webui statistics in a future.
Thank you for answer, and have a nice day! :)
Im getting a error when im buying a item or selling it! What can i do to solve this?
I dont get money if im selling it, or buying it!
http://pastebin.com/dagt8ysW
[23:35:59] [Server thread/ERROR]: Could not pass event InventoryClickEvent to dtlTraders v4.0.5
org.bukkit.event.EventException: null
at com.massivecraft.massivelag.inject.MassiveLagEventExecutor.execute(MassiveLagEventExecutor.java:79) ~[?:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[jfr.jar:git-Paper-1475]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:527) ~[jfr.jar:git-Paper-1475]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:512) ~[jfr.jar:git-Paper-1475]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1981) ~[jfr.jar:git-Paper-1475]
at net.minecraft.server.v1_12_R1.PacketPlayInWindowClick.a(SourceFile:33) ~[jfr.jar:git-Paper-1475]
at net.minecraft.server.v1_12_R1.PacketPlayInWindowClick.a(SourceFile:10) ~[jfr.jar:git-Paper-1475]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[jfr.jar:git-Paper-1475]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_171]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_171]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [jfr.jar:git-Paper-1475]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:843) [jfr.jar:git-Paper-1475]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:427) [jfr.jar:git-Paper-1475]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:767) [jfr.jar:git-Paper-1475]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665) [jfr.jar:git-Paper-1475]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_171]
Caused by: java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.ensureOpen(Unknown Source) ~[?:1.8.0_171]
at java.util.zip.ZipFile.getEntry(Unknown Source) ~[?:1.8.0_171]
at java.util.jar.JarFile.getEntry(Unknown Source) ~[?:1.8.0_171]
at java.util.jar.JarFile.getJarEntry(Unknown Source) ~[?:1.8.0_171]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:120) ~[jfr.jar:git-Paper-1475]
at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:189) ~[jfr.jar:git-Paper-1475]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:115) ~[jfr.jar:git-Paper-1475]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:104) ~[jfr.jar:git-Paper-1475]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_171]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_171]
at com.drcnetwork.MineVid.main.traders.Trader.inventoryClickHandler(Trader.java:233) ~[?:?]
at com.drcnetwork.MineVid.main.traders.Trader.onInventoryClick(Trader.java:198) ~[?:?]
at com.drcnetwork.MineVid.main.traders.TEntityListener.inventoryClickEvent(TEntityListener.java:79) ~[?:?]
at sun.reflect.GeneratedMethodAccessor452.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171]
at com.massivecraft.massivelag.inject.MassiveLagEventExecutor.execute(MassiveLagEventExecutor.java:69) ~[?:?]
... 15 more
A player has found out how to take the "Buy Stock" block from the DtlTraders inventory for a trader. Latest CB, citizens, denizens and dtlTraders. After they take that block (they can take as many as they like) all of the items become free. You have to have an open hand to do it. There are no errors in the console.
Regards
Ares513
I will update this issue if I can get more information about how to do it. I can't figure out how to do it myself
We are having a problem on the server where a player would buy from a trader and the items would disappear from their inventory upon teleporting away or even just standing there for 30 seconds.
We are using bukkit 1.6.2
Dtltraders 3.0.6
It happens with all items but only with players buying items frm the trader.
I havent tried it with NPCs only selling.
"If you can coud you please send me on PM or make a issue on GIT with things you know about it? What bukkit, what dtrader versions, which items, the trader save, when buying, when selling, when a trader has only buy stock, or only sell stock or both stocks setup."
Hi not sure if this is a Spigot bug or a DtlTrader bug or even the CitizensCore bug.
When opening a shop, all the items do not display until you click anywhere in the shop inventory.
I don't think I have to get anymore descriptive but basically, player opens shop, it's empty until that player clicks once inside the shop and then all the items that are up for sale display.
You will also notice that there is 9 being spammed in my console, that happens when adding an item to the shop.
Thanks!
https://dl.dropboxusercontent.com/u/16126341/dtltrader_log_ref.log
What features you lack, what would you like to have added?
How should they work?
Idea:
Features list:
Hi, when someone click a item on a trader to open the Amounts choosing the item is bought and the Amounts choosing menu opens, they are buying items they doesn't need, it is like a double click!
Sorry my bad English.
[dtlTraders][DEBUG][CRITICAL] While executing inventory click event
[dtlTraders][DEBUG][CRITICAL] Exception: InvocationTargetException
[dtlTraders][DEBUG][CRITICAL] Method: sellAmountsItems
[dtlTraders][DEBUG][CRITICAL] Trader: adwad, player: Hpix
[dtlTraders][DEBUG][CRITICAL]
[dtlTraders][DEBUG][CRITICAL] Exception message: null
...for sponge https://github.com/SpongePowered
What features you lack, what would you like to have added?
Features list:
I'm having some issues with players getting free items, they bug the npc and receive the items with the price lore and they can use it!
I can't update te 1.6.2 so I'm using 3.0.1, is there any way to fix it?
I was using the plugin and put some items with display names containing special characters into the shop and on server restart the special characters were converted to question marks - which in turn rendered the items unusable to the plugin they were made for. Specific characters include the « and * characters.
I am using the latest version of Bukkit and Citizens. To manage permissions I use bPermissions. I am OP and I've given permission dtl.trader. *, But the other players can not trade with the trader if you do not give the same permission. I tried to give dtl.trader.options. * And dtl.trader.types. *, But not let them.
Is it a known bug?
Hello i have your version 3.2.3 book fix for bucket 1.7.9. When i make an npc trader and click on it it drains all rf from anything in inventory, especially draconic evolution. Is there a fix for this?
Hellow @Dandielo The price i set will gone after i change in to other location the item
I download the R: 3.4.2 (1.8/1.8.8) for 1.8.1 Mar 03, 2016 but i'm still in 3.4.0-beta help me 😞
When I updated to 3.0 and 3.0.1 I found a bug, players couldn't buy from NPCs, the message is not enought money but they have enought money!
Using Essentials Economy and Vault
Sorry my bad english.
Tryed yesterday to use banker.
Whenever I restart my server all lore gets changed to ?(NumberHere IE: &7 changes to ?7).
This glitch is only on visuals of the shop, if you purchase the item it has the correct lore. None the less it makes this plugin nearly inusuable. Please fix this glitch asap.
[06:15:36] [Server thread/WARN]: [dtlTraders] Task #2836956 for dtlTraders v4.0.6 generated an exception
java.lang.NullPointerException: null
at com.drcnetwork.MineVid.utilities.items.serialize.core.Shield.onRefactor(Shield.java:41) ~[?:?]
at com.drcnetwork.MineVid.utilities.items.dItem.refactor(dItem.java:236) ~[?:?]
at com.drcnetwork.MineVid.utilities.items.dItem.(dItem.java:64) ~[?:?]
at com.drcnetwork.MineVid.main.traders.stock.StockItem.(StockItem.java:48) ~[?:?]
at com.drcnetwork.MineVid.main.traders.items.ItemUtils.createStockItem(ItemUtils.java:20) ~[?:?]
at com.drcnetwork.MineVid.main.traders.TEntityListener$InventoryCleaner.clean(TEntityListener.java:443) ~[?:?]
at com.drcnetwork.MineVid.main.traders.TEntityListener$InventoryCleaner.run(TEntityListener.java:395) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[jfr.jar:git-Spigot-642f6d2-57ab4cf]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [jfr.jar:git-Spigot-642f6d2-57ab4cf]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [jfr.jar:git-Spigot-642f6d2-57ab4cf]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [jfr.jar:git-Spigot-642f6d2-57ab4cf]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [jfr.jar:git-Spigot-642f6d2-57ab4cf]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [jfr.jar:git-Spigot-642f6d2-57ab4cf]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_171]
tNpcAPI.isTNpcInventory() not returning true on NPCs inventories only false on everything.
my code:
if(!tNpcAPI.isTNpcInventory(e.getInventory()))
{
sort(e);
}
Using latest dtlTraders-3.3-SNAPSHOT.jar (Build 25) as well as spigot-1.8.3 and citizens-2.0.15 (Build 1220).
Hello, the StackPrice feature doesn't seem to work anymore. Here's the part of the NPC's saves.yml:
trader:
type: server
owner-uuid: none
patterns: []
sell:
- bow d:0 s:6 a:1 p:16.99
- arrow s:0 a:64 p:124.99 .sp
buy: []
I am assuming that ".sp" is the persisted StackPrice-flag and I also know that the trader had the correct price earlier. In this example, the arrows always cost a_p (e.g. 64_124.99).
When I try to change the StackPrice by clicking the item in manager mode, the console says "Changed stack price: true/false", but that doesn't affect the price, it always stays a*p.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.