iSpawner
Quote from Siguza:The Future?
Since Spigot is still standing and Sponge is slowly getting somewhere, I'm not exactly sure what to do with my plugins, but I'll stick around.
I think I will port most of my plugins to Sponge, but some (like NBTLib) will hopefully not be necessary anymore.
For now, I've set all my projects to "inactive", except for VirtualPack, which I will keep compatible with Spigot, until I ported it to Sponge. If you really want to see any of my other plugins updated to Spigot, just comment on its project page.
iSpawner
[ Download ] [ Source ] [ Format reference ]
Edit every attribute of your mob spawner - using commands and/or templates.
How to use
Installation
- Download NBTLib and move it to your plugins folder.
- Download the iSpawner.jar and move it into the plugins folder.
- Start your server.
Config
Node | Possible values | Description |
---|---|---|
check-update | true or false | Whether to check for updates or not. |
Commands
Note 1: The actual command is "/ispawner", but there's the a short version: "/isp"
Note 2: Red arguments have to be given, blue ones can be omitted (depending on what you're doing)
Command | Description | Required Permission |
---|---|---|
/isp | Show the help | - |
/isp version | Show the version of iSpawner | - |
/isp start | Execute this command and click a block to start a session. | ispawner.use |
/isp start (world) (x) (y) (z) | Start a session in world world at position x/y/z. | ispawner.use |
/isp cancel | End the session and discard changes. | ispawner.use |
/isp end | End the session and apply changes. | ispawner.use |
/isp set (path) (type) [value] | Set an NBT tag to a certain value. Important: If type is list, compound or "-" (= delete tag), you don't need to give a value, otherwise you do. | ispawner.use.admin |
/isp import (name) | Import the file iSpawner/data/name.txt. | ispawner.import and ispawner.import.name or ispawner.import.admin |
/isp export (name) | Export the current spawner to iSpawner/data/name.txt. | ispawner.export |
/isp export override (name) | Export and override iSpawner/data/name.txt. | ispawner.export.admin |
/isp info | Print all the data of the current spawner. | ispawner.use |
/isp types | Show all possible NBT types. | ispawner.use |
Permissions
Node | Effect | Child nodes |
---|---|---|
ispawner.use | Allows the use of iSpawner commands | |
ispawner.use.admin | Allows to edit spawners directly via commands | ispawner.use |
ispawner.import | Allows to import templates | |
ispawner.import.admin | Allows to import every template | ispawner.import |
ispawner.export | Allows to create templates from spawners | |
ispawner.export.admin | Allows to overwrite existing templates when exporting | ispawner.export |
ispawner.update | Notifies you of new iSpawner versions | |
ispawner.admin | Full iSpawner access | ispawner.import.admin ispawner.export.admin ispawner.use.admin ispawner.update |
Dev Builds
Quote:Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk!
[ Dev Builds ]
Donation
Is of course always appreciated. :)
Alright well after causing people to crash when loading the chunk due to a mistake, then an hour of testing I finally figured it out.
It works, but I almost lost my map learning that, had to removenear spawner 5000 to fix the issues.
Grr
@Siguza
Wow using this plugin is confusing.
How can I have my spawner spawn zombies with leather chestplates and wood swords that they do not drop on death, I got NBT errors trying before.
Ok, I just uploaded v1.0.5 (also available on the dev builds page).
No new features, nothing amazing, but everything works again.
Plugin looks amazing, I tried the latest build on your dev builds server and the plugin just says stop it when I try to set the mob to hold a gold sword!
Just to check how would I go about adding the gold sword?
@Najumicom
I don't know. Give me a few days.
please can you fix this for 1.4.6
@Siguza
Okay :D, I'll wait for a while.
@Siguza
oh, i didnt see this message :(
installing it right away
ive been looking for something like this for ages :DDDDDDDD
@crazyman1001
I looked into that just an hour ago and noticed that since 1.4.6 Mojang changed the data tags again. It's way to complicated now to fix it, you will just have to wait until I rewrote it, I'm sorry. :/
I have a problem :/ when editing the zombie spawner: /edit data Health short 1 /edit data Fire short 200 it will give punch of error reports to the console.... (im sure it is 1.4.6 version i dowloaded it 2 times and still not work :P)
Error report:
2012-12-30 16:24:21 [INFO] crazyman1001 issued server command: /edit data Fire short 200 2012-12-30 16:24:21 [WARNING] [iSpawner] AN ERROR OCCURED! PLEASE SEND THE MESSAGE BELOW TO THE DEVELOPER! 2012-12-30 16:24:21 [SEVERE] java.lang.IllegalArgumentException: Can not set net.minecraft.server.v1_4_6.TileEntityMobSpawnerData field net.minecraft.server.v1_4_6.TileEntityMobSpawner.spawnData to net.minecraft.server.v1_4_6.NBTTagCompound 2012-12-30 16:24:21 [SEVERE] at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source) 2012-12-30 16:24:21 [SEVERE] at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source) 2012-12-30 16:24:21 [SEVERE] at sun.reflect.UnsafeObjectFieldAccessorImpl.set(Unknown Source) 2012-12-30 16:24:21 [SEVERE] at java.lang.reflect.Field.set(Unknown Source) 2012-12-30 16:24:21 [SEVERE] at net.drgnome.ispawner.Util.set(Util.java:89) 2012-12-30 16:24:21 [SEVERE] at net.drgnome.ispawner.DerpPlugin.onCommand(DerpPlugin.java:522) 2012-12-30 16:24:21 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 2012-12-30 16:24:21 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) 2012-12-30 16:24:21 [SEVERE] at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchCommand(CraftServer.java:510) 2012-12-30 16:24:21 [SEVERE] at net.minecraft.server.v1_4_6.PlayerConnection.handleCommand(PlayerConnection.java:980) 2012-12-30 16:24:21 [SEVERE] at net.minecraft.server.v1_4_6.PlayerConnection.chat(PlayerConnection.java:898) 2012-12-30 16:24:21 [SEVERE] at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:853) 2012-12-30 16:24:21 [SEVERE] at net.minecraft.server.v1_4_6.Packet3Chat.handle(Packet3Chat.java:44) 2012-12-30 16:24:21 [SEVERE] at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290) 2012-12-30 16:24:21 [SEVERE] at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112) 2012-12-30 16:24:21 [SEVERE] at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39) 2012-12-30 16:24:21 [SEVERE] at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30) 2012-12-30 16:24:21 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598) 2012-12-30 16:24:21 [SEVERE] at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) 2012-12-30 16:24:21 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) 2012-12-30 16:24:21 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) 2012-12-30 16:24:21 [SEVERE] at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
@Shurkan2
Since Fireworks are not living entities: no, not yet. Maybe I'll get some time to write my own implementation next week, then a lot more will be possible.
@AtLastStand
Ok, this "stop it" should only occur if someone's trying to access an invalid NBT node...
Is there anyway you can make a Video tutorial on how to add other data effects; Ex: Zombies with Speed/Armor/Weapons. If you could also put down the exact commands that would be awesome, because when i try to it just says "Stop it" in red text.
is there any way to use the spawners with fireworks?
@AscorbinS
Ugh, is there an error log or something?
@Siguza
Yay! Thank you very much.
Using the ActiveEffects somehow crashes my server and when I load it back up the whole world is just void(or maybe nothing loads?)
dunno what I'm doing wrong...
I did everything as you did but insted of ..Id byte 11 I used ..Id byte 1
@AscorbinS
Yup:
/edit data Fire short <ticks>
Great plugin!
Just one question: Could you somehow spawn burning mobs with this?
@Jaiph
I will totally write such a template system! :D
And I just uploaded a version for CB builds #2512+.