FoundDiamonds
->Old Bukkit.org Thread +++ Source Code +++ The Wiki<-
Standard Installation and Basic Test
Video: http://youtu.be/9Ke1vDRLsRw
Just drop the FoundDiamonds.jar in your plugins folder and reload!
If you're an OP, continue to the next step. If not, give yourself the permission fd.*
(You'll give normal players fd.broadcast
for broadcasts, and fd.monitor
for admin messages and light level monitoring.)
The best way to test the plugin and verify that it's working is to find some natural iron or coal and break it! You should see a message.
>Note: FoundDiamonds does not announce blocks that a player has placed (Unless an OP or a player with the fd.* permission uses /fd clearplaced after placing the block) Note: Only Players with fd.broadcast can see the broadcasts (this plugin requires permissions)
Permissions, commands, and configuration file information
- FoundDiamonds Wiki Main
- Commands
- Permissions
- Configuration File
- Setting up admin messages and/or light level monitoring
Recent Changelog
Version 3.6.4
- Note: Traps may or may not work in this version. Not sure what direction to go with these yet.
- Updated outdated licenses and renamed packages
- Fixed a bug with the clearplaced command not working for flat file setups
- Fixed odd things in the config
- Fixed a bug where it was impossible to give out one random item
- Fixed a bug where the random item is also given to the person who mined the diamonds...
- Added random potions to the config so you can now select which potions to give out (even bad ones maybe!)
- Removed potion messages for now and replaced with something far simpler
- Added more default potions (night vision is cool!)
Troubleshooting
- Is the ore you broke a block that was placed by you or someone else. Do /fd clearplaced?
- Is the world you're breaking ores in listed in /fd world list?
- Are you using the latest version of FoundDiamonds? /fd version
- Are you using the CB build this was built against?
- Are you breaking ore in creative mode with creative mode disabled in the config?
- Did you make changes to the config and forget to do /fd reload?
If none of the above helped you, it's likely that you have found a bug. Please report the bug along with your config.yml and any errors in the console you may be receiving so I can look into it.
Credits
- itsatacoshop247 - Original concept
- CeramicTitan - Providing unparalleled support
- Team Haven (HAVENmc.com) for an awesome logo
- nossr and GJ - Help in IRC for making the plugin compatible with mcMMO
- snoepje0 - Making traps a lot better.
- SAKingShibby - Updating traps for emerald ore
@SofaKingh4rd
Diamond and gold blocks aren't broadcasted. Surely you meant ores?
@ProG28
Whoops! New version just uploaded! This is what happens when I'm tired from coding all night :(
@Traybair
Yes, it is very possible and it was a concern of mine. I will do more testing, but in order to have a permission to ignore for people...I'm not sure how else to do this. You can temporarily give admins the permisson '-ignore.broadcasts'
@SofaKingh4rd
It could be the new permisson 'ignore.broadcasts'. I was afraid most admins would inherit this permission, but I'm unsure of how to handle it. Try giving yourself '-ignore.broadcasts' while I try and figure this out.
Please reply. the only thing that works is traps.
Users can still mine in pitch black.
it does not broadcast when someone mines.
Found Diamonds Configuration: Main: Disable in creative mode: true Disable ore mining in total darkness: true Give OPs all permissions: true Traps: Kick players on trap break: true Ban players on trap break: false Admin alerts on all trap breaks: true Kick message: You broke a FoundDiamonds trap block. Awards: Items: Random items for finding diamonds: false Percent of time awards are given: 25 Random Item 1: 265 Random Item 2: 263 Random Item 3: 341 Spells: Random spells for finding diamonds: false Spell strength (1-5): 3 Percent of time spells are casted: 100 Broadcasts: Diamond Ore: true Gold Ore: true Lapis Ore: true Redstone Ore: true Iron Ore: true Coal Ore: true Mossy Cobblestone: false Obsidian: false Message: '@Player@ found @Number@ @BlockName@' Use player nicknames: false Include [FD] Prefix: true Use classic ore colors for ores: true Logging: Log all diamond ore breaks: false Clean log (all ores): false Admin Messages: Diamond Ore: true Gold Ore: true Redstone Ore: true Lapis Ore: true Iron Ore: true Enabled Worlds: - SofaKingMinecraft
Everyone except for admins are seeing the messages on my server. We have PermissionsEX here is the config... Can't figure this out.
Edit! == Our admin groups inherits all nodes.. Meaning we are not seeing the messages because of this node "ignore.broadcasts"? Is this accurate?
I have an issue, when player break blocks, there appears a message in the console: I'm working on FoundDiamonds 3.2
2012-03-29 19:33:21 [INFO] WOOD 2012-03-29 19:33:21 [INFO] WOOD 2012-03-29 19:33:21 [INFO] WOOD 2012-03-29 19:33:22 [INFO] WOOD 2012-03-29 19:33:22 [INFO] WOOD 2012-03-29 19:33:22 [INFO] WOOD 2012-03-29 19:33:22 [INFO] WOOD 2012-03-29 19:33:22 [INFO] WOOD 2012-03-29 19:33:23 [INFO] WOOD 2012-03-29 19:33:23 [INFO] WOOD 2012-03-29 19:33:23 [INFO] WOOD 2012-03-29 19:33:27 [INFO] WOOD//
sorry, but i cant find the download link... says newest version is still 3.1.9
Hello, I cant seem to get the message to broadcast when ever someone
breaks a diamond/gold block.
traps work fine, it's just the broadcast.
Here is my config.
here:
@MegaMiner2306
That's fixed in 3.2
Why does it not give me different colors when im eg: mining gold. i want it to show a color :(
@ClpGamer
Would it have killed you to pastebin that? -.-
Edit: Hmm....I'm testing with the new RB and not receiving that error. Could you pastebin it please so I can read it more clearly?
28.03 18:08:59 [Server] INFO ... 14 more 28.03 18:08:59 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) 28.03 18:08:59 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:616) 28.03 18:08:59 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 28.03 18:08:59 [Server] INFO at sun.reflect.GeneratedMethodAccessor778.invoke(Unknown Source) 28.03 18:08:59 [Server] INFO at org.seed419.FoundDiamonds.BlockBreakListener.onBlockBreak(BlockBreakListener.java:85) 28.03 18:08:59 [Server] INFO at org.seed419.FoundDiamonds.BlockBreakListener.materialNeedsHandled(BlockBreakListener.java:116) 28.03 18:08:59 [Server] INFO at org.seed419.FoundDiamonds.BlockBreakListener.handleBroadcast(BlockBreakListener.java:425) 28.03 18:08:59 [Server] INFO at org.seed419.FoundDiamonds.BlockBreakListener.broadcastFoundBlock(BlockBreakListener.java:463) 28.03 18:08:59 [Server] INFO at org.bukkit.craftbukkit.CraftServer.broadcastMessage(CraftServer.java:322) 28.03 18:08:59 [Server] INFO at org.bukkit.craftbukkit.CraftServer.broadcast(CraftServer.java:962) 28.03 18:08:59 [Server] INFO at org.bukkit.craftbukkit.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:102) 28.03 18:08:59 [Server] INFO at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.hasPermission(PermissiblePEX.java:102) 28.03 18:08:59 [Server] INFO at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.checkPermission(PermissiblePEX.java:113) 28.03 18:08:59 [Server] INFO at org.bukkit.permissions.PermissibleBase.hasPermission(PermissibleBase.java:71) 28.03 18:08:59 [Server] INFO at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.isPermissionSet(PermissiblePEX.java:202) 28.03 18:08:59 [Server] INFO at ru.tehkode.permissions.bukkit.PermissionsEx.getUser(PermissionsEx.java:155) 28.03 18:08:59 [Server] INFO at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:148) 28.03 18:08:59 [Server] INFO Caused by: java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled? 28.03 18:08:59 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) 28.03 18:08:59 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) 28.03 18:08:59 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554) 28.03 18:08:59 [Server] INFO at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) 28.03 18:08:59 [Server] INFO at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:60) 28.03 18:08:59 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) 28.03 18:08:59 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) 28.03 18:08:59 [Server] INFO at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43) 28.03 18:08:59 [Server] INFO at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:91) 28.03 18:08:59 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:540) 28.03 18:08:59 [Server] INFO at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:175) 28.03 18:08:59 [Server] INFO at net.minecraft.server.ItemInWorldManager.breakBlock(ItemInWorldManager.java:220) 28.03 18:08:59 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459) 28.03 18:08:59 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 28.03 18:08:59 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303) 28.03 18:08:59 [Server] INFO org.bukkit.event.EventException 28.03 18:08:59 [Server] SEVERE Could not pass event BlockBreakEvent to FoundDiamonds 28.03 18:08:59 [Server] SEVERE at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) 28.03 18:08:59 [Server] SEVERE at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) 28.03 18:08:59 [Server] SEVERE at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554) 28.03 18:08:59 [Server] SEVERE at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) 28.03 18:08:59 [Server] SEVERE at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:60) 28.03 18:08:59 [Server] SEVERE at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) 28.03 18:08:59 [Server] SEVERE at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) 28.03 18:08:59 [Server] SEVERE at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43) 28.03 18:08:59 [Server] SEVERE at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:91) 28.03 18:08:59 [Server] SEVERE at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:540) 28.03 18:08:59 [Server] SEVERE at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:175) 28.03 18:08:59 [Server] SEVERE at net.minecraft.server.ItemInWorldManager.breakBlock(ItemInWorldManager.java:220) 28.03 18:08:59 [Server] SEVERE at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459) 28.03 18:08:59 [Server] SEVERE at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 28.03 18:08:59 [Server] SEVERE at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) 28.03 18:08:59 [Server] SEVERE at java.lang.reflect.Method.invoke(Method.java:616) 28.03 18:08:59 [Server] SEVERE at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 28.03 18:08:59 [Server] SEVERE at sun.reflect.GeneratedMethodAccessor778.invoke(Unknown Source) 28.03 18:08:59 [Server] SEVERE at org.seed419.FoundDiamonds.BlockBreakListener.onBlockBreak(BlockBreakListener.java:85) 28.03 18:08:59 [Server] SEVERE at org.seed419.FoundDiamonds.BlockBreakListener.materialNeedsHandled(BlockBreakListener.java:116) 28.03 18:08:59 [Server] SEVERE at org.seed419.FoundDiamonds.BlockBreakListener.handleBroadcast(BlockBreakListener.java:425) 28.03 18:08:59 [Server] SEVERE at org.seed419.FoundDiamonds.BlockBreakListener.broadcastFoundBlock(BlockBreakListener.java:463) 28.03 18:08:59 [Server] SEVERE at org.bukkit.craftbukkit.CraftServer.broadcastMessage(CraftServer.java:322) 28.03 18:08:59 [Server] SEVERE at org.bukkit.craftbukkit.CraftServer.broadcast(CraftServer.java:962) 28.03 18:08:59 [Server] SEVERE at org.bukkit.craftbukkit.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:102) 28.03 18:08:59 [Server] SEVERE at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.hasPermission(PermissiblePEX.java:102) 28.03 18:08:59 [Server] SEVERE at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.checkPermission(PermissiblePEX.java:110) 28.03 18:08:59 [Server] SEVERE at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.performCheck(PermissiblePEX.java:124) 28.03 18:08:59 [Server] SEVERE at ru.tehkode.permissions.bukkit.PermissionsEx.getUser(PermissionsEx.java:155) 28.03 18:08:59 [Server] SEVERE at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:148) 28.03 18:08:59 [Server] SEVERE java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled? 28.03 18:08:41 [Server] INFO ... 14 more 28.03 18:08:41 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) 28.03 18:08:41 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:616) 28.03 18:08:41 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 28.03 18:08:41 [Server] INFO at sun.reflect.GeneratedMethodAccessor778.invoke(Unknown Source) 28.03 18:08:41 [Server] INFO at org.seed419.FoundDiamonds.BlockBreakListener.onBlockBreak(BlockBreakListener.java:85) 28.03 18:08:41 [Server] INFO at org.seed419.FoundDiamonds.BlockBreakListener.materialNeedsHandled(BlockBreakListener.java:116) 28.03 18:08:41 [Server] INFO at org.seed419.FoundDiamonds.BlockBreakListener.handleBroadcast(BlockBreakListener.java:425) 28.03 18:08:41 [Server] INFO at org.seed419.FoundDiamonds.BlockBreakListener.broadcastFoundBlock(BlockBreakListener.java:463) 28.03 18:08:41 [Server] INFO at org.bukkit.craftbukkit.CraftServer.broadcastMessage(CraftServer.java:322) 28.03 18:08:41 [Server] INFO at org.bukkit.craftbukkit.CraftServer.broadcast(CraftServer.java:962) 28.03 18:08:41 [Server] INFO at org.bukkit.craftbukkit.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:102) 28.03 18:08:41 [Server] INFO at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.hasPermission(PermissiblePEX.java:102) 28.03 18:08:41 [Server] INFO at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.checkPermission(PermissiblePEX.java:113) 28.03 18:08:41 [Server] INFO at org.bukkit.permissions.PermissibleBase.hasPermission(PermissibleBase.java:71) 28.03 18:08:41 [Server] INFO at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.isPermissionSet(PermissiblePEX.java:202) 28.03 18:08:41 [Server] INFO at ru.tehkode.permissions.bukkit.PermissionsEx.getUser(PermissionsEx.java:155) 28.03 18:08:41 [Server] INFO at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:148) 28.03 18:08:41 [Server] INFO Caused by: java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled? 28.03 18:08:41 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) 28.03 18:08:41 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) 28.03 18:08:41 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554) 28.03 18:08:41 [Server] INFO at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) 28.03 18:08:41 [Server] INFO at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:60) 28.03 18:08:41 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) 28.03 18:08:41 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) 28.03 18:08:41 [Server] INFO at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43) 28.03 18:08:41 [Server] INFO at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:91) 28.03 18:08:41 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:540) 28.03 18:08:41 [Server] INFO at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:175) 28.03 18:08:41 [Server] INFO at net.minecraft.server.ItemInWorldManager.breakBlock(ItemInWorldManager.java:220) 28.03 18:08:41 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459) 28.03 18:08:41 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 28.03 18:08:41 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303) 28.03 18:08:41 [Server] INFO org.bukkit.event.EventException 28.03 18:08:41 [Server] SEVERE Could not pass event BlockBreakEvent to FoundDiamonds 28.03 18:08:41 [Server] SEVERE at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) 28.03 18:08:41 [Server] SEVERE at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) 28.03 18:08:41 [Server] SEVERE at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554) 28.03 18:08:41 [Server] SEVERE at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) 28.03 18:08:41 [Server] SEVERE at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:60) 28.03 18:08:41 [Server] SEVERE at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) 28.03 18:08:41 [Server] SEVERE at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) 28.03 18:08:41 [Server] SEVERE at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43) 28.03 18:08:41 [Server] SEVERE at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:91) 28.03 18:08:41 [Server] SEVERE at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:540)
Help D:
@rangewonk
Are you breaking natural ores or are you placing them?
Did you go through the troubleshooting list?
im on 1.2.4 everything works except the broadcast messages please help?
Nice work on keeping this going man! If you ever need any help doing updates I'm around :D
@deleted_7554077
It will definitely take some time to implement that.
@gnosticJade
There actually isn't. That's never been requested before! If you'd like though, I could certainly create some kind of 'fd.ignorebroadcasts' permission to ignore all broadcasts?
@psdsd
It very well could be. Bukkitdev won't even let me select 1.2.4R0.1 for a plugin version, so I'm guessing they don't want me to update to it yet :/
I'll test this out later and report my findings though.
I installed the plugin and I'm not getting any admin broadcasts, or any broadcasts for that matter. I have admin messages enabled and my world is on the /fd list. I'm on the 1.2.4-R0.1 (dev) build of craftbukkit, maybe it's that?
Is there any way to the point where it will only notify those with the permission to recieve the notifications instead of getting the notifications broadcasted.
@Vitaminous
Coolstory: FD allows you to 'build' above heightlimit by placing trapblocks.
Yay a new version. So I hope in the next update you are gonna add custom block announcing and make it more dynamic and flexible?
"mcmmo superbreaker has been fixed"
it had pretty much stopped when you grouped admin messages.