[ADMN] PlgSetspawn v5.0 - /setspawn and /spawn for OPs [1.4]

Discussion in 'Archived: Plugin Releases' started by Plague, Jan 30, 2011.

  1. Offline

    Plague

    PlgSetspawn - Plugin for /setspawn and /spawn only:
    Version: v5.0

    This plugin just gives /setspawn to OPs and /spawn to all, nothing more nothing less.
    It uses bukkit internal permission system.
    As in all my plugins, you can now edit the name of commands in plugin.yml.

    Permissions:
    • plgsetspawn.spawn for /spawn command (default all)
    • plgsetspawn.setspawn for /setspawn command (default op)

    Download(source inside)

    [​IMG]

    Changelog:
    Version 5.0:
    • Added bukkit permissions (spawn for all, setspawn for OPs by default)
    • Thanks @McAndze for showing me how to implement them easily :)
    Version 4.1
    • updated internals, should work on every MC build supported by bukkit now
    Version 4.0
    • uses onComand - CB 454+ compatible
    • you can now edit plugin.yml and change command names via "aliases:"
    Version 3.0
    • Updated for Minecraft 1.3 and craftbukkit 432
    Version 2.1
    • /spawn for everyone, /setspawn for OPs
    Version 2.0
    • updated craftbukkit API
    • you now /spawn on the exact location even if there are blocks above
    Version 1.0
    • Initial release
     
  2. Offline

    Kohle

    @Plague I though only two previous versions should be out and open and the rest should be in a spoiler :p
     
  3. Offline

    Plague

    No, two last versions have to be outside a spoiler, the rest is up to you.
     
  4. Offline

    Kohle

    Oh ok
     
  5. Offline

    IronPixel

    The plugin seem work and the message comes up "spawn set", but we still spawn at the same place as we were before. There is no error message, it just doesn't work :/
     
  6. Offline

    Plague

    just tested, works for me. You must have some other plugin conflicting.
     
  7. Offline

    IronPixel

    Seems like my last comment somehow didn't get posted. However I figured out the problem; the setspawn of multiverser overwrote your plugin so i had to change that to make it work. Everything is fine now :)
     
  8. Offline

    Edvardas96

    So with this plugin you can change the default spawn to somewhere else? If i setspawn with this plugin a new player that connects to the server will spawn in the set spawn?
     
  9. Offline

    Plague

    exactly
     
  10. Offline

    Edvardas96

    Tested the plugin, perfect!!! Exactly what I was looking for, great job.
     
  11. Offline

    Harrisson

    does this spawn everyone to the same place too?
    plz answer
     
  12. Offline

    Plague

    well it does spawn like the original minecraft spawn so you do spawn in the same area centered around the same point, but the spawn is randomized
     
  13. Offline

    Harrisson

    thanks for the answer!
     
  14. Offline

    TheArcher

    Would you please give players the ability to use "/spawn" but not "/setspawn"?
     
  15. Offline

    Plague

    That's how it should work
     
  16. Offline

    TheArcher

    I got it to work.

    For uniformity's sake when you aren't an "OP" and type "/setspawn" could you just not display a message and keep it blank?
     
  17. Offline

    leiger

    A request: Is it possible to take into account the direction the player is facing and store that as part of the spawn?

    I'm not sure about death, but when I use the /spawn command I end up facing the opposite direction to where I was looking while typing /setspawn.
     
  18. Offline

    GhostMole

    so does this not actually set the real spawn for the world?
     
  19. Offline

    Plague

    That's a limitation of Minecraft spawnpoint.

    yes
     
  20. Offline

    GhostMole

    :D thanks plague thats awsome this is exactly the plugin i was looking for :D. Also i have been looking into writing code for plugins and such and i was wondering how hard you estimate it is to write a simple plugin like one that would set spawn or make your typing have colors in it. So far i have gotten most of the math portion of writing code down and i have been following the undead coders or whatever there name was and it has been really helpful but i would like to know from a real plugin developer how long making a plugin and coding for it takes.
     
  21. Offline

    Plague

    depends on your coding skill and how good you know bukkit API, so I cant really tell you without knowing you
     
  22. Offline

    GhostMole

    oh hahahaha welll i dont know shit im still learning the basics
     
  23. Offline

    Hamad

    so.. i got exact spawn, i know it makes player spawn in the right place but i am thinking, does ur plugin makes ppl spawn there when they die, like the normal one tp ppl back home and i need them to go back to spawn, u know read the rules again :D
     
  24. Offline

    Plague

    Yes this is the normal spawn, the one you have in minecraft without bukkit, so it ports you there when you log in and when you respawn after death.
     
  25. Offline

    Hamad

    ok thanks :)
     
  26. Offline

    leiger

    Ah, okay. Guess there's not much you can do about it then.

    Please add this (i.e. spawn facing a certain direction) in future if it ever becomes possible.

    Thanks! :)
     
  27. I need some help!

    Weve set an exact spawn with this plugin (CB1000, 4.1, op version) and now Ive tried to move it to our 2nd world. Ive just used /setspawn to the new location but suddenly it does no longer spawn players that join for the first time to that exact position, but scatters them around it! (no changes made to the setup at all)

    Also, Ive tested it with a new server setup that has just a permission plugin and PlgSetspawn (op version) and the new players still scatter?

    Can somebody explain me whats doing wrong? How can I set that exact spawn point again?

    thanks in advance!
     
  28. Offline

    Plague

    This plugin never set an exact spawn, always the "scattering" one.
     
  29. Thx for the reply - now im even more baffled how I did that, hehe...
     
  30. Offline

    nicholosophy

    Great plugin. Thanks.

    Now that bukkit has permissions, is this something we'll see soon?
     
  31. Offline

    Delta-One

    Doesnt work for me... Spawnpoint is still random all the time.
     

Share This Page