Plugin Help Join Gui

Discussion in 'Plugin Help/Development/Requests' started by surfkidz, Dec 22, 2016.

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

    surfkidz

    Hi,

    So today i have encountered a problem, i need to make it so when people join my server it opens the gui, im using chestcommands plugin for the GUI. I have tried the JoinCommand plugin to see if it would do the command on join but it kicks you cuz u cant just open a gui as soon as you join.

    So if there is no solution to this could someone code me a plugin that will make a player do a command on join but make it so it does the command 1 second after you join.

    Thanks,
    surfkidz
     
  2. Offline

    Wispyy

    Have you tried using a PlayerJoinEvent and then using Player#openInventory()?
     
    surfkidz likes this.
  3. Offline

    surfkidz

    I have used PlayerJoinEvent but im not sure by what you mean "Player#openInventory()" If this is java i dont know any of it D:
     
  4. Offline

    Wispyy

    PlayerJoinEvent is part of the Bukkit API/Java (not sure what you used then). I'll work on a plugin that'd execute a command after joining (definable in config). What version would you like? Also, if you want to make a request post it in that forum with the sticky but I'll keep writing here for now.

    @surfkidz this was coded in 1.9. It might work in other versions but I'm not sure.
    Default time is 1 second but if you want I can add something into to config that will change that.
    click me
    Plugin name is CommandExecute but the folder is CommandExecuteOnJoin
     
    Last edited: Dec 22, 2016
    surfkidz likes this.
  5. Offline

    surfkidz

    My server is 1.8 on via version it should still work. Thank you very much i have needed this for a long time. As soon as I get on my pc I will try it out ;)

    I have installed the plugin and it works fine on 1.8 thanks so much for making this. Ill like your posts and try to get you a better reputation!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 23, 2016
Thread Status:
Not open for further replies.

Share This Page