EnderEyeGames Posted May 19, 2020 Share Posted May 19, 2020 With this skript, an explosion that does not occur in a liquid will damage obsidian. You can add other explosion-proof blocks if need be. A potato is used to check the damage of obsidian, just like CosmicPvP ages ago. Damage to obsidian regenerates on server restarts as it is metadata. on explosion: block at entity is not water or lava loop blocks in radius 4 around entity: loop-block is obsidian loop-block has metadata "damage": metadata value "damage" of loop-block is "highly damaged": break loop-block using diamond pickaxe metadata value "damage" of loop-block is "moderately damaged": set metadata value "damage" of loop-block to "highly damaged" metadata value "damage" of loop-block is "slightly damaged": set metadata value "damage" of loop-block to "moderately damaged" loop-block does not have metadata "damage": set metadata value "damage" of loop-block to "slightly damaged" on right click on obsidian with a potato: clicked block has metadata "damage": send "&aThis obsidian is &9%metadata value ""damage"" of clicked block%" to player stop send "&aThis obsidian is &9not damaged" to player This enables the "air-bursting" method against water-protected obsidian. Obsidian will break if hit with four TNT. Other blocks, when water-protected, can be taken out with a sand or concrete cannon or a TNT-carrying flying machine. Link to comment Share on other sites More sharing options...
rafyel Posted August 5, 2020 Share Posted August 5, 2020 Does this work with crying obsidian and blackstone? ALso which file does this need to be added to? Tried adding it to the factions config folder with no results, but I'm not a coder that was just my best guess of where to put it selfplug rafyel.minehut.gg for some smpfactions yo Link to comment Share on other sites More sharing options...
DeltaRays Posted August 7, 2020 Share Posted August 7, 2020 Hey, it most likely doesn't work with crying obsidian and blackstone, anyways you need to install the skript plugin, restart the server and then go to file manager => plugins => skript => scripts, create a new file (which ends with .sk) and put that in it, then click on save and on the server type /sk reload <name>, then it should work 1 Link to comment Share on other sites More sharing options...
rafyel Posted August 7, 2020 Share Posted August 7, 2020 I appreciate the help! selfplug rafyel.minehut.gg for some smpfactions yo Link to comment Share on other sites More sharing options...
ewrjjkh Posted August 7, 2020 Share Posted August 7, 2020 is there a way I can make it take more hits Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now