FoundBoxx
FoundBoxx - Ore Finds Announcer (anti-cheat, xray, fullbright)
NOTICE: PLEASE DELETE AND REDO YOUR CONFIGURATIONS FOLDER ALONG WITH FOUNDBOXX TABLES IN DATABASES WHEN UPDATING FROM 1.8 TO 1.9
Multi-threaded optimizations! Flat file (H2) support!
Custom messages and blocks support!
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 to http://mcstats.org/learn-more/
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 SQL you can also get a player's farmrate!
- Customizable messages!
- Auto-updater
Commands
- /foundboxx or /fb - Main command
Permissions [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
Configuration Defaults (plus comments)
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: false #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 material names inside the box separated with a comma (Format: [STONE, IRON_BLOCK, DIAMOND_BLOCK]) 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: RAW_CHICKEN #material name 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) Ignore_Night_Vision_Mining_In_Dark: false #night vision potions support for mining in the dark 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)
Source code: https://gitlab.com/jarylc/FoundBoxx
Is there a reason why I am not notified of ore findings? using CraftBukkit 1.2.3-R0.1 Build 2030.
Survival_Only: false
Use_Nickname: true
Use_Permissions: true
DIAMONDS: true
GOLD: true
IRON: false
COAL: false
LAPIS: false
REDSTONE: false
Percentage_Chance_To_Give_Randoms_Item: 0
Max_Random_Items_To_Give: 0
Random_Item_To_Give: 1
Must_Have_Light_To_Mine: true
SQL_Enabled: false
SQL:
URL: localhost
Port: 3306
Database: minecraft
Days_To_Remove: 1
Maximum_Queries: 5000
Maximum_Data_Queries_Per_Second: 10
Prefix: fb
User: root@localhost
Pass: ''
Tried giving the notify permissions, still nothing.
Yes Please Update this plugin for 1.2. That would be awesome!
Please, please, please update this plugin! I know 1.2 has only been out for a couple days and im not expecting an immediate update to support it, i just wanted you to know how great this plugin is and i would love to see it continue to improve :)
Good morning,
i hope this plugin will be updated for 1.2.2 soon ;) i would really like to use it :)
Greetings Justberry
Hope this gets updated for R5. Great plugin.
Friendly reminder that people still care about this plugin and to see if you're ready for R5 and an eventual 1.2 release!
could you make it so it logs the same stuff to the console window as well? For when I'm not in game but still want to keep on eye on xrayers /legit mining victories.
@mrciku
What is the enhancement in mind? How should it look and feel?
1. Ability to add the lighting percentage. {PLAYER} mined {ORE} at {VISIBILITY}% light.
2. Locale so I can edit the strings.
Please provide any additional information below.
Help... I have the latest version but it doesn't work anymore!
2012-02-13 17:41:32 [SEVERE] Error occurred while enabling FoundBoxx v1.6.1.4 (Is it up to date?): java.lang.String cannot be cast to java.lang.Boolean
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
at me.Jaryl.FoundBoxx.FoundBoxx.loadConfigurations(FoundBoxx.java:79)
at me.Jaryl.FoundBoxx.FoundBoxx.onEnable(FoundBoxx.java:311)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:380)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:199)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:182)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Can you make it so we can edit the warning messages and the reward give away messages?
I don't really like it that it says [FB]
and the colors don't fit with our chat.
And even better if it only showed who mined to admins only so players wont even know about this plugin. otherwise its useless..
Would be great if this wrote finds to a log so I could wake up each morning and see who has mined an outrageous number of diamonds.
I love this plugin. Any chance of an update to 1.1-R3 and the "ignore this player's finds" working?
Is there any way I can get this working with GroupManager?
Hi,
Could you add Vault suport?
Thanks.
Is it possible that they insert the possibility that only logs are displayed which are visibility below 20%? Logs over 20% are unnecessary and just spamming the chat full.
Or I can have the source code?
@mrciku
Lovely to hear. I'm sure that a huge number of server administrators would love you to upkeep this mod, but if you're done with the game I know how it is.
One of these days I'll learn Java more in depth xD; not till after my schooling.
@lambik @Crayder /fb farmrate
@Kartus yeah, self placed ore will not be announced when mined, to prevent spamming
@Drehverschluss I seem to get these PEX problems everytime, could you try ask other pex users of my plugin on how they got it to work? some did.
@Crayder Yes
@ihasamoose I was working on that, but it's abit slow now, busy with school, and I am somehow inactive with Minecraft already.
Hey there, lovely plugin.
I was wondering if you could make it so that there was a "suspects" list.
I.E
/fb suspects
That shows FB according *possible* xrayers and *probably* xrayers.
Perhaps an integer settable from inside the config?
Thanks, Austin
Hi, I was wondering if you could add custom id support? I'm using the Tekkit pack on my server which is a compilation of a lot of other mods. It has a lot of custom ores in it that I'd like to be able to announce, like gems, uranium, copper, tin, apatite.