Easter event

Discussion in 'Archived: Plugin Requests' started by D.Joe, Apr 8, 2014.

  1. every 5 seconds, remove the old one, and spawn a new in the same location
     
  2. Offline

    au2001

    Da_Pepsi_Monster
    Please tag me when you reply :p
    And this would use a lot of CPU so it would make the server lag... You don't want that...
    I think there's an event for that and if there isn't, then you can disable eggs in the clearlagg config.

    D.Joe
    If you don't want them to be deleted, add the mob eggs to the list of items witch aren't removed in the clearlagg config.
    I am still searching for a way to prevent that with only my plugin.
     
  3. The server would still despawn the eggs after 5 minutes, or if the player is using Spigot, whatever they have it configured to in the Spigot.yml
     
  4. Offline

    au2001

    D.Joe
    You will have to prevent ClearLagg from removing mob eggs by doing :
    Code:
      item-filter:
      - 383
    Each time you see item-filter (normally 3 times and towards the bottom of the config) add 383.
    Tested it, worked perfectly fine.
    You should still download the latest version here (then click on EasterHunt).

    Da_Pepsi_Monster
    I used the "ItemDespawnEvent" to cancel the despawn event when the item is an easter egg.
    This works perfectly fine, the only problem is ClearLagg.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  5. Then the only option is to disable it in clear lag :p
     
  6. Offline

    D.Joe

    Code:
    item-filter:
      enabled: true
      filter:
      - 383
    au2001
    i put this, but the eggs are still cleared.
     
  7. Offline

    au2001

    D.Joe
    Normally, it is :
    Code:
    item-filter:
      - 383
    And you're supposed to put this 3 times.
     
    MrMB2013 likes this.
  8. Offline

    D.Joe

    au2001 can you make it that with /easteregg you get 64 eggs? it's easier to plant them
     
  9. Offline

    Lifecraft_R

    Looks like a good plugin- is it on BukkitDev?
     
  10. Offline

    au2001

    MrMB2013 likes this.
  11. Offline

    D.Joe

    au2001 you should post it on dev
     
  12. Offline

    au2001

    D.Joe
    I think I will (have to decide now or easter will be gone...).
     
    MrMB2013 likes this.
  13. Offline

    Lifecraft_R

    au2001 No! Easter can't go! I need my Choccy...... : (
     
    MrMB2013 likes this.
  14. Offline

    MrMB2013

    au2001 & me, will work on a full stable version of this plugin.

    Now need to be approval before easter :()
     
  15. Offline

    timtower Administrator Administrator Moderator

    MrMB2013 Or you post a download link on the thread
     
  16. Offline

    au2001

    timtower
    Download link : http://www.shadowcasted.com/#downloads and click on EasterEgg
    Btw, this link will be deleted when the plugin will be online.
     

Share This Page