Git Product home page Git Product logo

trademe's People

Contributors

zrips avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

trademe's Issues

Error in console

[18:12:17] [Server thread/ERROR]: [TradeMe] Task #1363506 for TradeMe v6.0.5.3 generated an exception
[18:12:17] [Server thread/ERROR]: [TradeMe] Suspected Plugins: 
[18:12:17] [Server thread/ERROR]: [TradeMe] 	TradeMe{enabled,ver=6.0.5.3,path=plugins/TradeMe6.0.5.3.jar}
[18:12:17] [Server thread/ERROR]: [TradeMe] Exception details below: 
java.util.NoSuchElementException: No value present
	at java.util.OptionalLong.getAsLong(OptionalLong.java:118) ~[?:1.8.0_171]
	at me.Zrips.TradeMe.SpecialActionPack.TokenManagerUtil.isLegit(TokenManagerUtil.java:227) ~[?:?]
	at me.Zrips.TradeMe.Util.checkTradeLegit(Util.java:724) ~[?:?]
	at me.Zrips.TradeMe.Counter.counter(Counter.java:72) ~[?:?]
	at me.Zrips.TradeMe.Counter$1.run(Counter.java:156) ~[?:?]
	at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:100) ~[1.16.5-patched.jar:git-Yatopia-ver/1.16.5-25]
	at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:469) ~[1.16.5-patched.jar:git-Yatopia-ver/1.16.5-25]
	at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1386) ~[1.16.5-patched.jar:git-Yatopia-ver/1.16.5-25]
	at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:398) ~[1.16.5-patched.jar:git-Yatopia-ver/1.16.5-25]
	at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1295) ~[1.16.5-patched.jar:git-Yatopia-ver/1.16.5-25]
	at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1016) ~[1.16.5-patched.jar:git-Yatopia-ver/1.16.5-25]
	at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:176) ~[1.16.5-patched.jar:git-Yatopia-ver/1.16.5-25]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]

Error with MyPets plugin

Caused by: java.lang.NoSuchMethodError: de.Keyle.MyPet.api.entity.MyPet.getSkilltree()Lde/Keyle/MyPet/api/skill/skilltree/SkillTree; at me.Zrips.TradeMe.SpecialActionPack.MyPetUtil.Buttons(MyPetUtil.java:164) ~[?:?] at me.Zrips.TradeMe.Util.updateAmountOffer(Util.java:1002) ~[?:?] at me.Zrips.TradeMe.commands.list.accept.perform(accept.java:81) ~[?:?] at me.Zrips.TradeMe.commands.CommandsHandler.onCommand(CommandsHandler.java:195) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[1.16.5-patched.jar:git-Yatopia-ver/1.16.5-29]

Way to preview the content of shulker boxes?

Hello @Zrips , can you please update TradeMe plugin with a way to preview the content of the shulker boxes? Players are often getting scammed cause they don't know what's inside... Great implementation of this has, for example https://www.spigotmc.org/resources/1-8-1-19-zauctionhouse-1500-servers-online.63010/ this auction house plugin that allows previewing shulker boxes in the auction. Something similar could be added into TradeMe. A way to click on Shulker box with right click for example to open new window & see it's content?

trademe not working 1.20.6

