[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

    Jaguar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thise works gret with mcmyadmin. But i miss something like the exact spawn, in hmod. Which make you spawn there first time and when you respawn. Otherwise thise works great hoping for a fix :)
  4. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'd like that too, but that would mean not using the original spawn system, which I'd rather not.
  5. Offline

    mmdawg1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    can you make it so it sets it to that exact point?
  6. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I can, but don't want to.
  7. Offline

    mmdawg1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    can you make one just for me =D
  8. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I don't know how to do it now I just know it can be done and that I could do it when I looked for a way.
  9. Offline

    mmdawg1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ok thanks
  10. Offline

    kenguy20

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I really like this plugin. But I was thinking, it'd be sweet if you added spawn protection like what's built into the default server right now, except that it was where you set the spawn since it doesn't move the default spawn protection.
    Thanks!
  11. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It should move protection since it uses MC spawn point. And if it truly does not it's a bukkit bug.
  12. Offline

    kenguy20

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I don't know if it's a bug or not but I've tried breaking things around my spawn and it lets me (made sure I wasn't OP'd). Didn't know the spawn protection was even supposed to move with it :confused:
  13. Offline

    Clownz27

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    should update the pluggin to support permissions?
  14. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    should not
  15. Offline

    Emiya Shirou

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    And where might that be?
  16. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    inside the .jar
  17. Offline

    iPhysX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I like this + commandsigns :)
    click on the sign to go to spawn :O
  18. Offline

    iPhysX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    open the .jar with winrar or 7zip!
    :D
  19. Offline

    ThreeDGuy I steal plugins as my own

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Plague
    Do you mind if I fork this plugin to use it with another plugin ?
    (Make a plugin with this feature ?)
  20. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sure, go ahead.
  21. Offline

    EdgarsErnsteins

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This is the thing i was looking for, thank you works perfect.
  22. Offline

    nubpro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Known bugs:
    Code:
     public void onEnable()
      {
        PluginDescriptionFile pdfFile = getDescription();
        System.out.println(pdfFile.getName() + " version " + pdfFile.getVersion() + " is enabled!");
      }
    
      public void onDisable() {
        PluginDescriptionFile pdfFile = getDescription();
        System.out.println(pdfFile.getName() + " version " + pdfFile.getVersion() + " stopping...");
      }
    Shouldn't it look like this?
    Code:
      public void onEnable()
      {
        System.out.println("PLUGIN NAME v1: Plugin enabled.");
      }
    Is there anyway we can make spawn instead using .getSpawnLocation?
  23. Offline

    iPhysX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The code in the top is dynamic..
    so you dont have to go through your code and change the version and name etc. every time you make a change to your plugin..

    and you can do it the way you said.. (remember your onDisable) :3
  24. Offline

    nubpro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I am a bit lazy to type the onDisable :rolleyes:
  25. Offline

    wizzy86

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    When i download the plugin, and turn my server off and on, the folder doesn't install.
  26. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    what folder?
  27. Offline

    wizzy86

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Like isn't there supposed to be a plugin.yaml?
    And it comes in a Plgsetspawn folder?
  28. Offline

    iPhysX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Nope, its just plug 'n play :D
  29. Offline

    wizzy86

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    How do i get that?
  30. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    you open the .jar itself
  31. Offline

    wizzy86

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ah:D
    Thanks:)
  32. Offline

    Dumling

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi. I got a problem, i downloaded the one, where player should have the /spawn command, but no one can get to spawn.
    How to get the /spawn command work for everyone and not only OPs?

Share This Page