I'm writing a minigame plugin, and I need players who die to spawn a corpse at their place of death. I can spawn an entity for the corpse just fine, but I want to make this corpse lie down where it died. How would I do that?
I do have a Minigame object, but now I need to store that somewhere. Could it just be stored as a variable in my Plugin class (the one that extends JavaPlugin)?
Thanks for the reply! I don't need the reference to persist across player sessions. I could store a reference to the Player in the MinigamePlayer, but then I still need to store a list of MinigamePlayers somewhere. Where would it be best do that?
I'm writing a plugin that runs a minigame. In this plugin, I have a class (I'll call it MinigamePlayer) that stores information about the Player. This class then stores other custom objects that store more information about the player.
How would it be best to store the connections between...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.