[11:57:44] [Server thread/ERROR]: Error occurred while enabling TradeMe v6.2.1.4 (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "org.bukkit.inventory.ItemStack.getItemMeta()" because the return value of "net.Zrips.CMILib.Items.CMIItemStack.getItemStack()" is null
at CMILib1.4.7.8.jar/net.Zrips.CMILib.Items.CMIItemSerializer.getItem(CMIItemSerializer.java:401) ~[CMILib1.4.7.8.jar:?]
at CMILib1.4.7.8.jar/net.Zrips.CMILib.Items.CMIItemSerializer.deserialize(CMIItemSerializer.java:511) ~[CMILib1.4.7.8.jar:?]
at CMILib1.4.7.8.jar/net.Zrips.CMILib.Items.CMIItemStack.deserialize(CMIItemStack.java:865) ~[CMILib1.4.7.8.jar:?]
at TradeMe-6.2.1.4.jar/me.Zrips.TradeMe.ConfigFile.getItem(ConfigFile.java:760) ~[TradeMe-6.2.1.4.jar:?]
at TradeMe-6.2.1.4.jar/me.Zrips.TradeMe.ConfigFile.LoadConfig(ConfigFile.java:733) ~[TradeMe-6.2.1.4.jar:?]
at TradeMe-6.2.1.4.jar/me.Zrips.TradeMe.ConfigFile.reload(ConfigFile.java:784) ~[TradeMe-6.2.1.4.jar:?]
at TradeMe-6.2.1.4.jar/me.Zrips.TradeMe.TradeMe.onEnable(TradeMe.java:291) ~[TradeMe-6.2.1.4.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:287) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[paper-1.20.6.jar:git-Paper-72]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.20.6.jar:git-Paper-72]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:519) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:609) ~[paper-1.20.6.jar:git-Paper-72]
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:558) ~[paper-1.20.6.jar:git-Paper-72]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:681) ~[paper-1.20.6.jar:git-Paper-72]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:440) ~[paper-1.20.6.jar:git-Paper-72]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:323) ~[paper-1.20.6.jar:git-Paper-72]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1142) ~[paper-1.20.6.jar:git-Paper-72]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:326) ~[paper-1.20.6.jar:git-Paper-72]
at java.base/java.lang.Thread.run(Thread.java:1570) ~[?:?]
[11:57:44] [Server thread/INFO]: [TradeMe] Disabling TradeMe v6.2.1.4
[11:57:44] [Server thread/ERROR]: Error occurred while disabling TradeMe v6.2.1.4
java.lang.NullPointerException: Cannot read field "TradeMap" because the return value of "me.Zrips.TradeMe.TradeMe.getUtil()" is null
at TradeMe-6.2.1.4.jar/me.Zrips.TradeMe.TradeMe.onDisable(TradeMe.java:545) ~[TradeMe-6.2.1.4.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:290) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugin(PaperPluginInstanceManager.java:237) ~[paper-1.20.6.jar:git-Paper-72]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.disablePlugin(PaperPluginManagerImpl.java:114) ~[paper-1.20.6.jar:git-Paper-72]
at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:549) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:206) ~[paper-1.20.6.jar:git-Paper-72]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.20.6.jar:git-Paper-72]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:519) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:609) ~[paper-1.20.6.jar:git-Paper-72]
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:558) ~[paper-1.20.6.jar:git-Paper-72]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:681) ~[paper-1.20.6.jar:git-Paper-72]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:440) ~[paper-1.20.6.jar:git-Paper-72]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:323) ~[paper-1.20.6.jar:git-Paper-72]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1142) ~[paper-1.20.6.jar:git-Paper-72]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:326) ~[paper-1.20.6.jar:git-Paper-72]
at java.base/java.lang.Thread.run(Thread.java:1570) ~[?:?]

Traded items amount message bug

Hi, I'd like to report a bug in TryMe plugin.
It is really similiar to Zrips/CMI#4272 which I found earlier, so make sure to check it out.

So basically when I traded 64 Netherrack to 6uamaer, in the chat it wrote down that the player received Netherrack x 18. The amount of Netherrack in the players inventory before the donation was 18, as you can see in the photo. Player got all 64 Netherracks.
Snímka obrazovky (56)
Snímka obrazovky (57)

scroll through modes cannot be switch in the middle mouse

Server: purpur-1.18.1-1524
CMILib: 1.1.0.8
TradeMe: 6.1.1.0

This seems to be related to the vanilla client "Pick Block" controls, which only scrolls when the button is "Middle Button" and plyaer in creative mode,does not work when not in the middle or when the player is in survival mode

ShowNewVersion: false does not work

I have set the option

# Shows if there is available new version on login with trademe.versioncheck permission node
ShowNewVersion: false

to false, but new version notification still appears.
image

BottledExp has the same issue.

Dupe potion bug

Hello, I'd like to report the dupe potion bug. When you drink the potion at the moment when someone else accepts your trade request, it gets dupped. https://streamable.com/nya6v5

It can work with other consumable items, as well. Can you please fix it?

/trade log command

It's a suggestion but can you add on config a way to select how much lines of logs we can see when we do /trade log ?
Actually we can only see 3 and it's not very easy to use in some case.

Thanks in advance

Duplication issue with trade and full inventory

Hello, we have discovered a duplication issue that occurs on all versions (1.8, 1.13). It's a bit complicated to understand, we managed to reproduce the bug following these steps:

  • Requires two players
  • Filling a player's full trade inventory
  • The other spam the button to accept the trade
  • The person with the complete trade inventory leaves the trade during the trade.
    At this point, one player is in the trade phase and the other is not.
  • The person who left goes into a chest or open an interface such a shulkerbox...
  • The other, still trading, adds resources that the other can retrieve from the chest/interface.
    The non-trading player needs to disconnect or he can't trade with other players.

When the bug is produced, it generates an exception in the console: https://pastebin.com/ivSdR3UK

I was able to reproduce this bug with a version 1.15.2, it creates an exception in the console each time I try to retrieve them but can take items:

