[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

    majestic53

    ColorSheep:
    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.

    Contributors:
    • redsgreens -- many thanks for fixing the spawning issues and adding multi-world support
    Features:
    • 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
    Download:
    Commands:
    • /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
    Permissions:
    • /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

    Changelog:
    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

    Amethyst

    So simple but awesome. xD
     
  3. Offline

    Drageer

    love it lol :D
     
  4. Offline

    Rooftops

    superepicawesomeness :D:D:D
     
  5. Offline

    SharkWipf

    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

    Miome

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

    thefinaldegree

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

    Nimrod

    me three!
     
  9. Offline

    Kryppuk

    want it too ^^
     
  10. Offline

    Nimrod

    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

    majestic53

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

    CheezyW

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

    Nimrod

    Sweet! Thanks!
     
  14. Offline

    AnarkhiA

    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

    KaWie

    EPIC! [redflower]
     
  16. Offline

    Saranis

    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

    emoknight

    Code (Text):
    1. 2011-04-09 22:07:35 [SEVERE] Could not load 'plugins\ColorSheep.jar' in folder 'plugins':
    2. java.util.zip.ZipException: error in opening zip file
    3.     at java.util.zip.ZipFile.open(Native Method)
    4.     at java.util.zip.ZipFile.<init>(Unknown Source)
    5.     at java.util.jar.JarFile.<init>(Unknown Source)
    6.     at java.util.jar.JarFile.<init>(Unknown Source)
    7.     at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:53)
    8.     at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:158)
    9.     at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:106)
    10.     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:84)
    11.     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
    12.     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
    13.     at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
    14.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
    15.     at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    do not work with CB670
     
  18. Offline

    morais17

    Its working for me on cb670
     
  19. Offline

    emoknight

    odd... it working now
     
  20. Offline

    aiden090

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

    Chromana

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

    majestic53

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

    StCloud

    Update please!
     
  24. Offline

    redsgreens

    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

    Bootycarl

    OMFG this is hilarious. Awesome.
     
  26. Offline

    Rebecca

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

    majestic53

    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
     
  28. Offline

    majestic53

    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.
     
  29. Offline

    redsgreens

    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.
     
  30. Offline

    Rebecca

    Great!! It works now!1 Sorry im new to Bukkit
     

Share This Page