[INFO/ADMN] FoundBoxx v1.8.4.3 - Ore finds announcer (anti-cheat, xray, fullbright) [CB 1.7.9-R0.1]

Discussion in 'Archived: Plugin Releases' started by mrciku, Oct 29, 2011.

  1. Offline

    mrciku

    FoundBoxx (29/5/14 1119HRS [+8GMT])

    [​IMG]
    Multi-threaded optimizations! Flat file (H2) support!
    Custom messages and blocks support!
    (Video version: v1.8.4.3)
    Show Spoiler
    (Video version: v1.4.1)
    If you would like to contribute without paying any money, try checking out the ads in my demonstration video and/or the description. Every click is gladly appreciated! Thanks!
    Description: Continuation of FoundDiamonds from scratch (Yes, even the MySQL, but 10% of it is from a tutorial). Announces ore finds. Easy to configure. Extra features​

    Features:
    • Announcing findings of the different ore by players
    • Able to set to use permissions (Look below)
    • Able to configure which ore to announce
    • Announces number of the same ore nearby
    • Announces light level (in percentage, for fullbright hackers)
    • Able to set only survival players to then announce
    • Saves all nearby ores into a list to prevent players from getting it announced again after 30 seconds unlike FoundDiamonds
    • List will be cleared on server restarts or entries removed on removing the blocks
    • Random item on mining diamonds
    • Able to set to disallow mining at light 0, to help in fullbright hackers
    • SQL and flat file (H2) support!
    • Using database you can also get a player's farmrate!
    • Customizable messages!
    • Auto-updater
    Configuration Defaults (plus comments):
    Code:
    Auto_Update_On_Plugin_Enable: true  #toggle the auto updater running on start because you don't trust me/are lazy. You can still use "/fb update".
    Notify_On_Updates: true #notify people with the foundboxx.cmd.update permission on updates available (not linked with auto update)
    Allow_Usage_Stats_Collection: true #allow MCStats data collection
    Survival_Only: true #only listens to players in survival mode (recommended: true)
    Use_Nickname: false #when announcing, use the players nick (display name). SQL logging is still original real name
    Use_Permissions: false #permissions enabled? If no permissions, op will do (PermissionBukkit, PEX, bPerms)
    Messages:
      Found_Notification: '%ply found %amt %blk(s) (Visibility: %vis%)' #block found notification (%ply = Player name; %amt = Amount of the block found; %blk = Block name; %vis = Visibility value)
      Must_Have_Light_To_Mine: Interacting in the dark is dangerous! Put some torches! #warning to display when mining in dark is disallowed and the person mines in the dark
    Count_Diagonal_Ores: false #should the plugin count diagonal ores
    EMERALDS: true #announce emeralds.
    DIAMONDS: true #announce diamonds
    GOLD: true #announce gold
    IRON: true #announce iron
    COAL: false #announce coal
    LAPIS: true #announce lapis
    REDSTONE: true #announce redstone
    Extra_Blocks_IDs: [] #also announce all ids inside the box separated with a comma (Format: [1, 2, 3])
    Percentage_Chance_To_Give_Randoms_Item: 0 #out of 100, chance to give a random item to everyone, leave 0 to disable.
    Max_Random_Items_To_Give: 3 #max number of the random item to give, 1 to this value
    Random_Item_To_Give: 365 #item id of the random item
    Must_Have_Light_To_Mine: false #disallow fullbrighters to mine in the dark at light 0 (still announces ore finds but without visibility)
    SQL_Enabled: false #false = Disable SQL and H2; true = Enable SQL; SQL = Enable SQL; H2 = Enable H2
    SQL: #ONLY REQUIRED TO CHANGE USING SQL (H2 ONLY USES PREFIX) IS ON
      URL: localhost #URL of SQL
      Port: 3306 #port of SQL
      Database: minecraft  #Database to use
      Prefix: fb  #prefix of all FB database (eg. "fb-log")
      User: root@localhost #username to log in SQL
      Pass: '' #password to log in SQL
      Days_To_Remove: 1 #how long can a log survive before it is able to get deleted on startup.
      Maximum_Queries: 5000 #how many queries that can be used (To MySQL literate people, it's the maximum LIMIT value)
      Maximum_Data_Queries_Per_Second: 10 #how many queries to be sent per second (to prevent overload)
    Commands:
    • /foundboxx OR /fb - Prints all commands
    Permission Nodes (case sensitive) [PermissionBukkit, PEX, bPerms]:
    • foundboxx.* - Everything below (Try to give this to only MAIN server admins)
    • foundboxx.admin - Use ALL /fb commands (Try to give this to only MAIN server admins)
    • foundboxx.notify - Get the notification
    • foundboxx.dark - Allows mining in dark all the time
    • foundboxx.cmd.reload - Allow /fb reload and /fb config (WARNING: GIVE TO ONLY TRUSTED PEOPLE [THEY CAN SEE MYSQL PASSWORD])
    • foundboxx.cmd.queue - Allow /fb queue
    • foundboxx.cmd.farmrate - Allow /fb farmrate
    • foundboxx.cmd.update - Allow /fb update
    • foundboxx.ignore.* - Ignore for all ore finds
    • foundboxx.ignore.emerald - Ignore emerald finds
    • foundboxx.ignore.diamond - Ignore diamond finds
    • foundboxx.ignore.gold - I don't need to say what this does
    • foundboxx.ignore.iron - I don't need to say what this does
    • foundboxx.ignore.lapis - I don't need to say what this does
    • foundboxx.ignore.redstone - I don't need to say what this does
    • foundboxx.ignore.coal - I don't need to say what this does
    • foundboxx.ignore.allextras - I don't need to say what this does
    Changelog:
    v1.8.4.3
    Added 2 new configuration settings:
    • Notify_On_Updates: true #notify people with the foundboxx.cmd.update permission on updates available (not linked with auto update)
    • Allow_Usage_Stats_Collection: false #allow MCStats data collection
    v1.8.4.2 (another small update, optional)
    - Included MCStats statistics support (hopefully it is working)
    v1.8.4.1 (small update, optional)
    - Just added a small update reminder to a player with the update permission when he/she joins (only will prompt if auto update setting is true)
    v1.8.4
    - Fixed a derp in checking if a block is untouched before when SQL is not enabled.
    - Changed configurations API to the simpler Bukkit getConfig() API.
    - Added a new option to toggle counting diagonal ores (normally hidden while mining underground) [Set to false as default to stop "cheating" using my plugin].
    v1.8.3
    - Changed auto updater to the CurseAPI system
    v1.8.2
    - Derp on the H2 database
    v1.8.1
    - Attempt to fix auto updater
    - Wrong version number
    v1.8.0
    - Project has been revived! Probably for a short term though.
    - Fixed all the errors for now and made compatible with the latest bukkit developer build.
    I will need some help on some things such as:
    - Any incompatible permissions plugin
    - Bugs
    Todo:
    - Improve threading.
    Show Spoiler
    v1.7.7
    - Added block places to SQL/H2 support. On server restarts if a player (in survival mode) had placed an ore on the ground, it will not announce anymore.
    v1.7.6
    - Added config to disable auto-update on startup
    - Optimized a little bit of the variables (Some were looping)
    - "Portabalized" the auto-updater
    - More restructuring of folders
    v1.7.5
    - Added threading for SQL/H2 startup
    - Added a double checker to check if the H2 library file is corrupted and re-downloads if it is
    - More rearrangement of code to folders
    v1.7.4
    - Extremely critical bug that causes huge stack overflow fixed.
    v1.7.3
    - Threading complete! Code more optimized yay!
    v1.7.2
    - Made auto-updater run on separate threads! Yippie! Doesn't slow down start up time and my first successful thread attempt!
    v1.7.1
    - Re-organized folders
    - Enhanced auto-updater (Even more efficient)
    - Added custom message to print configurations
    - Nicer print configurations
    - Starting on threads (Not in use yet)
    v1.7
    - Added custom messages support
    - Added custom blocks support (farmrates supported also)
    v1.6.2
    - Added 1.2 support by fixing events.
    v1.6.1.4
    - Fixed permissions for ops when permissions is disabled.
    v1.6.1.3
    - Removed WorldGuard support for the time being, until I get the API sorted.
    v1.6.1.2
    - Fixed NPE, silly me.
    v1.6.1.1
    - Finished auto-updating alittle bit more.
    - WorldGuard support!
    v1.6.1
    - Auto download updates on "/fb update"!
    v1.6.0.3
    - Hopefully fixed PEX related issues
    - Added ignore permissions
    - Tweaked disable mining in dark
    - Rearranged some if statements
    v1.6.0.2
    - Probably fixed SQL
    v1.6.0.1
    - Fixed H2 error.
    v1.6
    - Finally! FLAT FILE SUPPORT! FOR THOSE WHO WANT IT! SEE THE CONFIGURATION COMMENT ON SQL ON HOW TO USE IT! CREDITS THANKS TO xAuth FOR THE OPEN-SOURCE CODE. H2 library downloads on it's own with FB, no worries!
    v1.5.2.8
    - Tweaked SQL connections alittle bit, hoping to fix the error some people are facing.
    - Also tweaked abit of the plugin.yml permissions.
    v1.5.2.7
    - Probably fixed PEX support, check again please.
    v1.5.2.6
    - Removed the checks for "Disallow mining in dark" in Nether.
    - Removed the checks "Disallow mining in dark" when Y < 60, only check when block is at least 5 blocks below sea level (Sea level is 64 therefore, when Y is 59 and below).
    v1.5.2.5
    - Fixed reader error on start-up
    v1.5.2.4
    - Added more minor permissions for each command, foundboxx.admin still allows all other commands.
    v1.5.2.3
    - Fixed bPermissions support
    v1.5.2.2
    - Fixed NPE in the latest development builds of craftbukkit
    v1.5.2.1
    - Possibly fixed the error for ArrayList in SQL queue
    v1.5.2
    - Added "Use_Nick" configuration to announce using the players display name instead of MC name
    - Fixed added a configuration to change maximum data queries per second defaulted to 10 (was 3 and kinda not synchronized)
    v1.5.1.3
    - Added /foundboxx for those with plugins that override /fb
    - Modified help printing
    - Rearranged code for the sake of my eyes and brain
    v1.5.1.2
    - Code rearrangement
    - Disabled printing farmrates of disabled ores in configuration to remove ugly "0"s
    - Added the colouring of farmrate prints through my statistics (I still need to get statistics from red stone and coal, can you guys help me?)
    - Some minor bugfixes
    v1.5.1.1
    - Fixed the minimum farmrate checking days from 2 to 1.
    v1.5.1
    - Added "/fb farmrate (name) (days)" command to check farmrates and players!
    - Made SQL reload on "/fb reload".
    v1.5
    - Added MySQL support!
    v1.4.4.1
    - Fixed the stupid visibility notification not showing again.
    v1.4.4
    - Added PEX and bPerms support (UNTESTED ON 8/11/11!)
    v1.4.3
    - Fixed the need to turn on permissions for everyone to see [notify perm was defaulted to false when permissions is disabled] (SILLY ME!)
    v1.4.2.2
    - Code rearrangement
    - Changed the warning of the "Disallow mining in dark"
    - Added a few more things to plugin.yml
    v1.4.2.1
    - Fixed mining in the dark when disallowing it also does not announces the ore finding.
    - Optimized a very tiny bit of performance by moving some if functions around.
    v1.4.2
    - Fixed configuration printing for "Disallow mining in dark" value
    - Tweaked a little bit of the permissions
    v1.4.1
    - Workaround for the counter displaying too much (Hope it works)
    v1.4
    - Added redstone ore configuration
    - Added reload command (With permissions)
    - Fixed up the visibility notification
    - Some other bugfixes
    v.1.3.1
    - Fixed the counter from showing 1 less block
    v1.3
    - Shortened notification message
    - Added permissions
    - Added a must have light to mine function
    - Changed color of lapis notification to look more better to the eye with Doku font
    v1.2.1
    - Fixed to only give random items once per bunch
    v1.2
    - Fixed NPE on PlayerInteract
    v1.1
    - Fixed coal and lapis announcing
    - Added giving random items on a player mining diamonds
    - Changed "Light:" to "Visibility:" and shows a percentage instead
    - Added a feature to not announce if the ore is player placed until restart
    - Now uses the new YAMLConfiguration instead of the deprecated one
    v1.0
    - Initial release

    To be made:
    • Multi-world support (Soon hopefully)
    • Traps (Also will be integrated to SQL to get farmrates for traps!)
    • Ability to set delays between messages
    • Ability for users to choose to get their own announcement even if it is disabled by the server
    Credits:
    • mrciku - Main base code
    [​IMG]
    Stats collection: MCStats Lite is included in the latest versions and will just be collecting really basic information (your server's IP address, and other private information will not be collected) about your server. The collection will be used for the public's (mainly mine) knowledge on the popularity of the plugin, you may choose to opt-out in the configurations by changing the "Allow_Usage_Stats_Collection" option to false. For more information please head tohttp://mcstats.org/learn-more/
    BUKKITDEV:

    Source:
     
  2. Offline

    javoris767

    I think you gotta have Categories
    [Category] PluginName - Description [Build#]

    Categories (open)
    [ADMN] for plugins that provide extra plugin functionality that makes managing a server easier, like giving items, managing plugins, etc
    [SEC] for plugins that provide a way to combat and remedy griefing
    [CHAT] for plugins that provide improvements to chat like ignoring,local chat, channels
    [DEV] for plugins that provide developers with frameworks, new functionality
    [ECON] for plugins that provide an in-game economy
    [EDIT] for plugins that provide world editing functionality
    [FIX] for plugins that fix broken functionality
    [FUN] for plugins that add fun mechanics like games, destructive tools etc.
    [GEN] for plugins that provide standard functionality like playerlist, whitelist etc.
    [INFO] for plugins that provide extra information, like uptime
    [TP] for plugins that provide teleporting, homes, warps, etc.
    [MECH] for plugins that change Minecraft mechanics that don't fall under any other category[WEB] for plugins that are accompanied by a website script
    [WGEN] for plugins that provide custom world generators
    [RPG] for plugins that provide role playing experience mechanics
    [MISC] for plugins that don't fall into any other categories

    Just needed to add this
    Nice plugins tho i rly enjoy found diamonds and i might like this 1 add some kind of kicking thing for xrayers lol xD
     
  3. Offline

    MrMag518

    Category is missing, but else this looks really good!

    Unfortunately this would be to much spam on my server, to many playres on and mining on it..

    EDIT: bukkitdev link doesnt exist(404 error) And no download..
     
  4. Offline

    mrciku

    Oh yeah, I forgot about the category, typed this out too fast.

    Anyway, you sure it doesn't exist? I'm sure it does... I'll reupload.

    Edit: Done. Try downloading again.
     
  5. Offline

    MrMag518

  6. Offline

    MonsieurApple

    Approved
     
    DrAgonmoray likes this.
  7. Offline

    javoris767

    Yes :3 and some form of trap xD
     
  8. Offline

    mrciku

    Will do, later! I'll also change the light announcing to a percentage and "Visibility: (%)"

    Edit 1: Updated to v1.1

    Edit 2: Updated to v1.2 NPE fix.

    Edit 3: Updated to v1.2.1
     
  9. Offline

    Racha

    This is almost the same, but only with light?
     
  10. Offline

    mrciku

    + nearby ores counter
    + no more 30 second delay but by bunches
     
  11. Offline

    Racha

    Still the same, but anyway.. the light thing is nice :D
     
  12. Offline

    mrciku

    Updated to v1.3, I didn't test this one, please report all bugs here or on the BukkitDev.

    IMPORTANT: In my server, I just checked, total number of ores doesn't count the one you mine for some reason, maybe it's because of me using version 1377, can you get back to me? NVM it was my code, fixing soon, for now take the value +1.

    EDIT: Updated to 1.3.1
     
  13. Offline

    javoris767

    Wait why no redstone?
     
  14. Offline

    mrciku

    oh yeah, I'll add it in soon.
     
    DerekZil likes this.
  15. Offline

    SpawnSC

    like the mod but when people dig up iron or other ore blocks the number are not correct. They will find like 5 ore but says they found 15. Did I miss something in the config?
     
  16. Offline

    DerekZil

    No RedStone?
    Great plugin by the way!
     
  17. Offline

    mrciku

    I'll check with the code
    I added it in in 1.4 :)

    OH! By the way, the original FoundDiamonds (I think its the original) creator decided to continue his plugin, if he does, I MIGHT discontinue this.
    http://forums.bukkit.org/threads/fu...or-finding-ores-anti-xray-mod-too-1337.43854/
     
    DerekZil likes this.
  18. Offline

    MrMag518

    @mrciku Pleaase dont discontinue this. This is so damn nice.
     
    DerekZil likes this.
  19. Offline

    Chaznuts

    Yea, I would rather not have to keep switching plugins. It seems to work perfectly, so there's no need to discontinue.
     
    DerekZil likes this.
  20. Offline

    mrciku

    Updated to v1.4.1 just for the small counter fix!
     
    DerekZil likes this.
  21. Offline

    losdamianos

    Can you possibly change so light will only affect selected ores ?
     
  22. Offline

    mrciku

    I'll do that soon

    @losdamianos actually could you be more detailed? Like light affected ores for disallowing mining in dark? Or to show the visibility in the notification

    Updated to v1.4.2
     
  23. Offline

    rudedoggx

    What is a fullbright hack, and how would I use this plugin to identify a fullbright hacker?
     
  24. Offline

    mrciku

    Fullbrighters are those who mod their Minecraft to see in the dark with full brightness everywhere. This plugin will be able to announce people who mine selected ores with a detail called "Visibility: " basically the light level in percentage. If it is 0% that person either has his Minecraft is on full screen and full brightness or using a hack.

    There is also a configuration to disallow people from mining ore in the dark. Check the configuration guide on the post.
     
  25. Offline

    losdamianos

    to disallow minning just ores, Just to avoid spam when you want lets say, dig underwater for clay etc.

    btw thx for great plugin, its so much easier to pick players who mine with 0% visibility (98% Xray)
     
  26. Offline

    VADemon

    If admins will get message WITH the user's light level then we will change from WorldGuard to your plugin.
     
  27. Offline

    blokzeil1

    wont work with permissionsex? i dont get any notifications... but the plugin works..
     
  28. Offline

    mrciku

    soo you mean to disable some ores from announcing?

    check the config file, all the capitalized ore names are those where u can disable the announcing when u set to false. See the config help on the main post.

    might not work with PEX but just to make sure, is the "Permissions" config in the config file set to true?

    ok i could do this.

    I'm a little bit busy today, I'll do it tomorrow or tonight.

    Edit: updated to v1.4.2.1 - @VADemon I hope this is what you want...
     
  29. Offline

    MichaelSe

    It gets annoying when you're out at night, and have Brightness set to full in Video Settings... You can't open doors or destroy anything else. Could you just set it to prevent stone, dirt and ores?
     
  30. Offline

    rudedoggx

    My users aren't seeing any notifications from this plugin? I'm using bPermissions and have given them the foundboxx.notify permission node.
     

Share This Page