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
Date for 1.8?
This plugin is very good for servers.
Still doesn't work with PEX :/
Is there a way to scan everyone and pick out suspicious users?
@CrowMCLP
Haha I immediately saw your request on GitHub, I'll push the new build out once I'm free.
Thanks.
@boniomri
I have fixed the PEX issue and made a pull request for mrciku to check out. I am sure he wouldn't appreciate me posting a download to my modded version. I have fixed it and customized it for my server but if you send me a pm ill send you a download link. Mine is name differently and has different permissions. Also I wouldn't use SQL with mine. It lags like crazy. I only just started coding. :)
Getting @CrowMCLP problem also on pex.
Other than the PEX issue great plugin. I do have a suggestion though. Can you add a way that the plugin can detect if the player is using a nightvision potion and allow them to mine in 0 light if they are using one.
@mrciku
I can also confirm, it does not work on spigot 1.7.9 w/PEX. No errors. Perms both enabled & disabled. I then tried on a server with just spigot and FB and it worked. added PEX and doesn't work. This time it did throw an error. http://pastebin.com/v5zrCt93
@vipersonic
that's really odd... Any errors?
Doesn't work with my server running Spigot 1.7.9 :/ And yeah, it has PEX.
I have made a plugin review! https://www.youtube.com/watch?v=iwAl5aQTyxA
@Nickgonzo23
This seems like a problem with PEX. The plugin may be loading earlier than PEX
I'll check around.
Amazing comeback.
Latest version of PEX, Latest version of spigot, even tried 1.7.9 r0.1 and double checked everything. Still none of the recent ones work with PEX. Best comeback ever ._.
http://pastebin.com/EfknyEKL
Feel free to give any suggestions and report any bugs on this plugin :)
I'll work on it on my free time.
The legend is back!
@copiepasta
I see... Well I may actually just revive this plugin in another name for awhile again. Currently I am learning Java (again) in school. Could use this for practice.
My plans are to re-code the entire thing and improve the multi-threaded optimizations I did before.
Anyway, ETA is still not sure. But probably expect it in near future.
EDIT: I may need a dev to catch me up with the new ores, and permissions plugins handling. EDIT 2: Re-coding now may be a bit extreme, I'll just fix everything for now. Only PEX and normal permissions support atm (I think). EDIT 3: v1.8.2 is up. http://dev.bukkit.org/bukkit-plugins/foundboxx/files/56-v1-8-2/
P.S. If there are any other plugins that I previously made (but should be obsolete with other plugins by now, unless you give me a reason to) that you want me to revive also. Feel free to PM me. I'll try to sort something out.
@mrciku
I do not personally think that FoundOres Revisited have this function. "Must_Have_Light_To_Mine: Interacting in the dark is dangerous! Put some torches". I still prefer to use your plugin. But sometime I got a lot of errors using with 1.7.2 r0.3. yet I still use it. :)
Hello guys, I don't plan to come back to coding for Bukkit plugins anytime soon (but it's not impossible)
But any reasons why you guys aren't using FoundOres Revisited? It seems to have almost all the features of my FoundBoxx.
@auranore Apologies, I changed my GitHub username recently, here is the new link. github.com/jarylc/FoundBoxx
Would love to update this, sourcecode link comes up with 404 not found. Need source code to update
The colors aren't working properly for me anymore. Instead of '[FB] Player found 39 Diamond!' being in all blue, just the '[FB] Player' is colored.