Git Product home page Git Product logo

ushop's Introduction

GitHub last commit discord view on SpigotMC build status

resource icon

Welcome to the uShop GitHub repository!

uShop is a bukkit plugin compatible with Paper/Spigot versions 1.13 - 1.20 that allows your players to quick-sell items in a GUI!

Documentation, Tutorial and Setup: https://docs.spaceio.xyz/plugin/ushop/

ushop's People

Contributors

loohp avatar mastercake10 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ushop's Issues

uShop bug

I voted 5 stars because I really like this plugin but after 30 min it doesn't show how much each product is worth anymore when you want to sell it.
"Pardon my English"
To resolve temporarily I'm using the command /plugman reload uShop" every 30 min automatically from another plugin
gg

Request

Can you add a feature?

If you sell things but have no value, you get the items again?

The best that you can put it in the config on or off.

Mfg

Add sell logs

Hello,

it would be helpful to have sell statistics of items, to find out what players sold mostly..

Suggestion : auto worth calculate

hey i have a suggestion.
mabe if someone sells for example an iron ingot. take the value out of the list and lower it if many people sell it until a bottom line configurable. and for every like 1 minecraft day add the worth back to the item.

for example iron is worth €100 per piece.
i sell 50 iron to the shop and its configurated to take 1% of the price for each sale
€100 - (100 / 1 = € 1) * 50 = €50 = €50 is the new worth.
now after one minecraft day its worth €50.5 because it adds 1 % until it adds up to the worth it was before (€100)

Items not returned when GUI is closed

What steps will reproduce the issue?

  1. Put items into GUI and close/esc out of GUI without clicking to sell

What was supposed to happen?

Items should be returned to players inventory

What happened instead?

Items were taken away (sellable items did not sell or return to players inventory)

What version of this plugin are you using?

uShop v2.1.1-SNAPSHOT

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

This server is running Paper version git-Paper-50 (MC: 1.15.1) (Implementing API version 1.15.1-R0.1-SNAPSHOT)

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

Plugins (29): AAC, AACAdditionPro, AACPlus, Citizens, CMI, CommandDoesNotExist, Companions, ConditionalCommands*, CrateReloaded, EnchantsPlus, HeadDatabase*, Jobs, Lands, LastLoginAPI, LuckPerms, mcMMO, OreAnnouncer, ProtocolLib, Rankup, SelectionVisualizer, UltraCustomizer, UltraRegions, uShop, Vault*, Vouchers, WildStacker, WorldBorder, WorldEdit, WorldGuard

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?

Glowing items are not salable

What steps will reproduce the issue?

  1. set a price on a glowing item
  2. try to sell it

What was supposed to happen?

Item is salable

What happened instead?

Item is not salable

What version of this plugin are you using?

latest

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

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

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?

Cannot Sell Randomized Loot

What steps will reproduce the issue?

  1. Use MythicDrops
  2. Try to sell randomized loot from it
  3. You can't because there's no options to ignore enchants/lore and it's impossible to /setprice on all of them

What was supposed to happen?

I was supposed to sell chests full of socket swords and other randomized loot from MythicDrops

What happened instead?

I couldn't because it's all randomized loot so doing /setprice is impossible to keep up with

What version of this plugin are you using?

2.1.0-SNAPSHOT

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

Paper Latest

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

MythicDrops

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

N/A

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

I love this plugin and hope this is fixed soon so I don't have to use an uglier one to do this.

essentials-worth-list not working

What steps will reproduce the issue?

  1. use-essentials-worth-list: true not working

What was supposed to happen?

  1. will not use the essentials worth price even if you set to "true in uShop config

What happened instead?

  1. Nothing happens

What version of this plugin are you using?

  1. latest uShop version

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

  1. 1.14.4 paper spigot

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

AdvancedRegionMarket, BeastWithDraw, BountyHunters, ChestCleaner, ChestShop*, Citizens, CitizensCMD, CrazyCrates, CustomEnchants*, DeluxeMenus, Essentials, EssentialsChat, EssentialsProtect, EssentialsSpawn, EZBlocks*, eZProtector, FeatherBoard*, Holograms*, LeaderHeadsRevamped, mcMMO, MessageFilter*, Minepacks, Multiverse-Core, MVdWPlaceholderAPI*, NametagEdit*, PermissionsEx*, PlaceholderAPI, ProtocolLib, RandomTeleport, RawMsg, RedProtect, RFChairs, SilkSpawners, StackMob, uShop, SuperTrails*, TempFly*, TitleManager*, Trading*, Vault, VeinMiner, ViaVersion*, VillagerOptimiser, VoidGenerator, WorldBorder, WorldEdit, WorldGuard, WorldGuardExtraFlags, WorldResetPlus*

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

