mastercake10 / uShop

A simple shop plugin for selling items
GNU General Public License v3.0
3 stars 8 forks source link

Item added via /ushop add 50 ignore_enchantments ignore_durability but the selling price is 0 #28

Open DaddyRobLIVE opened 9 months ago

DaddyRobLIVE commented 9 months ago

What steps will reproduce the issue?

  1. Add an item with a gradient name, preferably an item with quite a long name
  2. Try to sell the item in /sell
  3. Value will be 0
  4. Additional: The items should be put back in the sellers inventory if they just closed their screen and didn't press the sell button A lot of accidents happened in my server because of this!

What was supposed to happen?

Item should have value and not 0

What happened instead?

Item sold for 0 and there were tons of accidents

What version of this plugin are you using?

2.3.0

What Spigot version are you using? Paste the output of /version below.

This server is running Paper version git-Paper-430 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 4939f87)

What plugins do you have installed? Paste the output of /plugins below.

[16:55:16 INFO]: Paper Plugins: [16:55:16 INFO]: - RoseStacker, SignedVelocity [16:55:16 INFO]: Bukkit Plugins: [16:55:16 INFO]: - ActionBarXtreme, AFKPlus, Afkpluspapi, ajAntiXray, AngelChest, AntiEditSigns, AntiPopup, ArmorStandEditor, AuctionHouse, AutoPickup [16:55:16 INFO]: Autorank, BattlePass, BCommons, BetterPing, BetterRTP, BetterShulkerBoxes, Boosters, BossShopPro, ChestProtect, ChestSort [16:55:16 INFO]: Chunky, Citizens, ColoredSigns, Coordinates, CoreProtect, CoreProtectTNT, CraftingStore, CustomCommands, DelayedCommand, Denizen [16:55:16 INFO]: DiscordSRV, eco, eGlow, EntityDetection, ExcellentCrates, ExtraContexts, EZColors, F3Name, FancyHolograms, FastAsyncWorldEdit [16:55:16 INFO]: Gamemode-Change, GCore, GFly, GSit, Hat, HiddenArmor, ImageOnMap, InventoryRollbackPlus, InventorySaver, InvisibleItemFrames [16:55:16 INFO]: Join-Leave, JoinCommands, JukeboxExtendedReborn, LastLoginAPI, libreforge, LibsDisguises, LoreAttributesRecoded, LuckPerms, Maintenance, MCPets [16:55:16 INFO]: MemCheck, ModelEngine, Multiverse-Core, MusicBox, MythicCrucible, MythicMobs, NexEngine, NoteBlockAPI, Oraxen, Parties [16:55:16 INFO]: PlaceholderAPI, Plan, PlayerKits2, PlayerPoints, PluginManager, PremiumVanish, ProCosmetics, ProtocolLib, RedisChat, RHLeafDecay [16:55:16 INFO]: SetSpawn, Shop, SimpleTpa, SkinsRestorer, SlimeIndicator, Spectator, squaremap, TAB, TimedRewards, TradePlus [16:55:16 INFO]: UltimateAutoRestart, UltraCosmetics, uShop, Vault, ViewDistanceTweaks, vilib, voicechat, VoidGen, Votifier, VotingPlugin [16:55:16 INFO]: Vulcan, WorldGuard, WorldGuardExtraFlags, WorldResourcepacks, ZeFreeze

Are any errors related to this plugin in your console or logs? If so, paste below.

paste
error(s)
here

Any additional information that you would like to provide that may be relevant to the issue?

mastercake10 commented 9 months ago

I tried to reach out to you on discord, but apparently you left the server :(

Can you please provide the give commands for 1) the item you executed the /ushop add command on 2) the item you sold that gave you $0 instead of $50

PeteStef commented 3 months ago

I tried to reach out to you on discord, but apparently you left the server :(

Can you please provide the give commands for

  1. the item you executed the /ushop add command on
  2. the item you sold that gave you $0 instead of $50

having the same issue. sells all items not added to the shop for 0 and deletes it as if I listed it for a selling price of 0. (opened a convo in your discord I'm MXRox)