fullwall / Citizens

An NPC plugin for bukkit.
Other
35 stars 7 forks source link

Traders issue #131

Closed kamatsu21z closed 13 years ago

kamatsu21z commented 13 years ago

tradrs not saving custom prices ive set in game evry time server is stoped and restarted it gose back to ethier default or not being sold here ie TnT 10 coin ... witch i changed to 10k but it goes back to to 10cion each time server goes down . plz help sever is in ofline mode dont know if that matters and crafbukkit server wit icon v5 and BOSEconomy cit ver 1.0.

kamatsu21z commented 13 years ago

Fixed! Isues was a follows

in config file for npc : name: Dave owner: Kamatsu1 inventory: AIR_1,261/1/0,262/1/0,AIR_1,332/1/0,AIR_5,268/1/0,272/1/0,267/1/0,283/1/0,276/1/0,AIR_5,274/1/0,275/1/0,273/1/0,AIR_1,257/1/0,258/1/0,256/1/0,AIR_2,278/1/0,279/1/0,277/1/0,AIR*1,285/1/0,286/1/0,284/1/0, items: 0,0,0,0,0, talk-when-close: 'false' trader: unlimited: 'false' balance: '0.0' toggle: 'false' stock: 267/1/0/,1430.0/true,false,;332/1/0/,100.0/true,false,;261/1/0/,1200.0/true,false,;262/1/0/,25.0/true,false,;276/1/0/,5759.0/true,false,;283/1/0/,5500.0/true,false,;272/1/0/,500.0/true,false,;268/1/0/,41.0/true,false,; '7':

issues resolved by removeing the false from the trader inv after every true as so: trader: unlimited: 'true' balance: '0.0' toggle: 'true' stock: 267/1/0/,1430.0/true;332/1/0/,100.0/true;261/1/0/,1200.0/true;262/1/0/,25.0/true;276/1/0/,5759.0/true;283/1/0/,5500.0/true;272/1/0/,500.0/true;268/1/0/,41.0/true; '7': issue now fixed