[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

    itsatacoshop247

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    NEWS: OH HAI THUR. I am really not going to update this, but someone made new versions of this:
    http://forums.bukkit.org/threads/fu...or-finding-ores-anti-xray-mod-too-1337.43854/

    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

    Traps:
    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



    Features:
    • 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- http://www.mediafire.com/?wn6137v2ht28h1c
    Another DL if the mediafire doesnt work for you
    If you dont want the /settrap command, heres the 1.5 without it

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

    Config Settings:
    Set the ones with 'true' to 'false' to disable them.
    Code:
    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?
    
    Changelog:
    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
    Roadmap:
    • Suggest things!
    If you looking for more Anti-Cheat options, check out this plugin by Evenprime!

    This post has been edited 2 times. It was last edited by itsatacoshop247 Nov 9, 2011.
  2.  
  3. Offline

    Pencil

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Awesome! :D Would it be possible to log the diamonds players find?

    As in just when a player finds a diamond, not where.
  4. Offline

    s0nge

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hmm i installed it but no message is broadcasted when i mine diamond blocks, no error messages appears in the console. Using 556.
  5. Offline

    itsatacoshop247

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sure, I'll look into to it.
    Weird, I tested it fine on that. Did you put it in the correct folder, and did the FoundDiamonds config folder create itself?
  6. Offline

    Racha

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If you could make that it just make a log file not spam in server, than it would be easier to find Xray users ;P
  7. Offline

    itsatacoshop247

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I never though about finding xray, but good idea. Ill add Log=True/False and ChatMessage=True/False into the config. Should be able to do it by tomorrow.
  8. Offline

    NikkyyyHD

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Maybe make it available for other Ores too? Or any item block?
    ostepop2211 likes this.
  9. Offline

    Arjan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This looks fairly nice! Great for catching xray users :D
  10. Offline

    MineralMC

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Do you want a proper FTP to host this mod? Been having some weird script errors of Mediafile as of late and it isn't in my good books at the moment.

    I've got a farm'd fileserver and don't mind giving you an FTP account for it.
  11. Offline

    itsatacoshop247

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I just finished an english essay so I'm going to spend today adding whether you want it to log the event, show the messsage, and which ores you want tracked.
  12. Offline

    blaize9

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Request: Tp to where diamond is found :D so i can ban xray users.
  13. Offline

    leslieliang

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This plugin should support Permissions and have a permission node that makes it so that only admins can see the message, so we can check for x-ray cheaters.
  14. Offline

    MineralMC

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    +1 for a permissions-based moderator-only-see-message toggle.

    Also, colour-control of the messages would be nice. I'd like to reduce them in length and set the colours to reflect the ore found.

    "%name has found something..."
  15. Offline

    Kevin Forte

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    A little off topic, but what plug do you use to allow the stacking of fences?
  16. Offline

    itsatacoshop247

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Quite off topic, but here: (be warned, its unsupported now)
    http://forums.bukkit.org/threads/in...bove-other-fences-438.4492/page-2#post-159714
    So many requests 0_o
    Anyways, I like the permission(or Ops.txt?) idea, and I think I can make the message configurable in the config. This is my first attempt at Coding a plugin, so be patient if I'm slow everyone :D

    EDIT- UPDATED TO 1.1, SEE CHNAGELOG
    I'm working on the logging, be here by the weekend rush.
  17. Offline

    MineralMC

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You're doing a good job, tacoshop. No rush. :)
  18. Offline

    itsatacoshop247

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Added permissions for you ;)
  19. Offline

    MineralMC

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Have you tested vs. the latest recommended yet, tacoshop? Build 600?
  20. Offline

    Satros

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This might be a little different, but it would greatly add to and anti-xray type plugin.

    Basically what us server admins need most for anti-xray is the ability to lay traps, essentially to only log certain blocks in small areas, sort of like how Police strings work. This is how it would work:

    Admin digs a hole and hides a bunch of diamond ore or chests. Admin uses a command to start logging to access/breaking of those blocks in a small area. Admin buries the hole so only xrayers will find it.
    Example command would be something like
    /xraytrap <blocknumber> <radius>

    so /xraytrap 56 5
    would log all the breaks of 56 (diamond ore) in a 5 block radius of where the admin was when they set the trap.
    would also work with chest access.

    Perhaps the features of World Edit could help select the areas or something.
  21. Offline

    Joe_Young

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    the problem with the ideas in this thread is that there is no way to prove stuff was found by xray mod
  22. Offline

    Kevin Forte

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm curious as well.
  23. Offline

    MineralMC

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Well, build 602 now, but the question remains. :)

    Hopefully we won't get another recommended build until MC1.4 comes out!
    Kevin Forte likes this.
  24. Offline

    itsatacoshop247

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Not yet, I'll do it when in about 3 hours when I get home.
    I'll look into this once I get the logging set-up for the current version of the mod.
  25. Offline

    Kevin Forte

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have a small request: Can you add a config option to change the messages displayed? I think the light red is kind of lame, when I want the discoveries to be sort of exciting, you know? Instead of %player just found %ore, I'd rather have like '%player struck %ore!' and then be able to use the hMod color codes to set different colors/messages for each ore. (Red for redstone, silver for iron, gold for gold, teal for diamonds)
  26. Offline

    anonymous

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Please get the logging working soon.
  27. Offline

    itsatacoshop247

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm working on it, but I kinda have this thing called school too 0_o
  28. Offline

    anonymous

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft is more important than school ;)
  29. Offline

    wikee

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is it possible to disable the reward for others (the 10 & 5% thing)
    also a configurable message will be nice too (for language translation in my case).

    thanks for your plugin
  30. Offline

    itsatacoshop247

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have already added this into the next update that will be out by tomorrow once I can make sure its working with 1.4
  31. Offline

    itsatacoshop247

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    UPDATED!
    I added the configurable message, but the colors are preset to the Type of Ore for now. Also its good for the new permissions and Beta 1.4. I'm still working on Logging [log], I have no idea how to make it write new lines, so it may take awhile :oops:

Share This Page