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. :)
appears to be crippled in 1.5.2.
@cl4ymo
Example for multiple effects (anything else with lists works likewise):
hey i have a little question. Is it possible to put more than one effect on a mob or more than one enchantment on a gearpiece? if so, could someone write me an example? I really dont know what to do anymore :)
MinecraftFrankCastle: You can automate the process of making similar spawners with CommandHelper’s aliases. Running all those commands is really slow otherwise.
~Moderator
with any group you want to give the access to''
and end with a comma (if it’s not/edit end
)0 14 0
to coordinates of the spawner block in your world./spawner zguard
to/spawner someothername
to make more spawners. The command/parameter isn’t important, it might even be~Moderator/poop: >>>
etc.reloadaliases
in console and run/spawner something
again to replace the spawner block.Oh, and to copy the actual mob spawner, just use WorldEdit’s
//copy
and//paste
. It will move all NBT tags properly. Just make sure you’re using dev build from http://build.sk89q.com@Siguza
Great plugin! I have two questions for you and I hope this doesn't sound to stupid. 1 - How do I make a Wither Skeleton spawner to put in a dungeon in the Main World? 2 - Could it be possible to add a command like "/edit copy" and "/edit paste" so once you setup a mob spawner you can copy it to another location? so do /edit start /edit copy /edit end
then
/edit start /edit paste /edit end to copy the spawner data from one to another.
@UberBosser
That requires a complete rewrite of all the MobSpawner classes... if I have too much time some day I'll do it, but not now.
make so you can edit if they spawn in darkness
@ridddle
I'm sorry, I didn't even look into that, I just wanted to get my plugin working again. I'll take a look at that at the upcoming weekend.
Also I'm sorry for the inconvenience with the spawn tags, but I just provide the option to edit NBT data and I cannot predict which part will be read from what, otherwise I'd have to hardcode every possible tag for everything. If someone wants to do that, feel free to create a pull request on github, but I haven't got the time to do this and keep it up to date.
Siguza: Thank you for the plugin. It’s great, exactly what I wanted, glad I found it! One question: do you intend to support the new
SpawnPotentials
list tag for monster spawners? The way you do it allows to only spawn one type of mob and according to Minecraft Wiki, it’s being deprecated.Also, bonus question: is there a way to disable experience drops from mobs? I tried looking through NBT on wiki… no cookie.
To the rest of commenters who just want to spawn mobs with weapons or armor. This is how you spawn a zombie with a sword:
Please notice that even through I only wanted a sword (Equipment.0), I had to provide empty compounds for all armor slots. And for the item, while it might be weird, you actually have to provide damage value (even if it’s not used) and count number (1 is not implied).
1.5 build is on the way, dev build is available already.
[SEVERE] Could not load 'plugins/iSpawner.jar' in folder 'plugins'
java.lang.NoClassDefFoundError: net/minecraft/server/v1_4_R1/NBTBase
java.lang.ClassNotFoundException: net.minecraft.server.v1_4_R1.NBTBase
Please update to CB 1.5!
@bigboy2013:
I think the server would still crash if someone got close enough to the corrupted spawner, but you can use MCEdit or something to search for it and find out its coordinates and then edit in the console and just remove the ActiveEffects tag. Sorry, but that's the best way I know.
Well someone on my server made a spawner, but accidentally left off potion length, and it crashed the whole server. I had to basically disable ispawner just to fix it... Anyone else have this problem?
Love the plugin so far but I can't figure out the whole short long compound I was trying /edit data health short 100 to make my zombie spawner have more health but they still die the same.
@conankhan:
Well my plugin doesn't have anything to do with mobs spawning at night. I'd say that this is a multiworld effect or setting, but I can only guess.
But if you can't find a solution, try using Multiverse instead of Multiworld. (Multiworld never really worked for me.)
Thank you for this great plugin. I am using it in with multiworld to populate a separate map. After using there are no mobs spawning at night on the primary "world" map. After much research I have found no real solutions. I also use lwc and essentials with CB 146r3. Thanks again for any help.
I just uploaded v1.0.6, if anyone needs it sooner than it's approved by Bukkit, use dev build #6.
@MClaubsauger
I'm sorry, that's wrong in the description. You have to specify the type of the tag:
/edit data carried short 92
Hey if i type /edit data carried 92
the plugin says that there are too few arguments. How can i fix this?