[INACTIVE][FUN/ADMIN] FoundDiamonds 1.6 - Alerts for finding Ores! (Anti-Xray Mod too!) [860]

Discussion in 'Inactive/Unsupported Plugins' started by itsatacoshop247, Mar 27, 2011.

  1. Offline


    NEWS: OH HAI THUR. I am really not going to update this, but someone made new versions of this:

    FoundDiamonds - PvP inspired/Anti-Xray
    Version: v1.6

    This plugin sends a server wide alert when someone finds diamonds. It is then disabled for 30 seconds s0 that
    there won't be chat spam when someone finds a vein of diamonds.
    Also, theres a 10% everyone else will get something when someone find diamonds too. 5% to get 1-5 of something, and another 5% to get 6-10 of something. The default is 1-5 iron ignots, and 6-10 Coal, but it is changeable in the config!
    I just made this as my first plugin to use on my own server, to hopefully make people want to PvP someone who finds
    diamonds, so its not very advanced :p

    Use '/settrap' to create a diamond vein at your feet (need FD.admin permssion or be in ops.txt)
    Just make sure to put this in a spot where someone would obviously have to use Xray to find it, and when they do find it, It will log it, display a message, and kick the player (Optional)(I'll add and option Ban later)

    Heres a quick video:

    Video of the /settrap usage

    * Server Wide Message
    * Logging when diamonds found!
    * Gives good reason to kill
    * Permissions! add - 'FD.admin' too see all ore breaks. (or less, configurable)
    * Configurable message, colored by type of Ore
    * Ability to set traps designed to catch X-ray Users

    Download Jar- <Edit by Moderator: Redacted mediafire url>
    Another DL if the mediafire doesnt work for you
    If you dont want the /settrap command, <Edit by Moderator: Redacted mediafire url>

    Source Code - https://github.com/itsatacoshop247/FoundDiamonds

    Config Settings:
    Set the ones with 'true' to 'false' to disable them.
    diamond=true //determines whether diamond alerts are shown
    showmmessage=true //determines whether any messages are shown at all
    redstone=true //determines whether redstone alerts are shown
    kickontrapbreak=true //kick the player when they break a trap? (cant ban yet, sorry)
    thirtysecondwait=true  //determines whether the plugin waits 30seconds to show another maessage
    gold=true //determines whether gold alerts are shown
    item1=263 //declare the item to give
    lupuslazuli=true //determines whether lapis alerts are shown
    item2=265 //declare the item to give
    randomitems=true //decide whether the random items feature is active.
    iron=true //determines whether iron alerts are shown
    Broadcast_Message=@Player@ just found @BlockName@! //change what is said when someone finds an ore
    chanceitem1=5//chance to get item one (out of 100%)
    chanceitem2=5//chance to get item two (out of 100%)
    redstone\ admin=true //all of the ones with 'admin's change whether someone with
    gold\ admin=true //the permission 'FD.admin' sees all breaks of this block
    lupuslazuli\ admin=truee //be warned, all admin set to true can be very annoying in chat
    iron\ admin=true
    diamond\ admin=true
    logging=true //do you want it to log when someone find diamonds?
    Version 1.6
    * Traps!
    * Chance to get the random items!

    Version 1.5
    * Logging added finally!
    * Option to turn logging on/off

    Version 1.3

    * Works better with Permissions, defaults to OP list if no Permissions
    * Configurable message
    * Beta 1.4 Compatible

    Version 1.2

    * Permissions!
    * 'FD.admin' to see all block breaks

    Version 1.1

    * Added more to config
    * Added ores, options for each to be on/off
    * Turn server message on/off
    * random item give on/off

    Version 1

    * Release

    * Suggest things!

    If you looking for more Anti-Cheat options, check out <font color="rgb(16, 97, 179)">this plugin</font> by Evenprime!
    Last edited by a moderator: Dec 14, 2016
  2. Offline


  3. Offline

    Mike A

    Can you make it where it WON'T show a public message and only send it to OP's? I will donate $5 to you if you do. :) Thanks,
  4. Offline


    Set 'showmessage=false', and as long as all the '<ore name> admin=true' and it should work. If not, I'll fix it when a new 1.5 Recommend build comes up.
  5. Offline

    Mike A

    Ok, I will check to see if it does that now. Thanks for the plugin though, it's very useful for a vanilla styled server that doesn't like any types of mods :).

    Do you think you could create a small simple plugin for me (private)? I would pay around $10 if so. PM me if you might be able to and I will tell you some information.
  6. Offline


  7. Offline


    It SHOULD be, but I have fully tested it. I will do full testing (for ALL my plugins) once the recommended builds for 1.5 are available.
  8. Offline


    looking forward to trying this with 1.5. I'm running one of the test builds now... tempted to install it anyway and see what happens...
  9. Offline


    Seems to be behaving the same as before with 733.
  10. Offline


    Yay! I can be lazy!
  11. Offline


    Can you please add support to log all ores? That way when admins are not on it sitll can be logged. I have a player that I am pretty sure xrayed to get a ton of gold, but I have no way to prove it. Having it in the log would be amazing :)

    Thank you for this plug in too. It saved my server's economy 3 times already :)
  12. Offline


    I'm glad to hear its done its job. I'm going to do a huge clean up of it this weekend as long as my computer doesn't explode again :p
  13. Offline


    well it would seem that you have a small BUG if a player PLACES a ore block it will still register
  14. Offline


    I do not have an OnBlockPlace event even registered in my plugin, this is something else going on for you.
  15. Offline


    Is there any chance I could get a slim version without the random items and traps. Could you also please add coal to the announced blocks. The config file is also very messy, any chance of it getting cleaned a bit?
  16. Offline


    Awesome, take your time :)

    More admins need to use this plug in it's great. I love when I have a player mine 50-60 diamonds in about 20-35 minutes and say it was legit.
  17. Offline


    it would help to reduce chat spam
  18. Offline


    This is planned for this weekend. Also, the config doesn't generate in the way it should, because its told to write in a more organized matter. I'll figure it out.
    I'm really confused on what your asking/problem is. This plugin will do NOTHING when a player places a block of any kind.
  19. Offline


    look i have made screen shots to show you :D . see maby you could have it not pickup when a block is placed?
    2011-04-28_14.22.30.png 2011-04-28_14.22.34.png
  20. Offline


    Oh, I see now :p That would require keeping a log of all placed ore blocks....
  21. Offline


    ohok so theres no way u can like now allow placed blocks not show up in chat?
  22. Offline


    No, theres nothing to do besides logging placed blocks into a file in able to stop it from showing up. Maybe if I get better at MySql I can create a good system to do this.
  23. Offline


    There is an issue when player names are rather long. If the length of the custom message + player name + ore name exceeds the chat string length the message doesn't send. Adding word-wrap would fix this.
  24. Offline


  25. Offline


  26. Offline


    You can do that only admin who can cheat? :)
  27. Offline


    Is there a way you can add ignore lists ? like so that i dont get spammed when one of my mods is breaking his diamond block house i dont get spammed?
  28. Offline


    I will add that.
  29. Offline


    thanks good sir!
  30. Offline


    he's got a point ;] i think most of the people downloading your plugin are looking just for that, and the config file as well as the info in this post are confusing
  31. Offline


    Tested and found it doesn't stop the mineral finder in zombe's modpack, is it supposed to? CB 733, version 1.6 of this plugin. Also it doesn't stop me from finding redstone with a x-ray texture pack, but everything else is hidden.

Share This Page