Inactive [FUN] WolfPound v1.0.2 - Adopt a wolf today! [953, 1000, 1060]

Discussion in 'Inactive/Unsupported Plugins' started by fernferret, Apr 1, 2011.

  1. WolfPound - Adopt a Wolf Today:
    Current Version: v1.0.4 - Get it at dev.bukkit.org

    Please Move All Discussion/Questions/Comments/Issues to our dev.bukkit.org Site!
    BukkitPerms verison on it's WAY!

    Want live help? Join #wolfpound on EsperNet

    Wolf Pound aims to make obtaining these epic companions just a little easier by allowing users to buy them (or have them for free)! The process is very simple and there are no config files to edit! Simply copy the jar to your plugins folder, create a sign with the required text, and you're good to go!

    Features:
    • Lets users buy wolves (or you could make them free :))
    • Integrates with iConomy, BOSEconomy, RealEconomy, Essentials Built in Economy, and Permissions!
    • All wolves spawned by this are neutral, meaning you must train them yourself with bones! See Below:
    • Spawn wolves as neutral, friendly or REALLY ANGRY
    • Spawn multiple wolves with one command! (Disclaimer: I am not responsible for the massive amount of wolves you spawn, or if wolves start getting in fights)
    • Limit the number of wolves you can spawn with the command
    • Multi-World Support! All options are now configurable PER WORLD!
    Download V1.0.2
    Download V1.0.1
    Download V1.0
    Download V0.12
    Download V0.11
    Download V0.9
    Download V0.8
    Download V0.7
    Download V0.6
    Download V0.5
    Download V0.4
    Download V0.3
    Download V0.2
    You don't want V0.1
    Github Source

    Video Demo: (Thanks @EpicDavi!)


    Todo:
    • Restrict wolves per time (wp[mhd]) This would not restrict the number of wolves a user can have, only a limit on how many they can get per amount of time from the sign, to reduce wolfspam - Medium
    • Refactor. The code is a mess and it's making future changes hard. I'm working on this in my free time from MV2 - HIGH
    How to setup a Pound (Store) (Simple):

    If you've used Essentials Free/Buy/Sell/Trade, then this should be a breeze, for everyone else, it should still be very easy.
    • Place Sign
    • Make Line 1 say: [WolfPound]
    • OPTIONAL: Make Line 2 say: $10
    • OPTIONAL: Make Line 3 say either: angry, friend, or neutral
    • DONE!
    Example Sign:

    [​IMG]
    Note: You can have line 2 in whatever currency you want, it could say `100 Rupees` and that would be valid.

    How to setup a Pound (Store) (Advanced example):
    [​IMG]
    • Sign1: No params = Free wolves
    • Sign2: 2:bone = It costs 2 bones to get a wolf
    • Sign3: 1:260 = It costs 1 Item #260(apple) to get a wolf
    • Sign4: 3 = It costs 3 dollars from an econ plugin, if none is found, wolf is free
    • Sign5: $10 = It costs 10 dollars from an econ plugin, if none is found, wolf is free
    Config file: (If you mess it up, delete it and it will auto regen)
    You don't actually ever need to touch this. You can use the commands that are outlined in the commands section entirely!
    Code:
    adopt:
        price: 0.0 # Set this to the number of dollars or items you want
        type: -1 # Set this to a positive integer to use an item, or leave it -1 to use dollars
        limit: 10 # The max number of wolves someone can spawn using the /adopt command
        aggro: friend # Could also be angry or neutral
        worlds:
            world:
                price: 0.0
                type: -1
                limit: 10
                aggro: friend
    Permissions:
    I have included 3 types of permissions:
    wolfpound.create - Allows users to create/destroy Pounds
    wolfpound.use - Allows users to use Pounds
    wolfpound.adopt - Allows users to type /adopt [X] and get a wolf (or X wolves, the X is optional)
    wolfpound.admin - Allows users to and use the /adopt setprice/settype/setlimit/setglobal

    Integration with other Plugins
    All integration with other plugins is handled automatically, but I thought I would explain a little about what this means.

    Permissions Plugin Support
    If you have Permissions installed, it restricts commands based on those, if you don't, it's a free-for-all.

    Economy Plugin Support
    Econ support is in this order(meaning it will use the one at the top of the list if you have it, then go down the list):
    1. iConomy - Version 4.6.5, Version 5 (Yes both of them :D)
    2. BOSEconomy - Version 0.6.2
    2. RealEcon - Version 0.6.2
    3. Essentials Economy - Version 2.2
    If you have none of the above Installed, all Pounds will give wolves away for free, regardless of what you put on the second line. The version numbers listed simply show which version is the latest I've tested with, they will most likely work with newer or older versions.

    Commands
    {} = needed; [] = optional

    Code:
    /adopt [X] : Where X is the number of wolves you want. If X is not present, it defaults to 1. Automatically charges you price * X
    /wpprice [all | w:WORLD]: States the price of a wolf.
    /wplimit [all | w:WORLD]: States how many wolves can be adopted at once.
    /wpsetprice {PRICE} [global | w:WORLD]: Sets the price to buy a wolf using the /adopt command.
    /wpsetaggro {angry | friend | neutral} [global | w:WORLD]: Sets the agressiveness of a wolf when it is obtained via /adopt.
    /wpsettype {ITEM_NAME | ITEM_ID | money} [global | w:WORLD]: Sets the type of currency used to buy a wolf via /adopt.
    /wpsetlimit {NUMBER} [global | w:WORLD]: Sets the number of wolves one can adopt at once via /adopt.
    /wpreset {w:WORLD | global}: Resets specified world to default from the current world if none is specified, or all if global is specified.
    
    Please Post any questions/comments/request!

    Changelog:
    Version 1.0.2
    • Upgrade AllPay Version. Now this works great with MV2!
    • Remove dependency on CraftBukkit, should be more stable with future updates
    Version 1.0.1
    • Fix massive console spam caused by AllPay (Thanks @phaed) - tested by renaming to aWolfPound
    • Fix Essentials Economy (2.2+ required as of now)
    • Supports permissions 2x and 3x
    Version 1.0
    • WARNING: MOST COMMANDS HAVE CHANGED (OP is currently being updated)
    • Fix several ecommerce bugs
    • Now features AllPay integration! No longer will you have to choose your econ plugin based on WolfPound!
    • Much better code :)
    • New wolf functions from RB 766
    Version 0.12
    Version 0.11
    • Update for MC 1.5/CB 704+
    • Fix compatibility error with other plugins that used signs
    • Fix Essentials economy giving you money if wolves were free
    Version 0.9
    • Add RealEconomy Support
    • TONS OF BUGS SQUASHED - .9 is a MUST HAVE UPDATE (See Github if you want to see what bugs were squashed)
    Version 0.8
    • Add friendly, neutral or angry spawning options
    • Add /adopt agro X command to allow setting default wolf type spawned via the command
    • Add Line 3 of signs now controls how a wolf spawns
    Version 0.7
    • Add multi-world support
    • Add ability to limit wolves spawned with the /adopt command
    • Improve error messages
    Version 0.6
    • Add partial item matching (now you can use cook instead of cookie)
    • Fix BUG where if you had the exact number of items requested, it would give you a wolf but not take items
    • Add better error messages when creating signs
    • Add config file support for buying wolves via the /adopt command
    • Fix some other bugs I forgot about...
    Version 0.5
    • Refactor banking to reduce future errors
    • Add support for using items as the currency for wolves
    • Add config file support for buying wolves via the /adopt command
    Version 0.4
    • Add /adopt X, where X is the number of wolves you want
    Version 0.3
    • Add BOSEconomy Support
    • Fix message to users on every sign
    Version 0.2
    • Add /adopt that requires permission wolfpound.adopt
    Version 0.1
    • Releasing WolfPound
    Other Wolf Plugins:
     
  2. This is a bug with whatever currency plugin you are using. The currency plugin you are using does not support plurals. Some support CURRENCY_NAME_PLURAL while most do not. If you can get that plugin author to add it, I will gladly add support for it in WolfPound!
    I know there are issues with other plugins blocking the spawning of wolves, are you using any mob protection plugins?
    No Problem, glad you like it!
     
  3. Offline

    Truecorruptor

    I know there are issues with other plugins blocking the spawning of wolves, are you using any mob protection plugins?

    Oh.... That would be the problem, woldguard area had mob-spawning deny
     
  4. Offline

    denieru7

    Thanks for your reply fernferret,
    I'm using iConomy, and the plural works with other plugins so I don't think it's iConomy's problem.
     
  5. hmm, I'll double check it, there is a good chance It didn't support it, or I didn't see the variable when I wrote it.

    @denieru7

    Are you using iConomy 5? Because it DOES support this, and I'm currently upgrading WolfPound for the Bukkit changes and iConomy 5, this should fix your issue :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  6. Heads up: New WolfPound on it's way next RB! Huge economy changes that you won't notice at all!
    @denieru7 WP .13 supports iConomy 4X and 5X and supports as many plugins that it can with plurals!
     
  7. Offline

    denieru7

    @fernferret

    Thanks for that! I appreciate it.
     
  8. Offline

    ClickCraft

    Please, make this plugin work with iConomy 5
    I beg you *o*
     
  9. I'm doing a bunch of code cleanup and waiting for the RB, you'll have it as soon as I do :confused:

    For all the people wanting new features, I have not forgotten you, I have put the code on a feature freeze for the time being as I just did a bunch of refactoring and want to ensure that the plugin is still working for everyone!

    With that said, If you're itching to get your hands on a copy of WolfPound 1.0 (Yep, what I consider the first full release) send me a pm, you must be running CB 755+ for it to work. This is why it is not published yet.

    1.0 also features:
    broken out commands so they show up in help
    AllPay, for support with iConomy 4.X and 5.X along with all of the other plugins wolfpound supports!
    Much more readable code*

    *Than before, still needs a bit of work to get it where I want to, but with this iConomy release I feel that it's selfish of me to keep it to myself.

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

    CliffieJ

    Hi , how do i add the premisiions ? anyone in my server can make this sign and they can pop wolfes and stuff . i want it to be just admins/op's that can make and break signs and use /adopt . Thnaks !!
     
  11. Permissions:
    I have included 4 types of permissions:
    wolfpound.create - Allows users to create/destroy Pounds
    wolfpound.use - Allows users to use Pounds
    wolfpound.adopt - Allows users to type /adopt [X] and get a wolf (or X wolves, the X is optional)
    wolfpound.admin - Allows users to and use the /adopt setprice/settype/setlimit/setglobal
     
  12. Just a side note, I will be traveling this next week and will have very spotty internet, I know a RB is coming out soon and I do have the code changes that should be compatible with it, I will post this as soon as I get a chance (hopefully before the RB hits). The new version (1.0) will support iConomy 4X, 5X and everything else. Hope nothing else breaks in this update :)
     
  13. Offline

    Ghost2057

    Badass. Period.

    Even Notch must bow down.

    This is an amazing plugin, by far the most entertaining I have on my server. (GhostCraft.)


    How can you not like buying wolves for a price (Economy or not), taming them, having them follow you around, (or just sitting,) and having them maul the hordes of monsters at night?
     
  14. Offline

    CliffieJ

    th
    this still doesnt help me ? i added it to the .txt file and then nobody and myself(OP) can buy a wolf or make a working sign .
     
  15. Offline

    Zerkion

    Help Me! please I have iConomy 5.0 and the latest wolf pound version but after I put the sign on, right clicked it, nothing happen! and i set it for free
     
  16. Offline

    Gabriel Moon

  17. I have really bad internet where I am right now, but hopefully I will be able to release 1.0 in less than 24 hours, once I can get a good enough connection to upload...
     
  18. Offline

    drats666

    doesn't work with build 744/740
     
  19. Offline

    ClickCraft

    Hey man, please update T_T
     
  20. Offline

    jramos037

    can you add ability to wire it so that when someone steps on plate, angry wolf will spawn. of course wiring should only work for free wolves. we don't want to trap people to pay 1000 coins.
     
  21. Excuse me, but i was wondering if there was a way to spawn "Friendly" wolves at full health? Thx in advance!
     
  22. Offline

    thepackett

    could you make it so that if you use a teleport from the stargate plugin the the wolf will teleport with you?
    especially stargates in different worlds ^^

    also i get the error:
    00:58:17 [SEVERE] Could not pass event PLAYER_INTERACT to WolfPound
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
    at com.fernferret.wolfpound.WPBankAdapter.hasMoney(WPBankAdapter.java:56)
    at com.fernferret.wolfpound.WPPlayerListener.onPlayerInteract(WPPlayerListener.java:29)
    at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:280)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:207)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:526)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 15 more

    whenever i try to use a wolf pound that has no parameters or has a cost in iconomy money.

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

    LastKossack

    I have the same error over here. iConomy 5, Permissions, 2.7.2, EssentialsProtect (With spawnables wolfies and animals)
     
  24. Offline

    $p!k3

    wolfpound wont work with icom v5. thats why. wait for the new wolfpound update. im doing the same here :mad:
     
    LastKossack and KeithGB like this.
  25. Offline

    LastKossack

    Yeah, Ive noticed that... let's wait.
     
  26. Offline

    Gabriel Moon

    me and my players on my server love this plugin!!, we have Made a video showing how to use your plugin, and we would be soo happy if you would put our video on the main plugin page along side epicdave's, :) here is our vid http://www.youtube.com/watch?v=79B4NT1FlxY :)
     
  27. Offline

    $p!k3

  28. Argh, iConomy 5.
    Update or source :D
     
  29. Offline

    Elvis

    Is this updated for build 766? iconomy 5
     
  30. Offline

    Jeyge

    The source is listed in the original post. I'm guessing you should have it fixed in a couple hours right?
     
  31. Offline

    LastKossack

    .___. Come oN!!! PLEASE!
     

Share This Page