[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

    Jear

    worked this time. many thanks :)
     
  3. Offline

    amd3th

    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

    CyborgOne

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

    Code:
    [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
    Loader.java:79)
    [SERVER]        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePlugin
    Manager.java:117)
    [SERVER]        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePlugi
    nManager.java:82)
    [SERVER]        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.ja
    va:53)
    [SERVER]        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:19
    3)
    [SERVER]        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(Sim
    pleCommandMap.java:184)
    [SERVER]        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap
    .java:77)
    [SERVER]        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServe
    r.java:171)
    [SERVER]        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:3
    44)
    [SERVER]        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:3
    26)
    [SERVER]        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java
    :232)
    [SERVER]        at net.minecraft.server.ThreadServerApplication.run(SourceFile:5
    12)
    [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
    Loader.java:75)
    [SERVER]        ... 11 more
    
     
  5. Offline

    amd3th

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

    CyborgOne

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

     
  7. Offline

    amd3th

    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

    CyborgOne

    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

    amd3th

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

    Avous

    WORKS GREAT WITH 1.3!

    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

    CyborgOne

    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

    KillerBunnys122

    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

    amd3th

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

    GnomeSag

    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

    amd3th

    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

    CyborgOne

    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

    TomSleeUK

    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

    CyborgOne

    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

    TomSleeUK

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

    GnomeSag

    thanks that worked [​IMG]
     
  21. Offline

    Avous

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

    Asirel_Luik
    Avous
    Comics3
    X_Dan_X

    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

    amd3th

    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

    JimmyD

    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

    amd3th

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

    minecraftworlds

    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

    amd3th

    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

    minecraftworlds

    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

    CyborgOne

    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

    DJ_Idol

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

    amd3th

    Go ahead and try now. Here
     
  31. Offline

    DJ_Idol

    Thanks, it worked :)
     

Share This Page