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.
how can you run 2 commands in 1 go? pls tell me.....
coolio
@facemywrath
It's already added in V1.3, which is currently waiting approval. :)
PM me when you add in that feature, if you don't mind.
@jeffofpro
Check Common Mistakes ...
ID MUST contain Data like '1:0'
You forgot to add a data value.
@StaNNiE0
Yep, be sure to follow this guys! http://dev.bukkit.org/bukkit-plugins/advancedselectors/pages/config/
@nonukeforyou
For everyone who wonders. It's fixed.
He had :: InteractDoes: Command
Should be
InteractDoes:
- Command
@StaNNiE0
Wait maybe this will help... So I changed the first warp (warp Survival {Player} (in the config) ) to warp Faction {Player} . The plugin is still looking for warp Survival {Player} instead of warp Faction {Player}... in the console it's showing that when I click the item in the inventory that I'm issuing the command /warp Survival xNoNuKeFoRyOux when it should be /warp Faction xNoNukeFoRyOux. And all of the other items in the inventory do not warp me to their set warps. and yes I did save the config and restart the server
@nonukeforyou
Save the file?
Reload the config?
Reload the server?
Ty :)
@StaNNiE0
I'll tell you in a pm... and I just edited my last comment with why the warp isn't working
@nonukeforyou
Tell me :)
@nonukeforyou
Your. Check your console. It's probably saying Error warp not found or Error player not found.
Command should be: 'warp WarpName {Player}'
@StaNNiE0
Okay, that config page helped and I get the selector now when I walk on the block, but for some reason when I click the stuff in the inventory, I don't warp... Is this a problem on my end or is it the plugin?
Edit: When I changed the 'warp Survival {Player}' to my own setting (warp Faction {Player}) it's as if I never changed it... It works only with /warp survival but I changed that to /warp Faction but the plugin is still looking for /warp Survival... sorry if that was confusing but did you understand? And all the other warps I set for the different items in the inventory doesn't work either, but the icons are there.
@StaNNiE0
I'll tell you how I downloaded it haha and let me maybe try to delete the config and redo it.
@nonukeforyou
What.. how can you even download 1.3? I mean.. it's not even approved yet?
Anyways, i'll recheck it. Although it worked for me :O
Edit; Oh, Default config has an empty, onWalkOverBlockList:
Simply put it like
onWalkOverBlockList:
- 1:10!Selector!Example
Edit2; Look at the config help page. It's very detailed there.
Edit3; Then walk over a block with ID 1 and Data 10. (Use worldedit) or use /setdata 10 while looking at the stone block
@StaNNiE0
I didn't change anything at all in the config when I updated to 1.3, it didn't work and then I did /as reload... I didn't change any of the names (even the example one) and I did use world edit to set the get block.
@nonukeforyou
You probably did something wrong in the config.
V1.1, if so, did you add the Selector's name to Selectorz? Did you use worldedit to set the 'Get: ID:Data'? Did you reload the plugin?
@StaNNiE0
Just downloaded it... don't ask how ;)
I'll see how it is, thanks dude!
Edit: It seems like I can't get the selector by standing on the set block... is this the same for you?
V1.3 is now awaiting approval!
@facemywrath
Cool idea, ill add this in the upcoming release
Is there a way to make it so instead of having an item open the inventory it's a button?