Idea from here.
You can set pumpkins with /pumpkinlight.
These pumpkins will switch between jackolanterns and pumpkins when a player comes near them.
|pumpkin.light||The pumpkins will switch when the player comes near them|
Place the .jar in plugins folder. Now customize and configure the plugin!