AdvancedSelector
Ever wanted to make your own Server/World/Minigame Selector? Well with this plugin you can!
It is really easy!
Features
- Give Selectors to players on various ways.
- Make easy world transportation Selectors / Inventories.
- Have as many Selectors and Inventories as you want!
- Change the names / lores / enchantments of an item in an inventory / a selector
Installation
- Make sure your server is running the version that fits with the version you are about to download.
- Download the AdvancedSelector.jar and place it in your plugin folder.
- Load it by restarting your server. (Or load it via other pluginloaders)
- Done! You can now make changes in the configuration.
- Use '/as reload' or restart your server to apply the changes.
Bugs / Suggestions
If you find any bugs or if you have a suggestion, leave a message in the comments.
Example
A Selector (Which will respond when you interact with it):
You can create multiple selectors with different uses.
An Inventory (Which will open when you interact with a Selector)
You can add items in this inventory. When you click on those items a command will be executed or another inventory will open.
@StaNNiE0
Can you add it? It shouldn't be hard since BukkitAPI has a PlayerRespawnEvent
@GoldenEagle5
There is no such event. You could use onWalkOverBlock if the respawn place is on 1 spot.
@StaNNiE0 What is the event for respawning after dying?
@youpryzp
Make sure that the filename of that file is equal to the name inside. So if your inventory's name = '&2Server' then rename the file to 'Server.yml'
@StaNNiE0
Please help i got problem using this plugin so i succefuly created a selector and inventory linked up and when click with the selector my inventory pops up and when i click that item its supposed to tp me to another world but when i click it nothing happens and it lets me drag the item to my inventory which i dont want heres the inventory
InteractPermission: None NoPermission: ' No Permission ' InteractType: ConsoleCommand InteractValue: - 'mvtp {Player} OITC'
The problem must surely come from items 3 and 4 because the id is invalid (373: 8229) to solve the problem puts the "373" in ID and "8229" in data
Hi, great plugin (I'm trying to use it as a Kit Selector for KitPvP), but I started editing the inventory I named kits.yml and now the inventory won't open when I right click the selector. Can you help me figure out why (Ignore the weird formatting with the dashes, pastebin messed up the formatting because I set it to highlight YAML)?
Config.yml http://pastebin.com/76AC78YJ
KitSelector.yml (Selector): http://pastebin.com/4dii4mKv
Kits.yml (Inventory): http://pastebin.com/Pits9R9U
The first 18 lines are right because it worked when I had only those lines in the file.
Thanks!
@StaNNiE0
Thanks i'd really appreciate it
@Cmoor
I'll add this in a future update.
You think you'd be able to make a check in the plugin to see if what is in the config actually comes out to something? So say you made a typo in the one inventories folder and here the config is looking for the correct one and isnt there. There is no message in console saying that it wasn't found or anything. Better example: onwalkoverlocation, it opens up the inventory named 'Servers' but in the inventories folder it was spelled wrong like 'Servre'. You think the plugin could tell the console, hey, we couldn't find the Server.yml. Then you go back and see you misspelled it. Something similar to that and as well in the actual inventory/selector .yml's
Ah okay the file name must have the same name as the inventory ... He missed me a space.
@mikyvars
Is it still not working? Upload your configs and let me take a look.
@Cmoor
Quick fix, rename the .yml file to [Servers].yml In v2.4 an inventory name must be the same as the .yml file name otherwise it won't recognise it ingame as an advancedselector inventory.
updated inventories .yml file and still does not work:
http://hastebin.com/azedovebex.vbs
@mikyvars
Oh and also to add on, i have microjump installed
@mikyvars
And as I stated earlier, I tried that. Doesn't work
Interact Type and Interact Value is not available now. http://dev.bukkit.org/bukkit-plugins/advancedselectors/files/12-advanced-selector-v2-4/
@StaNNiE0 This is my Inventory for the Server Selector tool. The Selector is working, its just when they click on the icon, it doesn't do anything. http://hastebin.com/erizumexef.vbs
Its not working when it's an inventory that opens another
@mikyvars
I don't get it.