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

entity id/despawn

Comments in 'Plugin Development' started by Achak, Jan 10, 2016.

  1. Achak
    Offline

    Achak New Member

    Joined:
    Feb 14, 2015
    Posts:
    32
    Minecraft User:
    Achak_Adhay
    I was going to start to create a plugin to identify/despawn entities. I used GrabBag but it no longer works with the current API 0.13.1. So, I was going to make my own plugin that only detects and despawns entities. My specific needs where to be used to despawn shopkeeps from the GoldStd plugin.

    If you know a plugin that already does this without adding too much bloat, I am happy to hear about and test them for my needs.
    Thanks
  2. MichaelM04
    Offline

    MichaelM04 Active Member Plugin Developer

    Joined:
    Nov 12, 2015
    Posts:
    213
    Plugins:
    1
    Minecraft User:
    Michael
    GrabBag still works! I had to disable some of the options in the config though.One of the options corrupted due to netherreacter not found or something
  3. Achak
    Offline

    Achak New Member

    Joined:
    Feb 14, 2015
    Posts:
    32
    Minecraft User:
    Achak_Adhay
    nether reactor is causing my crash too. do you know what you disabled? or could you post your config file?
  4. Svile
    Offline

    Svile Active Member

    Joined:
    Mar 30, 2015
    Posts:
    239
    Minecraft User:
    svile
    maybe this can help you : http://forums.pocketmine.net/threads/entities.13679/
  5. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    I just want to remind you that entity ID are temporary and reset every server restart. Try modifying the namedTag of the entity if you want to inject identifiers.
  6. MichaelM04
    Offline

    MichaelM04 Active Member Plugin Developer

    Joined:
    Nov 12, 2015
    Posts:
    213
    Plugins:
    1
    Minecraft User:
    Michael
    sorry for late response. Here's my confg
    Code:
    ---
    version: 2.3.0
    serverlist: []
    join-mgr:
      '# adminjoin': broadcast whenever an op joins
      adminjoin: false
      '# servermotd': show the server's motd when joining
      servermotd: false
    broadcast-tp:
      '# world': world broadcast setting.
      world: false
      '# local': local broadcast setting.
      local: 0
    freeze-thaw:
      '# hard-freeze': how hard to freeze players.
      hard-freeze: false
    cmd-selector:
      '# max-commands': Limit the ammount of commands generated by @ prefixes
      max-commands: 100
    features:
      players: false
      ops: true
      gm?: true
      as: true
      slay: false
      heal: true
      whois: false
      mute-unmute: false
      freeze-thaw: true
      showtimings: false
      seeinv-seearmor: false
      clearinv: true
      get: false
      shield: false
      srvmode: false
      opms-rpt: false
      entities: true
      after-at: false
      summon-dismiss: false
      pushtp-poptp: false
      prefix: false
      spawn: false
      burn: true
      blowup: true
      setarmor: false
      spectator: false
      followers: false
      rcon-client: false
      join-mgr: false
      repeater: false
      broadcast-tp: false
      crash: false
      pluginmgr: false
      permmgr: false
      throw: true
      regmgr: false
      invisible: true
      chat-utils: false
      query-hosts: false
      cmd-selector: false
      cmd-alias: false
      reop: false
      fly: false
      skinner: false
      blood-particles: true
    ...
    
    Might be hard to find half of mine is disabled :)
    Achak likes this.
  7. Achak
    Offline

    Achak New Member

    Joined:
    Feb 14, 2015
    Posts:
    32
    Minecraft User:
    Achak_Adhay
    Thank You, It appears the "get" option was the one that did it.
  8. MichaelM04
    Offline

    MichaelM04 Active Member Plugin Developer

    Joined:
    Nov 12, 2015
    Posts:
    213
    Plugins:
    1
    Minecraft User:
    Michael
    No Problem Drop A Like If I Helped :)

Share This Page

Advertisement