[INACTIVE][SEC] Friendlies v1.2.1: A Permissions-based monster whitelist. [766]

Discussion in 'Inactive/Unsupported Plugins' started by fullwall, Feb 19, 2011.

  1. Offline

    toffo

    And why would you ask that in a thread that has nothing to do with the plugin? More than it uses it..
     
  2. Offline

    raymondes

    Has there been any progress on this plugin at all in the past week? I would really like to implement this plugin on my server.

    Also, since development on this plugin seems to be very slow, can anyone suggest an alternative plugin that has the same basic functionality as this one? I just want docile monsters on my server.
     
  3. Offline

    fullwall

    Hmmmm? Development is not slow - I am waiting for bukkit permissions to actually work. Which features did you want implemented?
     
  4. Offline

    raymondes

    If I had a plugin that made all monsters neutral/passive i would be happy.

    I'm not trying to tell you how to write your plugin, that is just what I'm looking for.
     
  5. Offline

    fullwall

    Well, this plugin should work - just give yourself friendlies.*
     
  6. This plugin makes me happy. Fullwall, you are an amazing modder.
     
  7. Offline

    Em0srawk

    Do you think you might be able to make it so Monsters are friendly to each other when friendly firing? I've almost died twice when I was happily playing with my new creeper friend and a skeleton decided to shoot the creeper, causing it to blow up in my face.
    And yes, it does seem that I'm dropping suggestions on lots of your threads
     
  8. Offline

    fullwall

    Yes, that's possible. I will add when I can.
     
  9. Offline

    Seth.D

    Can you please add some built-in permissions? It'd be great for people who don't have the Permissions plugin and/or people who don't want all monsters to ignore the admins.
     
  10. Offline

    fullwall

    Still waiting on built-in bukkit permissions. Sorry :(.
     
  11. Offline

    sheepyowl

    hello, i have a little problem with configuring the permissions for this specific plugin - i want to give this to certain players, but not myself. in the permissions config, the admin group has a '*' in permissions (as in has all permissions) so this plugin affects me.
    from what i have understood, having a "permissions: '[*, -friendlies.*.ignore, -friendlies.*.ignoreattacks]'" should get me all the commands but disable friendlies... but it doesnt. can you help me configure a [admin has all commands except for this one] setting in the config?
    also, if i set a "friendlies.*.*" will it work? or do i have to do "friendlies.*.ignore, friendlies.*.ignoreattacks"?
    also, i have no errors when starting up the server, and permissions works for other plugins.
    this is my first time in the bukkit forums aswell, so i didnt realize how to use all those... stuffs.
     
  12. Offline

    fullwall

    You should be able to just to do friendlies.* and -friendlies.*
     
  13. Offline

    sheepyowl

    ah, seems like a problem with my own understanding of how the permissions works then. ill figure it out someday. thanks for the help
     
  14. Offline

    jsplayer111

    Well I'm know nothing about this but couldn't THAT be the problem?
     
  15. Offline

    Jonathan Bloom

    Can you add the ability to do it by command as well? I'm an admin and I only wish to build sometimes and not get attacked, but other times I'd prefer to get killed by mobs.
     
  16. Offline

    MineralMC

    Oh, very cool. NoTarget for MC, I like your thinking.

    Is this confirmed working for 602?
     
  17. Offline

    fullwall

    Yep, relies on permissions, not on craftbukkit as much :).
     
  18. Offline

    MineralMC

    Notch buggered it up. Getting a [SEVERE] Could not pass event ENTITY_TARGET to Friendlies error whenever I come into aggression range of a hostile mob. Using latest REC; 617.
     
  19. Offline

    fullwall

    Hmm... can you post the full error please?
     
  20. Offline

    MineralMC

  21. Offline

    derchris

    Have a little problem, similar to the one sheepyowl had.
    Want to set *.ignore for all users, but mobs still attack when they are attacked.
    So I tried the following, but it does not work:

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'friendlies.*.ignore'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - '-friendlies.*.ignoreattacks'
    
    But when I login as normal user, Mobs will attack me, and when logged in as Admin, Mobs will not attack back.
    So I'm guessing the .*. is not working with Permissions plugin.

    Can you give a list of mob names supported by this plugin, so i can add each on their own?
     
  22. Offline

    fullwall

    Sorry about that - looks like a permissions issue though :S. The mob names are the lower case names of the mob. Let me know if I miss any. creeper, ghast, giant, slime, zombie, pigzombie, skeleton.
     
  23. Offline

    _LB

    This plugin is working excellent on my server, but the "monster" monster does not seem to be affected... could you add this please?
     
  24. Offline

    fullwall

    The "monster" monster? Not quite sure what you mean by that.
     
  25. Offline

    _LB

    If you have spawnmob, just type "/spawnmob monster" and see what I mean. If you don't, here is a screenshot:
    [​IMG]
    No, that's not a user with the default skin and no name, that's a monster. Basically a human version of a zombie. Like Giants, it exists in the game but does not spawn naturally. And when I spawn one with spawnmob, it is not affected by your plugin so it attacks everyone no matter what!
     
  26. Offline

    fullwall

    Redownload 1.2 for this feature.
     
  27. Offline

    brightwanderer

    Can't get this to work - I've tested my permissions groups with General and they seem to be fine. I'm guessing the problem might be to do with my world not being named "world" (although I do not have multiple worlds on the server). This is what my permissions config currently looks like - if my map is called "CustomMap", what do I need to put in here to make it work? I tried using "friendlies-worlds:" but I can't tell from your example what the spacing should be or if I need to put it in every group.

    Code:
    plugin:
        permissions:
            system: default
            copies:
    
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
    
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - 'general.*'
    
    users:
        brightwanderer: # put your minecraft name here
            group: Admins # put the name of your admin group here
            permissions: # leave this blank
    
    Many creepers died blew me to smithereens while testing this. :)
     
  28. Offline

    fullwall

    Hmmm... You could try the multiworld thing... you put it under build: true, with the same indentation.
     
  29. Offline

    brightwanderer

    No luck. I've even renamed my map to "world" to try and simplify things. The following configurations don't seem to do anything at all.

    Version 1:

    Code:
    plugin:
        permissions:
            system: default
            copies:
    
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
    
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'friendlies.*'
    
    users:
        brightwanderer:
            group: Admins
            permissions:
    
    Version 2:
    Code:
    plugin:
        permissions:
            system: default
            copies:
    
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
    
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
                friendlies-worlds: world
            inheritance:
            permissions:
                - 'friendlies.*'
    
    users:
        brightwanderer:
            group: Admins
            permissions:
    

    Version 3:
    Code:
    plugin:
        permissions:
            system: default
            copies:
    
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
    
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
    
    users:
        brightwanderer:
            group: Admins
            permissions:
                - 'friendlies.skeleton.ignore'
                - 'friendlies.spider.ignore'
                - 'friendlies.creeper.ignore'
                - 'friendlies.zombie.ignore'
    Just doesn't work, not for groups or for individual users. I feel sure there must be some basic thing I'm getting wrong, like a typo or spacing, but no matter how I try I can't find it. :(
     
  30. Offline

    fullwall

    Looks like it was partly my fault :p. Apparently, adding the support for 'monster' enemy types also made everything default to the 'monster' permission. Removed for the time being. @brightwanderer, redownload 1.2 and the issue will be fixed. Sorry for the trouble.
     

Share This Page