I 'robbo5899' will be taking over this plugin as soon as ownership is transfered, It will soon be updated to the latest versions of minecraft. A 1.6 version will be first priority
FTBHelper is a tool I developed to help out with my Feed The Beast server. It contains many useful commands and features such as a ItemBan system,
some patches for FTB Unleashed and a bunch more. Commands & Permissions Configuration Banning an item:
FTBHelper includes a very useful permission basied itemban system to stop users from using certain items to grief. So far it does the following:
Stops players from crafting banned items
Stops a player from picking up banned items
Stops a player from dropping banned items
Stops a player from placing banned blocks
Stops a player from right/left clicking with banned items
Stops a player from moving banned items around between inventorys/within their own inventory
Stops a player from interacting with banned blocks
Deletes banned items on use (configurable)
Drops banned items on use (configurable)
Broadcasts a global message when someone has/uses/crafts a banned item (configurable)
I believe I have made this system as simple as possible to use by only having a single main permission: FTBHelper.ban.<itemid>.<dataValue>, for more customization with banned items see the Commands & Permissions page
If the selected item does not have a data value then set it to 0, likewise if it has lots of different data values for, say, damage on a tool then use * as the data value., see the Permissions and commands page for more in-depth info about the itemban system and its permissions.
Other features
Ability to toggle spawning of mobs (useful for dissabling custom spawners if one is causing lag)
Ability to halt a player in place (Im sure there will be some use for this)
Stop a player from logging in (like /ban but for temporary use if the player is in a bugged area or your rolling their profile back etc)
Autosave (can save the server every min to prevent unwanted rollbacks if the server crashes, configurable)
/banneditems command to display a list of all banned items
/IdFinder command to tell you the id of any clicked block
/poll to allow players to vote to take control of the time/weather
/vote command to display links to vote for the server
/findentities to locate the chunks with the most entities
AutoSaves to prevent rollback on server crash
Update notification
Suggestions
I'm always looking to hear from the community, see what they think, if they have any suggestions etc. If you want to contact me quickly, me or one of my admin will most likely be on my FTB Unleashed server: FTB.Glass-Gaming.com This is also where I test the latest versions of FTBHelper. Alternatively semd me a message over skype (mike546378) and I will be happy to help out.
Source Code
Full source code is now available over at GitHub
Just about to install this on my new server. A quick question to confirm the versioning..
For the newest Unleashed, CB 1.5.2 I should use FTBHelper v.1.4.8 and *not* the newest FTBhelper v1.4.9?
Only other question is.. Can this mod also support things like "Only allow 2 chunk loaders per player" or "Only allow 2 personal anchors per player" ? Otherwise, what is the best way to do that and:
A question about permissions. I see that I can allow a particular player to bypass a banned item. But I need more granularity, to allow some players not to be able to craft an item, but allow them to use it... Other players not to be able to craft or use it... For example, limiting chunk loader and quarry use... Does this mod support that? Hm..
@Mike546378
I think my brain was fried, nevermind sorry that was for another plugin... however I just got this error.
Anyways thanks for the quick reply.
ok so I sorted out most of my problems, but I'm trying to ban the spawn eggs but then I add FTBHelper.ban.383.* I can still spawn them.
I get this console error when I spawn the egg.
3:37:52 AM CONSOLE: [SEVERE] Could not pass event PlayerInteractEvent to FTBHelper v1.4.8
3:37:52 AM CONSOLE: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
This plugin is made and tested primarily on unleashed. I tried replicating your bug by banning item 54.* (chest) and could still access all machines, some more details of the issue would be nice :)
Oh man this plugin is awesome! I can't wait for the FTB Unleashed version. I was wondering would it be possible to treat machines as not chests? For example if I block the use of chest, it's blocking the use of macerators and other machines. It's not a big deal but would be nice to be able to use machines. Anyways thanks for the plugin :)
@Mike546378 Thank you Kindly! It works great! I did hit small issue but it seems to work just fine still when it drops a item that I spawn via item command after I right click in mid air to activate the drop code:
http://pastebin.com/HZ1hpDhU
Question: Is there a way to say item.meta is the normal use in permissions but have a item-item so let's say I want to ban a range of items 4770-4880 for a simple example :)
Hello, New here and love this plugin. I also love to delete the item or better yet have it drop out the inventory. Not everyone will have the item banned and maybe if he screams then someone like his friend who can get it would be able to get it in time.
Another issue I dislike a lot is not being able to have the interact with the block also banned. For example if I wanted to ban Computer Craft I would also like to prevent ANYONE from right clicking the computer placed on the ground.
This helps prevent other sorts of griefing as well.
OK, will add this as an option in the config. Personally I prefer admin removing it from a players inv manually so you can see who is doing what but your way makes more sense for larger servers. Will be an update either later or tomorrow.
Can you make the banned inv actually delete the item? I don't want people to use nukes and in case if they manage to get a nuke in their inventory and it gets stuck, it's going to prove a problem.
Managing to get a nuke in inv>Cannot move, place, or drop>Stuck in inventory>Wants to take it out.
Can you make it so the banned item would be banned, similar to TekkitCustomizerData?
I am unable to do this with FTBHelper since there are lots of different types of protection plugins that people use, don't want to force Server owners to use a certain claim plugin. I may however look into the code of the GriefPrevention plugin and see if I can make some modifications directly to that to do the things you asked.
Is there any way you can make a plugin so FTB-specific items such as barrels / me systems are locked to the player? A major problem in my server is the stealing.
Im not sure if i read it right but you disabled the firing of mining lasers. If thats true maby instead of disabling them make it so when a play right clicks check to see if there is claimed land within x number of blocks. Not sure how feasible that is. And also maby the same thing with portal and gravi guns for picking up. One more question does this work with applied energistics.
can you add an option to only disable right clicking? i'll like to ban players being able to right click and place banned items using tinker's construct
Just about to install this on my new server. A quick question to confirm the versioning..
For the newest Unleashed, CB 1.5.2 I should use FTBHelper v.1.4.8 and *not* the newest FTBhelper v1.4.9?
Only other question is.. Can this mod also support things like "Only allow 2 chunk loaders per player" or "Only allow 2 personal anchors per player" ? Otherwise, what is the best way to do that and:
A question about permissions. I see that I can allow a particular player to bypass a banned item. But I need more granularity, to allow some players not to be able to craft an item, but allow them to use it... Other players not to be able to craft or use it... For example, limiting chunk loader and quarry use... Does this mod support that? Hm..
@Normalius
Will see what I can do. Not too sure what you mean by the world load management but the other ideas are good
Can anyone send me the correct link from the MCPC+ for FTB Unleashed ? because bukkit forge build:301 dont worked correct by me ;)
More useful function ideas:
All of it for the current 1.5.2 of course :)
Thanx! Mike
@Mike546378 I think my brain was fried, nevermind sorry that was for another plugin... however I just got this error. Anyways thanks for the quick reply. ok so I sorted out most of my problems, but I'm trying to ban the spawn eggs but then I add FTBHelper.ban.383.* I can still spawn them. I get this console error when I spawn the egg. 3:37:52 AM CONSOLE: [SEVERE] Could not pass event PlayerInteractEvent to FTBHelper v1.4.8 3:37:52 AM CONSOLE: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
@darkorbit
This plugin is made and tested primarily on unleashed. I tried replicating your bug by banning item 54.* (chest) and could still access all machines, some more details of the issue would be nice :)
Oh man this plugin is awesome! I can't wait for the FTB Unleashed version. I was wondering would it be possible to treat machines as not chests? For example if I block the use of chest, it's blocking the use of macerators and other machines. It's not a big deal but would be nice to be able to use machines. Anyways thanks for the plugin :)
@Kane_Hart
Fixed, uploading the updated version. Problem was with auto generating the config
@Mike546378 Thank you Kindly! It works great! I did hit small issue but it seems to work just fine still when it drops a item that I spawn via item command after I right click in mid air to activate the drop code: http://pastebin.com/HZ1hpDhU
Question: Is there a way to say item.meta is the normal use in permissions but have a item-item so let's say I want to ban a range of items 4770-4880 for a simple example :)
@seaong816
@Kane_Hart
Added both these features, just waiting on bukkit to accept the update
@Kane_Hart
Working on the code right now, will add this feature
Hello, New here and love this plugin. I also love to delete the item or better yet have it drop out the inventory. Not everyone will have the item banned and maybe if he screams then someone like his friend who can get it would be able to get it in time.
Another issue I dislike a lot is not being able to have the interact with the block also banned. For example if I wanted to ban Computer Craft I would also like to prevent ANYONE from right clicking the computer placed on the ground.
This helps prevent other sorts of griefing as well.
Thanks, Kane
@seaong816
OK, will add this as an option in the config. Personally I prefer admin removing it from a players inv manually so you can see who is doing what but your way makes more sense for larger servers. Will be an update either later or tomorrow.
Hey Mike546370,
Can you make the banned inv actually delete the item? I don't want people to use nukes and in case if they manage to get a nuke in their inventory and it gets stuck, it's going to prove a problem.
Managing to get a nuke in inv>Cannot move, place, or drop>Stuck in inventory>Wants to take it out.
Can you make it so the banned item would be banned, similar to TekkitCustomizerData?
Thanks in advance, [Slivion Owner] kikas4ever
@The_Loyal_One
Sorry, my plugin doesn't handle claiming items, I recommend GriefPrevention for that
@dberry1771
I am unable to do this with FTBHelper since there are lots of different types of protection plugins that people use, don't want to force Server owners to use a certain claim plugin. I may however look into the code of the GriefPrevention plugin and see if I can make some modifications directly to that to do the things you asked.
@The_Loyal_One
You can get LWC and then do this which should help with your stealing issue http://forum.feed-the-beast.com/threads/ftb-unleashed-lwc-config-including-gregtech-etc.27735/
Is there any way you can make a plugin so FTB-specific items such as barrels / me systems are locked to the player? A major problem in my server is the stealing.
Im not sure if i read it right but you disabled the firing of mining lasers. If thats true maby instead of disabling them make it so when a play right clicks check to see if there is claimed land within x number of blocks. Not sure how feasible that is. And also maby the same thing with portal and gravi guns for picking up. One more question does this work with applied energistics.
@Mike546378
can you add an option to only disable right clicking? i'll like to ban players being able to right click and place banned items using tinker's construct
@DiggerMark
@joseph96
Fixed this, just a typo. Will be uploading an update tomorrow