Anti Fullbright
Anti-Fullbright 1.0
Inactive
It may or may not work with the newest versions. I'm very sorry, but I can't continue development, I stll lack funds to pay for my internet bill, my apologies. Once I have internet again, I will update my plugins frequently again.
What does this plugin do?
It prevents the fullbright hack, obviously!
Okay.. Well how does it work?
It just checks the users light level. If they're below light level 2, there's a 75% chance (configurable) that the block they attempt to break will NOT break.
- You can enable / disable if it works in water or not.
- You can edit the messages it sends.
Are there permission nodes?
Of course! Here they are: af.deny - Stops Anti-Fullbright from functioning with users that have that permission
Will this break any of my plugins?
I hope not. If you experience any errors, please report it to me, and I will do my best to fix it.
Is it lightweight?
I think so! I haven't noticed any performance decrease after enabling my plugin, and I hope it stays that way. It's only two files, after all :)
updates might be a little more later than I thought. I'll be out of town for a little bit, and don't have access to the source-code anywhere except at my home-computer :(
My apologies, I'll get it done ASAP.
I'll make a fix soon. At the moment, I'm a little more concerned about updating all the plugins on my server. I apologize for the inconvenience. Just remove it for now and check back in about 2 days time. :)
One legitimate complaint users are saying is that they can no longer build underwater as easily. Not sure what to do about this?
I'll try adding per-world light-level configurations. I'll make sure to integrates with some sort of permissions api.
Thanks for adding the requests so quickly! Trying it out now...
Loaded fine. Protip: You might want to make the config directory name and the plugin name the same so it's easier to cross reference.
(Directory currently: Anti-Fullbright, plugin currently: antifb.jar
Update: Testing so far has been successful!
Request: Permission node to ignore brightness requirement (for ops, etc), or at least a default bypass for ops.
Another request came up: Disable for certain worlds. (The nether, for example, where it's much more common for players to mine in darkness since baddies don't spawn in darkness there, and the darkness isn't as "dark".)
Haha no, I'm using Java 1.7, that's all. Try the new one I uploaded, it should fix it.
@xxOrpheus
is my version of java to old? or are you on some kind of dev build of java? :P
@Perfk This was compiled in Java SE 1.7 I'll go make a 1.6 version for you real quick :)
Hello Xxorpheous.
I can not get your plugin to work, i made a new server, and only installed craftbukkit r4, this is my log file: http://pastebin.com/59iXW09y - can you see whats going on?
i thought it had something to do with java, but all of my other pluigns is running fine. heres my info: java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
Alright, I'll get started on that now. Thanks for the great suggestions :D
EDIT: Updated, does everything you guys requested now :D
This looks promising! I agree that some very basic config would be nice.
Message frequency: 0-1 (percent chance the message shows up, so it doesn't spam the screen)
Minumum Lightlevel: 0-4
Custom message: 'message'
Misschance: 0-1 (0-100)
@xKYLERxx Yeah, I was thinking about it. I'll do it today maybe :D
Just a suggestion: Add an integer to the config allowing you to change the 0-3 randomInt to something like 0-10 or 0-0. But other than that, very good idea. This will also stop x-raying a little too. (X-rayers using torches? Ha!)