Plugin category: Admin Tools Suggested name: Auto Place What I want: If a player uses /give redstone, it will automatically put it to slot 8 (last slot in hotbar) Ideas for commands: No commands needed for this plugin. Ideas for permissions: None. When I'd like it by: As soon as possible please. Side note: I have also tried inventory plus and I cannot get it to auto place items. I do not know if I am using it wrong, but it will not work for me.
izarooni What I am requesting is no matter what, redstone will be stored in a certain slot. For example if you pick up redstone or use /give redstone, it will always be stored in the specific slot in the config.
PhillyCheezsteak You want it so if someone picks up redstone it gets put in a certain slot and it will be customizable by config?
bonecrusher238 yes, also if someone does /give redstone, it will also go in the certain slot. JoeTheDev Basically what I listed above, but also if a player picks up redstone. I basically need it where no matter what, redstone will go in the last slot in the hotbar. In my server players cannot go over 64 redstone, so they are only able to have one stack.
Recommended for a reason though. If people are having trouble understanding a person's requests, it's probably a good idea for them to start using that format.
Please provide more information next time: What happens if an item is already on that slot? Should it moved or lost or ...? And if the slot already has an amount of 64 redstone?
Zupsub Well I basically have what I need. If you acquire redstone, it will be placed in your 8th slot. Since redstone is an item that stacks, it will be stacked if you collect multiple redstone. Players will not be able to have more than 64 redstone, so it should not be a problem if they have more. All the mechanics and needs are listed above though, I mainly need it where if you give a player redstone with /give, it will go in the 8th slot.
Ok, so a player can only get redstone by picking it up from the ground and by typing /give ... ? I'll do it in the next days if no one makes this earlier.
Zupsub No, what I am looking for is if a player obtains redstone through /give or pick it up, it will be automatically placed in their 8th slot (last slot in hotbar). If you need anymore info please feel free to ask
PhillyCheezsteak change the title. if you cant make a plugin then dont start about if its easy or not.
Done: http://www.file-upload.net/download-9189313/RedstonePickup.jar.html If you already have an item on the 8th slot, you will drop your redstone. You can't pickup more then 64 redstone. You can move your redstone to another slot, but if you pickup one more, they all go into the 8th slot.
Zupsub Can you also please make it so if a player does /give, it will also put the redstone in the 8th slot please? So for example say if I /give redstone to myself, it will automatically be in the 8th slot.
Please list the exact format of your /give command. I added the check for the format /give PlayerName (...) So /give Zupsub redstone 50 would order the redstone in my 8th slot. Can you try the above first, so I can see, whether it works in general?
Zupsub It is still is not working for me. This is what I am doing. I do /give <playername> redstone 64, it puts it in the first slot instead of the 8th one.
idk for what is this plugin looooool, you can just put your redstone in the 8th slot, it tooks only 0.0009 seconds of your life, and coding this plugin took 1 day. ''What I want: If a player uses /give redstone, it will automatically put it to slot 8 (last slot in hotbar)''<-- WTH? 8th slot is the last? where is my number 9? i think our minecraft is in the Pirate Version loool, kernel minecraft
Reynergodoy You might want to be some more positive or don't say anything. Java starts counting at 0, so it will be slot 8 in code, yet slot 9 in the client
Reynergodoy To answer the first part of your question, players in my server have slots 0-2 open (first 3 slots in hotbar) for them to modify. For each skill they use it requires redstone. I have redstone displayed in the 8th slot (9th slot in the hotbar) so they can see how much they have (like a mana display). Finally if a player runs out of redstone, they would be able to use an item/sign with a command attached to give them redstone. This is why I need /give <player> redstone to give a player redstone in the last slot of the hotbar. Tim answered the second part of your question above.
thats not easier, the player starting with 1 kill, or you make like one virtual redstone, like the system of ''blood'' in hypixel VampireZ?
Reynergodoy All I need is for /give <player> redstone to go into the 8th slot. I have the rest working.
Bump Just to clarify, I mainly need /give <player> redstone to give a player redstone in their 8th slot (final slot in hotbar)
Zupsub Thank you so much! It works. For a brief second the redstone goes into the first slot, but I am guessing that is a client delay. Thank you so much again, I really appreciate it.