Plugin category: Admn/mech? Suggested name: NoNight What I want: I'd like a plugin that disables night_time. So if night starts to happen, just automatically change it to day. Ideas for commands: No commands needed for this plugin. Ideas for permissions: none. When I'd like it by: Doesn't matter
Something like this : Code:java @Overridepublic void onEnable() { getServer().getScheduler().scheduleSyncRepeatingTask(this, new Runnable() { public void run() { for(World world : getServer().getWorlds()) { world.setTime(0); } } }, 0L, 1L); }
Max_The_Link_Fan You have plugins on dev.bukkit.org, obviously you have a basic knowledge of bukkit. Is it too hard for you to compile it?
How is the time handled? It just seems inelegant and inefficient to repeatedly have to set the time in order to stop it from changing. Can't the time change packets (if they exist) be cancelled or is this all handled on the client?
I think that's pretty likely. Hopefully this might help: https://mojang.atlassian.net/browse/MCAPI-297
I created requested plugin, instead of talking of it. You can soon download it when the file gets approved: http://dev.bukkit.org/server-mods/nonight/
Here's my take on this, configurable per world, time start and end configurable so can either be always day or always night. Doesn't change the time every 5 seconds but by default allows the day to run its usual course and only changes it to dawn when it reaches dusk http://dev.bukkit.org/server-mods/all-day-and-all-night/
MercilessPvP always say he finish plugin when he really doesnt so never get your hope us when he say he can do it
Then I would hog it too myself. And no other normal person who doesn't know how to code would ever get to use NoNight.