spawn

Discussion in 'Archived: Plugin Requests' started by lilladolken, Feb 20, 2014.

  1. Offline

    lilladolken

    Plugin category: idk

    Suggested name: KSpawn

    What I want: When you type /spawn you will spawn in a random place But you cant spawn outside of like 500 blocks (all directions)


    Ideas for commands: /spawn

    Ideas for permissions: Nothing

    When I'd like it by: Tomorrow (2-22)
     
  2. Offline

    lilladolken

    BUUUMMPPPP!
     
  3. Offline

    Lupus

    Try using RandomLocation and MyCommand.

    RandomLocation allows you to create zones with a certain radius. When a player teleports to a zone, it will randomly place them somewhere in that zone.

    MyCommand makes it so you can create your own commands. If you don't want players to have to use the RandomLocation command go to the spawn zone, you can use this plugin to change what the /spawn command does. You can make it so when the player types in /spawn, it will actually send the RandomLocation command to the server and they will be teleported.


    I did the same thing with Mulitverse because I didn't want my players to have to use /mv spawn to get to the world's home.
     
  4. Offline

    Dj_law

    I've completed the plugin now i'm just creating the project
     
  5. Offline

    lilladolken

  6. Offline

    Dj_law

    ye just waiting for approval. heres the plugin: link
     
  7. Offline

    lilladolken

    Wait could you add like /start (secounds) will start a countdown on how many secounds! and then they can only type /spawn while the countdown is on, so when the countdown is over they cant use it anymore! And btw it whould be awesome if you could add like when the countdown is over they will be teleported to o o cords
     
  8. Offline

    Dj_law

    ok ill start on that now
     
  9. Offline

    lilladolken

  10. Offline

    Dj_law

    so like the countdown is started and there is a server wide broadcast saying "countdown has started" and then players can use the /randomspawn command and then at the end of the countdown, theres another broadcast saying "the countdown has ended" and all the player are teleported back to 0, 0? or only teleport the player who executed the /start command back to 0, 0? or teleport only the players who did the command /randomspawn during the timer back to 0, 0

    ok i've gotten it so the player cannot use the randomspawn command untill the timer is started. once the timer has started, the player can use the command as many times as they want till the countdown ends at which point all of the players on the server will be teleported to 0, 0. Test it out - Link . anything else you want added or changed just let me know

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

    lilladolken

    It worked! Thanks! But could you make so that it says in broadcast like " Starting in 10 secounds " etc
    And if you can could you change the command to /spawn instead? :D

    And when the countdown hits to 0 could you change so it says like " Your now have invinicibility of 2 minutes!"
     
  12. Offline

    timtower Administrator Administrator Moderator

    lilladolken For the command: command alias plugin?
     
  13. Offline

    lilladolken

    He already coded the command thing so now if the countdown is active they can type /randomspawn but if the countdown aint active they cant type it
     
  14. Offline

    Dj_law

    lilladolken
    Updated - Link
    i added spawn to the aliases so if you type /spawn it will do the same as /randomspawn or /rs works to.
    did you want me to add the invincibility code as well?
     
  15. Offline

    lilladolken

    Dj_law yes. That whould be nice so after you are teleported to 0 0 you get 2 mins of inviniciblity! But could you do so if I do like /start 60 it whould broadcast Starting in 60 secounds! and then it whould say Starting in 45 secounds! and then when its down to 30 it should say same thing but 30 instead and then wen its down to 15 it should say 15 instead and then the same thing with 10 and then it should say it on 5, 4, 3, 2, 1 And if you didnt understand just pm me and I will explain!

    EDIT: Could you do so all players are teleported? :D
     
  16. Offline

    Dj_law

    lilladolken
    Update - Link
    ok so it should teleport all players now and the invincibility code has been implemented but the countdown is taking slightly longer.

    lilladolken
    Update - Link
    ok got the countdown working. Test it and pm me if you need anything else.

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

    lilladolken

  18. Offline

    Dj_law

  19. Offline

    lilladolken

    Dj_law works fine! Thanks :D Btw could you add so when 10 people is on the server it will automaticly start a countdown of 2 minutes and please add a permission node for /start command (If its already done please tell me it :3 )

    It whould be nice if you could add so like your invinicible the whole time untill you lose your inviniciblity after 2 minutes

    So I mean like you have invinicibility the whole time ( even after the countdown jhave even started ) But after the 2 minutes of inviniciblity after the countdown your no longer invinicible,
    PM me if you dont understand!
     
  20. Offline

    Dj_law

    Update - Link
    ok added the when players hit 10 start the thing for two minutes and you are invincible from the /start command to the end of the bit after the countdown. and there is a permissions node for the start command: rs.start. again just pm me for anything or post it here.

    permissions:
    rs.randomspawn:
    description: Gives access to /randomspawn
    default: op
    rs.start:
    description: Gives access to /start
    default: op
     
  21. Offline

    lilladolken

    Nice!! It worked! btw could you change 1 thing please? So instead of the players spawning at exactly 0 0 just do so like all players get random teleported within 30 blocks of 0 0!
    Also if you could add so you cant break blocks under the countsown? :D
     
  22. Offline

    Dj_law

    Update - Link
    ok blocks dont break under the countdown and you spawn within 30 blocks of 0, 0 after the countdown.

    once ive finished another request ill make a project for this plugin and add config files so you can change the times and the messages and stuff.
     
  23. Offline

    lilladolken

    Dj_law could you fix so you cant break blocks before the countdown also? and you are invinicible before the countdown too? :D if thats possible it whould be great!
     
  24. Offline

    Dj_law

    lilladolken
    Update - Link
    ok added that and also a config file so you can configure a large proportion of the messages and times.
     
  25. Offline

    Jaaakee224

    Dj_law :( I just read this whole thread, and he keeps giving request after request.. I always see this. "It Works, but could you..."
     
  26. Offline

    lilladolken

    well Jaaakee224 its true but there might be some things that I want 2 be changed :p

    Dj_law You didnt make so your invincible when the countdown havent started please fix that! and also make so you can type /help to see how long ago it was since the countdown was started ;) ( if you could make this configurreable in the config ) and make so you can ONLY type /help after the countdown have ended

    If this is possible! after 50 minutes after the countdown you will be teleported to a hole like and it is bedrock walls around it!

    And at 60 minutes mark the player that had the most kills after the countdown, should get tped up in the air and is going to be on like a little glass area with cakes around :3 ( when this happes they have inviniciblity ) and in the chat it should say 10 times in red " nameofplayer WINS! "

    and at 61 minutes the server will stop and it will delete the "world" folder called "HungerGames"

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

Share This Page