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
Thank you :)
@nonukeforyou
I got it working :)
I will release v1.3 soon. (v1.2 is broken)
@nonukeforyou
Sort of,
Remember, the server sends the commands. So to use /hub
you should use a plugin / command that performs a command for a player like the essentials 'sudo' command.
sudo {Player} hub
You could also do that for /sethub but then you have to stand at the right location.
@StaNNiE0
Oh also, would it be possible to add a /sethub and /hub command?
@StaNNiE0
It's okay if you can't do it, I was just wondering in case I put the selector as a diamond.
@nonukeforyou
I will give it a shot again. I already tried to add this at v1.1 but I failed :(
Good job dude, I didn't even need the tutorial video because it's pretty straightforward in the config. Can you make it so people can't place the selector in a chest/enderchest?
@StaNNiE0
Thanks! That fixed it!
@tonymarcus
@Nav, you deleted the 'Permission: None' Thats giving the exception.
@Haon153Dev
Lol, you changed the most important thing in the config.
You have:
Selectors:
- Example
- Server
Should be:
Selectorz:
- Example
- Server
For some reason, I'm not able to get the warp command to work with the 'InteractDoes'. I've tried a bunch of other commands to see if they'd work, but they didn't work
Commands Tried: warp {Player} Hub warp Hub {Player} sudo {Player} /warp Hub ca {Player} /warp Hub dc VirtualPlayer warp {Player} Hub
Config: http://pastebin.com/CdctL6UX Error message: http://pastebin.com/d7kziL5f
Edit: I can't actually get any commands to work under 'InteractDoes'
@StaNNiE0
Actually it's not giving me the selectors, i cleared my inventory and it didn't appear in my inventory when i walked over the block.
@StaNNiE0 It glitched look at it on here http://pastebin.com/uSzifJDj
@StaNNiE0
Fixed that but I am not getting my second selector to work. Here is my config selector area. Selectors: - Example - Server Inventories: - Lol - Servers Selectors: Example: ID: '339:0' Spot: 2 Name: '&bParticles' Lore: - '&aRight Click to Open. Choose Your &bParticle!' Get: '79:0' InteractClickMode: Right InteractMode: Inventory
@StaNNiE0 Im getting an error it says this. Selectors: ^ expected <block end>, but found BlockMappingStart in 'string', line 22, column 2: Server: ^
@Haon153Dev
Well, if sudo works with bungee, then simply use that :)
@StaNNiE0
Maybe sudo will work? You can look on github or something to get a feeling for bungee. All we need is for it to do /sever {worldname} for the player clicking the item or doing /send {player/current/all} {target}
@TheCODManCan
You should read ...
InteractPermission: as {Player} /hats
Thats no permission, thats your command.
@Haon153Dev
Nope, I don't understand bungee.
In the next update maybe support for bungee?
@StaNNiE0
When I use the commands /hats normally, it works fine, but if I use it as an inventory, it comes up with this.
Here is my config:
If this helps in any way, I am using Remote Command to use the command as a player.