I want to make it that certain users/groups are able to only use certain commands at either night or day, depending on their permissions file. I don't think this will be that difficult to code I just have no idea how to do it. So for instance, I can make it that the /tp command only works for the default group, during the day. Or I can make it that the OP group can only use the /give command at night, etc (Those are stupid examples but hopefully you get what I mean)
probably needs something like Code: if (Bukkit.getWorld("worldname").getTime() >= 0 && Bukkit.getWorld("worldname").getTime() <= 12000) { sender.allowCommand("allowed command here"); return true; } else { sender.disallowCommand("disallowed command here"); sender.sendMessage("this command can only be used at daytime!"); return true; }
That looks great but I haven't ever made a bukkit plugin. Can someone take what Stelar put down and turn it into a full plugin?
either bukkit or permissions needs to implement it probably... send a request to a administrator or sumething (@dinnerbone @lukegb @evilseph)