Solved Force a player out of a bed.

Discussion in 'Spigot Plugin Development' started by TechToolbox, Sep 23, 2018.

  1. Hey, so I am trying to figure out how I can kick players on a server out of their beds quickly and easily. So far, I've thought of two methods: damaging the player and setting the time to day. However, damaging players isn't exactly what I'd want and neither is setting the time to day. So, are there any other ways to force players out of a bed?
  2. Senmori

    Senmori Retired Resource Staff
    Retired Patron

  3. But what if the players are already sleeping and you want to remove them from the bed? That's what I'm trying to figure out.
  4. damage them and heal them immediately? they shouldn't notice it.
    • Useful Useful x 1
  5. Try removing the bed block on the client side.
    • Useful Useful x 1