[INACTIVE][FIX, TP]Spawnr v1.63 - No longer being developed. Sorry.

Discussion in 'Inactive/Unsupported Plugins' started by amd3th, Feb 20, 2011.

  1. Offline

    amd3th

    Spawnr - Modifying your spawn point.
    Version: v1.63
    Tested on: CraftBukkit build 617, could still work with 612.

    So here's the deal. I first started Spawnr as an effort to learn Java, and to be expected it was laden with errors, it is still filled with issues, that in my current state of Java knowledge I'm not positive how to overcome. The amount of time I have put into this plugin is thus that I am unable to work on the other plugins that would A. probably have more success B. Might actually work the way I intend them to. My heart just isn't in this plugin anymore. If anyone feels like they would like to take on this project, the latest source code is in the git and you're welcome to take a stab at it, just PM me first if you would be so kind. You'll probably have more luck with it than I. If no one takes it over and people still need a working Spawn plugin, there's always SpawnX, which came about a bit after mine and does the same thing. Thanks to everyone who's stuck with me thus far.

    Show Spoiler

    This is a plugin similar to the old ExactSpawn from hmod. An OP sets the spawn point and all future spawns and respawns will go to the exact coordinates set instead of the traditional spawn radius.
    Permissions Now Optional!

    Features:
    • Forces new people to the server to spawn at your designated spawn point.
    • Forces all respawns to spawn at the designated spawn point.
    • Teleport back to spawnr point set.
    • Permissions
    • Per player spawns, also known as Homes.
    Download JAR


    Source Code

    Permissions:
    Code:
    spawnr.set - For users to be able to set the global spawn point
    spawnr.tp - For users to be able to teleport to the global spawn point
    
    Commands:
    • /spawn set - Sets the spawn point to the point you are standing on.
    • /spawn tp - Teleports the player back to the 'Spawnr' point set.
    Version 1.63
    • Hopefully fixed an issue where players were spawning under the world.
    • Changed the /spawnr commands to just /spawn to simplify things. If it causes complications with other plugins PM me and we can work something out.
    • No longer using the users.spawn file, instead relying on per user pl.spawn files to check if a player has been on the server before.
    Version 1.62 UNRELEASED
    Version 1.61
    • Removed the per player spawns since they are useless with the new minecraft update. They weren't working as intended anyway.
    Version 1.6

    • Permissions now optional, when permissions is not present Spawnr will default to using OP.txt
    • Added per player spawn points, also known as Homes any player with the right permission may use /spawnr sethome and /spawnr home to take advantage of Homes.
    • Added code that should force returning players onPlayerRespawn and onPlayerJoin to spawn at the coords set when they disconnect.
    • Cleaned up some code.
    Version 1.5

    • Included support for TheYeti's Permissions
    Version 1.4


    • Changed the file system for the plugin.
    • Changed the commands to /spawnr set, and /spawnr tp
    • The plugin will convert all old spawn files to the new format automatically.
    • Added a configuration file to allow or dissallow the use of /spawnr tp for regular users.
    • Cleaned up code.
    Version 1.3


    • Added the /spawntp command allowing ANY user to teleport back to the 'Spawnr' point set by an OP.
    Version 1.2


    • Fixed an issue where the users.spawn file was trying to be created before the Spawnr directory was created.
    • Also added partial(Very Partial) multi-world spawn points still testing.
    Version 1.1


    • Fixed an issue where players would sometimes spawn underground if Spawnr point is not previously set. OPs will now receive a message that a point needs to be set after this happens.
    Version 1.0


    • Release of Spawnr


    TODO:

    • Integration of Permissions
    • Add teleport to spawn command.
    • Support for multiple worlds. "Could" work with multi-verse, here's to hoping.
    • Multiple spawn points with the ability to spawn at the nearest one. Very Soon!
     
    unenergizer likes this.
  2. Offline

    piousminion

    Latest recommended build #602

    Code:
    2011-03-31 07:04:10 [SEVERE] Could not load plugins/Spawnr.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:102)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:158)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:106)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:62)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:98)
        ... 8 more
    Caused by: java.lang.VerifyError: class com.cydoniarp.amd3th.spawnr.SpawnPlayerListener overrides final method onPlayerJoin.(Lorg/bukkit/event/player/PlayerEvent;)V
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at com.cydoniarp.amd3th.spawnr.Spawnr.<init>(Spawnr.java:20)
        ... 13 more
    
    Just FYI. Stuck on 556 until fixed.
     
  3. Offline

    amd3th

    @piousminion Yes, I am sorry. Hopefully I can have it released by tomorrow, I've been waiting on some help with a part of the code from a friend that isn't responding. As soon as he gets back to me and I can get this part done I can release it.
     
  4. Offline

    piousminion

    No rush, just letting you know. I truly appreciate your work. :)
     
  5. Offline

    amd3th

    Thank you good sir. Well the latest update for Spawnr is going to be released in a few minutes. Check OP for details.
     
  6. Offline

    Avous

    @amd3th could you add a spawn random? as in people spawn in a random area if you so choose that way on SMP no one is bunched together?
     
  7. Offline

    amd3th

    The update is going to be a little bit longer, 30 minutes-1 hour at the most. I ran into a bug with commands without Permissions.

    Okay, new version is coming out now, a little behind schedule, There's a small bug for the first person that spawns on the server after Spawnr is first installed(should only be the case for fresh installs of Spawnr). It will cause them to spawn under the world, all they need to do is respawn when they die and everything should work from then on. I'm gonna be fixing this tomorrow but for tonight, I have some personal things that need to be taken care of. So here comes v1.6

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

    captainbinary

    Nicely done!! Been looking for something like this. Will this affect the spawn location which is set for each user by using beds in the new 1.4 update
     
  9. Offline

    amd3th

    No it shouldn't affect those, however with the latest Minecraft update my plugin almost seems pointless with the addition of the bed spawns. Unless people just want this plugin to define the initial spawn I don't see too much use for it anyway since players can just define their own spawn points with beds. We'll see if anyone still wants me to develop this for any reason, but it's been killed by Mojang lol.
     
  10. Offline

    EniGmA1987

    Maybe this has been asked before somewhere in the last few pages, but can you change the command to go back to spawn to the standard /spawn? typing /spawnr tp is kinda weird to me, and everyone else on my server thinks so too. This is really the only good (and working) spawn control type plugin left for Bukkit, so I don't really think it will be conflicting with anything.
     
  11. Offline

    unenergizer

    THANK YOU!!!!!!!!!!!!!!!!!!

    I have been searching for a SIMPLE addon like this that doesn't come with tons of extra features that we won't use. Essentials pack is great, but there was too much stuff and we got a lot of [SEVERE] errors. This is perfect, simple, and everything we needed. I appreciate your work on this project!
     
  12. Offline

    piousminion

    From my understanding, the bed set spawns are temporary in that if the bed is ever destroyed, then their spawn location resets. It's still good to have a central hub spawn point for servers even if only to serve as a reference point for directions. Your plugin will remain useful to me and my players. :)
     
  13. Offline

    Gea

    Unsure if I am the only one having this problem, but I tried both an update then a clean install of the latest update under 612. As you described, when someone logged on they were ported to the center of the Earth and then died. When they respawned this was fixed. However, every time someone logged on this problem would persist. Sometimes an area around where the Spawnr point was set would be a giant black void.

    I was not using permissions, and like I said I tried both an update and a clean installation. The problem persists. Never had any issue previously. No exceptions were thrown or anything either.

    Edit: I updated to 617 and it works minus giving a invalid command message when I TP to the spawn. (the tp works)
    Double Edit: Strike that, it still randomly kills people.
     
  14. Offline

    amd3th

    Working on fixing the problem above. I had it fixed in a previous version but they changed some things around in bukkit that forces me to rethink this.

    The new version I'm releasing now should fix the issue that @Gea was having. I also did a few other changes.

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

    UndeadLex

    1.63 is 404'd.
     
  16. Offline

    amd3th

    try now :D

    So my latest update did not work so well. I attempted to have the plugin force players to spawn at the place they were at when they disconnected which worked fine sometimes. BUT if they were kicked, or if the server crashed, or the server was shutdown without them disconnecting first, it didn't save the point. I may just go back to the other slightly more reliable, but still unreliable method of having the server save their position when they log out. I will probably have something of an update v1.64 out tomorrow. And hopefully in a day or two I can start work on the graveyard spawning system that was requested previously in the thread. That is if people are still interested in this plugin. With the update that included Bed Spawn points, and the other spawn plugin SpawnX that is apparently better than this one, I just don't know if it's still viable for me to continue this plugin. Let me know in the comments below, I'd like to know what any of you guys think.
     
  17. Offline

    SchwartzZA

    Working great on 617 :D Thanks
     
  18. Offline

    Senzuri

    I'm using #612.

    Whenever anyone logs out then logs back in, they are sent back to spawn. Is that intended or is it a bug because I'm using your #617 plugin on my #612 server?
     
  19. Offline

    Gea

    I am looking forward to testing your new release. Thank you.
     
  20. Offline

    DarkSlayer00001

    Great Plugin! One request... Is it possible you could make it compatible with CraftBukkitUpToDate?
     
  21. Offline

    o0AzzA0o

    Reporting incompatibly with myhome on player relog they always spawn into void even with spawn set i think this is because myhome makes player tp to there home on death this plugin doesnt like it.

    I had to use alternative spawn set which was shame because this one supports permissions nice work.
     
  22. Offline

    MacVaultDweller

    As an op listed in the ops.text it will not let me set world spawn


    it says 'Cannot find user (set)
     
  23. Offline

    amd3th

    So here's the deal. I first started Spawnr as an effort to learn Java, and to be expected it was laden with errors, it is still filled with issues, that in my current state of Java knowledge I'm not positive how to overcome. The amount of time I have put into this plugin is thus that I am unable to work on the other plugins that would A. probably have more success B. Might actually work the way I intend them to. My heart just isn't in this plugin anymore. If anyone feels like they would like to take on this project, the latest source code is in the git and you're welcome to take a stab at it, just PM me first if you would be so kind. You'll probably have more luck with it than I. If no one takes it over and people still need a working Spawn plugin, there's always SpawnX, which came about a bit after mine and does the same thing. Thanks to everyone who's stuck with me thus far.
     
  24. Offline

    MeinerHosen

    I am able to set and teleport to spawn as an op, but everyone else in the server keeps popping up at random places whenever they die or relog.

    Here's some terminal info.
    Code:
    5 [SEVERE] Could not pass event PLAYER_RESPAWN to Spawnr
    java.lang.NullPointerException
    at com.cydoniarp.amd3th.spawnr.SpawnPlayerListener.onPlayerRespawn(SpawnPlayerListener.java:59)
    at org.bukkit.plugin.java.JavaPluginLoader$3.execute(JavaPluginLoader.java:181)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at net.minecraft.server.ServerConfigurationManager.d(ServerConfigurationManager.java:206)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:727)
    at net.minecraft.server.Packet9Respawn.a(SourceFile:10)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  25. Offline

    MacVaultDweller

    The death bug has sprung up... logging on kills me no ground materializes. I then have to respawn and all inventory is lost
     
  26. Offline

    xtream1101

    On everyones first login since the update they end up dieing and losing all their stuff.

    Also every time a player logs in they log in at a random location

    I use this plugin to have an exact spawn for new players on my server.
    Keep up the good work
     
  27. Offline

    Valrix

    @xtream1101 @MacVaultDweller

    You DID notice that he said he's done with it, right? You may want to actually pay attention to the first post before posting bug reports, etc.
     
  28. Offline

    xtream1101

    sorry, I missed that
     
  29. Offline

    MacVaultDweller

    Sorry It's just that I have been chasing updates for days now and didn't notice. Thanks for the heads up.
     
  30. Offline

    TuRmoiLxx

    @amd3th just a suggestion you might wanna put on the main post.

    Spawnr moves logins and gets people trapped in the ground or through the void. Just to the people who still use Spawnr.

     

Share This Page