Plugin Request Anvil

Discussion in 'Plugin Help/Development/Requests' started by TheDianondPicks, Feb 19, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    TheDianondPicks

    Suggested name: Anvil Strings

    What I want: Using an anvil (or sign) GUI to allow users to write a argument of a set command e.g /nick [Anvil Argument set by player] it would be great if it supported 1.8.

    Example Config:
    Code:
    1:
    command: 'nick %arg1%'
    Ideas for commands: /anvilstring open [number]

    Ideas for permissions: anvilstring.open.[number]

    When I'd like it by: ASAP.

    Thanks'
    TheDiamondPicks
     
  2. Offline

    TheDianondPicks

  3. Offline

    TheDianondPicks

  4. Offline

    TheDianondPicks

    Please I need this :(
     
  5. Offline

    wxwsk8er

    #CommandSigns
     
  6. Offline

    TheDianondPicks

    @wxwsk8er Not quite what I want:
    For example a server admin sets a command in the config with an argument.
    upload_2015-2-25_17-22-12.png
    Then ingame a player would do /anvilstrings open 1 Which would result in this GUI appearing:
    upload_2015-2-25_17-24-17.png
    Which a user could then enter a argument (In this case a nickname) then the nickname would be applied when the player presses enter.
     
  7. Offline

    wxwsk8er

    Do you know any programming? I could point you in the write direction :)
     
  8. Offline

    TheDianondPicks

    I don't know enough Java to make this :p
     
  9. Offline

    TheDianondPicks

  10. Offline

    TheDianondPicks

  11. @TheDianondPicks Are you worried about the anvils breaking? I did a search but no plugins with a virtual anvil feature came up. If you are worried about anvils breaking, use the plugin InfinateBlocks, you look at an anvil and type in a command; it never breaks.
     
  12. Offline

    TheDianondPicks

    @NoobyServerOwner No. This is a plugin to make it easier for players to execute commands.
     
  13. Offline

    metmad22

    It seems to me like creating a virtual anvil GUI with is impossible. Why? Well the Anvil inventory type was never completed in the bukkit API and using it does nothing at all. I once wanted to make this as well. I tried many things, but was not successful. Good luck!
     
  14. Offline

    TheDianondPicks

  15. Offline

    TheDianondPicks

  16. Offline

    metmad22

    @TheDianondPicks The thing is it doesn't matter if it's a command or a sign. The actual anvil GUI is impossible to open with the bukkit API, as it was never completed. You can probably use NMS to do this, but I've never really worked with it to help you there. Sorry
     
  17. Offline

    TheDianondPicks

    @metmad22 regarding your tag on the other thread I have limited Java knowledge :(
     
  18. Offline

    metmad22

    @TheDianondPicks Ah. Well if it works, I'll try to make it when I get time.
     
  19. Offline

    TheDianondPicks

    @metmad22 Thank you so much! I don't mind how long it takes :p
     
  20. Offline

    TheDianondPicks

    @metmad22 just curious If any progress has been made. Doesn't matter if there has been none. :)
     
  21. Offline

    metmad22

    I have not. I'm very busy and it will likely take at least a month. I don't even know if I'll be able to do this. I'll give it a try though.
     
  22. Offline

    TheDianondPicks

  23. Offline

    metmad22

    @TheDianondPicks All of the plugin seems do-able, but I just don't know how to get the string a player sets in the anvil. I don't really know how to make that part. If I find out, or if it's even possible, I'll try it.
     
    TheDianondPicks likes this.
  24. Offline

    TheDianondPicks

  25. Offline

    nverdier

    Wait what would happen when the player does what with the item?
     
  26. Offline

    TheDianondPicks

  27. Offline

    Xerox262

    You could make something close to this? So that when you do /<command> it opens a gui then you click what type of command you want to do and type the arguments in chat, then it performs that command?

    Example:

    /options
    *Clicks Nametag item*
    *GUI closes*
    *Types "Darren" into chat*
    *Doesn't send "Darren" as a chat message but performs /nick Darren*
     
  28. Offline

    TheDianondPicks

    Similar but for example you would have /nick set as command 1 so you would do '/anvilstrings 1' which wouldopen a anvil GUI where you would type the argument and then it would execute the command.
     
Thread Status:
Not open for further replies.

Share This Page