[FUN] ColorSheep v0.5 - Spawn more colorful sheep, hold a rave [1060]

Discussion in 'Inactive/Unsupported Plugins' started by majestic53, Apr 2, 2011.

  1. Offline


    Spawn colorful sheep instead of the same-old boring sheep you're used to seeing. This plugin allows you to spawn multiple sheep in many different colors. It also includes a feature that will randomly assign colors to the spawning sheep. Get ready to rave.

    Version 0.5:
    This plugin has been tested on 1.5.

    • redsgreens -- many thanks for fixing the spawning issues and adding multi-world support
    • Spawn a herd of sheep in over 15 different colors
    • Spawn sheep with randomly assigned colors (aka. ravesheep)
    • Set all naturally spawning sheep to random colors
    • Permission support
    • Multi-world support
    • /sheepset { spawnrandom | max [NUMBER] }
      • spawnrandom -- toggle if naturally spawning sheep get random colors
      • max [NUMBER] -- change the max spawn cap
    • /sheep { [COLOR] [NUMBER] | rave [NUMBER] | kill | status | colors }
      • [COLOR] [NUMBER] -- spawns a certain number of sheep in a certain color
      • rave [NUMBER] -- spawn a certain number of sheep in random colors
      • kill -- kill all sheep
      • status -- display the plugin status
      • colors -- display the list of applicable colors
    • /sheepset spawnrandom -- 'colorsheep.spawnrand'
    • /sheepset max [NUMBER] -- 'colorsheep.max'
    • /sheep [COLOR] [NUMBER] -- 'colorsheep.spawn'
    • /sheep rave [NUMBER] -- 'colorsheep.rave'
    • /sheep kill -- 'colorsheep.kill'
    • /sheep status -- 'colorsheep.status'
    • /sheep colors -- 'colorsheep.colors'
    Known Bugs:

    None at the moment

    Version 0.5
    • Added permission support
    • redsgreens changes:
      • Fixed the colored sheep spawning problem, so sheep now should naturally spawn in random colors
      • Added multi-world support
    Version 0.4
    • Added the ability to spawn sheep where player is pointing
    • Changed the command structure
    Version 0.3
    • Added the ability to set all naturally spawned sheep to a random color
    • Added a status command (/sheepstatus) which displays the plugin status
    • Added the ability to kill sheep (/killsheep)
    Version 0.2
    • Added configuration file support
    • Added two new admin commands (/opsheep & /maxsheep)
    Version 0.1
    • Release!
    crazycrafter, Maniac and Fantikerz like this.
  2. Offline


    So simple but awesome. xD
  3. Offline


    love it lol :D
  4. Offline


    superepicawesomeness :D:D:D
  5. Offline


    looks fun, I will probably install it, just for teh lulz, but please, PLEASE, use a wget compatible link, for more than one reason.
    Good, free, examples of wget compatible links are Dropbox (use that specific link to get (and give me ^^) 250MB extra free space), and, if you make it open source, Github.
  6. Offline


    Sounds fun! Can I set it so that sheep that spawn naturally come in random colors?
  7. Offline


    ^ I would also really like this feature. :p
  8. Offline


    me three!
  9. Offline


    want it too ^^
  10. Offline


    Usually I wouldn't install something like this because I usually find them stupid. But this one... this is so sweet and awesome. I can't wait until you can get them to spawn in the wild because this is just that awesome.
  11. Offline


    Great idea! I'll work on this today.
  12. Offline


    Would it be possible to have a 'kill sheep' command just in case I want this rave to stop? ^^
    bartsmit41 likes this.
  13. Offline


    Sweet! Thanks!
  14. Offline


    Getting a few errors.. Running 617 1.4..

    All I did was place the plugin in my plugin folder, one thing that strikes me as odd is that the plugin uses a different name to activate than it is named in the folder.

    Indeed renaming the plugin to ColorSheep.Jar fixes the problem. IMO a stupid mistake to make to begin with but meh ^^ I love mah sheeps now :D
    bartsmit41 likes this.
  15. Offline


    EPIC! [redflower]
  16. Offline


    Naturally spawning sheep still arent spawning with a random color for me. Its all white black brown pink and the millions of shades of grey.

    I am loving the rave though. I told my fiance from New Zealand that I had added a New Zealand mod onto the server. I then trapped him in a 5x5 room and used /sheep rave 100.

    I haven't laughed so hard for a long time at his exclamation.
  17. Offline


    2011-04-09 22:07:35 [SEVERE] Could not load 'plugins\ColorSheep.jar' in folder 'plugins':
    java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:53)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:158)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:106)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:84)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    do not work with CB670
  18. Its working for me on cb670
  19. Offline


    odd... it working now
  20. Offline


    they sheep are not spawning naturally and i have random set to true plz help
  21. Offline


    Is this still being developed? It's fantastic! Permission support would be great :)
  22. Offline


    Ok. Hopefully permissions are now supported. Tell me if you encounter any problems.
  23. Offline


    Update please!
  24. Offline


    This happens to me as well. What's weird is if a few sheep spawn nearby and I disconnect/reconnect, then those same sheep have changed from white to colorful. Is this possibly a bug in Bukkit?
  25. Offline


    OMFG this is hilarious. Awesome.
  26. Offline


    Every time I try it, it says "Player does not have proper permission". What do I do?
  27. Offline


    Are you running the permissions plugin? If you are, you need to add the following permissions:
    • colorsheep.spawnrand
    • colorsheep.max
    • colorsheep.spawn
    • colorsheep.rave
    • colorsheep.kill
    • colorsheep.status
    • colorsheep.colors

    I'm not sure how to resolve this problem? It seems that only sheep that spawn within viewing distance of players have a chance of being colored. If you place a sheep spawner down and stand around it they will spawn in all colors.

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


    I found a workaround, kind of. I used the Bukkit scheduler to call back after a short delay, so the sheeps are changing color shortly after they spawn rather than simultaneously.

    Here's a link to the code I've been fiddling with: http://dl.dropbox.com/u/6671999/ColorSheepz.zip

    It's a simple plugin that colors all the sheep in the main world. I based it on your code, but removed everything I could in order to focus on the sheep not changing color issue.

    UPDATE: I updated my fork on GitHub to include this timer based fix and it seems to be working well! Also fixed a bug or two in my multiworld hack.
  29. Offline


    Great!! It works now!1 Sorry im new to Bukkit
  30. Offline


    Glad to see my changes were accepted, very happy to lend a hand! :) I really think this plugin adds a fun element to the game, as well.

Share This Page