Blocks - shows when someone breaks a block Version: v0.2 Shows when someone breaks a block (iron doors right now). How to install: drag and drop Blocks.jar into your plugins directory. Features: Displays a global message with coordinates when someone breaks a iron door Download The Plugin: http://dl.dropbox.com/u/7617929/Blocks-02.jar what the plugin does: To Do Add ability to change what blocks cause alert message (most likely a property file) Change log v0.2 Added color to message and logged coordinates!
very nice!first plugin? if so glad to see your trying out java ! you definitely should addon to this. Suggestions: x,y,z coordinates logger config for bilingual Colored Messages shows what tool broke the block. permissions - make it so only mods/admins see the message. If you need help dont be scared to ask around. Some devs are a bit harsh, but most are friendly and supportive. EDIT: BTW use this if you get stuck. These contain all the major methods/classes/etc of bukkit http://jd.bukkit.org/apidocs/index.html
ya this is my first plugin, converted from C! ya ill import the org.bukkit.ChatColor for your color suggestion, for coordinates would i be able to do something like this: Player player = event.getPlayer(); Location loc = player.getLocation(); int bla1 = loc.getBlockX(); int bla2 = loc.getBlockY(); int bla3 = loc.getBlockZ(); server.broadcastMessage(pname + " has broke blablabla at: " + bla1 + bla2 + bla3); never mind i figured it out! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Ill use it when you make it so the properties file says where who took what. Nice plugin though Thumbs up!