Hey! My idea for a capture-the-flag like server is that you have a main block(air) and more blocks linked to it (white wool) and if you place a block the other blocks get replaced. I know that there are ctf plugins including this feature, but i only need this part.
So for example there is a building with white wools and a vertical 3x3 frame with a hole inside. And when you place a colored wool in the frame all the white blocks in the building get replaced.
Onlineids i think he wants it so there is a building made from white wool with a 3x3 square somewhere with a gap in the center . when a coloured wool gets placed in the gap the white wool gets turned into a different block
It's something like this. If you place a block in the obsidian frame, blocks on the outside get replaced.
No... xD I place a block which is going to be the main sample(air in picture) then place other blocks (white wool in picture) in the world. And when i replace the sample block, all the other blocks linked to it get replaced.
[quote uid=90914046 name="mcvillam" post=2420180]Not specifically wool blocks but blocks at configured coords.[/quote] ok i will see if i can make it i have made it it supports two teams and multiple locations for the coordinates link: <Edit by Moderator: Redacted mediafire url> the config has a few things inside of it Spoiler (Move your mouse to the spoiler area to reveal the content) Show Spoiler Hide Spoiler blockstochangex , blockstochangey and blockstochangez these are lists where you put the x y z in each one and the blocks there will change to the block in the middle of the frame (not including air) then x, y ,z are the coordinates of the middle of the frame then they are repeated these are the coordinates of the second frame and the coordinates of the blocks to change for the second frame EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Thank you very much, but could you add one more team please? And also it doesn't seem to work. And it crashed with this: (the server is running bukkit 1.6.2) Spoiler (Move your mouse to the spoiler area to reveal the content) Show Spoiler Hide Spoiler Code: 2014-04-18 12:18:53 [SEVERE] Could not pass event BlockPlaceEvent to Blockreplacer v1.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:112) at net.minecraft.server.v1_6_R2.ItemBlock.processBlockPlace(ItemBlock.java:89) at net.minecraft.server.v1_6_R2.ItemBlock.interactWith(ItemBlock.java:73) at net.minecraft.server.v1_6_R2.ItemStack.placeItem(ItemStack.java:79) at net.minecraft.server.v1_6_R2.PlayerInteractManager.interact(PlayerInteractManager.java:389) at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:628) at net.minecraft.server.v1_6_R2.Packet15Place.handle(SourceFile:58) at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at com.gmail.lproductions.woolreplacer.woolreplacer.onblockplaced(woolreplacer.java:43) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 19 more 2014-04-18 12:20:37 [SEVERE] Could not pass event BlockPlaceEvent to Blockreplacer v1.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:112) at net.minecraft.server.v1_6_R2.ItemBlock.processBlockPlace(ItemBlock.java:89) at net.minecraft.server.v1_6_R2.ItemBlock.interactWith(ItemBlock.java:73) at net.minecraft.server.v1_6_R2.ItemStack.placeItem(ItemStack.java:79) at net.minecraft.server.v1_6_R2.PlayerInteractManager.interact(PlayerInteractManager.java:389) at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:628) at net.minecraft.server.v1_6_R2.Packet15Place.handle(SourceFile:58) at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at com.gmail.lproductions.woolreplacer.woolreplacer.onblockplaced(woolreplacer.java:43) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 19 more EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Sorry it is a 1.7 plugin ad i am away for the weekend i shall remake it in 1.6 either monday or sunday
Oh yea i just thought it was because i made it with bukkit 1.7.4 and he ran it on a 1.6.4 server mcvillam Can i see your config
Config: Spoiler (Move your mouse to the spoiler area to reveal the content) Show Spoiler Hide Spoiler blockstochangex: - -54 - -55 - -53 blockstochangey: - 93 blockstochangez: - 245 # coordinates for the block in the middle of the frame x: -59 y: 93 z: 245 #coordinates for the 2nd block in the middle of the other teams frame x2: 3 y2: 2 z2: 1 blockstochangex2: - 2 blockstochangey2: - 2 blockstochangez2: - 2
i see the problem i forgot to say you need to put all the coordinates in so for every coordinate in blockstochangex there needs to be one in blockstochangey and blockstochangez and it does support two teams thats what the other values in the config are for you just use them in the same way just with different coordinates
it may be because it was compiled for 1.7.4 server why it doesn't work once i get home i will remake it in 1.6.4
mcvillam sorry it took so long been really busy but here it is <Edit by Moderator: Redacted mediafire url> i tried the other version on 1.6.4 and it didn't work but this one should