Solved Map

Discussion in 'Spigot Plugin Development' started by GodCipher, Feb 22, 2020.

  1. Hey a question. I'm about to do a sort of Bedwars game mode. Do I have to add something to my plugin so that players can't remove the map later, or does the server owner have to do that?
     
  2. Please be more specific about what you're trying to do.
     
  3. My transaltor was shit, sorry. I mean. Players can break blocks build by their self in bedwars, but cant break the map. Do i have to implement a function so players can just break their own placed blocks or have to do the server owner that?
     
  4. I'm not sure what are you trying to do. Do you want to make it so that the players can only break blocks that they or other players placed that game but no the blocks that were on the map already (map itself)?
     
  5. Store all the played blocks locations in an array, if a block is broken check if it is in the array. If it is, just remove it, if not, cancell the event
     
  6. Ahhhh okay, got it thank you!!