Inactive [MECH] CrowdControl v0.0.3 - The creature control plugin [1.1R3]

Discussion in 'Inactive/Unsupported Plugins' started by WinSock, Jun 8, 2011.

  1. Offline

    WinSock

    CrowdControl - The creature control plugin.
    Version 0.0.3

    New Rewrite is out! Get it at:
    http://dev.bukkit.org/server-mods/crowdcontrol/
    Temp Download Link Below


    Yes it's back, the two plugins MobControl and CrowdControl have been merged now and I present to you on the behalf of the elBukkit team the new and improved CrowdControl! Features are still being added from both of the old plugins but i have decided that enough basic functionality is here to release it to the general public!

    If you're not familiar with JSON i recommend this online editor:
    http://jsoneditoronline.org/

    Todo/Issues

    Download

    Source

    Milestones

    Full Changelog
     
    11RJB and NathanWolf like this.
  2. Offline

    WinSock

    I sent you a dev build via message. Can you test it?
     
  3. Offline

    intelnavi

    Thanks for the fast response. Looks like it will get worked out for your next release :)
     
  4. Offline

    WinSock

    Version 0.27.01 :D
     
  5. Offline

    11RJB

    Excellent work, WinSock! THIS is what I've been waiting for!

    Configuring it now. So far, so good!
     
  6. Offline

    WinSock

    Thanks!
     
  7. Offline

    11RJB

    It seems to be working well, though I'm having a few problems.

    First, and foremost, I think that this plugin is causing memory leaks. I've had to crank down the maximum number of spawns quite a bit just to keep my server from crashing every 5 minutes. Even still, I can watch as the memory usage rises over a few hours until the point that it just crashes. This doesn't happen without the plugin. Even with no users logged on, the memory usage continues to rise.

    Other than that, nothing too major. The "SpawnChance" variable doesn't really seem to do anything though... and if it is, I can't tell. A "MaxSpawns" option would be really nice (I.E. only 1 giant can be spawned on the server at any given time)

    I love the new YAML config though!
     
  8. Offline

    WinSock

    The "MaxSpawns" is "MaxRule". And if you could give any stack traces/errors for the memory leaks that would be nice. Spawn chance variable is the spawn rate. If you know any java this line of code may make sense to you.
    Code:java
    1.  
    2. if (rand.nextFloat() < handler.getBaseInfo(type).getSpawnChance()) {
    3. // Do spawn
    4. }
    5.  


    Also could you test if a /crowd reloadConfig "resets" the memory?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  9. Offline

    Unset

    Ok works great! a lot of features!
     
  10. Offline

    11RJB

    Thanks for that! That solves my 'giant' problem.

    As to the memory leak... I don't think it's CrowdControl anymore. Thank you for the help!
     
  11. Offline

    WinSock

    No problem. I was freaking out because i used to have memory problems lol At least in my dev server i have run it for 7 hours with no gain in memory usage.
     
  12. Offline

    Astrum

    I have s bit of a problem, mainly Skeletons do not hurt me at all and Zombies ignore god mode...Any idea's? (there are no errors in the console)
     
  13. Offline

    WinSock

    Hmmm I cannot see why just zombies would do that. Are you sure its just zombies? And could you test if ghasts display the same behavior of not being able to damage you? If they cannot also i have a hunch of a bukkit error.
     
  14. Offline

    Astrum

    It maybe just zombies because they are the only mobs I have set to aggressive apart from skeletons. I will test ghast's now.

    Okay, it looks like skeleton arrows work (but not with essentials) Zombies and all collision damage seems to affect anything through godmode (could it be your implementation of collosion damage?).

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  15. Offline

    Unset

    Is there an option to let slimes split up on death?
     
  16. Offline

    WinSock

    Hmm, i had another user report that i fixed that, could you tell me what god mode plugin you're using?
    I knew i forgot something. Umm let me figure this out.
     
  17. Offline

    Astrum

    I was useing essentials but now I am useing adminCommands. Still the same problem.
     
  18. Offline

    WinSock

    Ok i got it figured out, the fixed slimes will be in the next update.
     
  19. Offline

    Astrum

    Wolves also dont agro after being put on neutral. Any idea's?
     
  20. Offline

    Spycoclown

    is it posible to place a Spawnpoint and say that only 3 cows spawn. and when they are dead the respawn?
     
  21. Offline

    WinSock

    It is possible to define a region that the creature can only spawn using the required elRegions plugin. And when they die they do respawn.
     
  22. Offline

    11RJB

    I'm seeing this too. I have my wolves set to neutral during the day, aggressive at night. The strange part is that I can tame them during the day, but they will attack me at night even after they're tamed.

    To mirror the other user; I too have been getting killed by mobs even though I'm in God mode. I'm running essential's version of it, and in particular it's been wolves and creepers that have killed me.
     
  23. Offline

    Unset

    Ok thank you!
     
  24. Offline

    WinSock

    Opps wolves will be an easy fix. It will be in the next update. And this shouldn't have anymore effects on god mode plugins. I will continue to try to figure this out.
     
  25. Offline

    lemonzap

    Hey im having a problem, I installed this plugin in order to get slimes to spawn more often and above ground pretty much anywhere(the ground is mostly made of stone). yet when I force a slime to spawn using /spawnmob slime it creates an invisible slime. this is my config for tat world tell me if i did something wrong.
    Code:
    mobs:
        CHICKEN:
            enabled: true
            nature:
                night: PASSIVE
                day: PASSIVE
            damage:
                collision: 0
                misc: 0
            targetDistance: 24
            health: 4
            burnDay: false
            spawnChance: 1.4
        COW:
            enabled: true
            nature:
                night: PASSIVE
                day: PASSIVE
            damage:
                collision: 0
                misc: 0
            targetDistance: 24
            health: 10
            burnDay: false
            spawnChance: 1.4
        CREEPER:
            enabled: false
            nature:
                night: AGGRESSIVE
                day: AGGRESSIVE
            damage:
                collision: 0
                misc: 0
            targetDistance: 24
            health: 10
            burnDay: false
            spawnChance: 0.7
        GHAST:
            enabled: false
            nature:
                night: AGGRESSIVE
                day: AGGRESSIVE
            damage:
                collision: 0
                misc: 5
            targetDistance: 24
            health: 10
            burnDay: false
            spawnChance: 0.7
        GIANT:
            enabled: true
            nature:
                night: AGGRESSIVE
                day: AGGRESSIVE
            damage:
                collision: 1
                misc: 0
            targetDistance: 24
            health: 10
            burnDay: false
            spawnChance: 1.4
        MONSTER:
            enabled: true
            nature:
                night: PASSIVE
                day: PASSIVE
            damage:
                collision: 0
                misc: 0
            targetDistance: 24
            health: 20
            burnDay: false
            spawnChance: 1.2
        PIG:
            enabled: true
            nature:
                night: PASSIVE
                day: PASSIVE
            damage:
                collision: 0
                misc: 0
            targetDistance: 24
            health: 10
            burnDay: false
            spawnChance: 0.7
        PIG_ZOMBIE:
            enabled: false
            nature:
                night: NEUTRAL
                day: NEUTRAL
            damage:
                collision: 5
                misc: 0
            targetDistance: 24
            health: 20
            burnDay: false
            spawnChance: 0.7
        SHEEP:
            enabled: true
            nature:
                night: PASSIVE
                day: PASSIVE
            damage:
                collision: 0
                misc: 0
            targetDistance: 24
            health: 10
            burnDay: false
            spawnChance: 0.7
        SKELETON:
            enabled: false
            nature:
                night: AGGRESSIVE
                day: AGGRESSIVE
            damage:
                collision: 0
                misc: 4
            targetDistance: 24
            health: 10
            burnDay: true
            spawnChance: 0.7
        SLIME:
            enabled: true
            nature:
                night: AGGRESSIVE
                day: AGGRESSIVE
            damage:
                collision: 4
                misc: 0
            targetDistance: 24
            health: 20
            burnDay: false
            spawnChance: 0.3
        SPIDER:
            enabled: false
            nature:
                night: AGGRESSIVE
                day: NEUTRAL
            damage:
                collision: 0
                misc: 0
            targetDistance: 24
            health: 10
            burnDay: false
            spawnChance: 0.7
        SQUID:
            enabled: true
            nature:
                night: PASSIVE
                day: PASSIVE
            damage:
                collision: 0
                misc: 0
            targetDistance: 24
            health: 10
            burnDay: false
            spawnChance: 0.5
        ZOMBIE:
            enabled: false
            nature:
                night: AGGRESSIVE
                day: AGGRESSIVE
            damage:
                collision: 5
                misc: 0
            targetDistance: 24
            health: 10
            burnDay: true
            spawnChance: 0.7
        WOLF:
            enabled: false
            nature:
                night: PASSIVE
                day: PASSIVE
            damage:
                collision: 5
                misc: 0
            targetDistance: 24
            health: 20
            burnDay: false
            spawnChance: 0.4
    
    rules:
        CHICKEN:
            SpawnMaterialRule:
                Default:
                    material:
                        - GRASS
                    spawnable: true
            SpawnLightRule:
                Default:
                    min: 9
                    max: 15
        COW:
            SpawnMaterialRule:
                Default:
                    material:
                        - GRASS
                    spawnable: true
            SpawnLightRule:
                Default:
                    min: 9
                    max: 15
        CREEPER:
        GHAST:
        GIANT:
                SpawnMaterialRule:
                    Default:
                        material:
                            - SPONGE
                        spawnable: true
                SpawnLightRule:
                    Default:
                        min: 0
                    max: 10
    
        MONSTER:
                SpawnMaterialRule:
                    Default:
                        material:
                            - IRON_BLOCK
                        spawnable: true
                SpawnLightRule:
                    Default:
                        min: 7
                    max: 15
        PIG:
            SpawnMaterialRule:
                Default:
                    material:
                        - GRASS
                    spawnable: true
            SpawnLightRule:
                Default:
                    min: 9
                    max: 15
        PIG_ZOMBIE:
        SHEEP:
            SpawnMaterialRule:
                Default:
                    material:
                        - GRASS
                    spawnable: true
            SpawnLightRule:
                Default:
                    min: 9
                    max: 15
        SKELETON:
        SLIME:
            SpawnMaterialRule:
                Default:
                    material:
                        - COBBLESTONE
                        - STONE
                        - SANDSTONE
                        - SAND
                        - MOSSY_COBLESTONE
                        - SPONGE
                        - BRICK
                        - NETHERRACK
                        - LEAVES
                    spawnable: true
            SpawnHeightRule:
                Defualt:
                    max:
                    min: 0
        SPIDER:
        SQUID:
            SpawnMaterialRule:
                Default:
                    material:
                        - WATER
                        - STATIONARY_WATER
                    spawnable: true
        ZOMBIE:
        WOLF:
     
  26. Offline

    WinSock

    hmm, i can spawn slimes fine using that plugin. Try re logging into the server i know at one time there was a invisible slime bug.
     
  27. Offline

    lemonzap

    re logging the server like stopping then starting or is it something else(im not familiar with that term). oh and these are the plugins im running if one of them may be conflicting to cause the problem

    mcmmo, rocketboots, craftbookcommon, craftbookvehicles, craftbookcircuits, craftbookmechanisms, voxelsniper, crowdcontrol, lockette, xcraftgate, portalstick, worldguard, bigbrother, essentials, essentialschat, world edit, groupmanager, styxspace, essentialsspawn, permissions, essentialsprotect, essentialsgeoip, elregions
     
  28. Offline

    WinSock

    No don't stop the server, just sign out and sign in.
     
  29. Offline

    lemonzap

    ok i tried and i realized that they arent just invisible they arent there, spawning a slime creates a location that acts the same way when u touch it to slimes, but theres no visual representation, and they dont behave like slimes
     
  30. Offline

    M1sT3rM4n

    What's the spawn % out of? 1?
     
  31. Offline

    WinSock

    Yes 0.0-1.0
    I do not think this is an issue with my plugin. I do not block or change spawning from other plugins.
     

Share This Page