no errors on console

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

sell bug and essentials worth price not working

when you sell items without price and you click the botton to sell it , it will take away the item and will not give it back.

also essentials worth in the config file doesnt work, pls update the plugin

regards
port

support for 1.19*

What steps will reproduce the issue?

What was supposed to happen?

What happened instead?

What version of this plugin are you using?

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

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

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?

Essentials Worth not working

What steps will reproduce the issue?

  1. Install 1.7.6 uShop
  2. Install latest Essentials
  3. Try to sell any items

What was supposed to happen?

Plugin should use Essentials's worth.yml file for the item prices.

What happened instead?

Did not load them, errors in the console. All items were worth $0 and even when I clicked the Sell button, it errored out again and the gui was still open but without the golden nugget.

What version of this plugin are you using?

1.7.6

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

version git-Paper-1618 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)

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

ChatItem, CoreProtect, Essentials, EssentialsChat, EssentialsSpawn, FastAsyncVoxelSniper, FastAsyncWorldEdit, iDisguise, jNBT, LuckPerms, Multiverse-Core, MySkin, OpenInv, PlaceholderAPI, ProtocolLib, Skellett, SkQuery, skRayFall, Skript, skUtilities, SuperVanish, TuSKe, Vault, VoxelSniper, WorldEdit, WorldGuard

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

https://pastebin.com/raw/baim9TSy

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

From what I'm seeing in the errors, it tries to access a method in the Essentials plugin api which doesn't exist. com.earth2me.essentials.Worth.getPrice is the method.
If the method really doesn't exist (the method got removed) then there is not much you can do about this issue apart from loading both the aliases of the items and then parse the worth.yml file directly.

Please fix this issue as this plugin is perfect for me and I think a lot of people, would be awesome to have this fixed.

Setprice on enchanted item error

15:50:21 INFO]: Dani101Dani issued server command: /ushop setprice 5500
[15:50:21 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'ushop' in plugin uShop v2.1.0-SNAPSHOT
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[S.jar:git-Spigot-dcd1643-e60fc34]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[S.jar:git-Spigot-dcd1643-e60fc34]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:648) ~[S.jar:git-Spigot-dcd1643-e60fc34]
at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1399) [S.jar:git-Spigot-dcd1643-e60fc34]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1234) [S.jar:git-Spigot-dcd1643-e60fc34]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [S.jar:git-Spigot-dcd1643-e60fc34]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [S.jar:git-Spigot-dcd1643-e60fc34]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [S.jar:git-Spigot-dcd1643-e60fc34]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_221]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_221]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [S.jar:git-Spigot-dcd1643-e60fc34]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [S.jar:git-Spigot-dcd1643-e60fc34]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [S.jar:git-Spigot-dcd1643-e60fc34]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [S.jar:git-Spigot-dcd1643-e60fc34]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [S.jar:git-Spigot-dcd1643-e60fc34]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]
Caused by: java.lang.NoSuchMethodError: org.bukkit.enchantments.Enchantment.getKey()Lorg/bukkit/NamespacedKey;
at xyz.spaceio.ushop.CustomItem.lambda$2(CustomItem.java:95) ~[?:?]
at java.util.stream.MatchOps$1MatchSink.accept(Unknown Source) ~[?:1.8.0_221]
at java.util.Spliterators$IteratorSpliterator.tryAdvance(Unknown Source) ~[?:1.8.0_221]
at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source) ~[?:1.8.0_221]
at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source) ~[?:1.8.0_221]
at java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:1.8.0_221]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:1.8.0_221]
at java.util.stream.MatchOps$MatchOp.evaluateSequential(Unknown Source) ~[?:1.8.0_221]
at java.util.stream.MatchOps$MatchOp.evaluateSequential(Unknown Source) ~[?:1.8.0_221]
at java.util.stream.AbstractPipeline.evaluate(Unknown Source) ~[?:1.8.0_221]
at java.util.stream.ReferencePipeline.allMatch(Unknown Source) ~[?:1.8.0_221]
at xyz.spaceio.ushop.CustomItem.matches(CustomItem.java:94) ~[?:?]
at xyz.spaceio.ushop.Main.lambda$4(Main.java:203) ~[?:?]
at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) ~[?:1.8.0_221]
at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source) ~[?:1.8.0_221]
at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source) ~[?:1.8.0_221]
at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source) ~[?:1.8.0_221]
at java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:1.8.0_221]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:1.8.0_221]
at java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source) ~[?:1.8.0_221]
at java.util.stream.AbstractPipeline.evaluate(Unknown Source) ~[?:1.8.0_221]
at java.util.stream.ReferencePipeline.findFirst(Unknown Source) ~[?:1.8.0_221]
at xyz.spaceio.ushop.Main.findCustomItem(Main.java:203) ~[?:?]
at xyz.spaceio.ushop.uShopCmd.onCommand(uShopCmd.java:46) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[S.jar:git-Spigot-dcd1643-e60fc34]
... 15 more

