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.
@Dyenx999
What version is your server?
@StaNNiE0
I got this error with version 2
[14:18:05 ERROR]: Could not load 'plugins/AdvancedSelector_v2.0.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException java.lang.NoClassDefFoundError net/minecraft/server/v1_8_R1/Packet
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[spigot.jar:git-Spigot-1573]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot.jar:git-Spigot-1573]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot.jar:git-Spigot-1573]
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugins(CraftServer.java:369) [spigot.jar:git-Spigot-1573]
at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.java:152) [spigot.jar:git-Spigot-1573]
at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:458) [spigot.jar:git-Spigot-1573]
at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1573]
Caused by: java.lang.NoClassDefFoundError net/minecraft/server/v1_8_R1/Packet
at java.lang.Class.forName0(Native Method) ~[?:1.7.0_65]
at java.lang.Class.forName(Class.java:270) ~[?:1.7.0_65]
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:61) ~[spigot.jar:git-Spigot-1573]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[spigot.jar:git-Spigot-1573]
... 6 more
Caused by: java.lang.ClassNotFoundException net.minecraft.server.v1_8_R1.Packet
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:88) ~[spigot.jar:git-Spigot-1573]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:83) ~[spigot.jar:git-Spigot-1573]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_65]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_65]
at java.lang.Class.forName0(Native Method) ~[?:1.7.0_65]
at java.lang.Class.forName(Class.java:270) ~[?:1.7.0_65]
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:61) ~[spigot.jar:git-Spigot-1573]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[spigot.jar:git-Spigot-1573]
... 6 more
AdvancedSelector v2.0 is now awaiting approval.
I'm not sure if the current version (v1.3) works for 1.8 but no worries since I will be releasing an update of AdvancedSelector this week! (Yes I know I said that a long time ago aswell but I didn't have much time and motivation to work on it.) And as every update I've changed a lot of config related stuff / values. So get ready to change it all :D I'll also try to make the configs as easy as possible to understand and change.
@Seviry You made it when people walk over ANY stone block they will get that selector. I don't know if that is your intention but if you have a survival world and people walk over a normal stone i don't think they are supposted to get a selector. And your mistake would be that you putted the Inventory size on 5. Lowest value is 9.
Can someone tell me what is wrong with this? because it does not seem to work.
http://pastebin.com/wBArnAzb
You Make this so confusing, add a /as (AdvancesSelector) reload When i add the "onWalkOverBlocksList" It DOESNT WORK AND I REALLY NEED IT TO WORK' Add a command to get the GUI open so i can use Custom Join Items to open the gui to this
@gwinny7
Place it at the beginning of the config file.
hey i need some help, Where do i put the onWalkOverBlocklist and do i put in 1:10!selector!Example?
@glennjansen
Nope, that's just cause I do not really know Bungee. Couldn't you just use the /server command?
I guess you didn't add BungeeCord Support?
@glennjansen
I already thought about the on login part but that won't work since most servers use AuthMe or another plugin that gives u an empty inventory with in this case a selector in it. But when u log in it will be removed. Tho the easiest way to get a selector on login is just to add the selector to the onWalkOverBlockList with the block u spawn on. This way when people will log on and move they will receive the selector.
Enchantments are a good idea but I don't know atm how to do that.
@StaNNiE0
Thank you!
Ideas for the 2.0 update:
- Ability to add enchantments to the items (maybe via JSON?)
- Config option to give the player 1 or more selector(s) (configurable) upon login
Kindest regards,
GlennyoPlays
NovaNetwork: novanetwork.us.to
@glennjansen
Isn't it in the default 1.3 config? I forgot cause it will be in the 2.0 version
Just add it at the top of the config.
@StaNNiE0
And where in the config do I add "OnWalkOverBlockList"? Because it is nowhere to be found in the original config.
Kindest regards,
GlennyoPlays
NovaNetwork: novanetwork.us.to
@Kaptin_Insano
@glennjansen
Well, there are 3 ways to get a selector. Walking over a block, interacting with a block(button or so) and using a command. Make sure that that selector is placed in the config in on(WalkOverBlock/InteractWithBlock/Command)List.
Then make sure that the format is correct and that the selector itself is correctly in the config. Also make sure that the selector opens an inventory on interact.
I recommend you to use the config helper: http://dev.bukkit.org/bukkit-plugins/advancedselectors/pages/config-v1-3/
When everything is correct you should be able to open a inventory by pressing the left or right mouse button while holding the selector ingame.
Same here. Please answer his question ASAP as the server network I work for is already up and running.
Thank you,
GlennyoPlays
NovaNetwork: novanetwork.us.to
Well, this may sound stupid, but I have NO idea how to open up the selector. All the commands do nothing, and I really need to use this :(
@Ezy2000
Hmm, if it is the plugin then try unloading the plugin or stopping the server then changing the config and finally loading the plugin or starting your server.
HELP! I spent 30 minutes going through the config, saved and restarted my server and then the config was emptied! Third time this has happened now, re-installed 3 times too. What do I do
@elise1234
Current version (1.3) works for 1.7.10?
If not, post the Error.