Sueta

Gift

1.2.1

Make players able to send christmas present

·Plugin
  1. 1.2.1latestMinor UPDATENov 23, 2019
    Hi ! This is a very small update, I just add a condition to check if the player who tries to collect his present have free slots in his inventory ! ​
    3 downloads
  2. 1.2Major bug fixe part2Nov 18, 2019
    NEW IMPORTANT UPDATE In the previous update I edited the lore of the item by adding a # + list size, but I forgot the fact that if we collect an item the size get back. The Problem: Bill send a Stick(#1) to Josh, next he send a Diamond(#2). Josh collect the Stick(#1). so the list only contains the Diamond(#2) but the size is 1 Bill send a new Diamond(#2) to Josh. so in the list we have {Diamond(#2); Diamond(#2)} and we have the same dupe exploit than before ! How I fixed that: I decided to change the # lore to a random number, who is in black so the player can't really see it (not a problem if he see it). The number is between 1 and 9999 so there is no chance to have the same number on the same ItemStack. I'm sorry for all this dupe glitch, I just discover it with the time... ​
    26 downloads
  3. 1.1Major Bug Fix !Nov 18, 2019
    Hi, I just found a glitch that can be exploit to do dupe ! The problem: If a random player (named Bill for exemple) firstly give a diamond as present to another player (named Josh for exemple), when Bill re-end another diamond to Josh, the diamond will be twice in the list (with the exact same ItemStack), so Josh will be able to collect it infinitly because the plugin don't know what ItemStack he have to remove from the list ! How I fixed that: -Add a # with the size of the player's gift (so we can't have the exactly same ItemStack in the list) What changed too? I just replaced the function size, so now when you use /giftadmin size → you change the rows (1,2,3,4,5,6) If you found another bug you can tell it to me ! I'm working on a translation (if you already have installed it on your server try to check in the config if you don't have the exact same ItemStack for a player, in this case add a lore to the item just after the "- '§o§8Sent by: §lXXXX": Code (YAML): - §6 #0 and to check if nobody use this you can check the console log !) ​
    5 downloads
  4. 1.0Nov 17, 2019
    24 downloads

Similar projects

Plugin →