Item value not being calculated in /sell menu

What steps will reproduce the issue?

  1. /sell to open sell menu
  2. Place any item into the sell menu
  3. Console outputs error
  4. Clicking on sell button doesn't do anything, outputs another error

What was supposed to happen?

The item should calculate its price and sell

What happened instead?

Nothing happens, an error is outputted

What version of this plugin are you using?

1.7.6

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

This server is running Paper version git-Paper-1620 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)

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

AnimatedScoreboard, AuthMe, BetterRTP, ConsoleSpamFix, CoreProtect, DiscordSRV, dynmap, Dynmap-Towny, Essentials, EssentialsChat, LuckPerms, Maintenance, PlaceholderAPI, PluginHider, ProtocolLib, SkinsRestorer, spark, TAB, TheNewEconomy, Towny, TownyChat, uShop, Vault, ViaVersion, WorldBorder

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

Placing item in sell menu:

2024-03-31 15:30:38.160740+03:00[15:30:38 WARN]: [uShop] Plugin uShop v1.7.6 generated an exception while executing task 13
2024-03-31 15:30:38.160780+03:00java.lang.NoSuchMethodError: 'java.math.BigDecimal com.earth2me.essentials.Worth.getPrice(org.bukkit.inventory.ItemStack)'
2024-03-31 15:30:38.160793+03:00at uShop.Main.getPrice(Main.java:112) ~[?:?]
2024-03-31 15:30:38.160804+03:00at uShop.Main.lambda$0(Main.java:65) ~[?:?]
2024-03-31 15:30:38.160817+03:00at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64) ~[patched_1.12.2.jar:git-Paper-1620]
2024-03-31 15:30:38.160829+03:00at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) ~[patched_1.12.2.jar:git-Paper-1620]
2024-03-31 15:30:38.160839+03:00at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.12.2.jar:git-Paper-1620]
2024-03-31 15:30:38.160850+03:00at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
2024-03-31 15:30:38.160861+03:00at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
2024-03-31 15:30:38.160872+03:00at java.lang.Thread.run(Unknown Source) [?:?]

Trying to sell the item:

- [Sun 15:38:07 ERROR Minecraft] Could not pass event InventoryClickEvent to uShop v1.7.6
java.lang.NoSuchMethodError: 'java.math.BigDecimal com.earth2me.essentials.Worth.getPrice(org.bukkit.inventory.ItemStack)'
    at uShop.Main.getPrice(Main.java:160)
    at uShop.Main.calcPrices(Main.java:150)
    at uShop.Listeners.onClick(Listeners.java:45)
    at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor29.execute(Unknown Source)
    at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70)
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513)
    at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:2002)
    at net.minecraft.server.v1_12_R1.PacketPlayInWindowClick.a(SourceFile:33)
    at net.minecraft.server.v1_12_R1.PacketPlayInWindowClick.a(SourceFile:10)
    at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
    at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46)
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:850)
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423)
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774)
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666)
    at java.base/java.lang.Thread.run(Unknown Source)

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

I only get this error when I enable Essentials pricing

20mb crashes

What steps will reproduce the issue?

  1. crash reports

What happened instead?

produces 20mb files crash reports

What version of this plugin are you using?

2.2.1 and 2.2.0

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

Paper version git-Paper-138 (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT)

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

