Simple Death Spawn plugin

Discussion in 'Plugin Requests' started by wowzersam, Aug 30, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    wowzersam

    I need a plugin almost identical to this: http://dev.bukkit.org/bukkit-plugins/deathspawnr-spawn-location-death/
    Except I need to be able to set 4 death spawns. Only players with certain permissions will spawn at certain death spawns. EG: /setdeathspawn 1,2,3,4 (Perm: deathspawn.spawn1,2,3,4)

    Commands:
    - /setdeathspawn 1-4
    Permissions:
    - deathspawn.spawn1-4
     
  2. Offline

    tkuiyeager1

    @wowzersam do you mean like 4 different spawns you can go there with a command?
     
  3. Offline

    wowzersam

    No, they only go there when they die. Each permission determines which deathspawn the player spawns at when he dies
     
    Last edited: Aug 31, 2015
  4. Offline

    tkuiyeager1

    Ok I think I can make it @wowzersam


    EDIT:
    sorry I'm too busy maybe I will make it. if someone else can make it, it will be great
     
    Last edited: Sep 1, 2015
  5. Offline

    Xerox262

    I can make it but it means the config will look something like this
    Code:
    spawn:
    x: 1000
    y: 60
    z: 1000
    world: world
    weight: 0
    
    It'll let you add as much spawns as you want, the weight is to tell the plugin which spawns are better than the others, for example if you have spawn 1 and spawn 2 it would send them to the highest weight that they have permission to. (Example below)

    To set a spawn you just have to stand at the location and type /setdeathspawn [spawnname] <weight>
    This will make it so that if the player has the permission for both it wont accidently teleport them to a random one. Below is an example of what way you would set the spawns.
    Code:
    /setrankspawn one
    /setdeathspawn two
    /setdeathspawn three
    /setdeathspawn four
    four > three > two > one
    
    /setdeathspawn one 4
    /setdeathspawn two 3
    /setdeathspawn three 2
    /setdeathspawn four 1
    one > two > three > four
    P.S. Do you want it to automatically respawn them when they die? or make them have to manually click "Respawn", btw if you use essentials you can do this easier using /setspawn [rankname] Edit: Nevermind, I'll just make this customisable in the config file

    If you don't know what I mean by any of this quote me or tag me
     
    Last edited: Sep 1, 2015
  6. Offline

    wowzersam

    Thanks @Xerox262! Can't wait till its done :)
     
  7. Offline

    Xerox262

    Last edited: Sep 1, 2015
  8. Offline

    wowzersam

    @Xerox262 Awesome! What are the permissions?
     
  9. Offline

    Xerox262

    @wowzersam lol derp, the permissions are deathspawn.setspawn to set a spawn then deathrespawn.spawn.[spawn name] to spawn at that location
     
  10. Offline

    wowzersam

  11. Offline

    wowzersam

  12. Offline

    Xerox262

  13. Offline

    wowzersam

    @Xerox262 Thanks! I'll try it as soon as I have the chance
     
Thread Status:
Not open for further replies.

Share This Page