Giants
Giants That Spawn Naturally
This plugin takes direct inspiration from FatMarleys' plugin FatGiants, which in turn was inspired by NaturalGiants. This plugin also takes inspiration from NodinChan's MobJockeys.
This plugin was originally written by rmh4209, continued on by pkt77, and is now in the hands of Mammothskier.
Features
The Giants Plugin can naturally spawn Giants that have 8 Configurable attack mechanisms Configurable Health, Experience, Drops, and Spawn in configurable Worlds and Biomes. “The worst thing you can say about homework is that it is too hard. The worst thing you can say about a game is it's too easy.”
Attack Mechanisms
Attack Descriptions
Attack Mechanisms | Description |
---|---|
Default | The default Minecraft Giant attack - if a player is inside the giants legs, the player will instantly die. |
Lightning Attack | When a giant targets an entity, that entity will be struck by lighning |
Thow Boulder Attack | When a player is 5-10 blocks away from a giant, there is a chance the giant will "Throw" a Fireball in the direction the giant is facing |
Stomp Attack | When a player gets close to a giant, there is a chance the giant will stomp the player |
Kick Attack | When a player gets close to a giant, there is a chance the giant will kick a player at a configurable height |
Fire Attack | When a giant targets an entity, that entity will get set on fire and so will the giant (configurable) |
Lava Attack | When a giant targets an entity, it can sets lava under that entity |
Poison Attack | When a player gets near a giant, there is a chance that it will poison the player |
Shrapnel Attack | When a giant targets a player, the giant will spawn zombies around the player (configurable) |
Spawn Zombies on Death | When a giant dies, a configurable amount of zombies will spawn in that location |
Attacks
Attack Mechanisms | Giant | Slime | Magma Cube |
---|---|---|---|
Default | ![]() | ![]() | ![]() |
Lightning Attack | ![]() | ![]() | ![]() |
Thow Boulder Attack | ![]() | ![]() | ![]() |
Stomp Attack | ![]() | ![]() | ![]() |
Kick Attack | ![]() | ![]() | ![]() |
Fire Attack | ![]() | ![]() | ![]() |
Lava Attack | ![]() | ||
Poison Attack | ![]() | ||
Shrapnel Attack | ![]() | ||
Spawn Zombies on Death | ![]() |
Commands
Commands | Description |
---|---|
/giants spawn <x> <y> <z> | Spawns a giant at the given location |
/giants reload | Reloads the configuration files |
/giants version | Shows the version of the plugin the server is running |
Permissions
Permissions | Description |
---|---|
giants.version | Gives the permission to use /giants version |
giants.spawn | Gives the permission to use /giants spawn |
giants.reload | Gives the permission to use /giants reload |
giants.debug | Gives the permission to receive debug messages |
giants.* | Gives all permissions for the plugin |
Known Bugs
Found a bug? Submit a Ticket!
Future Plans
Idea | Status |
---|---|
Add custom Death Messages | In development |
Improve Movement Speed | In testing |
Got an idea? Submit a Ticket!
MC Stats
This plugin uses mcstats for stat collection. You can opt out of this by going into the plugin metrics folder and setting opt-out to true.
@Conderan
Looking into it now.
EDIT: It seems to be working perfectly fine with a clean install. Try using this version here: v12
Running v11.
1. Fire attack isn't working.
2. Now using 19:0:1 as item, and nothing is dropping.
v11 is now uploaded.
Changelog:
@Conderan
I will release a fix as soon as I can.
@Jobsti2
I haven't tested it with values up to that high, so I'm not sure what your issue is. I'll check it out soon.
@Max033
What?
@mcprotect
The integer I use for the health is actually a 32-bit integer, so it's got a maximum value of 2,147,483,647. The whole health thing might be caused by Minecraft or Bukkit rejecting something that high, however.
@Jobsti2, I'd assume the HP cap is 255, and that since you used 1000 it is simply setting it to somewhere around 235 instead (depending on the methods they used for the overflow), due to having simple 8-bit integers.
This may, however, not be the issue. It is quite likely that it is, though.
If you can calculate the Giant's health and it is 235, then this is definitely what is wrong, and can be fixed by changing the integer type (easier said than done).
Others attack? Please neame?
Big thanks, it works! I should read the config description ;) (pasted values from fatgiants to giants).
Maximum HP is 100, change to 1000 doesn't work?!
(last time this worked, was with NaturalGiants on very old Craftbukkit)
Question, does spawnChance: like 0.5 work? (if yes: 0,5 / 0.5 or '0.5' ?)
@Jobsti2
Throw another : in there. So it should be "item id:damage value:amount". Damage value is usually 0.
Dev #9 is running....
Works so far, but Giants are always dropping sponge instead of - '341:12'
What's wrong?
And I think spawnChance is 5%, not 1% from my cfg. (Yep cfg in v9 folder, v3 folder deleted)
@Zefram
Due to changing the "giantStats.drops" so that there are less than two colons inside it. Fixed in the newest dev build.
14:38:11 [SEVERE] Could not pass event EntityDamageByEntityEvent to Giants
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:304)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
a:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
ava:460)
at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDamageEvent(
CraftEventFactory.java:363
at org.bukkit.craftbukkit.event.CraftEventFactory.handleEntityDamageEven
t(CraftEventFactory.java:381
at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:608)
at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:38
)
at net.minecraft.server.EntityHuman.attack(EntityHuman.java:750)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:917)
at net.minecraft.server.Packet7UseEntity.handle(SourceFile:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:116)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7
8)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.ArrayIndexOutOfBoundsException 2
at info.hawksharbor.Giants.utils.GiantsAPI.getItemDrops(GiantsAPI.java:9
1)
at info.hawksharbor.Giants.listeners.GiantsEntityListener.onEntityDamage
(GiantsEntityListener.java:102
at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:302)
... 15 more
uh Yeah. Big Thanks!
v3 is now uploaded.
Changelog:
@predawnia
There'll be a version available for download tonight.
Will try this when you are done...wish i had time still...or the knowledge.
Is there a download? :)