RebuildPlugin
RebuildPlugin - Rebuild your arena in one click!
Version: v0.9.2 - UPDATE 12 MARCH 2012
Required: WorldEdit
Translate: Français
Config: here
--------
@ANNOUNCEMENT by samoht2401
Adrenalineq, does'nt look to have time to develope this plugin then I (samoht2401) posted my code for all of you who want to update it. I let you all rights on it, you can create a new project, just take a part of code... I just want you to don't make money on it. If you remake the same plugin with my code, please, write my name.
@ANNOUNCEMENT
samoht2401, dont have anymore time to develope this plugin then i (Adrenalineq) update this plugin and make this work with newest Minecraft version 1.2.3 :)
- Tomorrow maybe for two days i change design this topic :P
---------
Tired of having to rebuild your arena after each fight? So this plugin is for you! Thanks to him, you can rebuild your entire arena in one click!
This plugin consists of simple commands allows you to easily select your chosen area and then to modify and manage easily all your arena.
Install:
Copy jar file to your plugins folder, and restart/reload your server.
How to use:
- Select an area with wand of WorldEdit plugin.
- Use command /rb create <name> to create new arena at the selection. (<name> is name of arena has to create.)
- Use command /rb addto <name> or /rb subto <name> to add or subtract your selection to arena (<name> is the name of the arena has to change.)
- Fight you! With Tnt and creepers!
- Use command /rb rebuild <name> to rebuild arena. (<name> is the name of arena has to rebuild.)
Additional commands:
- /rb help to display help.
- /rb list to display name of all existing arenas.
- /rb remove <name> to remove arena. (<name> is the name of arena has to remove.)
- (Automatically call when you stop your serve) /rb save [name] to save arena’s data. ([name] is the name of arena has to save its data, if [name] is not specified, data of all arena will save.)
- (Automatically call at startup) /rb load to load data of all arena. (WARNING : All modification of arenas after the last /rb save will lost.)
- /rb langue <language> to choose the language in which the plugin will answer to you. (This is only applies to players who run this command. For now you can choose between English and French, for any proposed translation, contact me.)
- /rb visualize <name> to see the limits of an arena. (<name> is the name of arena has to remove.) Currently, the limits of the arena are represented by glass blocks. They are included in the arena.
Features:
- Easily rebuild area.
- Easily selection and modify of area.
- No drop system on arena.
- Infinite items system on arena.
- Sign support : First line : [Rebuild] Second line : <name>
- Restore chest content !
- Permission support.
- Two languages available : English and French.
- And future addition.
Presentation video:
How to use sign:
- Place sign.
- Write "[Rebuild]" on first line.
- Write the name of arena to rebuild on second line.
- Valid. (You must have permission "rebuildplugin.sign.create"!)
- Right clic on sign to rebuild arena or power sign with redstone to rebuild arena.
- Warning, even players without the permission "rebuildplugin.rebuild" will be able use the sign.
Permissions nodes:
- "rebuildplugin.list" gives permission to use /rb list
- "rebuildplugin.create" gives permission to use /rb create*
- "rebuildplugin.remove" gives permission to use /rb remove
- "rebuildplugin.rebuild" gives permission to use /rb rebuild
- "rebuildplugin.addto" gives permission to use /rb addto*
- "rebuildplugin.subto" gives permission to use /rb subto*
- "rebuildplugin.save" gives permission to use /rb save
- "rebuildplugin.load" gives permission to use /rb load
- "rebuildplugin.changelangue" gives permission to use /rb langue
- "rebuildplugin.visualize" gives permission to use /rb visualize
- "rebuildplugin.sign.create" gives permission to create sign with rebuild fonction.
* Requires the right to select an area with WorldEdit.
Changelog:
Version 0.9.2
- Commands now can be executed from console (when you see big error while typing rb, rb rebuild dont worry and ignore it xD) - thanks to samoht2401 for help :P
- Small fixes ;)
Version 0.9
- Small fixes
- New language added: Polish
Version 0.8
- New event system
- Config load correctly
- Changed deprecated methods to new
Version 0.7
- added config.
Version 0.6
- added no drops system on arena and infinite system on arena.
Version 0.5
- now the content of chest, furnace, dispenser will be restore. The note of note block will be restore and text on sign will be restore too.
- Burning furnace will be whole restore. (cook time, burning time...)
- fixed /rb rebuild, now the arena will be whole restore, there will be no missing torch or other missing object.
- WARNING : Make save of your arena before update your plugin. In fact if your arena contain some chest, furnace, dispenser, sign or note block, you must rebuild and remove your arena before update plugin. Then you will be able to recreate the arena.
Version 0.4
- added the sign support.
- added the redstone support to sign.
- fixed /rb langue, the save wasn't done correctly.
Version 0.3
- added the /rb visualize to see the limits of an arena.
Version 0.2
- added the /rb langue to choose the language of the plugin. (English - French)
Version 0.1
- First publication of this plugin.
I can't make a large region. It says Internal Error. It works with a small area though. You really need to update. I think it involves the chests in the dungeons and stuff. Make it so you can rebuild chests and the stuff in them.
Please update This plugin looks beautiful.
Rebuild with Redstone and switch is bugi, wanna uptodate !
09:39:34 [SEVERE] null
org.bukkit.command.CommandException Unhandled exception executing command 'rb' in plugin RebuildPlugin v0.9.2
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.ClassCastException org.bukkit.craftbukkit.block.CraftChest cannot be cast to org.bukkit.inventory.Inventory
at samoht2401.RebuildPlugin.BlockInfo.<init>(BlockInfo.java:47)
at samoht2401.RebuildPlugin.Arena.<init>(Arena.java:50)
at samoht2401.RebuildPlugin.CommandExecutor.Create(CommandExecutor.java:75)
at samoht2401.RebuildPlugin.RebuildPlugin.onCommand(RebuildPlugin.java:98)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 12 more
This plugin is starting to use up a lot of performance, and I only have 1 region. All the other regions have a chest and get an error. Can this be fixed? Also, if not, any plugins that do something similar to this?
I don"t know what Adrenalineq do. And I can't code now, so excuse me. If some one want help and know programming, post a comment.
update anytime soon?
Getting this when using it on my spleef arena. I have falsebook sending the redstone:
http://pastebin.com/MxE3z84v
I will wait for the update then, because the whole point of the area is for the chests. When will this update probably be?
@Nicomang070
@EDawg878
This might be because chests/furnaces/dispensers can't be rebuilt at the moment due to a bug, rather than the area being too large (although, I'd avoid rebuilding anything of that size - you'll probably experience severe server lag lasting several seconds).
Try creating a rebuild area of a similarly massive region that contains no chests, furnaces or dispensers.
What EDawg878 is doing, is what problem I am having to. Can you fix this soon? Also, I can make smaller areas with no problem, just larger ones (around 10k blocks) don't work.
When I try to create a region that's massive (21,20,422 blocks) an internal error always comes up:
P.S. My computer has good enough specs to cover that many blocks. i7 2600k + 8GB RAM. Also, I can easily define a smaller arena.
I am using 1.2.4-R0.1 (Build #02117), with the Java 7 version of your plugin.
I don't have ultimateArena installed anymore? Was that coming up? I don't have the jar anymore, so how would I get rid of it? Also is GroupManager not compatable, because thats what I use instead of PEX, and it is working fine.
@Nicomang070
java.lang.NoClassDefFoundError: ru/tehkode/permissions/bukkit/PermissionsEx
I have having an arena when trying to create a region: I use the command /rb create treasure I get an internal error: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:469) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:906) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:866) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:849) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:116) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) Caused by: java.lang.NoClassDefFoundError: ru/tehkode/permissions/bukkit/PermissionsEx at com.orange451.UltimateArena.PermissionInterface.PermissionInterface.checkPermission(PermissionInterface.java:11) at com.orange451.UltimateArena.commands.PCommandCreate.perform(PCommandCreate.java:21) at com.orange451.UltimateArena.commands.PBaseCommand.execute(PBaseCommand.java:32) at com.orange451.UltimateArena.main.handleCommand(main.java:111) at com.orange451.UltimateArena.main.onCommand(main.java:97) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) Anything you can fix or I can try?
awesome, exactly what i looking for. Thanks
Java6:
Java7:
@d3fin3d
Post ticket and wait few minutes because i update plugin =d
@Adrenalineq
Hi Adrenalineq - with the Java 6 version of rebuild 0.8, I keep getting internal errors when trying to create a rebuild area that simply contains a chest with items in it. Other new rebuild areas work fine, including buttons/switches.
Here's the log: