Hey Bukkit Minecraft version: 1.8+ Plugin categories: Factions Suggested name: Spawner rank up What I want: This plugin does a couple different things. Number 1 every spawner has a tier attached to it. Whenever you recieve a spawner through silk spawner, it is always tier 1. You can tell this by in the lore of the spawner it says Tier __. This tier level indicates how fast the mobs spawn, or at what rate they spawn at. The Max level for the spawner would be 5 (or configurable in config). When placing down a spawner, it will become a regular spawner, depending on its tier that you get it at. When raiding, and obtaining a spawner, this spawner should be the same level it was when the user that was raided placed it. After the spawner is placed, the user can right click on the spawner, with an empty hand, and it will open up a GUI. In the first slot of the GUI, it will have the Upgrade option, which would cost a certain amount of levels. (Level 1 - 2 50 levels, 2-3 75 levels, 3-4 100 levels, 4-5 150 levels.) The Middle slot will be the current spawner level, and the last slot of the GUI would be your current xp level. Commands: /spawner reload Permissions: spawner.gui Opens up the GUI Spawner.reload. Reloads the plugin When I would like it by: Somewhere this next week
@rhunter @BroCanadian If rhunter doesn't want to do this, or doesn't respond in, say, a week, I'll be more than happy do do this. It sounds pretty fun!
@BroCanadian question. In relation to normal spawners, what rank should they be treated as, or should they be reset to tier 1 when broken, and converted into my type? Would you like a break option in the GUI that comes up (rather than having silk-touch)? It seems that I can only edit the spawn delay for the spawners without using nms, which tends to get messy when that happens (and loses its version compatibility). Is this OK, or is there an API you know of that'd help?
There is a way of making it version independent with reflection, but i never did it bevore. Try to google it.
What Do you mean by what rank? And i want the spawner to keep the teir when it gets broken. I am fine with reducing the delay of it spawning. Than having it spawn more. And i would like it to be silktouch rather than a break option in gui.
@BroCanadian I'm looking at implementing version independent NMS without reflection, so please comment on the DevBukkit page I've made if you want it updated. I'm going to continue to ask questions on this thread, whilst I continue to code it. What rank would you like vanilla generated spawners (like ones in mineshafts and dungeons) to take on (1, I'm assuming). Please tahg me if you want to get my attention.
@oliver276 I have a question does the spawners work with silk spawner? And it's shop addon? And yes I would like the spawners in dungeons to be teir 1 @oliver276 Wait so is the plugin done? Or still in deveopment as i Didnt undestand anything "I'm looking at implementing version independent NMS without reflection, so please comment on the DevBukkit page I've made if you want it updated." EDIT by Moderator: merged posts, please use the edit button instead of double posting.
@BroCanadian It's not done, but I'm coding it. When it is done, I'll set up a DevBukkit page for it so that it's easier to manage. I've not really done the breaking stuff or the user interaction yet, and I'll see how far I can go when I've finished with the whole modifying the spawner attributes. I'm currently looking at spawnRate, spawnRadius and the number of entities to spawn per spawner 'tick', or activation (same as the spawnRate). --EDIT-- @BroCanadian I've got it all working (ie, modifying the spawner for these things: Code: Short "SpawnCount" Short "SpawnRange" Short "MaxSpawnDelay" Short "MinSpawnDelay" Short "MaxNearbyEntities" Short "RequiredPlayerRange" I'm currently trying to contact the SilkSpawners dev, as his javadocs are down, to see if I can use the SilkSpawners API to help here, but I might make a temporary, easier way which involves using the GUI to break it (I know you said you didn't want this, but it's much easier for the time being, and should have fewer bugs). I've also had another idea. Rather than having tiers to a spawner, you can 'level up' specific attributes of it, so you could pay 100 extra levels to add another mob per spawn tick (up to a max of [defined in config]). I can't really go any further than this until I hear from the SilkSpawners dev, so I'm all open to suggestions.
@oliver276 that's alright, I am fine with a GUI to break the spawners . I am also fine with the level up system
@BroCanadian I thought I'd give you a small update: WORKING: - config (for the whole spawner levelup system) - the whole spawner levelup system (your original idea) - spawner GUI displaying current properties like spawnrate etc NOT WORKING [yet] : - breaking /moving the spawner (though other means of cloning (if they preserve NBT) will work) [SilkSpawners DOESN'T] - Not added levels system - Economy? after I've made it all - commands to change the config settings ingame etc.
Are you using vault as Economy if so I just need a Xp level system and I don't need a in game system to change the config
@BroCanadian Yeah, I will be using Vault, but I'll give you a version of the plugin as soon as I finish the bits that you wanted, so you probably won't have vault/commands/per-component-levelup in your version, but I'll release this plugin on DevBukkit where it'll have all of the aforementioned features
@BroCanadian Finished the plugin for you, I'm going to do some more testing tomorrow, then you're free to have it. I'm pretty pleased with it! Images (Move your mouse to reveal the content) Images (open) Images (close)
@BroCanadian I literally just finished the plugin. I can replace the thing at the top with "Cow Spawner" (if it's a cow spawner etc...) if that'd be better?
@BroCanadian The plugin now has a home over on DevBukkit. (https://dev.bukkit.org/bukkit-plugins/spawner-rankup/), so this thread is now useless as I've finished the project. Please report any bugs or suggestions over there, as that's where I receive emails about alerts. One final question, which build are you running of Bukkit/Spigot? I've only got this for 1.10_R1, so if you give me your version, I'll add that too.
@BroCanadian It's up there, (as an alpha), so please test it first before putting it onto a live server (or at the very least make a backup). This **probably** isn't completely safe. It'll be visible to you as soon as the DB staff approve it.