[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

    Eastbayguitar13

    you are a gentleman and a scholar. thank you kind sir.
     
  3. Offline

    Jdragon

    Hi works great I hated how before it was just in the general area but now its pin pointed to 1 block, Just one question, how could I make the /spawntp ops only? I run a pure survival server and I don't want others to have that command.
     
  4. Offline

    DJ_Idol

    I don't develop this plugin, but I'm pretty sure there isn't a way until he integrates the use of Permissions with it. I may be wrong though.
     
  5. Offline

    Valrix

    The only "permissions" he has integrated are allowing OP to set the spawn point. A number of developers are just waiting for integrated permissions before adding them to it.
     
  6. Offline

    amd3th

    Yeah I can make it so you have to be OP to use the command, however, is that the way everyone would want the plugin to behave like? I will be waiting until permissions are implemented because that way people can decide if they want their users to have access to certain commands. If you REALLY want it just PM me and I can make a special version, it's not that hard to change.
     
  7. Offline

    darknesschaos

    can I request a change to your commands?
    my suggestion should be
    /spawnr -s (or -set) - This will set the spawn location, only ops can do this.
    /spawnr - this teleports you to spawn

    option for spawnr cooldown? or how about some sort of permissions or groupmanager support so that not everyone can use the command, I dont want people using this as a scape goat from danger.

    I personally have an issue when a plugin takes more than 1 command, but don't take that into account.
    --- merged: Feb 28, 2011 8:26 AM ---
    what you could do is make some sort of properties file that players can set a setting to true or false for the use of either command.
     
  8. Offline

    housemaster

    Is there any way to have this use minecrafts own player spawn saves? Currently when I add the plugin, everyone who connects has to restart at the spawn point, and they're really really far away from spawn , so it kinda ruins it.
     
  9. Offline

    amd3th

    what your saying is every time they connect, regardless if they've joined the server before they always spawn at the spawn point?
     
  10. Offline

    Tornum

    Same issue here. Everytime anyone enters the server, he gets to the spawnpoint, even the OPs. Running Build 465.
     
  11. Offline

    amd3th

    Sorry, I will be able to look into the issue as soon as I can connect to my server again.
    --- merged: Mar 3, 2011 12:00 AM ---
    I'm not seeing where you guys are having issues, I ran build 465 like you are and it's functioning just like it's supposed to. When players disconnect, and reconnect they spawn exactly where they were when they left. not at the spawn. Let me try something though, I'm going to change the link in the main post to a different version and I'd like you to tell me if it solves the problem.
     
  12. Offline

    housemaster

    The thing is old players, more than 100 who return on my server, need to restart at the new spawn point even though last time they disconnected they were 1000+ blocks away from spawn. Also, if I in the future need to remove this plugin, everyone has to restart again.

    It would be cooler if the plugin used minecrafts own player files in the world/player to get players saved pos.
     
  13. Offline

    amd3th

    @housemaster & @OFKNV & @Tornum I'll try and take a look at it today and see if I can get it working for everyone but I have a busy day and there's no guarantees.
     
  14. Offline

    themanman0

    When anyone tries to use /spawntp they get a message saying they are not an op. So is there a way to fix that?
     
  15. Offline

    Tornum

    The new .jar seems to work. Thanks
     
  16. Offline

    Senzuri

    Very nice plugin, works with CB493.

    I have a question though:
    Can I disable players from being able to use: /spawntp?

    edit: It looks like you need to be an op to use it

    Thanks and great plugin.
     
  17. Offline

    pizclassy

    what is the permissions format for allowing users to spawntp? i tried spawnr.spawntp and its not working
     
  18. Offline

    Chugger

    Hi, I just put this in last night, 'bout 10 hours ago, and it causes us to log in at the spawn point instead of where we logged out. In reading the comments above, it seems this is not intended... and well, it's annoying, LOL. Was wondering if this is unintended and if anyone has ideas of what might be causing this seeing as it doesn't always happen to everyone? Thanks so much :)
     
  19. Offline

    piousminion

    The changelog say ANY use can use /spawntp, but when a non-OP tries they get "You are not OP".
    I'd really like regular users to be able to warp to the spawn point. Suggestions?
     
  20. Offline

    InShaneee

  21. Offline

    enkryptor

  22. Offline

    amd3th

    Sorry everyone for not responding lately, things have been hectic, also I seemed to have stopped getting email notifications when people reply to my thread.

    @pizclassy Permissions is not implemented and I probably will not implement the plugin version of permissions and will rely on the Permissions that will be built into Bukkit.

    @Chugger This is unintended and I'm still looking into why it might be happening for some people, because it works fine for me as well as some other friends who use the plugin.

    @piousminion @InShaneee I may have gotten versions mixed up, I created a version for certain people that required people to be OP to use both commands, I will put both version up on the main post as soon as I can.

    @InShaneee I will definately look into that.

    @enkryptor I will also look into this.
     
  23. Offline

    pizclassy

    but can i let my users tp to the spawn somehow?
     
  24. Offline

    amd3th

    See below
     
  25. Offline

    grandwazir

    I can confirm that the version available for download currently teleports players to spawn when they login (regardless of where they logged out) and on death. Because of this I have had to stop using it and it causes a lot of confusion.

    I can see it being a useful feature but it would be great if it you could toggle that on and off. Overall it would be really good if we could be able to have more configuration options. Permissions might be overkill for such a simple plugin but being able to turn /spawntp off or on would be good.
     
  26. Offline

    amd3th

    I can safely assume that the issue is coming from when I tried to get the plugin ready for multiple worlds. I will lose the progress I have on this but it will most likely fix the issue people are having
     
  27. Offline

    RustyDagger

    Yer the Moving on rejoin Regardless of where i was when i left the server is annoying but not so bad if the server has an info sign or 2 at spawn because then every 1 will see it. But yes being able to toggle it would be nice.

    On another note you may want to change your topic title So it says it works with the RB's Before Evil Seph gets on your backside :p
     
  28. Offline

    Starletts

    WOW THANKS! Since the regular /spawn and /setspawn doesn't work for me this is a HUGE help! 1 less problem to deal with on my server... BTW, do you know why the original /spawn and /setspawn doesn't work? It could help alot to be able to fix all the commands that don't work. Thanks.
     
  29. Offline

    amd3th

    Brand new update to the plugin. V1.4! download it for multiple bug fixes and updates to sloppy code.
     
  30. Offline

    HanzoSanada

    Since 1.4, I can't set spawns.

    /spawnr set comes feed back "/spawnr"
    /spawnr tp comes feedback "/spawnr" also....
    [MERGETIME="1300064474"][/MERGETIME]
    FIXED
     
  31. Offline

    piousminion

    I also have the that issue. "/spawnr set" "/spawnr tp" just reply "/spawnr" and do nothing.
    I noticed the top of the OP says "531+" but the latest recommended build is 516 if I'm not mistaken. Could this be why?

    EDIT: I take that back. Same problem with the latest dev snapshot and on both I get the following when logging in.

    Code:
    14:16:52 [SEVERE] Could not pass event PLAYER_JOIN to Spawnr
    java.lang.NumberFormatException: empty String
        at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:992)
        at java.lang.Double.parseDouble(Double.java:510)
        at com.cydoniarp.amd3th.spawnr.Property.getDouble(Property.java:117)
        at com.cydoniarp.amd3th.spawnr.SpawnPlayerListener.onPlayerJoin(SpawnPlayerListener.java:64)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:162)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:98)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:68)
        at net.minecraft.server.Packet1Login.a(SourceFile:46)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:34)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
     

Share This Page