Multispawn

Discussion in 'Archived: Plugin Requests' started by liverpool_fan_98, May 7, 2013.

  1. Hello

    Plugin category: TP

    Suggested name: Multispawn

    What I want: A plugin who I can set world spawn, and change it to another worlds spawn.
    Example1:
    If I am in the world: world1 I will be teleported to world2 and if I am in world world3 I will be teleported to world4.
    Example2:
    worlds:
    - world1 => world2
    - world3 => world4

    So I can choose of have a world spawn (Example: a spawn for the spleef world) or a spawn for the Survival gamemode (example)(If I am in world1 I will be tp'ed to the survival world)

    Ideas for commands: /spawn, /setspawn, /setspawn <world>

    Ideas for permissions: - multispawn.spawn, - multispawn.setspawn, - multispawn.setspawn.world

    When I'd like it by: When someone have time ;)
     
  2. Offline

    timtower Administrator Administrator Moderator

  3. Offline

    jokie666

    I thought (not sure) you can handle with a permissions manager, groups based on the world they players are.
    So you can say if player1 is in world1 he is in the group member1 and if player1 is in world2 he is in the group member2.
    You can set different spawns for different groups (EssentialsSpawn) so now you can use this how you'd like it.
    If you set the suffix of both groups exactly the same, there is no difference.
     
  4. Hmm, but if I use a plugin like mycommand and do (I do not have check the config, but this is a example)
    Orginal command=New command
    1. mv tp world1=spawn
    2. mvtp world2=spawn

    And give the different permissions then they are in different world. Will it work?
     
  5. Offline

    jokie666

    Personally I use PermissionEx and if you configure it like this it should work:
    Code:
    groups:
      default:
        default: true
        permissions:
        worlds:
            world1:
                permissions:
                    - spawnworld1
            world2:
                permissions:
                    - spawnworld1
            world3:
                permissions:
                    - spawnworld3
            world4:
                permissions:
                    - spawnworld3
    users:
      player1:
        group:
        - default
    I don't know the permissions of the plugin you use for spawn handling but I am sure you can figure out which permissionnodes you should replace with the spawnworld "permissions"
     
  6. I try with mycommand, but it don't work, it is saying: ops, check your permission file. So then I give me both permissions it work, but then I will be teleported to world_nether because it is first. Can you help me?
    Mycommand config:
    Code:
      commandsnumber: 2
    '1':
      command: /spawn
      type: runcommand
      text:
      - '$red Text of command $black3'
      runcmd:
      - '/mvtp world_nether'
    '2':
      command: /spawn
      type: runcommand
      text:
      - 'Here is the spawn! ;)'
      runcmd:
      - '/mvtp world '
    And my permission (PEX) :
    Code:
    groups:
      default:
        default: true
        permissions:
        - modifyworld.*
        worlds:
          world:
            permissions:
            - mycommand.cmd.1
          world_nether:
            permissions:
            - mycommand.cmd.2
     
  7. Offline

    jokie666

    I think mycommand gets an error while reading the config and sees that /spawn means the same as 2 commands
    essentialsspawn can handle this, I don't know how to get it work through mycommand, I never used the plugin.
     
  8. Offline

    timtower Administrator Administrator Moderator

    liverpool_fan_98 and jokie666 like this.
  9. timtower Thanks, then will you be finish? Take the time you need!! ;)
     
  10. Offline

    timtower Administrator Administrator Moderator

    Need to know how to override commands, when I know that I will be done in like 30 min
     
    liverpool_fan_98 likes this.
  11. Ok, take the time you need! And thanks again!! ;)
     
    timtower likes this.
  12. Offline

    timtower Administrator Administrator Moderator

  13. timtower likes this.
  14. Offline

    timtower Administrator Administrator Moderator

    And what is the exact problem? Is it not looping?
     
  15. It is not taking me to the exact world spawn (multiverse), but turn me in another way or move me a little bit to the side. It is no big deal, but I will be very happy if you can fix it. ;)
     

Share This Page