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.
@TheCODManCan
Just use 'sudo {Player} me lol'
Or another plugin that lets you perform commands for others.
Oh thank you very much! That's helped me out a lot :P
Sorry to bother you again but would it be possible to code it so it can do a command from a players point of view? As for some plugins, this is necessary. (e.g. Custom Hats)
@TheCODManCan
Nope, but if you have multiverse you could place the multiverse spawn there. And then use the mvtp command. That one doesn't send a message. :)
@StaNNiE0
Haha, thank you once again, I feel as if I have my own personal plugin coder. :P
Do you have any idea how to mute the message in the chat that says "Console has teleported you to spawn."
@TheCODManCan
{player} must be {Player}
@StaNNiE0
Yes, of course, this is what I have made:
@TheCODManCan
Can you copy your command in here?
Also, I will look into that suggestion. Seems cool :)
@StaNNiE0
Hmm, it just says:
Error: Player not found.
It would also be really cool if you could code it so when you click on an item in the inventory, it changes item and that item reverts back what you done. E.g. There is a redstone torch and when you click on it, it makes players invisible and then it changes the item into a normal torch and makes players appear when you click on it.
@TheCODManCan
Command should be: spawn {Player}
@StaNNiE0
Thank you, it worked perfectly.
I seem to be having some problems when using the command 'spawn' in the config. In the console it says:
[Server thread/INFO]: CONSOLE issued server command: /spawn [Server thread/INFO]: Teleport to the spawnpoint.[m [Server thread/INFO]: /spawn [player][m
But doesn't seem to teleport the player to spawn.
@TheCODManCan
In your config, look at all 'ID: w/e'
The format should be, 'ID:Data'
You just have 'ID'
So put it like 'ID:0'
Hmm, doesn't work for me, I seem to be getting this message:
http://pastebin.com/BRS0BS85
@LimeGlass
That would be really cool but I don't know how to code that. :(
@RodriGemmyCreeper
According to MCStats there are currently 18 1.7.2 servers running AdvancedSelector. So I think you made some mistakes in your config? (I still haven't tested it myself)
Please send me some of the errors you get so I can take a look :)
@StaNNiE0
I had tested on craftbukkit-1.7.2-R.02 and didn't work :\
Can you make it so it animates a picture when hoving over the item, Just a cool suggestion
Version 1.2 is now waiting approval.
- Fixed a bugg that caused SubID's (MaterialData) to not work.
- (Inventories) Allowed multiple commands / messages in InteractDoes when InteractMode is Command or Message
- (Selectors) Allowed multiple commands in InteractDoes when InteractMode is Command
When it's approved. First read the changelog carefully !
@RodriGemmyCreeper
Isn't it working on 1.7.2 then? I haven't tested it at lower versions.
@McPlayHD
You can, just change the size number. 1 row = 9, 2 rows = 18, max 6 rows or your inventory will look stupid
Please make, that you can have more then one row in the Inventory
Update for 1.7.2 plz :)
@Freelix2000
Thanks for the suggestion. I'll add this in v1.2