This is the source code of Weather Tool. You can get the plugin over here [ SPIGOT ]
#CONFIG
AdminPerm: 'weathertool.admin'
Messages:
clearweather: '&8[ &5&lWeather &f&lTool &8] &fThe weather has now been removed.'
rainweather: '&8[ &5&lWeather &f&lTool &8] &fThe weather has now been set to rain.'
day: '&8[ &5&lWeather &f&lTool &8] &fIt''s now day.'
night: '&8[ &5&lWeather &f&lTool &8] &fIt''s now night.'
reload: '&8[ &5&lWeather &f&lTool &8] &fYou have reloaded the Weather Tool.'
noaccess: '&8[&4Error&8] &fNo access.'