lore edit issue
mechcalvin opened this issue ยท 10 comments
Hello, been using this for a long time, however is it possible to setup log when player exchange their bag of money using sign? I have players use change lore method to edit the bag of gold and exchanged over 1 trillion amount of money, i need to close my server to shut down this bug
Hmmmm, but if they can't see the hash then they can't copy it unless they find a way to do it, i will also do some testing with admin perms and normal player perms, thanks anyway for the solution, even it is not perfect it rises the bar since it was super easy with setlore commands
I have added a Hash value to the BagOfGold which makes it harder to chnage the value. BUT it is not 100% safe.
OBS. You should Install ProtocoLib (https://www.spigotmc.org/resources/protocollib.1997/) before you install the new version. This your players CANT see the hidden Lores and it makes it very very hard to chnage the vakue.
Thanks, but is that lore still in second line? if yes they don't need to know but run the same command to change second line to hidden: amount
Yes, the lore is still in the second line, but if they only change the second line, the plugin will discover this and set the value to 0.
I have added an extra hidden line and calculated a hash value. If the hash value does not match the item value will be set to 0.
ProtocolLib will hide the Hash value for the player, so they cant change the value in line 2.
sounds great, i will do some testing, yet when you say it is not 100%, in what limit player might able to hack it?