[FIX/TP] SuperSpawn v1.9- stop spawning on roofs! [1.0.1-R1]

Discussion in 'Inactive/Unsupported Plugins' started by Josh2905, Oct 29, 2011.

  1. Offline

    Josh2905

    [​IMG]
    SuperSpawn - setting your spawn exactly, no more roof spawning/ spawning far off.


    Version: v1.9

    This project was moved to BukkitDev!

    I will still offer support in this thread!



    (not a native speaker, so sorry for mistakes. Pls correct me in the comments)
    I made this plugin, because I had a big Spawning hall on my server, and the new players kept spawning on the roof. It just happens, if they spawn for the very first time. I think it's a minecraft-sided bug, as it works fine if you teleport to your spawnlocation with /spawn (commandbook). We tried several plugins, but not a single one worked. SuperSpawn works with a .txt file, where it saves the joining players. When a player joins the server, it checks, weather he is already in the file or not. If not, the plugin teleports him to the SuperSpawn, which is also saved in a .txt file, and adds him to the list. If he is already in the file, nothing will happen and the player will spawn at the location he had before disconnecting. A nice little feature is, that my plugin saves the exact looking direction. If you set the SuperSpawn looking in a certain angle to the roof, the player wo spawns at the SuperSpawn will look there, too! It also fixes the annoying glicht where you can sneak into a door, relogg and spawn on the block above it!

    Features:
    • Setting a SuperSpawn for your Server
    • Teleporting to Spawn by command
    • Stop new players spawning on roof tops
    • Stop new players spawning far off
    • saves looking direction
    • Fixed glitch with relogging in door ans spawning on block above!
    • configurable warm up (turned off on default)
    • configurable spawning block in battle
    • Language in english/german
    • add already joined players to the list, so that they don't need to spawn at SuperSpawn at first join after plugin installation
    • Multiworld support
    • Permissions support (defaulting to OP, if no plugin is detected)
     
    Stormbow likes this.
  2. Offline

    Josh2905

    could you post the log when a new Player spawns?
     
  3. Offline

    Marco van Dijk

    Code:
    2011-12-23 23:54:22 [INFO] Online Players (0):
    2011-12-23 23:54:22 [INFO] (no-one)
    2011-12-23 23:55:30 [INFO] marco473 [/46.129.123.175:5793] logged in with entity id 208427 at ([world] 230.5, 67.62000000476837, 178.5)
    2011-12-23 23:55:30 [INFO] [VANISH] marco473 disappeared.
    2011-12-23 23:55:30 [INFO] [SuperSpawn] searching for marco473 in file...
    2011-12-23 23:55:30 [INFO] [SuperSpawn] Player found
    2011-12-23 23:55:30 [INFO] [SuperSpawn] Player teleported to previous location.
    2011-12-23 23:55:30 [INFO] Online Players (1):
    2011-12-23 23:55:30 [INFO] marco473
    2011-12-23 23:55:36 [INFO] Connection reset
    2011-12-23 23:55:36 [INFO] marco473 lost connection: disconnect.quitting
    2011-12-23 23:56:37 [INFO] Online Players (0):
    2011-12-23 23:56:37 [INFO] (no-one)
    --------------------------------------------------------------
    2011-12-23 23:57:32 [INFO] marco473 [/46.129.123.175:5836] logged in with entity id 208626 at ([world] 223.5, 63.62000000476837, 184.5)
    2011-12-23 23:57:32 [INFO] [VANISH] marco473 disappeared.
    2011-12-23 23:57:32 [INFO] [SuperSpawn] searching for marco473 in file...
    2011-12-23 23:57:32 [INFO] [SuperSpawn] Player not found
    2011-12-23 23:57:32 [INFO] [SuperSpawn] Player added
    2011-12-23 23:57:42 [INFO] Connection reset
    2011-12-23 23:57:42 [INFO] marco473 lost connection: disconnect.endOfStream
    2011-12-23 23:57:45 [INFO] Online Players (0):
    2011-12-23 23:57:45 [INFO] (no-one)
    
    In the first part i just deleted the player file from the world, in the second part i removed the player file and removed my name from the player list. It teleports me at the vanilla spawn of the world then, but dying or using /spawn will get me to the right spawn.
     
  4. Offline

    Josh2905

    this is strange. Could you post your config?
     
  5. Offline

    housemaster

    Looks to be exactly what I need, but is it possible to configure for just the spawning on roofs fix? It would fix a problem I have where players constantly get stuck above the nether, on the bedrock when they re-log.
     
  6. Offline

    Josh2905

    of course. When I find time to code i will ad this!
     
  7. Offline

    Marco van Dijk

    Sure here it is:
    Code:
    
    SuperSpawn:
      Spawn warmup in seconds: 10
      No spawn in battle: false
      Spawn message: spawned.
      Language(english/german): english
      Firstspawn message: Welcome to our Server!
      Name of main map: World
      Copy already joined players: false
    
    Here is the spawn.txt:
    194,64,254,-270,4,world
     
  8. Offline

    Josh2905

    It could be another plugin... which plugins do you use?
     
  9. Offline

    Marco van Dijk

    Here is the list of .jars in my plugins list:
    Code:
    -ChatManager
    -ColoredSigns
    -CraftBook
    -CraftBookCircuits
    -CraftBookMechanisms
    -CraftBookVehicles
    -General (Could be it?)
    -iConomy
    -Jail
    -LogBlock
    -LogBlockQuestioner
    -LWC
    -MobDisguise
    -MobileAdmin
    -ModifyWorld (But it's turned off)
    -MyHome
    -MyWarp
    -NarrowtuxLib
    -NoCheat
    -Permissions
    -PermissionsEX
    -pvparena
    -SecretDoors
    -Showcase
    -SimpleReserve
    -Spout
    -SuperSpawn
    -VanishNoPacket
    -WorldEdit
    -WorldGuard
    -xrayinformer
     
  10. Offline

    Josh2905

    It could be General, but I'm not shure.
    Try disabling the plugin, removing your name from the Players.txt and joining.
    If this works i would recommend you using commandbook, because its an equal plugin to general.
     
  11. Offline

    Marco van Dijk

    Alright, it is general, i'll take this issue to their forums now. Thanks for the help
     
  12. Offline

    Oh_hi_thur

    Make this work with permissions 3.x and that would be nice :p
     
  13. Offline

    Siickest

    I don't get it to work? Im in the spawn file and enter this position!
    -60,67,287
    but still it won't work?!
     
  14. Offline

    Crayder

    Any chance at all that we can get the reconnect block glitching features built into a separate plugin? I really need that, but I'm comfortable with EssentialsSpawn.
     
  15. im not 100% sure if this bug is coz of this plugin BUT i dont understand wtf is happening. It says something about this plugins permission though :E


    Code:
    2012-01-24 22:06:30 [SEVERE] org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
     in "<string>", line 2, column 3:
          apic:
          ^
    expected <block end>, but found BlockEntry
     in "<string>", line 44, column 3:
          - SuperSpawn.goto
          ^
     
    2012-01-24 22:06:30 [SEVERE]at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56)
    2012-01-24 22:06:30 [SEVERE]at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:143)
    2012-01-24 22:06:30 [SEVERE]at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:109)
    2012-01-24 22:06:30 [SEVERE]at de.bananaco.bpermissions.imp.YamlWorld.loadUnsafe(YamlWorld.java:117)
    2012-01-24 22:06:30 [SEVERE]at de.bananaco.bpermissions.imp.YamlWorld.load(YamlWorld.java:87)
    2012-01-24 22:06:30 [SEVERE]at de.bananaco.bpermissions.api.WorldManager.createWorld(WorldManager.java:110)
    2012-01-24 22:06:30 [SEVERE]at de.bananaco.bpermissions.imp.WorldLoader.createWorld(WorldLoader.java:45)
    2012-01-24 22:06:30 [SEVERE]at de.bananaco.bpermissions.imp.WorldLoader.<init>(WorldLoader.java:30)
    2012-01-24 22:06:30 [SEVERE]at de.bananaco.bpermissions.imp.Permissions.onEnable(Permissions.java:47)
    2012-01-24 22:06:30 [SEVERE]at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231)
    2012-01-24 22:06:30 [SEVERE]at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1059)
    2012-01-24 22:06:30 [SEVERE]at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    2012-01-24 22:06:30 [SEVERE]at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191)
    2012-01-24 22:06:30 [SEVERE]at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174)
    2012-01-24 22:06:30 [SEVERE]at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356)
    2012-01-24 22:06:30 [SEVERE]at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343)
    2012-01-24 22:06:30 [SEVERE]at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
    2012-01-24 22:06:30 [SEVERE]at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
    2012-01-24 22:06:30 [SEVERE]at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    2012-01-24 22:06:30 [SEVERE] Caused by: while parsing a block mapping
     in "<string>", line 2, column 3:
          apic:
          ^
    expected <block end>, but found BlockEntry
     in "<string>", line 44, column 3:
          - SuperSpawn.goto
          ^
     
    2012-01-24 22:06:30 [SEVERE]at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575)
    2012-01-24 22:06:30 [SEVERE]at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    2012-01-24 22:06:30 [SEVERE]at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    2012-01-24 22:06:30 [SEVERE]at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2012-01-24 22:06:30 [SEVERE]at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2012-01-24 22:06:30 [SEVERE]at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    2012-01-24 22:06:30 [SEVERE]at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2012-01-24 22:06:30 [SEVERE]at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
    2012-01-24 22:06:30 [SEVERE]at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
    2012-01-24 22:06:30 [SEVERE]at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
    2012-01-24 22:06:30 [SEVERE]at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    2012-01-24 22:06:30 [SEVERE]at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
    2012-01-24 22:06:30 [SEVERE]at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54)
    2012-01-24 22:06:30 [SEVERE] 
     
  16. Offline

    DerekZil

    Can you let us edit the message for arriving at spawn?
     
  17. Offline

    Viperdream

    I'm also having this problem where players don't spawn at the SuperSpawn I've set
    Sometimes they do, sometimes they don't.
    Even when the console didn't find their name in the player file.

    Does this plugin still get updates btw? I haven't seen a lot of activity from the author
     
  18. Offline

    revo96

    Does this plugin also works when people Die because if people die they spawn on top of the roof instead of under it
     
  19. Offline

    Monjhall

    Update any time soon? I love this plugin, but it doesn't work currently.
     
  20. Offline

    JZELITE

    Looks epic but it wont work for my sever i put the .jar into the plugins folder any help?
     
  21. Offline

    md_5

    Long time no see Josh2905. You will notice that this thread has now been placed into the Inactive Plugin subforum.
    If you wish to revive this plugin, please ensure that you update and test compatibility with the latest recommended Bukkit build before reporting your original post, asking for it to be moved back to the release forum.

    Thanks for your time.
    md_5
     

Share This Page