Hello, I am owner of the large roleplay server Heroes of Galderon! We strive to bring a new experience to the world of Galderon by adding unheard of elements to the game! After having custom giants and dragons, we are implementing custom slimes as well! However as I have never done anything like this before, I will turn to the bukkit community for help! Basically slimes and magmacubes are hard programmed from sizes 1-256. sizes 2-4-6 spawn naturally. What i need is a plugin that will allow me to set the spawn rate for sizes from 1-50. They should also spawn in the normal world, at any y cordinate (like normal mobs). Id prefer if this plugin was private
Magma cubes and slimes will get messed up and glitchy if you spawn them at size 50. They'll start disappearing and doing all kind of crazy stuff. I'd recommend going from 1-40 -- From my testing, at least.
np98765 I hope I'm not going over the line here but could you show me a little of the code about the slimes? :3 I wanna learn.If you can't just say so I'll understand no questions asked
/me shrugs I've never tried working with slimes. I only know that information because of the /spawnmob command. ^_^
Well, I'm playing on my singleplayer, since I needed some slimeballs and hated creepers, I started spawning slimes and stopped creepers from spawning! You can use it to: https://dl.dropbox.com/u/81824464/SlimeySurface.jar Edit.: *too
Example :3 Code: @EventHandler public void onEntityDamage(EntityDamageEvent event) { Entity ent = event.getEntity(); if (ent instanceof Slime) { Slime slime = (Slime)ent; Random r = new Random(); int size = r.nextInt(32) + 1; slime.setSize(size); } }
JayzaSapphire I am looking through your code and million ideas poppingĀ« up xD i was wondering if i could use this code another evente for example mobspawnevent?and set the size of newly born slimes o.o?
I could also use a plugin like this. I am putting together an rpg based server, and I was looking for a plugin that does exactly this, but I couldn't find one
OtherDrops can do this by replacing any other natural spawn at a certain percentage rate, eg: Code: SLIME: # for any slime - action: MOBSPAWN # on the spawning of the mob chance: 10% # with a 10% chance drop: SLIME@HUGE # replace with a giant slime You could also use the data value, eg. SLIME@4 or even bigger, SLIME@32 (don't go too big, they get glitchy).
the thing is with this code, whenever you kill a huge slime, it will split, and other drops might spawn another huge slime because of it. I tried out the code, and thats what happened
raXas Good point - I'll think about whether to ignore the slimesplit event however the following should work: PHP: SLIME: # for any slime - action: MOBSPAWN # on the spawning of the mob chance: 10% # with a 10% chance drop: SLIME@HUGE # replace with a giant slime spawnedby: NATURAL # work for natural spawns only, not slime split
raXas Doesn't work as in no huge slimes spawn any more or they still spawn with slimesplitevent? I'll test it out later when I'm at my computer.
Zarius: I'd love to see SLIMESPLIT as a separate cause in OtherDrops. I use OD on my private server, and it lets me completely alter the game mechanics. SLIMESPLIT@SIZE would be great too, because I could stack likelihood of spawning different things from different sizes.
sehrgut42 Yeah, I've been thinking about adding this trigger (was initially hesitant to add too many triggers - but this should be easy enough to add). When I do it'll automatically support different sizes
raXas That last config I posted (will repost below) works fine for me - perhaps try it using the latest dev build of OtherDrops? PHP: SLIME: # for any slime - action: MOBSPAWN # on the spawning of the mob chance: 100% # with a 10% chance drop: SLIME@2 # replace with a giant slime spawnedby: NATURAL # work for natural spawns only, not slime split
Zarius I did this: Code: SLIME: - action: MOBSPAWN - chance: 10% - drop: SLIME@32 - spawnedby: NATURAL
Too many dashes!! :\ That really just means that slimes will drop slimes. Each dash starts a new drop section... eg: PHP: SLIME: - drop: egg - action: MOBSPAWN drop: SLIME@32 # replace with large slime spawnedby: NATURAL - action: HIT # when you hit the slime drop: dirt - action: RIGHTCLICK # if you rightclick the mob drop: GRASS