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

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

  1. Offline


    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!

    • 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

    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
    • /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


    • 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


    worked this time. many thanks :)
  3. Offline


    Good, because my website was having issues so I wouldn't have been able to put up a mirror at this time anyway :p
  4. Offline


    I'll get n Error if I place the jar in my pluginfolder and reload the server. Any Idea?

    [SERVER] SCHWERWIEGEND: Could not load plugins/Spawnr.jar in plugins: null
    [SERVER] org.bukkit.plugin.InvalidPluginException
    [SERVER]        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPlugin
    [SERVER]        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePlugin
    [SERVER]        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePlugi
    [SERVER]        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.ja
    [SERVER]        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:19
    [SERVER]        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(Sim
    [SERVER]        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap
    [SERVER]        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServe
    [SERVER]        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:3
    [SERVER]        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:3
    [SERVER]        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java
    [SERVER]        at net.minecraft.server.ThreadServerApplication.run(SourceFile:5
    [SERVER] Caused by: java.lang.NoSuchMethodException: com.cydoniarp.amd3th.spawnr
    .Spawnr.<init>(org.bukkit.plugin.PluginLoader, org.bukkit.Server, org.bukkit.plu
    gin.PluginDescriptionFile, java.io.File, java.io.File, java.lang.ClassLoader)
    [SERVER]        at java.lang.Class.getConstructor0(Class.java:2706)
    [SERVER]        at java.lang.Class.getConstructor(Class.java:1657)
    [SERVER]        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPlugin
    [SERVER]        ... 11 more
  5. Offline


    I'm not sure why that's happening for you, what version of CraftBukkit are you running?
  6. Offline


    My server is running Craftbukkit version git-Bukkit-0.0.0-409-gcb2bced (MC: 1.2_01)

  7. Offline


    Hmm, currently I am testing against Craftbukkit version git-Bukkit-0.0.0-443-g8f199f7-blah blah blah it seems to work for me when I do /reload, I'll look into it but for now I guess you'll just have to restart he server to get it to work.
  8. Offline


    do you have a link to your cb-jar for me? :) then I'll try it with this version, in hope, that the other plugs will still working with it
  9. Offline


    sure try this out, be forwarned this is for minecraft v1.3.
  10. Offline



    the OLD one that is! set it killed myself and respawned just fine! no errors whatsoever in the log either!

    1.2 works like a champion the spawnr 1.2 on minecraft 1.3 that is lol
  11. Offline


    ahhh :) perfect thx a lot!

    i'll thought a cb for 1.3 isn't released :-P have searched some yesterday, but it was too late I think :-D

    I'll try today and will report later
  12. Offline


    I have craftbukkit version 432 and when I set the spawn then used /spawn I spawn ontop of my spawn house facing the wrong way too.

    Please fix :)
  13. Offline


    Are you getting any errors in the console, and are you using /spawnr and not /spawn. The command is /spawnr.
  14. Offline


    When I type in /spawnr in the chat log, a red a message appears saying "incorrect usage of command /spawnr. Example /spawnr - Sets spawn point." What am I doing wrong?
  15. Offline


    Are you set as OP on your server? As of now the server doesn't use permissions and relies on the servers op.txt to see if you have permission to use the command.
  16. Offline


    I have the same problem with this Plugin. ( "incorrect usage of command /spawnr. Example /spawnr - Sets spawn point.")

    My User is in OP. Perhaps Needs to be in users.txt too?

    Running My Server with CB #436 from today
  17. Offline


    I'm not very god with these things. I can upload the jar file easily but, creating the permissions file...i cant. Is there something i missed? can i download a permission file and edit the name or do i have to create one? if i ave to create one then what do i have to put in the file?
  18. Offline


    you need to create (if not exists) a txt-file "op.txt" and there you type in all names of users which have to become the rights.
    one user per line
    --- merged: Feb 24, 2011 2:45 PM ---
    i've got another question :)

    is it possible to set a individual spawn for each user? perhaps can i do that by editing the spawn-config-files?
    (i ask because the /spawnr command would not work to me atm)

    we won't spawn at global spawn after login on server. after someone die its ok, but not after login.
  19. Offline


    i tried but my server says "Only .Jars, config.yml for Permissions, and .properties files excluding server.properties"
    which do i make?
  20. Offline


    thanks that worked [​IMG]
  21. Offline


    under the main craftbukkit folder theres a text file called OP.txt or at least there should be my op.txt looks like this.


    and that gives my friends and myself administrative control of my server and allows you to use /spawnr

    and this plugin does not require a .properties...
  22. Offline


    You have to create the file "ops.txt(my server is using this spelling)" named exactly that in the root folder of your server and in it you put a name per line like Avous did. that's what I have running to tell the server who's OP and it works just fine.
    No at the moment you are not able to set individual spawns per user. As soon as bukkit releases the permissions that are going to be built in I will continue work on this plugin and that will be one of the features.
  23. Offline


    Can you put in a command so that you can teleport back to the spawn set by spawnr? I have multiple plugins that when I teleport, set me back to different spawns.
  24. Offline


    Yeah sure I can probably have it up today or so.
  25. Offline


    When I try to use it I get this message:
    "An internal error occured while attempting this command"
    I am in the ops.txt does this work with the updated bukkit for 1.3?
  26. Offline


    There's a specific version of the v1.3 bukkit that bugged the teleport function. I'm not sure which one it was but the very latest build of crafbukkit is back to working. make sure you have a recent version.
  27. Offline


    Okay thanks
    --- merged: Feb 24, 2011 11:31 PM ---
    Thank you so much. I updated my bukkit and it works great. A simple plugin that goes a long way. Thank you for making this!
  28. Offline


    sorry, i've missed to say... the op.txt has to be placed in the "root-directory" where your craftbukkit.jar is in.
  29. Offline


    The link isn't working for me, getting a dropbox 404 error...
  30. Offline


    Go ahead and try now. Here
  31. Offline


    Thanks, it worked :)

Share This Page