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

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

     
  1. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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

    This post has been edited 4 times. It was last edited by Plague Sep 24, 2011.
  2.  
  3. Offline

    iPhysX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey, if you haven't already could you possible add yaw and pitch into this so i don't spawn looking at the wall next to my spawnpoint? :)
  4. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    some other plugin is surely interfering
    That's what the plugin does already
  5. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I do save it, but the game does not restore it sice 1.7 or 1.6
    iPhysX likes this.
  6. Offline

    Zonkil9

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    1597 ? When ?
  7. Offline

    iPhysX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It probably wont take long at all for Plague to get this built against 1597 :)
  8. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I don't build anything for the last 6 months, I just change the title.
    jorisk322, Zonkil9 and iPhysX like this.
  9. Offline

    ಠ_ಠ

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I found a solution to the roof problem, well for me at least... I just put a one block hole over where the Spawn point is. Everyone spawns on the correct spot now... not on a roof. I suggest to everyone having a spawn outside somewhere, so there's no roof in the way :]
  10. Offline

    mowikel1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Suggestion: Make another player respawn. Like /spawn player666. Anyway, thanks for an awesome plugin! Cheers.
  11. Offline

    KJanar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you add a option to show if someone has used the command?

    For example: Player used /spawn and teleported to spawn.
  12. Offline

    oscar1999

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    THANK YOU! This is what I wanted, nothing more.. thank you!
  13. Offline

    goodoletom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    its keeps reverting to origianal spawn.
  14. Offline

    Russian potato

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    omg this plugin sucks there are way to many commands how am i supposed to remember them all... :D this is really just the plugin i needed im surprised that it wasnt already built in actually.
  15. Offline

    gamerboy667

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)


    For The Next Update Could You Add A Guest Spawn command/permission?
    i would like my guests to spawn in a different spot than my members so that i can give guests signs to read and leave members to do on their own when they have to spawn.

    -Gamerboy667
  16. Offline

    ibreaktoucher

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    does it overrides the essentials /setspawn and /spawn command?
  17. Offline

    iPhysX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @ibreaktoucher
    It is probably unsafe to run them both, since essentials will probably want to take charge.
  18. Offline

    muggerfugger

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i like the plugin, but im having problems. It doesnt spawn the person where i set it, it spawns them randomly around that area. I have a fountain by spawn, and its probably 5-10 blocks from where i set spawn, and yet people randomly spawn in it, or around it, and not in the place i've set.

    is there a way to fix this?
  19. Offline

    VodkaDK

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have this same problem. I'm going to switch to another spawn plugin until this is fixed.
  20. Offline

    jorrow

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is there a way to set a delay on /spawn
  21. Offline

    Gimlao

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Plague

    Could you do something for the players who connect for the first time on the server to appear exactly where the spawn is ?
  22. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    There are many spawn-related plugins that do this AFAIK. This plugin is just for moving the original spawn point.
  23. Offline

    ipaqmaster

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hell, you guys think you have problems? when non oped people use /spawn it doesn't even respond. no error. just FAIL.
  24. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    misconfigured permissions or another plugin interfering.
  25. Offline

    Prometheus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Dear Plague. Adding a few lines of code can make your plugin spawn players where they should be. You can even add a perm or config for it being on or off.
    Code:
        @EventHandler(priority = EventPriority.HIGHEST)
        public void onSpawn(PlayerJoinEvent e)
        {
            e.getPlayer().teleport(e.getPlayer().getWorld().getSpawnLocation());
        }
  26. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    you seriously think I don't know about priority feature? The thing is the is no way to ensure to have the highest priority anyway. So adding it just because some plugins clash would only result in all plugins using the highest one (MONITOR).
  27. Offline

    Austin

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Will this fix first time joining? I want to be able to make a spawn with a roof for once.
    Don't tell me that there is too many plugins that do this, I have been unable to find one. If yours does not, then what does. Commandbook sets pawn still uses the vanilla system, I need something to teleport players to a coordinate and yaw on first join. It would be a great help if this one, or you could tell me other ones, that do this.

    This post has been edited 1 time. It was last edited by Austin Feb 14, 2012.
  28. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    When I implemented the plugin (a year ago) there were at least three. I don't keep up with bukkit plugins anymore.
  29. Offline

    Prometheus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have no idea why you assumed it was the Priority line. I had to add in that line of code so I'd actually spawn underground, rather than on top of the ground.
  30. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Oh, you mentteleporting them. Yu along with other people here do not obviously get what this plugin is for.
    It'S for MOVING the spawn point. Because I don't want to use an editor for it. That's it, singe use-case plugin like many of mine.
  31. Offline

    Prometheus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I understand the basic concept, but was merely stating you could easily add this feature. Sorry, didn't mean to step on toes.
  32. Offline

    ipaqmaster

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hmm.. the permissions are correct. I will check around for collisions. Its worth a look.

Share This Page