Inactive [SEC] StopMob 1.27 - Stop them mobs attacking [Permissions] [1185]

Discussion in 'Inactive/Unsupported Plugins' started by NeoSilky, Aug 18, 2011.

  1. Offline

    NeoSilky

    StopMob
    Version: 1.27​
    Features:
    • Stops all mobs from attacking you, but keeps them on the server.
    • Works for all players, but now also Permissions version!
    • Supports all mobs:
    -Zombie
    -Spider
    -Creeper
    -Skeleton
    -Slime
    -Ghast
    -Wolf
    -PigZombie
    -Giant
    -Enderman
    -CaveSpider
    -Silverfish
    =============================================================
    Default Config (Non-Permissions Version Only):
    Code:
    StopZombieAttack: true
    StopSkeletonAttack: true
    StopSpiderAttack: true
    StopCreeperAttack: true
    StopSlimeAttack: true
    StopGhastAttack: true
    StopPigZombieAttack: true
    StopWolfAttack: true
    StopEndermanAttack: true
    StopCaveSpiderAttack: true
    StopSilverFishAttack: true
    StopGiantAttack: true
    
    =============================================================
    Permission Nodes:
    Code:
      stopmob.zombie:
        description: Prevent zombie attacks
      stopmob.skeleton:
        description: Prevent skeleton attacks
      stopmob.spider:
        description: Prevent spider attacks
      stopmob.creeper:
        description: Prevent creeper attacks
      stopmob.slime:
        description: Prevent slime attacks
      stopmob.ghast:
        description: Prevent ghast attacks
      stopmob.wolf:
        description: Prevent wolf attacks
      stopmob.pigzombie:
        description: Prevent pigzombie attacks
      stopmob.enderman:
        description: Prevent enderman attacks
      stopmob.cavespider:
        description: Prevent pigzombie attacks
      stopmob.silverfish:
        description: Prevent silverfish attacks
      stopmob.giant:
      description: Prevent giant attacks
      stopmob.all:
        description: Protection against all attacks
        children:
          stopmob.zombie: true
          stopmob.skeleton: true
          stopmob.spider: true
          stopmob.creeper: true
          stopmob.slime: true
          stopmob.ghast: true
          stopmob.wolf: true
          stopmob.pigzombie: true
          stopmob.enderman: true
          stopmob.cavespider: true
          stopmob.silverfish: true
          stopmob.giant: true
      stopmob.*:
        description: For people who hate change
        children:
          stopmob.all: true
    
    =============================================================
    Why you need it?
    You might be running a server where people earn money for killing mobs, but they all die too much, or are sick of dying but love killing mobs!

    Planned Updates:
    • Add configurable mob damage if player doesn't have the permission node.
    Please leave any comments and suggestions below!
    ---------------------------------------------------​
    Changelog:
    1.27 - Added giant, redid code by tidying up and shortening!
    1.26 - Added silverfish
    Show Spoiler

    1.25 - Added new mobs in 1.8!
    1.2 - Added Permissions version - thanks to @mbaxter !!
    1.0 - Released Plugin.
     
  2. Offline

    Pencil

    Lol D: Not trying to be mean or anything buuut, you basically took over the plugin "BlockBlock" so you didnt even make that one, AND ur plugins are just 1 event, cancel it and plugin done D: You might wanna add more features first before you release a plugin like this which is basically just 2 lines D:
     
  3. Offline

    NeoSilky

    Yeah, sorry, i was gonna add more of the code once it had been passed, but ill work on more features now :) but surely if it works, and i say i will update it, there should be no problem?
     
  4. Offline

    Sn34kyNinj4

    If it wouldn't be too much to ask for, would it be possible to make some kind of block to attract the mobs? Such as a chest full of pork or a whole new block. I think it's a great idea to make the monsters passive, as I always turned them off to prevent creeper explosions. D:
     
  5. Offline

    NeoSilky

    @Sn34kyNinj4 thank you! i always did that, but it ruined the fun of going and attacking them ;) i will try and do your idea. a new block isn't really possible for what i want this plugin to be, but the chest full of pork, or to throw down an item to lure them away seems a good idea :D
     
  6. Offline

    Axelthecritic

    Hi again, i have a suggestion for this one. How about when creepers explode, the kill any player in their range (except OPs) and don't do any damage to blocks? You know, so they don't destroy buildings.
     
  7. Offline

    NeoSilky

    @Axelthecritic i could definately try and implement this into the plugin. Thanks! :)
     
  8. Is this configurable, so i can make everything else attack, just not ghasts?
     
  9. Offline

    NeoSilky

    Yep! It's all set to false by default, so changing the ghast one to true will stop ghasts attacking :D will be updating to Permissions, and adding the new mobs when they come on :)
     
  10. Ok, thanks alot :)
     
  11. Offline

    NeoSilky

    No problem! Please leave feedback and look out for updates soon ;)
     
  12. Its set them all to 'true' not false XD, np though :D
     
  13. Offline

    NeoSilky

    @Aaron Mullins(CoWs)

    oh, fail, you know what i mean, only have ghast on true, and it'll be okay ;) ill default them to false in the next update :D
     
  14. Sure np, i kinda realised anyway, its pretty simple, i like it, have some of these [diamond][diamond][diamond]
     
  15. Offline

    NeoSilky

    Why thank you :D i think i might add a Permissions version which protects you, and if you dont have it, the admin can set how much damage the mob gives you in a config :)

    Tell people about my plugins :D
     
  16. I will :)
     
  17. Offline

    dockter

    Where is the configuration file stored?

    What are the permissions? Seems to be missing some documentation.

    StopMobPerm.jar doesn't create the configuration directory or the config.yml file. Is the code incomplete?

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

    NeoSilky

    @dockter the code is going through maintenance, but there is no config for the permissions because you would not need it? You would use the permission nodes, ill add them on the thread now :)

    Edit: Check now. Nodes are up :)
     
  19. Offline

    Tzeentchful

    could you also add multi-world support?
     
  20. Offline

    NeoSilky

    @Tzeentchful So you can set it for different settings in different worldS? :)
     
  21. Offline

    dockter

    WIN!
     
  22. Offline

    NeoSilky

    Thanks :') Like it? :)
     
  23. Offline

    Liam Allan

    I gave him the plugin :D
     
  24. Offline

    BluXDragon

    No command to toggle the function? I want to make all the admins non-attackable, that way we don't act as "shields" when we watch what our players are doing :p
     
  25. Offline

    Tzeentchful

    yea so mobs can attack in one world but not the other.
    perhaps get a list of worlds and create a config for each one?
     
  26. Offline

    NeoSilky

    Can add one if you wish? :)

    Alright, will look into this :)
     
  27. Offline

    dockter

    Your permissions node setup doesn't work with Essentials.Groupmanager.

    Tried running this even as an Owner, zero affect. If I use the non-permissions based Stopmob.jar then it works fine, just disables aggro server wide.
     
  28. Offline

    NeoSilky

    I know, it was designed to be compatible with the new SuperPerms plugins... :S
     
  29. Offline

    dockter

    Any plans to make it compatible with essentials.groupmanager?
     
  30. Offline

    NeoSilky

    @dockter from where i see it, SuperPerms is taking over, so i would recommend getting one. If you wanted, I could create one compatible with it, but PM me :)
     

Share This Page