Inactive [ADMN] JoinCommand | Version 2.0a | Force 'dem commands! [1.1-R3]

Discussion in 'Inactive/Unsupported Plugins' started by Kohle, Nov 25, 2011.

  1. Offline

    Kohle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    [IMG]

    JoinCommand | Version 2.0a | Force 'dem commands! | Download latest version | Source

    Attention ladies and gentlemen, monsters and thugs, I present to you...
    JOIN COMMAND 2.0a

    The post is ugly and hideous due to dialup being a butt muncher and not loading things I need to properly edit the post. Sorry, this will be fixed soon.


    JoinCommand was a request from a server admin, and I wanted to make a plugin, so I did :)
    This is a very basic plugin - you configure which commands you want a player to do when they join the server. When they join the server, they automatically are forced to do the command. It's lightweight, easy to configure, and mighty useful!

    Installation
    It's quick and easy! Download the plugin, and drop it in your plugins folder! Start the server once to generate the config file. It will be in YourPluginDirectory/JoinCommand. Open it up in a text editor, I suggest Notepad++ as it handles .yml files quite nicely. Edit the config, save, and start your server!

    Sample Config
    The plugin generates a sample config, and if you don't change it, players will be forced to do the command /hi and /hi2 which are in the plugin it's self, for testing purposes.

    Here is the sample config. generated by the server:

    The following code is the default configuration file generated by the plugin in /plugins/JoinCommand.
    Code:
    Commands:
    - jc
    - version
    Commands-Console:
    - jc
    - version
    FirstCommand:
    - jc
    - version
    FirstCommand-Console:
    - jc
    - version
    

    Yeah, it's that simple. To add another command, simply add another line with the "-" in front of the command, so your config could look something like

    I added "meow" as another command. Remember: do not add the / in the config!
    Code:
    Commands:
    - jc
    - version
    - meow
    Commands-Console:
    - jc
    - version
    FirstCommand:
    - jc
    - version
    FirstCommand-Console:
    - jc
    - version
    

    Very simple! If you have any issues, please tell me below! Or feel free to drop me a PM.

    Features:
    • Forces players to perform a command!
    • Has an easy to edit config file!
    • Permission nodes
    • Helpful commands
    • Command list for first time joiners only
    Commands:
    • /jc-reload - reloads the JoinCommand configuration file.
    • /hi - the command for JoinCommand that is in the default config file. Notifies the user to change the config file to their liking.

    Permissions:

    Code:
    JoinCommand.*:[/SIZE]
    [SIZE=4]        description: Gives access to all JoindCommand[/SIZE]
    [COLOR=#141414][FONT=Georgia]        children:[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]            JoinCommand.reload: true[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]            JoinCommand.FirstCommand: true[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]            JoinCommand.NormalCommand: true[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]            JoinCommand.addcommand: true[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]        default: op[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]    JoinCommand.reload:[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]        description: Allows you to reload the config[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]        default: op[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]    JoinCommand.addcommand:[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]        description: Allows you to reload the config[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]        default: op[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]    JoinCommand.FirstCommand:[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]        description: Allows first time command to pass[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]        default: not op[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]    JoinCommand.NormalCommand:[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]        description: Allows every logon command[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]        default: not op[/code] [/FONT][/COLOR]
     
    [SIZE=4][COLOR=#141414][FONT=Georgia] [/FONT][/COLOR][/SIZE]
    [SIZE=4][COLOR=#141414][FONT=Georgia] [/FONT][/COLOR][/SIZE]
    [SIZE=4][COLOR=#141414][FONT=Georgia] [/FONT][/COLOR][/SIZE]
    [SIZE=4][COLOR=#141414][FONT=Georgia] [/FONT][/COLOR][/SIZE]
    [SIZE=4][COLOR=#141414][FONT=Georgia] [/FONT][/COLOR][/SIZE]
    [SIZE=4][COLOR=#141414][FONT=Georgia] [/FONT][/COLOR][/SIZE]
    [SIZE=4][COLOR=#141414][FONT=Georgia] [/FONT][/COLOR][/SIZE]
    [COLOR=#141414][FONT=Georgia]Todo:[/FONT][/COLOR]
     
    [SIZE=4][COLOR=#141414][FONT=Georgia] [/FONT][/COLOR][/SIZE]
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]Add the ability to select different command per user. (Meaning a section in the config for each player(coming soon)[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]Add the ability for group/permission commands, such as a list named Group1 would only be the commands for users/groups with the permission JoinCommand.commands.Group1, or perhaps even GroupManager support for groups specifically.[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]Bugs:[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [SIZE=4][COLOR=#141414][FONT=Georgia]None. Found one? Or some? Tell us below![/FONT][/COLOR][/SIZE]
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [SIZE=4][COLOR=#141414][FONT=Georgia]Developers:[/FONT][/COLOR][/SIZE]
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [SIZE=4][COLOR=#141414][FONT=Georgia]Kohle - main developer.[/FONT][/COLOR][/SIZE]
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [SIZE=4][COLOR=#141414][FONT=Georgia]@Zelif - has helped a lot with the newest version (actually, did it all by themselves ;))[/FONT][/COLOR][/SIZE]
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]Changelog:[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]Version 1.1-b[/FONT][/COLOR]
     
    [SIZE=4][COLOR=#141414][FONT=Georgia] [/FONT][/COLOR][/SIZE]
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [SIZE=4][COLOR=#141414][FONT=Georgia]Added a reload config command[/FONT][/COLOR][/SIZE]
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [SIZE=4][COLOR=#141414][FONT=Georgia]Permission nodes[/FONT][/COLOR][/SIZE]
    [SIZE=4][COLOR=#141414][FONT=Georgia]First time joining commands[/FONT][/COLOR][/SIZE]
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [SIZE=4][COLOR=#141414][FONT=Georgia]Fixed the small bug where it says a non-player joined the server[/FONT][/COLOR][/SIZE]
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]Version 1.0 l[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [SIZE=4][COLOR=#141414][FONT=Georgia]Config actually works this time![/FONT][/COLOR][/SIZE]
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [SIZE=4][COLOR=#141414][FONT=Georgia][spoiler="Previous versions"][/FONT][/COLOR][/SIZE]
    [SIZE=4][COLOR=#141414][FONT=Georgia]Version 1.2j[/FONT][/COLOR][/SIZE]
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [SIZE=4][COLOR=#141414][FONT=Georgia]Cleaned up code a little bit[/FONT][/COLOR][/SIZE]
    [SIZE=4][COLOR=#141414][FONT=Georgia]Added DCP, auto downloads new versions![/FONT][/COLOR][/SIZE]
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]Versions .1 - 1.0 j[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [SIZE=4][COLOR=#141414][FONT=Georgia]Basic outline of the plugin, config. issue.[/FONT][/COLOR][/SIZE]
    [SIZE=4][COLOR=#141414][FONT=Georgia]Found a bug/issue? Please report it below![/FONT][/COLOR][/SIZE]
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [SIZE=4][COLOR=#141414][FONT=Georgia]Version 1.0 k[/FONT][/COLOR][/SIZE]
    [SIZE=4][COLOR=#141414][FONT=Georgia] [/FONT][/COLOR][/SIZE]
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [SIZE=4][COLOR=#141414][FONT=Georgia]Config works! Wooooooot![/FONT][/COLOR][/SIZE]
    [COLOR=#141414][FONT=Georgia] [/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia][/spoiler][/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]A final word[/FONT][/COLOR]
     
    [COLOR=#141414][FONT=Georgia]Hope you all enjoy! Feature request? Bug? Tell me below. Also, if you want to show your thanks just go ahead and leave a friendly thank you, it keeps me working :) Also, feel free to fork or something on GitHub (I'm a noob with GitHub, so I might fail at some things ;))[/FONT][/COLOR]
     
    [SIZE=4][COLOR=#141414][FONT=Georgia] [/FONT][/COLOR][/SIZE]
    [SIZE=4][COLOR=#141414][FONT=Georgia] [/FONT][/COLOR][/SIZE]
    [SIZE=4][COLOR=#141414][FONT=Georgia] [/FONT][/COLOR][/SIZE]
     
    [COLOR=#141414][FONT=Georgia]Special thanks to [USER=13320]DrAgonmoray[/USER], [USER=51216]tyzoid[/USER] and especially @ Zelif for helping so much![/FONT][/COLOR]
     
    [SIZE=4] [/SIZE][/code][/SIZE]

    This post has been edited 26 times. It was last edited by Kohle Feb 9, 2012.
    lucoatom, kahlilnc, NEO and 1 other person like this.
  2. Offline

    DrAgonmoray

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    first

    Edit:
    Went ahead and deleted my other post because I didn't want to derail your thread too much :3

    This post has been edited 1 time. It was last edited by DrAgonmoray Nov 25, 2011.
    Kohle likes this.
  3. Offline

    Shooty

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    THANKS can you add they says automatically a part of the player name ? I see a plugin like this but only on first join @Kohle

    Like the name without the number, only the 3 first letter of the name .. etc

    This post has been edited 1 time. It was last edited by Shooty Nov 25, 2011.
  4. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Kohle
    Does this allow per-player configurations?
  5. Offline

    Kohle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm not exactly sure what you mean?
    No, not at the moment, but I was looking into this.
  6. Offline

    thescreem

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    He means this plugin, but to have it happen everytime the player joins, not only the first time. IMO, @Shooty you should ask the creator of the other plugin to add that feature.

    This post has been edited 2 times. It was last edited by thescreem Nov 25, 2011.
  7. Offline

    Kohle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yes, I agree.
  8. Offline

    NEO

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Would really lover per player configurations with superperms support. If you decide to add per player configs, it would also be nice if players could edit there join commands form in game.
  9. Offline

    Kohle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I guess I can start working on this.
  10. Offline

    shanko

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    So do I have to restart my server twice to make this work or can I reload this somehow?
  11. Offline

    Kohle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What exactly do you mean? If you want to regenerate the config, you need to delete the JoinCommand folder. Then, once you restart the server it will generate the config. Once you make the changes to the config (if you server is running) you can restart the server or reload it. Doesn't really matter ;)
  12. Offline

    kahlilnc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Mm first joins :D !!!???

    This post has been edited 1 time. It was last edited by kahlilnc Nov 27, 2011.
  13. Offline

    Kohle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Care to explain?
  14. Offline

    kahlilnc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Like on first join. The command only applies then. Maybe a option. And a log to who has joined the server so far.
  15. Online

    nkrecklow

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Looks like your main post got trolled :p
    Title should be like: [ADMN] JoinCommand v1.0 - Force commands on join [1337]
  16. Offline

    Kohle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ahh, I see. I'll look into this sometime this weekend, I imagine it can't be too difficult to check if it's a player's first time joining a server.

    Because of the giant banner made by @DrAgonmoray ? I rather like it ;)
    And yes, I know what the title should be, but it looks like shit that way, this way is much more organized :) I don't see a problem with it, but if told to by staff, I will change it :rolleyes:
    kahlilnc likes this.
  17. Online

    nkrecklow

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It can look nice all it wants, but if it doesn't fit, it doesn't get approved (if they move this last "batch"), and they beat you to it: http://forums.bukkit.org/threads/pl...egory-requirements-updated-july-19-2011.1755/
  18. Offline

    Kohle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Eeh, I really don't care if it doesn't get approved. Chances are the forums are going to be dead anyways. Also, I have looked at the guidelines. It simply does not look good with the default generic title. Too messy. Thanks for the input, though :)
  19. Offline

    Kohle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Just a quick post about the progress:
    I have looked into making a custom section in the config for each player. It doesn't seem that difficult, so expect it sometime this weekend :)
  20. Offline

    iffa

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Mod Edit: Removed bad content (Butkicker12)

    At last a useful plugin.

    This post has been edited 1 time. It was last edited by Butkicker12 Dec 2, 2011.
  21. Offline

    Kohle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @iffa

    In response to the spoiler, ohrlly? I didn't know. In fact, I just searched your started threads and didn't find a post you made about it. So, whatever.

    This post has been edited 1 time. It was last edited by Kohle Dec 1, 2011.
  22. Offline

    iffa

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yehrlly.
  23. Offline

    Kohle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Was it on hMod? The person who requested it said there was something like this back on the ol' hMod.
  24. Offline

    DrAgonmoray

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    noob
    WizzleDonker and Kohle like this.
  25. Offline

    Kohle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I love how he never replied. I even sent him a PM.
    DrAgonmoray likes this.
  26. Offline

    md_5

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Latest rb please :)
  27. Offline

    worstboy32

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Kohle
    This is for new players only or every time players log in?
    Would be great if it was for new players only.
    If it is not could you please add a database for it?

    And can you make it so you can add like 40 commands and it random takes one for every player.
    So each player who join for first time get a other command.

    And this wont allow them to chat or do anything?

    If you could make it like this it would be great.
    On this way it could stop bots from spamming the server.
    Because bots are not smart enough to read all commands they have to type and type them if they are different.
  28. Offline

    Kohle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Done.
  29. Offline

    md_5

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Approved
  30. Offline

    md_5

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That's alright, it's my job :)

Share This Page