[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

    mmdawg1

    can you make it so it sets it to that exact point?
     
  3. Offline

    Plague

    I can, but don't want to.
     
  4. Offline

    mmdawg1

    can you make one just for me =D
     
  5. Offline

    Plague

    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.
     
  6. Offline

    mmdawg1

    ok thanks
     
  7. Offline

    kenguy20

    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!
     
  8. Offline

    Plague

    It should move protection since it uses MC spawn point. And if it truly does not it's a bukkit bug.
     
  9. Offline

    kenguy20

    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:
     
  10. Offline

    Clownz27

    should update the pluggin to support permissions?
     
  11. Offline

    Plague

    should not
     
  12. Offline

    Emiya Shirou

    And where might that be?
     
  13. Offline

    Plague

    inside the .jar
     
  14. Offline

    iPhysX

    I like this + commandsigns :)
    click on the sign to go to spawn :O

    open the .jar with winrar or 7zip!
    :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 7, 2016
  15. Offline

    ThreeDGuy I steal plugins as my own

    @Plague
    Do you mind if I fork this plugin to use it with another plugin ?
    (Make a plugin with this feature ?)
     
  16. Offline

    Plague

    Sure, go ahead.
     
  17. Offline

    EdgarsErnsteins

    This is the thing i was looking for, thank you works perfect.
     
  18. Offline

    nubpro

    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?
     
  19. Offline

    iPhysX

    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
     
  20. Offline

    nubpro

    I am a bit lazy to type the onDisable :rolleyes:
     
  21. Offline

    wizzy86

    When i download the plugin, and turn my server off and on, the folder doesn't install.
     
  22. Offline

    Plague

    what folder?
     
  23. Offline

    wizzy86

    Like isn't there supposed to be a plugin.yaml?
    And it comes in a Plgsetspawn folder?
     
  24. Offline

    iPhysX

    Nope, its just plug 'n play :D
     
  25. Offline

    wizzy86

    How do i get that?
     
  26. Offline

    Plague

    you open the .jar itself
     
  27. Offline

    wizzy86

    Ah:D
    Thanks:)
     
  28. Offline

    Dumling

    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?
     
  29. Offline

    James4119

    When i installed this the /spawn did not work for anyone exept for the people that are ops . I thought everyone can use it .
     
  30. Offline

    Kaosthe1st

    You download the main version, not the OP-only version.
     
  31. Offline

    Dumling

    I have downloaded the main version, but it dosen't work..
     

Share This Page