Just set a item meta to the spawner when a player break/pick up it. Then when a player place a spawner and the item meta is the one defined above, replace that spawner for a pig spawner.
If you need help doing this add me on discord idani84#3294
You have to add a plugin that start a timer when the plugin is enabled and store it on a database (add this plugin on the server you want to get the age). Then you have to add to your hubcore a repeating task (20L) that update the item if the inventory is open for that player to set the database...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.