I can't spawn in other types of mobspawners [duplicate]

I very well know how to do /spawner cow and such, but when I try to do /give <User> 52:4 (zombie spawner) it doesn't work; it gives me only a pig spawner. I am very annoyed, and my player wants a spawner shop. What do I do?

In case you want to know, here are my plugins: Essentials, WorldBoarder, Factions, Multicore, vaults, Playervaults


Solution 1:

While the essentials /give command doesn't work; their is a work around this; from vanilla.

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Skeleton}, display:{Name:Skeleton Spawner}}

(or in bukkit:)

/minecraft:give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Skeleton}, display:{Name:Skeleton Spawner}}

I suggest getting a rename plugin like SimpleRename and use it to rename them with different colors (just to make them easier to visualize).

More on it:

https://www.kirsle.net/blog/entry/minecraft-monster-spawners

If that doesn't work, do:

/give @p mob_spawner 1 0 {BlockEntityTag:{SpawnData:{id:Skeleton},SpawnPotentials:[]}}

or in bukkit:

/minecraft:give @p mob_spawner 1 0 {BlockEntityTag:{SpawnData:{id:Skeleton},SpawnPotentials:[]}}

After you rename them; do /iteminfo to get the id.