Skuli Posted October 19, 2012 Posted October 19, 2012 The latest builds of ModDamage have the ability to catch and cancel block breaks/placement by FakePlayer-enabled mods. I've tested it with Buildcraft, Computercraft, and Redpower myself. In essence it's a powerful dynamic blacklist for these mods... Here's an example of the script's usage. It keeps redpower/buildcraft/computercraft from breaking machine blocks, it keeps anyone/anything from placing fillers, mining turtles, or block cutter upgrades with a custom error. It seems pretty powerful to me; you can limit to specific regions, specific worlds, based on user permissions, time of the day, and you can reload the config at any time for a very dynamic white/blacklist. BreakBlock: - 'if player.named.[RedPower] OR player.named.[buildcraft] OR player.named.[ComputerCraft]': - 'if block.type.X250 and block_data = 0': - 'message.console': '%{player_name} attempted to break a machine block.' PlaceBlock: - 'if block.type.X155': - 'message.player': 'Fillers are banned.' - 'cancel' - 'if block.type.X216 and block_data = 1': - 'command.console': 'say %{player_name} attempted to place a mining turtle at %{player_x}, %{player_y}, %{player_z}.' - 'message.player': 'Mining turtles are banned.' - 'cancel' - 'if block.type.X254 and block_data = 3': - 'message.player': 'Block cutters are disabled due to griefing issues.' - 'cancel' Quote
smithy285 Posted October 24, 2012 Posted October 24, 2012 You should make a full tutorial post on this, I can see this getting very popular Quote
Skuli Posted October 24, 2012 Author Posted October 24, 2012 You should make a full tutorial post on this, I can see this getting very popular ModDamage is very complicated; I'll post a few examples but it's powerful enough do do just about ANYTHING with; I can make quarries return dirt for diamond ore, for example, or make smooth stone simply vanish instead of being piped in as cobblestone. - 'if player.named.[buildCraft] or player.named.[RedPower] or player.named.[industrialCraft] or player.named.[ComputerCraft]': - 'if block.type.X248 OR block.type.X249 OR block.type.X140 OR block.type.X250 or block.type.X181 or block.type.CHEST or block.type.X136 or bloc$ - 'cancel' - 'if block.type.STONE': - 'cancel' - 'set.block_typeid': '0' The above keeps tekkit mods from breaking those block types, and makes quarries return no cobblestone at all... Quote
Hushful Posted October 24, 2012 Posted October 24, 2012 Wouldn't altering those values change how they are supposed to operate normally? Could they be assigned to not work in specific area? Quote
Skuli Posted October 25, 2012 Author Posted October 25, 2012 I'm not sure what you mean by the first part, and you can use WG regiosn to determine ModDamage rules, sure. *edit* ModDamage dev just added support for Towny regions. Now we can block quarries/blockbreakers from destroying machines only in non-wilderness areas. - 'if player.named.[buildCraft] or player.named.[RedPower] or player.named.[industrialCraft] or player.named.[ComputerCraft]': - 'if !sender.inregion.wilderness': - 'if block.type.X248 OR block.type.X249 OR block.type.X140 OR block.type.X250 or block.type.X181 or block.type.CHEST or block.type.X136 or bloc$ - 'cancel' - 'if block.type.STONE': - 'cancel' - 'set.block_typeid': '0' Quote
ace223 Posted October 25, 2012 Posted October 25, 2012 I personally will not be installing this mod to my server but i can see the good side to it all. The Tekkit plugin i am looking for is one that can link fake players such as [buildcraft] to the player that placed the machine so that way they have the exact same permissions as the real player. PLUGINS DEVS GET ON IT :P Quote
Skuli Posted October 25, 2012 Author Posted October 25, 2012 I personally will not be installing this mod to my server but i can see the good side to it all. The Tekkit plugin i am looking for is one that can link fake players such as [buildcraft] to the player that placed the machine so that way they have the exact same permissions as the real player. PLUGINS DEVS GET ON IT I think you'll be waiting a while for that plugin. The mods themselves will have to be re-written to support that, more than likely... Quote
ace223 Posted October 25, 2012 Posted October 25, 2012 I think you'll be waiting a while for that plugin. The mods themselves will have to be re-written to support that, more than likely... yeah sadly... i can dream.. Quote
Kill3rBlack Posted February 25, 2013 Posted February 25, 2013 Is there anyway to use this to log who's explosive damaged a certain block? For instance, lets say player1 nuked an area. No one knows it was player1. Can this be used to check any of the blocks that the explosion destroyed, to find out who placed the initial explosive? Quote
FanaticNinja Posted February 28, 2013 Posted February 28, 2013 Is this for tekkit classic or tekkit lite? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.