Plugin Idea

I have yet to see a plugin like this.

Due to another plugin on my server, Giants now naturally spawn in my server. Unfortunately, They do not do much at all, they have heath and can be killed, however they do not aggro players nor attack them. I don’t know how to code plugins and unfortunately don’t have time to learn how to. I was wondering if someone can make a plugin to patch the Giant allowing them to agro players (twice or 4 times the distance a zombie would since they are so large) and also give the Giants 3 types of attacks that deal different amounts of damage.

A stomp attack: The giant must be a max distance one 1 block away from the player for this to happen. the giant steps on the player which will instantly kill that player if he/she has no armor.

A"kick" attack which deals at least 4 hearts of damage on and unshielded player and knocks the player back 15 blocks max (if the player hits and objects from being flung, more damage is induced). This attack, like the first one, can only happen if the giant is within melee distance from the player.

A “devour” attack: unlike the first two this attack should be more rare to happen considering how powerful it is. A giant must be at max 5 blocks away from the player for this to work. the giant picks up the player and starts to “devour” them causing the player to lose health rapidly, if the player attacks the giant enough, the giant lets go of the player however the player also faces the fall damage from being released.

If someone makes a plugin like this that would be amazing!!

     - Thank you
2 Likes

I was actually thinking of creating a plugin that supports giants. The problem i had came when dealing with the A.I of the giant. Due to the fact the giant was only put in the game as essentially a removed idea. Its only accessable to plugins that recreate it.

And thats fine. However Sponge is implementing a api (essentially adding more code) that deals with A.I of all mobs/animals including the giant. The problem is that it is not out yet.

My other problem with this is the animation the giant will do. As a developer we could lay a “kick” animation (essentially the movement animation). However the others I got no idea.

Also. There was a popular Bukkit plugin. Can not remeber the name that had in its configuration a option to spawn Giants and make then attack the player by throwing TNT at them.

I was under the assumption that it was already possible to create custom AI behaviour after seeing @zidane give humans custom behaviour.

If you have specific examples of what you have tried that didn’t work we can probably assist.

I had not heard anything that custom ai was implemented apart from the basic goal tasks (essentially the prebuilt ones normal entities use). So i assumed it still wasnt implemented. Ill take a look again when i get the chance

1 Like

It is possible to create custom AI right now:

https://github.com/SpongePowered/SpongeCommon/blob/bleeding/testplugins/src/main/java/org/spongepowered/test/HumanAITest.java#L63

With that said, Sponge does not expose the pathfinder. I’d love to get that in as well as I want to make some changes to fix some oddities with the current API. With that said, you can do some insanely powerful stuff with what is available currently but I don’t think anyone is messing with it yet.

Here is our expo plugin from Minecon 2016 that had Humans show up and kill people off once a timer ran out:

2 Likes

MythicMobs for bukkit supports AI, with the help of this plugin I created AI for giants. The problem is that for Sponge there is no alternative plug-in so far = (
It would be nice to build a team and create such a plugin.

The kick does not need an animation, just the effect of being knocked back. Thank you for looking in to it

1 Like