[REQ] Pig Punchies.Punch a mob, get kicked.

Discussion in 'Archived: Plugin Requests' started by MiniUSB, May 26, 2012.

  1. Offline

    MiniUSB

    Plugin category: Misc

    Suggested name: PigPunchies

    A bit about me: I know lots of java, but nothing about Bukkit D: On my Bukkit server, I made a giant pink wool tower, for my pet pig Waffles. It became such a big deal I renamed the server PigCraft! Then my users suggested: What if you had a plugin like on the CraftedMovie server where if you punch a pig, you get kicked? I also know other languages like C++ and released an app in the iPhone App Store.

    What I want: I'd like to see a plugin that simply kicks you for a reason put in the config because you punched a selected mob (Mob selected in configs)

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: It should be universal. Even if opped, still kicked.

    When I'd like it by: I would like it when RB for 1.3 comes out.

    Similar plugin requests: None.

    Devs who might be interested in this: Not too sure :\ Hopefully sk89q
     
  2. Offline

    kezz101

    Yes I could do this, however I'm swamped at the moment :D I'll give it a shot when I'm not as busy...
     
  3. Offline

    MiniUSB

    Thanks


    ;D happy coding
     
  4. Offline

    CoKoC

    [​IMG]
    Hi,

    I made your plugin.
    You may download it here : <Edit by Moderator: Redacted mediafire url>
    The sources are available here : <Edit by Moderator: Redacted mediafire url>

    It works as you asked. It kicks a player if he hits the server's beloved mob type. There is a configuration file where you can set the beloved mob :
    I also added a convenience animalcare.override permission node, which is self-descriptive.

    If you want any other features, support, thanks, regrets, update request, whatever... Poke me on my profile with a link to this thread explaining your concerns.

    Regards,
    Sam.
     
    Last edited by a moderator: Nov 10, 2016
  5. Offline

    recon88

    I've already done a plugin like that. I'm using that on my own server.
    Just added the config part for you.

    If you want to try/use it: http://dev.bukkit.org/server-mods/animal-punchs/
    - It punches a player who is hurting an aminal
    - RANDOM directions
    - Configurable

    Permission Nodes:
    animalpunchs.nopunch (allows a player to hurt animals without getting punched)
    animalpunchs.reload (allows the usage of the command /ap reload

    Commands:
    /ap reload (reloads the config file - so you can adjust it without restarting the server)

    Config:
    Cow Punch: true (true/false - Cow punchs you)
    Chicken Punch: false (true/false - Chicken punchs you)
    Pig Punch: false (true/false - Pig punchs you)
    Sheep Punch: false (true/false - Sheep punchs you)
    Punch Message: Why you are hurting Animals? Take that!
    Punch strenght: 1.0 (Must be a double integer. At least 0.5 ! I recommend 1.0 but you can try higher values)


    Edit:
    Wait I think this is not what you need :/ You want the plugin to kick players from the server?
    My plugin is punching the players.
     
  6. Offline

    MiniUSB

    [quote uid=90651671 name="CoKoC" post=1136126]
    [​IMG]
    Hi,

    I made your plugin.
    You may download it here : <Edit by Moderator: Redacted mediafire url>
    The sources are available here : <Edit by Moderator: Redacted mediafire url>

    It works as you asked. It kicks a player if he hits the server's beloved mob type. There is a configuration file where you can set the beloved mob :


    I also added a convenience animalcare.override permission node, which is self-descriptive.

    If you want any other features, support, thanks, regrets, update request, whatever... Poke me on my profile with a link to this thread explaining your concerns.

    Regards,
    Sam.[/quote]
    Thank you, Sam!!!!!!!!!!!! I thought nobody would be interested in creating a plugin for me... lol. Is this on bukkit Server Mods list or anything? I would like to add it if it already isn't. Please reply as soon as possible.
    -Mini
     
    Last edited by a moderator: Nov 10, 2016

Share This Page