Secure Minecraft items?

gl
- in Worlds
2

So I have a Minecraft server (Spigot) and I want to make a few survival worlds where there should be a lot of players who will then probably trade items and where you shouldn't steal items, among other things. Now you say I can just program a claim plugin, but there are still problems.

On another survival server, I had a blast of 20 diamond blocks (180 diamonds!), Then I trusted a player, and he just stole all the diamond blocks I have while I'm short afk!

I just want that to not happen on my server or to be able to undo it if it happens. By "undo" I mean that as owner or other admins I can clarify the problem and say whether the items have now been stolen or whether it is only a lie that the items have been stolen.

The question is, do you have any ideas on how to do it, and if so, how?

I figured you could do a "history" for each item, listing all the players who had the item, which would be very expensive, I think. However, despite the item history, you could lie, for example:

A pays B 10 diamonds for a beacon (A gets beacon, B gets 10 diamonds). Then A could say that B stole his 10 diamonds, as it will be in the process. Can you somehow handle the item history? Or do you have better suggestions?

I hope you understand me and thank you for every helpful answer!

Ja

You could just do a trading plugin where both put their items in and then press a "button" to swap the items. Otherwise, you could of course log all items that are somehow handed in, collected or packed in boxes. Then for each player a text where everything is inside. Then it is very computationally expensive

au

You can be ripped off without joking yourself (I had to experience painfully in another game)

As a scammer you only need 2 items that look the same but have different values (e.g. A heavily enchanted sword and a poorly enchanted sword). Now you put the good sword in the slot and the opposite will then put something valuable for the sword. Now you simply change the sword so that the bad sword is now in the slot (to the opposite, it does not see that the item was exchanged because it looks the same on the outside) and then accepts.

And it was ripped off right away. The best thing to do is to add a display that shows that the item has been exchanged