AdvancedAchievements, AdvancedRegionMarket, ArmorStandEditor, AsyncWorldEdit, Autorank, BetterBees, BlockParticles, BookShelf, BuycraftX, ChatManager, Citizens, CommandSigns, CoreProtect, CraftEnhance, CrazyCrates, DiscordSRV, DropHeads, dynmap*, EpicWorldGenerator, Essentials, EssentialsChat, EssentialsProtect, EssentialsSpawn, GriefPrevention, HolographicDisplays, IllegalStack, InteractionVisualizer, InteractiveChat, InventoryRollback, InvisibleItemFrame, ItemEdit, LightAPI, LuckPerms, MarriageMaster, mcMMO, Multiverse-Core, Multiverse-Inventories, Multiverse-Portals, MyCommand, MyPet, NametagEdit*, NBTAPI, NPCAuctions, OpenInv, PlaceholderAPI, PlayerWarps, Playtimes*, PlotSquared, PluginConstructorAPI, PosePlugin, ProtocolLib, PvPManager, Shop, SignEdit, SimpleHorseInfo, Skellett, SkQuery, Skript, skript-mirror*, Skript-Paper*, SQLibrary*, TradeUI, TuSKe*, UltimateTimber, uShop, Vault, ViaBackwards, ViaVersion, VoidGenerator, VoidSpawn, Votifier, VotingPlugin, WebServer*, Wild, WorldBorder, WorldEdit, WorldGuard

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

no console errors

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

one of the crash files: https://drive.google.com/file/d/1evKXX0rwESVVmVOhTGpIF4IzlkWOmACs/view?usp=sharing

1.14 update

When running the plugin under 1.14, it gives the following error:

java.lang.NoSuchMethodError: org.bukkit.inventory.Inventory.getTitle()Ljava/lang/String;
	at xyz.spaceio.ushop.Main.lambda$0(Main.java:85) ~[?:?]
	at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:81) ~[spigot-1.14.2-R0.1-SNAPSHOT.jar:git-Spigot-01d0f04-455023c]
	at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [spigot-1.14.2-R0.1-SNAPSHOT.jar:git-Spigot-01d0f04-455023c]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_171]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_171]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]

error when selling items

Reference (Spigot, post #89)

Hello, I get this error in console a lot. I have no idea what causes it but its definitely when someone sells something. (I tested it with a block that has a price) Also I don't get that error when i sell only other players.

[23:24:12] [Craft Scheduler Thread - 2869/WARN]: [uShop] Plugin uShop v2.0.4-SNAPSHOT generated an exception while executing task 16
java.util.ConcurrentModificationException: null
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1442) ~[?:1.8.0_181]
at java.util.HashMap$KeyIterator.next(HashMap.java:1466) ~[?:1.8.0_181]
at xyz.spaceio.ushop.Main.lambda$0(Main.java:83) ~[?:?]
at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.13.2.jar:git-Paper-620]
at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) ~[patched_1.13.2.jar:git-Paper-620]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.13.2.jar:git-Paper-620]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_181]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]

What are the permms

I need to know what the perms are and I'm using the premissionsex
plugin.

Console spam on server shutdown. Error

What steps will reproduce the issue?

  1. stopping a server
  2. restarting a server

What was supposed to happen?

a clean shutdown

What happened instead?

console spam with an error asking me to nag the author, that being 'Linus122'. Putting the server on halt for about a minute.

What version of this plugin are you using?

latest, 2.2.0

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

Paper-304

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

ScreenShot

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

30.05 08:59:08 [Server] ERROR Nag author: 'Linus122' of 'uShop' about the following: This plugin is not properly shutting down its async tasks when it is being shut down. This task may throw errors during the final shutdown logs and might not complete before the process dies.

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

Bug with uShop 2.2.0

What steps will reproduce the issue?

  1. One player enters /sell
  2. Another player enter /sell

What was supposed to happen?

It should display the total value of items
It should return the items if added to the sell box and the user cancels

What happened instead?

It shows value $0 for items of any quantity
It does not return the items

What version of this plugin are you using?

2.2.0

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

PaperMC build 130

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

BackupOnEvent*, ConsoleSpamFix, DeadChest, DiscordSRV, DropHeads, dynmap*, Essentials, EssentialsChat, EssentialsSpawn, GriefPrevention, InstantBreak*, LuckPerms, Pingas*, PlugMan, ProtocolLib, SilkSpawners, SmoothSleep, uShop, Vault, WorldEdit

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

No visible errors

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

The bug can be reproduced after restarting the server.
See the below image.
image

Permissions

Whats the permission node to use ushop /sell?

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

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.