Dear very kind Plugin makers, Plugin category: Admin-tools Suggested name: SetPlayer'sInvSlot What I want: I want a plugin that add a command (To the console and the console only!) That set's the player's selected inventory slot. I want in the config to be: NoneIdeas for commands: /invset {player name} {slot}Example for command: /invset Sw_aG 1 Ideas for permissions: None, i want the console ONLY to be able to run that command! When I'd like it by: ASAP Version: 1.7.2 R3 Thanks In advance!
Working on it at the moment. -----Edit----- Sw_aG I read the post wrong; you can't change the slot someones cursor is on, that is client side. However, you can change what the item on their cursor is, if you want me to do something with that.
Thank you Onlineids, Testing plugin now. @Sw_aG Plugin is finished do you want me to send the user a notification their slot has been changed or anything? Let me know if I have to change anything, the slots are natively 0-8 so if you want the commands to work slot 1-9 let me know. /Invset {player} {SlotNumber(0-8)} Download Link: https://www.dropbox.com/s/zl79mpnhx8vdb1z/SlotChanger.jar
Sw_aG I'm pretty sure this is possible. Let's take a stab at it, shall we? EDIT: Onlineids In which class does that method exist? EDIT 1: nvm
tempelis I'll try it right now!, thanks every1 for you help tempelis The plugin is exactly as i wanted! Thanks a lot mate i'm apperciate it a lot Onlineids zombiekiller753 Thanks a lot for your help EDIT by Moderator: merged posts, please use the edit button instead of double posting.