>.... [14:12:11 WARN]: [TradeMe] Task #370465 for TradeMe v6.0.3.2 generated an exception
java.lang.ArrayIndexOutOfBoundsException: null

When the bug is produced, it generates a new exception : https://pastebin.com/H7ruPpGY

Player 1: https://i.imgur.com/HSUIZGU.png
Player 2: https://i.imgur.com/fZQjXLG.png

I'm sorry, I don't know exactly where to send you this issue, I don't think this is the best place given the visibility...

Trade Version :
v6.0.3.2
Server Type (Spigot/Paperspigot/etc):
Paperspigot
Server Version (using /ver):
1.8/1.12/1.15.2

TradeMe attempting to use clickable chat buttons on 1.7.10

On Minecraft 1.7.10 (Which TradeMe claims to support,) it attempts to use clickable chat buttons multiple times. This feature was added in 1.8. If the plugin detects v1.7.10, it should opt to just instruct the player to manually run the commands that the chat buttons would normally run for them.

Better way than shift clicking for the Bedrock users

Hello, can be made some better ways, for example, when increasing money & exp amount? Cause they cannot use shift, we could add, for example, more than 4 amounts into this list (I've tested 5, but only 4 were displayed):

Amounts:
  Exp:
    '1': 1.0
    '2': 100.0
    '3': 10000.0
    '4': 1000000.0
  # All amounts used for buttons to increase/decrease
  # Inform players about possibility to use Shift button to rise increment by 10 times
  Money:
    '1': 1.0
    '2': 100.0
    '3': 10000.0
    '4': 1000000.0

Taxes do not work

When applying money tax, neither the percentage nor the fixed value tax will work. This is using CMI economy.

Option for disabled to accept or deny command format

When a request is sent, the user receives a check and a cross in the chat. On some of my servers the players do everything via interface and don't have access to tab any command other than /menu

I would like to request an option to be able to deactivate that users receive the check and the cross.

Mcmmo exp trade bug

Mcmmo exp is traded between players as every level is equivalent to the first level's exp requirement(1020 exp)

Example:
A level 1 miner(miner#1) is trading with a level 987 miner(miner#2)(both are at their respective levels with no extra exp toward the next level) and gives miner#2 1020 exp toward the miner skill. The TradeMe plugin then sees the total amount of miner exp that is being traded is equivalent to 1 levels and then sets miner#2 to level 988, giving miner#2 almost 19k extra xp

Trading bugs somehow & players can't send commands neither chat

Hi, I'm not sure how this happened, but it happened already on two servers where I'm admin.
error:
CantChat: '&cCan''t chat while trading!'
CantSendCommands: '&cCan''t perform commands while trading!'

these messages were sent to players & they couldn't use commands for a few hours

There's no error, there's no dupe message, no action logged under tradeactions, it just bugged somehow, the trade window didn't appear.

He's part of the log:

[07:38:36] [Server thread/INFO]: AnnoyingGuest issued server command: /trade Ss1234b
[07:38:44] [Server thread/INFO]: Ss1234b issued server command: /trade accept
[07:38:44] [pool-14-thread-1/INFO]: [LifestealCore] [Scheduled Save] Saved data to file... 193ms
[07:38:47] [Timer-3/INFO]: [zAuctionHouseV3 v3.2.1.2] /home/container/plugins/zAuctionHouseV3/items.json successfully saved !
[07:38:47] [Server thread/INFO]: Ss1234b issued server command: /trade accept
[07:38:47] [Server thread/INFO]: [TradeMe] Ss1234b tried to send chat message while trading. Using cheats?

Happened with many players already:

[04:36:13] [Server thread/INFO]: DINOHERO8 issued server command: /trade ItzSuwv
[04:36:19] [Server thread/INFO]: ItzSuwv issued server command: /trade accept
[04:36:22] [Server thread/INFO]: ItzSuwv issued server command: /trade accept
[04:36:22] [Server thread/INFO]: [TradeMe] ItzSuwv tried to send chat message while trading. Using cheats?

But there isn't further info, may only that they run the command twice from some reason?

I hope it can be fixed, as I'm not sure how to help players

Also from player report:

For me, when I was waiting for Ss1234b (EraserX) to accept my trade offer, I was mining. Then suddenly there is a prompt in chat in red color saying "You do not have access to this container" or something like that
That is from my side. You can ask my teammate for further details
Then during the bug, it says "cannot chat while trading" in red when I am trying to type out any commands

Gamepoints support

Hello, I was wondering if you guys could add support for a plugin called gamepoints. I currently use it on my server as another currency and was wondering if there is a way to get this to work. I'm able to trade everything else I want that the plugin supports but the only thing left is player gamepoints.

Plugin name: GamePoints

Gamepoints link

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.