Filled Set Player's Inventory Slot (Very Very easy plugin)

Discussion in 'Archived: Plugin Requests' started by Sw_aG, Jul 27, 2014.

  1. Offline


    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: None

    Ideas 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! :rolleyes:
  2. Offline


    Working on it at the moment.

    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.
  3. Offline


    tempelis How's that a client side?
    There's a server (The nexus) that have a plugin like that!
  4. Offline


    Oh I will do more research on it. Give me a second.
    Sw_aG likes this.
  5. Offline


  6. Offline


    tempelis setHeldItemSlot(slot)
    Very simple
    Sw_aG likes this.
  7. Offline


    Thank you Onlineids,
    Testing plugin now.
    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:
  8. Offline

    Deleted user

    I'm pretty sure this is possible. Let's take a stab at it, shall we?

    In which class does that method exist?

    EDIT 1:
    Sw_aG likes this.
  9. Offline


    tempelis I'll try it right now!, thanks every1 for you help :D

    tempelis The plugin is exactly as i wanted! Thanks a lot mate i'm apperciate it a lot :p
    Onlineids zombiekiller753 Thanks a lot for your help :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jun 9, 2016

Share This Page