AutoRoom - give shelter to the new guys

Discussion in 'Plugin Requests' started by spike1985, Jun 20, 2012.

  1. Offline

    spike1985

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Status: not yet started; looking for developers
    Category: Administration
    Purpose: Assigning rooms to new users on server automatically
    Description:
    Requested is a plugin thatt automatically checks, if a player has joined before, assigns him a room (with equipment) automatically if not and then teleports the user to that room.
    Roadmap (How "could" it work):

    a.) Preparations:
    1. Admins/mod builds the rooms and fill it with chests (containing items) and so on
    2. The rooms can only be entered trough an iron door
    3. The rooms are in a worldguard protected area (construct: deny)
    4. The Iron doors can be opened by pressure_plates (one inside, one outside)
    b.) First start:

    1. The server loads the plugin
    2. The plugin checks if it's config files are existing. Those are "config.yml/txt", "players.txt" and "rooms.txt"
    3. If true: done for now
    4. If false: Files are created
    5. The admin/mod enters the "/autoroom create" command. Therefore he has been given the "autoroom.admin" permission before
    6. The admin/mod clicks onto one of the pressure plates in front of a autoroom to create
    7. The Plugin writes the coordinates of the pressure plate into "rooms.txt" and locks it, so it can only used by people with the "autoroom.admin" permission (alternative: sends a command to lock it to the admin/mod to a plugin like lwc, lockette or such)
    8. Steps 5 to 7 may be repeated till all desired rooms are defined/created
    c.) A player joins:
    1. A player joins the server
    2. The plugin checks, if the players name is in "players.txt" already
    3. If true: it sends the message defined in "msg" in "config.txt/yml" if "sendmsg" is set to "2"
    4. If false: next steps apply
    5. The plugin checks the players position, and finds the nearest free autoroom pressure plate
    6. The plugin locks the pressure plate to the player (alternative: send a command to change the owner of the protection to a plugin like lwc, lockette or adds him as member)
    7. The plugin writes the player's name into "players.txt" and adds an "o" for occupied to the coordinates in "rooms.txt"
    8. The plugin teleports the player right onto the pressure plate (if "auto-tp" is set to "true" in "config.txt/yml") and sends a message (configurable in "config.txt/yml")
    d.) Options in "config.txt/yml":

    1. op: true/false; if true it uses op status instead of permissions ("autoroom.admin")
    2. tp: true/false; if set to true, player gets tp'ed to his room on first join
    3. sendmsg: 0/1/2; if set to "0", it sends no message, "1" sends only on first join the message defined in "firstmsg", "2" sends "firstmsg" on first join and "msg" on every other join
    4. firstmsg: <enter text to be displayed on first join>
    5. msg: <enter text to be displayed on every join, that is NOT the first join>
    I don't know how to program in java, so dear devs, please take this as a suggestion plz!
  2. Offline

    lclc98

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    awesome idea if i new more about configs and adding block i would make this.
  3. Offline

    spike1985

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No dev want to take it? I guess it could become quiet popular!
  4. Offline

    lclc98

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    wow i misread this, il give it a try but not promising.
  5. Offline

    spike1985

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Contact me... I think there is the need for some more commands like "/autoroom modify", "/autoroom remove", "/autoroom assign" and such. Maybe you should also get in contact with the dev of lwc as this might be merged one day?
  6. Offline

    spike1985

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    contacted the dev of lwc to take a look into this
  7. Offline

    Lildirt

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can't help here, but I can suggest talking to the Lockette developer.
  8. Offline

    Konkz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I support this!
    And after x seconds (Configurable) the shelter will be deleted?
    Or after x seconds of inactivity (Not going online) it will be removed.

    It is possible, talk to the guy that made the skyblock plugin!
  9. Offline

    spike1985

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Both features have their pros but they should stay optional
  10. Offline

    spike1985

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Bumb. Contacted Dev of lockette. Hope he can/will help
  11. Offline

    lclc98

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    bumb lol
  12. Offline

    spike1985

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    which skyblock plugin? Do you know him?
  13. Offline

    lclc98

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You would have to delete the everything in the room
  14. Offline

    spike1985

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

    lclc98

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    just the way its made
  16. Offline

    spike1985

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    you see, i am not into coding ;-)
  17. Offline

    Konkz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Speak to @Vinceguy1
    He made the skyblock plugin, which on command generates new island.
  18. Offline

    Vinceguy1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ya, but this messes with worldguard and everything.
  19. Offline

    Konkz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    A guy like you, I guess could do it?
    No pressure by the way.
  20. Offline

    spike1985

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    All we basically need is a plugin that stores chosen world guard id's and registeres one by one to new players that join. Or am I mistaken? Even if not, I've no idea how easy/hard this really is. Same applies to the self editing signs but as there are a lot of plugins that chnage text's on signs, this might be possible as well...
  21. Offline

    Konkz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What it will do, is basically execute a lot of commands at same time but it will be hardest to get the coding for 'finding the right co-ordinates' for WG.
  22. Offline

    spike1985

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    maybe this could be done with a list, in which are all valid outrooms regions are stored with a flag (vacant/ocupied) each and it "simply" goes down the list. A tp should be easy to handle then.

    This post has been edited 1 time. It was last edited by spike1985 Jun 23, 2012.
  23. Offline

    spike1985

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ofc the room have to be defined with we/wg before.
  24. Offline

    Vinceguy1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    check out plotme. its basically the same thing.
  25. Offline

    Orcem12

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Had to do it: (sorry)
    Mozio likes this.
  26. Offline

    spike1985

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    plotme is not what i am looking for as a worldgen is integrated. I want the plots to be manually defined without any effet on worldgeneration

Share This Page