AutoRoom - give shelter to the new guys

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

  1. Offline

    spike1985

    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

    awesome idea if i new more about configs and adding block i would make this.
     
  3. Offline

    spike1985

    No dev want to take it? I guess it could become quiet popular!
     
  4. Offline

    lclc98

    wow i misread this, il give it a try but not promising.
     
  5. Offline

    spike1985

    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?

    contacted the dev of lwc to take a look into this

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  6. Offline

    Lildirt

    Can't help here, but I can suggest talking to the Lockette developer.
     
  7. Offline

    Konkz

    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!
     
  8. Offline

    spike1985

    Both features have their pros but they should stay optional

    Bumb. Contacted Dev of lockette. Hope he can/will help

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  9. Offline

    lclc98

    bumb lol
     
  10. Offline

    spike1985

    which skyblock plugin? Do you know him?
     
  11. Offline

    lclc98

    You would have to delete the everything in the room
     
  12. Offline

    spike1985

    Why so?
     
  13. Offline

    lclc98

    just the way its made
     
  14. Offline

    spike1985

    you see, i am not into coding ;-)
     
  15. Offline

    Konkz

    Speak to Vinceguy1
    He made the skyblock plugin, which on command generates new island.
     
  16. Offline

    Vinceguy1

    Ya, but this messes with worldguard and everything.
     
  17. Offline

    Konkz

    A guy like you, I guess could do it?
    No pressure by the way.
     
  18. Offline

    spike1985

    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...
     
  19. Offline

    Konkz

    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.
     
  20. Offline

    spike1985

    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.

    Ofc the room have to be defined with we/wg before.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  21. Offline

    Vinceguy1

    check out plotme. its basically the same thing.
     
  22. Offline

    Orcem12

    Had to do it: (sorry)
     
    Mozio likes this.
  23. Offline

    spike1985

    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