Custom Socks

Discussion in 'Archived: Plugin Requests' started by DatCookiez, Jun 15, 2013.

  1. Offline

    DatCookiez

    Hey guys!
    I was thinking of a cool little plugin!

    What is it?
    It's a plugin that lets you change your boots when you step on a stone pressure plate.

    How?
    If a player steps on a stone pressure plate and there is a quartz block (ID: 155) under the pressure plate then a GUI/Inventory opens up with these coloured boots:
    - Red Slot:19 Called: Red Socks
    - Fuchsia Slot:20 Called: Pink Socks
    - Aqua Slot:21 Called: Aqua Socks
    - Black Slot:22 Called: Black Socks
    - Yellow Slot:23 Called: Yellow Socks
    - Orange Slot:24 Called: Orange Socks
    - White Slot:25 Called: White Socks
    in this order in the GUI/Inventory.
    When a player click on one of the boots it sends this message "&3Congrats on changing you &fsocks!" and the players boots are changed to that selected boot. To get out of the inventory the player just types "E" like normal. To get rid of the boots the player steps on the plate and can choose the "fire" item that is in slot 35 which is called "Sock Monster, Removes your socks!" and if the player clicks that, the players boots are removed and this message is displayed "&3Congrats on removing you &fsocks!".

    If the player does not have the permission to change their socks, when they step on the plate this message is displayed "&6Sorry, become a &3Premium &6to change your &fsocks!"

    Permissions:
    cn.premium

    When I'd like it:
    ASAP Please, Thank you!
     
  2. Offline

    CraftingRealm

    You can't create a gui in a plugin
     
  3. Offline

    DatCookiez

    I mean an Inventory
     
  4. Offline

    CraftingRealm

    I believe it's possible to make the player open an instance of a chest and it would look like their in a chest but I've never done anything like this before so I pass on this one.
     
  5. Offline

    andrewabosh

    This is cool, would like this :)
     
  6. Offline

    LaxWasHere

    So you want a plugin that changes your boots? What?
     
  7. Offline

    DatCookiez

  8. Offline

    RingOfStorms

    xD that's what im like, is there a specific use for this? Or is it more of a personal server thing, in which case most devs will pass it up since there isn't a bigger want for it.
     
  9. Offline

    SoftSoap

    That's actually interesting. I wonder, would it be possible to actually make "socks" like have a skin 'stick' to your character's skin to simulate socks. If I'm derailing your thread, sorry, just handing out ideas.
     
  10. Offline

    RingOfStorms

    nope
     
  11. Offline

    SoftSoap

    To bad. :(
     
  12. Offline

    DatCookiez

    RingOfStorms For my server, just a little cool addon for people in the Hub :)
    SoftSoap And I call boots "socks" just because i can ;) people on my server know that :D
     
  13. Offline

    DatCookiez

  14. Offline

    BartMiner

    I can do this, i will send u my details in pm :), when its done i will make it public and post the link here.
     
  15. Offline

    andrewabosh

    cool :)
     
  16. Offline

    DatCookiez

  17. Offline

    BartMiner


    What do you mean with Slot:21 etc?
     
  18. Offline

    RingOfStorms


    Capture.PNG

    He wants the items on that row, he counted from the first slot, so basically the socks should be centered in the inventory GUI.
    Edit: You can use inventory.setItem(21, AquaSockItem);

    realiez you do know the inventory does not have to be a double chest? It can just be one row with the socks in it.
     
  19. Offline

    andrewabosh

  20. Offline

    BartMiner


    I'm currently working on my other 2 requests, I just have something to be figured out will be released tommorow for sure.
     
    andrewabosh likes this.
  21. Offline

    andrewabosh

    awesome! will the chest gui be 1 row, or multiple?
     
  22. Offline

    DatCookiez

    RingOfStorms I think it'd look cooler with the double chest :p
    BartMiner RingOfStorms answered your question. Thanks for making this by the way! :)
     
  23. Offline

    BartMiner


    Well i think 1 row looks cooler :)
    I guess i will make a config option to change between the modes :)
     
  24. Offline

    DatCookiez

    BartMiner Can't wait, it's lookin' good!
     
  25. Offline

    BartMiner

  26. Offline

    andrewabosh

    Last edited by a moderator: Jun 2, 2016
  27. Offline

    RingOfStorms

  28. Offline

    andrewabosh

  29. Offline

    BartMiner


    Thanks this will be in the next update.
     
  30. Offline

    andrewabosh

    Also perms aren't working to well. If i want a user to have all boots + remove, what perms would i give?
     

Share This Page