A plugin for a Hub/Lobby

Discussion in 'Archived: Plugin Requests' started by Batman123579, Sep 21, 2013.

  1. Offline

    Batman123579

    Plugin category: General

    Suggested name: HubInventory

    What I want: A plugin that when you login/spawn on the server it will give you Items with Customised names (e.g. Compass with the name Teleporter) that you can customise in a config file and can't remove from your inventory (Something like on the Hypixel or HiveMC server).

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: hubinv.spawn. Set it to true if they can spawn with the items.

    When I'd like it by: Soon. (sometime in the next month?)

    If this plugin exsists already, could you tell me in the comments?

    Thanks,
    -Batman123579
     
  2. Offline

    Fire_Feather

    I'm assuming you want the item to "teleport" the player to one of the game servers, correct? If so, check out the Spigot forums. There are plenty of these there and they are very customizable.
     
  3. Offline

    MayoDwarf

    We do not support spigot.
     
  4. Offline

    Compressions

    Fire_Feather likes this.
  5. Offline

    Fire_Feather

    MayoDwarf I know. That is why I am referring him to their forums...
     
    Compressions likes this.
  6. Offline

    MayoDwarf

  7. Offline

    Compressions

    MayoDwarf He sent him to the Spigot Forums. That is what he was supposed to do...
     
    Fire_Feather likes this.
  8. Offline

    Batman123579

    Just saying, All minigames are on the same server, and I already have a plugin that will teleport me around. I just want a plugin that will add the items when you login and you cant move them. :)
    -Batman123579
     
  9. Offline

    Skionz

    VariableTriggers can do this and I believe a plugin called KeepInventory can prevent you from dropping items.
     
  10. Offline

    Batman123579

    anything a bit easier to set up?
     
  11. Offline

    Skionz

    VariableTriggers is easy and once you understand it you can add lots of other effects and cool stuff like that just add this to the events config
    Code:
    WorldName:
      Join:
        CoolDown: 0
        Script:
        - '@CMDOP give <playername> compass 1'
    Or there is a command to do it but I can't remember it off the top of my head.

    EDIT: I thinks its /vtevent join @CMDOP give <playername> compass 1
     
  12. Offline

    Batman123579

    Any way to give it a custom name?
     
  13. Offline

    Skionz

    Basically what i just said executes an essentials command from the console so just change it to @cmdop give <playername> compass 1 name:Teleporter
    I think thats it, if that doesnt work look up how to give renamed items with essentials.
     
  14. Offline

    Batman123579

    Thanks! Ill be trying that now :)

    That plugin makes it so i get one everytime I spawn. are there any other plugins?
    (VariableTriggers Dosent really work either)

    Is there any easy way to code this? I know a little Java.

    <Merged triple post - Use edit button to edit your post - Necrodoom>
     
  15. Offline

    Skionz

    I can't think of the code off the top of my head but you would use the login event and do something like
    Code:
    player.getInventory().addItem(Material.COMPASS);
    not sure if this is correct
     
  16. Online

    timtower Administrator Administrator Moderator

    Batman123579 I do have a plugin that gives the player items in the right slots ( armor not supported yet )
    Can add the armor for you if you want
     
  17. Offline

    Batman123579

    Don't need armour. What is the plugin?
     
  18. Online

    timtower Administrator Administrator Moderator

    https://www.dropbox.com/s/7jqxen9vlcloaa4/InvOnJoin.jar
    Will reset the entire inventory when the player joins, be aware of that

    Command: /invonjoin
    Permission to use it: invonjoin.change
    That will change the inventory what you get when you join to your current inventory
     
  19. Offline

    Regablith

  20. Offline

    Batman123579

    timtower likes this.
  21. Offline

    CptCrazyHD

    If you make a minigame type server, with different server for every minigame, try the Chest Commands GUI , to warp from a server to another server. Or use the plugin that Regablith !

    Now for the items on join, the StarterKit is what you are looking for.

    Hope I helped :)
     

Share This Page