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.
@mikyvars
As you can see it works for me. Are you sure the correct file is loaded? (Size is being ignored)
Hello !
I do not know if it's me but :
Name: "&6test" Type: Hopper Clicks: Close: false
And shows no slot
Hello,
Another idea is when in "InteractDoes" there have the options "Close " to close the inventory !
Okey :)
@mikyvars
I like the idea, might add it in a future update. Same goes for the head.
Skript is something I won't add.
Hello !
I have an idea:
The chest that's cool but other containers is better! Why not be able to open hoppers for example? To set this up in inventories could be put: Type: hopper
Also when you put a head in the inventory can choose the head of a player via: Owner: "mikyvars" but would it be possible to do so: Owner: "%player%" to be his head of player opens the inventory?
And there he also means to make it compatible variable skript: http://dev.bukkit.org/bukkit-plugins/skript/?
I am using the onWalkOverLocation event to pop up an inventory and the inventory keeps poping up even when the player just turns in that specified location. I also get the following error if I try to open an inventory when players joins a server:
[12:35:51] [Server thread/WARN]: Failed to handle packet for
java.lang.IllegalArgumentException: Listener already listening
at net.minecraft.server.v1_8_R3.Container.addSlotListener(Container.java:56) [paperspigot-1.8.8.jar:git-PaperSpigot-60136e7-18fbb24]
at net.minecraft.server.v1_8_R3.EntityPlayer.syncInventory(EntityPlayer.java:177) [paperspigot-1.8.8.jar:git-PaperSpigot-60136e7-18fbb24]
at net.minecraft.server.v1_8_R3.PlayerList.a(PlayerList.java:174) [paperspigot-1.8.8.jar:git-PaperSpigot-60136e7-18fbb24]
at net.minecraft.server.v1_8_R3.LoginListener.b(LoginListener.java:144) [paperspigot-1.8.8.jar:git-PaperSpigot-60136e7-18fbb24]
at net.minecraft.server.v1_8_R3.LoginListener.c(LoginListener.java:54) [paperspigot-1.8.8.jar:git-PaperSpigot-60136e7-18fbb24]
at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231) [paperspigot-1.8.8.jar:git-PaperSpigot-60136e7-18fbb24]
at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:148) [paperspigot-1.8.8.jar:git-PaperSpigot-60136e7-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:872) [paperspigot-1.8.8.jar:git-PaperSpigot-60136e7-18fbb24]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [paperspigot-1.8.8.jar:git-PaperSpigot-60136e7-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:711) [paperspigot-1.8.8.jar:git-PaperSpigot-60136e7-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:614) [paperspigot-1.8.8.jar:git-PaperSpigot-60136e7-18fbb24]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
[12:35:51] [Server thread/INFO]: EnderSandman lost connection: Internal server error
@rads555
In an inventory config you'll have something like this: http://puu.sh/kY9NA/15bb5d9819.png Replace the ''warp kitwar {Player}'' with whatever suits you.
(Sorry for the late reply)
im working on my hub ive got everything set up im just confused on the config of the tp im using V 2.5 with spigot 1.8.8 and i dont know how to figure out the command to warp me to my spawn please help
@Jagga1
Does your warp exist? It should work on the latest spigot build (Tried it myself yesterday)
If you can't figure it out yourself you can upload your configs to pastebin so I can take a look. Also I'd recommend you to check the Config help page
Hi am i doing something wrong or does this not work on 1.8.8 spigot?
I have the selector and inventory set up but cant warp.
@Br4m3000
Are you sure this config is being loaded? Is this config named config.yml? Does the console spit out any errors / notifications related to this plugin? Are you using the latest version of this plugin?
Overall the config looks good..
@StaNNiE0
pastebin.com/dajUEzdU
@Br4m3000
Upload your config to pastebin.
I'm having weird issue: In the main config file i coded that i only get the selector item in the world: world, but somehow, also on my other worlds i get whenever i join or get killed etc. I'm using MultiverseWorlds to set up multiply worlds. This is really frustrating me cause i can't open my server for the public now. I checked it multiply times but the code is good i think. Everything else works fine btw.
Thnx in advance.
Thank You Very Much i am Searching For This! :D
@Assasin_Max
Click here Look at understanding the basics and then onCommand.
Can you type a command and it opens the compass? I really need it!!
@EnderSandman
Sorry for such a late reply, wasn't available.
Your inventory config file should be named the same as the name you put inside for the inventory.
My staff just noticed that you can pull items out of the advanced selector inventories and use them.
I had to go back to version 2.3 to get rid of this exploit. My players were abusing this like crazy.