koca2000 / NoteBlockAPI

https://www.spigotmc.org/resources/noteblockapi.19287/
GNU Lesser General Public License v3.0
119 stars 40 forks source link

Add a setting to destroy a SongPlayer once all players affected by it leave the server (or possibly an event) #102

Open ghost opened 11 months ago

ghost commented 11 months ago

Self-explanatory

koca2000 commented 11 months ago

Hi! If you remove the player when they leave the server and set songPlayer.setAutoDestroy(true) then the SongPlayer will destroy itself automatically after the last player leaves the server.