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
@MrSerios
That's incredibly strange.
What other plugins are you running?
@SeeD419
Actually none! Everything seems ok
@MrSerios
The air thing is a bug that I've already fixed for the next release.
As for the other problem, I have no idea. Are you getting any errors in the console?
Announcements not broadcasted to players, admin messages too! Actually all messages are broadcasted, but only once, after server restart! To be more specific, after server restart messages are broadcasted only once, for first player who brake ore block, after first message is broadcasted (first ore block braked), announcements stop working for everyone, even for users with fd.messages permission! Logging is working however and rewards (only spells works) are given to players when someone brake diamond ore.
Another thing is in my config i have:
...
Items:
Random items for finding diamonds: true
Percent of time awards are given: 75
Random Item 1: 263
Random Item 2: 280
Random Item 3: 352
...
so rewards must be, 1 - coal, 2 - stick, 3 - bone, but when I type /fd config in game I see this:
...
Random Item 1: coal
Random Item 2: air
Random Item 3: air
I read your Troubleshoot guide, but seems to me, that everything is ok with config, since messages are broadcasted at first load
@lambik
That would be the purpose of the admin messages :)
Ummm is it possible only for admins to see the announcements? That would be great. Thanks
Switched over to FoundBoxx, announces are now working, over 20 bans in 2 days. Turns out FoundDiamonds had stopped working as soon as I upgraded to 1.2.3R0.2 from R0.1 :(
Ok... it doesnt announce anything to anyone on my server... wtf? PLUGINS -essentials,worldedit,worldguard,vanish,spamguard,vanish,nocheat,factions
Found Diamonds Configuration: Main: Disable in creative mode: true Disable ore mining in total darkness: false Give OPs all permissions: false Traps: Kick players on trap break: true Ban players on trap break: false Admin alerts on all trap breaks: false 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: true Spell strength (1-5): 5 Percent of time spells are casted: 25 Broadcasts: Diamond Ore: true Gold Ore: true Lapis Ore: false Redstone Ore: false Iron Ore: false Coal Ore: true Mossy Cobblestone: false Obsidian: false Message: '@Player@ found @Number@ @BlockName@' Use player nicknames: false Include [FD] Prefix: true Logging: Log all diamond ore breaks: false Clean log (all ores): false Enabled Worlds: - world - wonderland - Wonderland - WonderLand Admin Messages: Diamond Ore: true Gold Ore: false Lapis Ore: false Iron Ore: false
Okay guys I added a basic troubleshooting section above ^
The section gives a more detailed description of how the plugin works and what will/won't work as far as testing. Make sure you check the troubleshooting section, and if it still isn't working, then you have indeed found a bug!
@Sharpeeee
The quickest way to test is to find coal or iron. Since iron and coal isn't enabled, you'd have to do /fd toggle coal or /fd toggle iron to turn them on. The plugin detects placed ores to prevent players from getting broadcasts if they simply placed the ore, however there is a workaround if you really want to. (I should do a write-up on all of this in the description). If you place ore - stop the server - delete the .placed file - and start it back up, you can fool the plugin into thinking the ores are natural. Otherwise it will never forget.
Whichever method you try, if it still doesn't work, (and you're sure the world you're in is in /fd world list) it's likely you found some sort of bug. I'd need to get your CB build and fd version, and maybe a list of plugins you're also using that could be canceling the event.
@Switch0r
Very well could. I've never tested it.
@SeeD419 Hello, Some reason I am having the same problem Switch0r is having. No messages broadcast. What's the quickest way to test this plugin out? I found random diamond and used /give command and still am having problems receiving the message server wide and for admin. Here is my config.yml and permission using (groupmanager) parameters:
Found Diamonds Config
GroupManager Perms.
Could this conflict with CB++ ?
@Pandamatak
Certainly. It's been added to the TODO list.
@shreddedglass
That's what the admin messages do. Use 'fd.messages' or OPs if selected in the config.
I agree, I REALLY want this plugin. but i need to know that the anouncements will only go to me, and other OPs or just me. I want it for anti xray, but i expect lots of mining and ore finding. i don't want to bother my users with chatspam for ores. could you add a way for the announcement to not be to everyone? and so its just for admins?
Hey, I just noticed that normal broadcasts which are sent to everybody are sent to the console as well. Could you make it so that admin-alerts are as well? Because I use FD as an admin tool to see when players find diamonds and I'd like to do that from the console without the message going to everyone.
@APITArcha
Regular broadcasts (not admin messages) are server broadcasts and will broadcast server-wide regardless of permissions. Every user should see them, even the console.
@Switch0r
It's working fine for me...did you check your config?
@Rayvolution
The [FD] prefix isn't an attempt to 'plug' the plugin. The reason there's an [FD] prefix in front of EVERY message is so that it's clear where the message is coming from. I imagine a server with 20+ plugins would get confused pretty quickly if no plugins bothered to prefix their messages. However, since it bothers you that badly, I uploaded a new version just for you where you can disable it.
@Pandamatak
It was just never requested. I can certainly add it if you'd like.
@SeeD419
Yeah, I was using an old config.
Just curious, is the admin-alert for redstone left out on purpose? If not, any news when we'll get it?
Can you disable the [FD] section of the broadcast? I know you want to "plug" your plugin, but most servers (Like mine) don't like their player messages getting over technical with extra information.
We simply want "<name> has found <block>!". Having [FB] in there seems to be kind of gimmicky. :/
FoundDiamonds v 3.1.8 is broken for our server we are using back an older version.
FoundDiamonds v 3.1.8 does not broadcast anymore.
Hey. I have this strange behavior on my server. If I break a naturally placed block myself, I get a broadcast about it, if somebody else does it, it gets logged but does not get broadcasted. I have *.* permissions with the user I'm trying to get broadcasts with. Any ideas?