Hello, I was wondering if you'd like to join the development team for a elder scrolls themed mod I and a couple other developers are starting. I...
Thread.sleep() Shuts the server down for that amount of time. Look at this: http://wiki.bukkit.org/Scheduler_Programming
Might as well. 1 condition, I want to know what it's about before I'm accepted. Also, if I get accepted, please pm me. Minecraft Username:...
I took approximately 2 days to know enough about java to start coding plugins... I'd try Java for Dummies, its pretty good. Another way is to just...
You too, tips.
THANK YOU! :D Edit: Should have asked this before, but how do you get a net.minecraft.server.Chunk from Player.getLocation().getChunk() ? Edit...
If you request for a plugin developer to release his source code, then it must be granted according to bukkit's license, afaik.
This, then? p.sendMessage(ChatColor.GOLD + "Rules:"); Mute.plugin.getServer().getScheduler().scheduleSyncDelayedTask(Mute.plugin, new...
MainCmd (currently in development). Pm me if you'd like to be on the beta.
Calling it in onCommand()? It works fine for me. If you put the main thread to sleep, it crashes the whole server, which this does not. I was...
Is it okay if I do this: public static void sendChunk(net.minecraft.server.Chunk c, Player t) { EntityPlayer player = (EntityPlayer) t; so...
Looking at this: https://github.com/Bukkit/Bukkit/blob/master/src/main/java/org/bukkit/command/defaults/MeCommand.java It looks like you can't...
You can use: try { s.sendMessage("Rule 1 - No griefing"); Thread.sleep(Time in milliseconds/*long*/); // For seconds, use (long) * 1000...
I would do : PluginPlayerListener: public void onPlayerQuit(PlayerQuitEvent e) { Player p = e.getPlayer(); // You don't need a null check...
https://github.com/immac636/Mute Simple plugin I quickly coded. Feel free to copy & paste as needed. (Edit) Also, you do need to use configuration.
How do you get an EntityPlayer? This would prove extremely useful, if I knew how to use it. Also, if I use the top bit of code in my plugin...
Wait... If this was for teleporting a player to another player, wouldn't this be redundant? Or is it for warping?
Everyone may be ignoring me, but again - to work on mac you *must* change the start.bat to start.command. If it doesn't work, try using "chmod a+x...
For mac, make a new textedit document, and paste this: java -jar "Location/Of/Audio/Client.jar" (Username). Edit it appropriately. Save it as...
Separate names with a comma.