Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Are FloatingTextParticles getting removed after the plugin gets disabled?

Comments in 'Plugin Development' started by MyNameIsTriXz, Jan 16, 2016.

  1. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    Yes or no?
  2. Tim // robske Büba
    Offline

    Tim // robske Büba Notable Member

    Joined:
    Feb 26, 2014
    Posts:
    606
    Minecraft User:
    robske_110
    Particles are not handled server side
    They are packets wich are one time sent and then the server looses all the control about them!
    So they are already gone after the packet was pushed through your internet conmection
    AndrewBit and MyNameIsTriXz like this.
  3. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    Oke, thanks.
  4. PocketKiller
    Offline

    PocketKiller Notable Member

    Joined:
    Jul 20, 2015
    Posts:
    741
    lazy guy.. try it yourself
  5. Hotshot_9930
    Offline

    Hotshot_9930 Notable Member Plugin Developer

    Joined:
    May 26, 2014
    Posts:
    665
    Plugins:
    2
    Minecraft User:
    HotshotHD
    Particles despawn after about 1 second.
  6. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    Oh sorry I meant the FloatingTextParticles
  7. Tim // robske Büba
    Offline

    Tim // robske Büba Notable Member

    Joined:
    Feb 26, 2014
    Posts:
    606
    Minecraft User:
    robske_110
    Oh, they are entities
    MyNameIsTriXz likes this.
  8. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    They are FloatingTextParticle!

    If you do not store your reference to it server side, it will linger in the player session forever. Nothing to do with disabling plugins.
    Exactly for this reason, you should despawn them upon plugin disabling if you are a responsible developer.
    AndrewBit, CrazedMiner and applqpak like this.

Share This Page

Advertisement