[TP] GroupSpawn 1.4 - Different Spawns for Groups[Permissions] [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Zero9195, Jun 7, 2011.

     
  1. Offline

    Zero9195

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    GroupSpawn
    Part of the ZeroBox
    Set different Spawns
    for different Groups.
    Download Latest Version:
    For Permissions 3.x:
    here
    For Permissions 2.7.x:
    here
    Old Versions: -
    Requires Permissions 3.x or 2.7.x

    Code:
    Set Spawn and teleport to any Spawn:
         groupspawn.admin
    For teleporting to own Spawn:
        groupspawn.spawn
    For summoning:
        groupspawn.summon
    


    Code:
    Sets different Spawns for every Permission Group
    <...> = Needed Options
    [...] = Optional Options
    Syntax:
    Set the Spawn for a Group
    /gs set <Group>
    Sets your current Location as Spawn for <Group>.
    Teleport to your Spawn
    /gs spawn or /gspawn
    Teleport to the Spawn of a Group
    /gs spawn <Group> or /gspawn <Group>
    Summon everyone of a group to the spawn
    /gs summon <Group>
    


    No new Features are Planed

    ChangeLog
    • v1.4
      • Added a new Command
    • v1.3
      • Bugfix
      • New command added: summon
    • v1.2
      • And again, bugfix ;)
    • v1.1
      • Critical bugfix, don't use 1.0.
    • v1.0
      • Initial Release for Public
    The ZeroBox Project
    I started the Project myself. I will create Plugins and will unite them all in this Package. As soon as I have more Plugins, you can download them all at once with this link (There is no link, I said later ;) ) Maybe you want to contribute to this Package, then just PM me.
  2.  
  3. Offline

    Zero9195

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @thernztrom
    I didn't want to steal the dommand from other plugins, so I used this. Sorrry :(
  4. Offline

    Nick Fiering

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    nice plugin . i used herospawn before but it was only a 1 time spawn. i really like this. can you make it so that people allways respawn when they login?
  5. Offline

    thernztrom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Aww, and no source then either I suspect? :( It's just really hard to change a so basic command on a pretty big server.. :/
  6. Offline

    thernztrom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I dont think so. If i'm right this is only if you want to set custom spawn points based on peoples rank. So as i would like it, defaults at one spawnpoint, and all others to spawn at another point.. ;)
  7. Offline

    Bobbert

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I've set spawns for all my groups.
  8. Offline

    Zero9195

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @thernztrom
    I just remembered a new function of bukkit. You can set your own commands, for example if you write "/spawn" it should do "/gs spawn", but I don't know how to do it. Sorry
    @Bobbert
    Are they all correctly written? Oh, and take a look into the spawns file. If there is something written like "CraftWorld{world}" delete the CraftWorld ad brackets. Else I don't know what to do, maybe delete the file and set the spawns again.
  9. Offline

    thernztrom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I've tested it and tried add the following 2 without any success:
    aliases:
    spawn1: [gs spawn]
    spawn: [gs_spawn]

    Anyway I did thois wrong? Otherwize could'nt you make in the config where you can choose what command you want the spawn-cmd to be. Then you could change it whatever you want.
    Or just if it's not any hard, change so that the default spawn-cmd is /spawn, and upload as an alterenative version for those who would prefer that.. ? :) :p
  10. Offline

    Zero9195

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    As you wished, I added a new Command. Now you can use /gspawn instead of /gs spawn. Thx for suggesting that :D
    @thernztrom
  11. Offline

    thernztrom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sweet, I'll try see if it works better with the aliases now..
    P.S. #1000 is latest RB now :)
  12. Offline

    Trollkemada

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  13. Offline

    kahlilnc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Seems as if spawns arent so accurate. I spawned on top of what I was suppose to spawn on. I have exactspawn too... I thought that would help but... :D
  14. Offline

    Zero9195

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Trollkemada
    Did you set the spawns in there right? only thing which could happened there is that you wrote something wrong, or the config is wrong. Could you send me a copy of your spawns.yml? Thx
    @kahlilnc
    I don't knwo about exactspawn... I could adjust something and I would be glad if you could test it out if it works then^^ If you want to just post it here.
    kahlilnc likes this.
  15. Offline

    kahlilnc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I would.
  16. Offline

    Trollkemada

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Here is my spawn.yml: http://pastebin.com/uN4yjeJd

    I didn't set anything in the nether, cause i don't want players to respawn in the nether if they die there :S

    Or, is there anyway to set a respawn in another world?
  17. Offline

    kahlilnc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Error that seems to have an effect with performance on my server. Using the latest version of permissions too. 3.1.6
    Code:
    spawn
    >18:36:49 [INFO] [HeroicDeath] oopsurdead50 was killed by an angry Zombie
    >18:36:49 [SEVERE] Could not pass event PLAYER_RESPAWN to GroupSpawn
    java.lang.NumberFormatException: null
    at java.lang.Integer.parseInt(Integer.java:443)
    at java.lang.Integer.parseInt(Integer.java:514)
    at de.Zero9195.GroupSpawn.GroupSpawn.loadLocation(GroupSpawn.java:356)
    at de.Zero9195.GroupSpawn.GSPlayerListener.onPlayerRespawn(GSPlayerListener.java:37)
    at org.bukkit.plugin.java.JavaPluginLoader$3.execute(JavaPluginLoader.java:258)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at net.minecraft.server.ServerConfigurationManager.moveToWorld(ServerConfigurationManager.java:239)
    at net.minecraft.server.ServerConfigurationManager.moveToWorld(ServerConfigurationManager.java:204)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:870)
    at net.minecraft.server.Packet9Respawn.a(SourceFile:18)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
  18. Offline

    Zero9195

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hmm. it seems as if I missed a check on if the world even has groupspawns... will take a look in that ;)
    @kahlilnc Thanks, I will send you a downlaod link when I'm finished^^
    kahlilnc likes this.
  19. Offline

    Trollkemada

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks Zero9195, plz let me also know when you are finished :D
  20. Offline

    robbydude

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Do you think you could add PEX support? This is EXACTLY what I need!
  21. Offline

    Bseagull

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Does this require permissions? Becaause I just want two teams to spawn a different spots.
  22. Offline

    Haribo98

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey, I love the idea of the plugin, but, what are the commands? I just installed it, and i'm now trying to set the spawn for my Group in my town wars server. I thought it might be something like /gs setspawn but I had no luck. Please help me, thanks in advance :D
  23. Offline

    Zero9195

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Bseagull
    Yes it does require Permissions.
    @Haribo98
    The commands are listed in the "Features" spoiler in the main post ;)
  24. Offline

    R3411y

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey, whenever i try to use /gs set, it tells me that a internal error occured and gives me this code
    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'gs' in plugin GroupSpawn v1.4
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getGroups(Ljava/lang/String;)Ljava/util/Collection;
    at de.Zero9195.GroupSpawn.GroupSpawn.groupExist(GroupSpawn.java:338)
    at de.Zero9195.GroupSpawn.GroupSpawn.performSetSpawnForGroup(GroupSpawn.java:184)
    at de.Zero9195.GroupSpawn.GroupSpawn.onCommand(GroupSpawn.java:107)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more


    I am using PermissionsBukkit: http://forums.bukkit.org/threads/ad...-1-official-default-groups-plugin-1000.26785/
    And Superperms bridge to format it to permissions 3.x : also on that page ^
  25. Offline

    Zero9195

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I think it only works with the original permissions. And I don't have time recently to add other formats, sorry!
  26. Offline

    Drumpie

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is it possible to make it like, /setspawn 1, /setspawn 2. Multiple Spawns? If you could, you're the best!
  27. Offline

    rediem

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    No bukkit permissions support? :( I'm sad now.
  28. Offline

    Arton

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    dos this work with PermissionsEx ?
  29. Offline

    Codex Arcanum

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    FIrst off, this plugin seems to be the solution to alot of my problems so thank you for making it exist :).
    Second, I cannot seem to make it work. Any easy explanation for this error?

    11:06:43 [SEVERE] Could not pass event PLAYER_RESPAWN to GroupSpawn
    java.lang.NumberFormatException: null
    at java.lang.Integer.parseInt(Integer.java:417)
    at java.lang.Integer.parseInt(Integer.java:499)
    at de.Zero9195.GroupSpawn.GroupSpawn.loadLocation(GroupSpawn.java:356)
    at de.Zero9195.GroupSpawn.GSPlayerListener.onPlayerRespawn(GSPlayerListener.java:37)
    at org.bukkit.plugin.java.JavaPluginLoader$3.execute(JavaPluginLoader.java:258)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at net.minecraft.server.ServerConfigurationManager.moveToWorld(ServerConfigurationManager.java:239)
    at net.minecraft.server.ServerConfigurationManager.moveToWorld(ServerConfigurationManager.java:204)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:895)
    at net.minecraft.server.Packet9Respawn.a(SourceFile:18)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)


    List of my plugins, not sure if this is applicable:

    10:34:11 [INFO] Plugin List: "AntiCreeper" "Appleseed" "AutoPlant" "backstab" "BackToBody" "BigBrother" "Biome" "CAExample" "ChairCraft" "Command iConomy" "CommandHelper" "CommandSigns" "CreativeGates" "DoorShield" "DreamLand" "FakeMessage" "Fire Tools" "Giant Trees" "GroupSpawn" "Help" "HeroicDeath" "HeroSneak" "iChat" "iConomy" "Inception" "KitPlugin" "Lockette" "Massband" "MCDocs" "MoveCraft" "Multiverse-Core" "Multiverse-Portals" "mxAntiPVPCheat" "MyHome" "MyWarp" "NarrowtuxLib" "Permissions" "PhatLoots" "PlgColdLightning" "PlgLogCmd" "PlugMan" "PhoenixTerrainMod" "RawcriticsOreObfuscationPluginSpout" "RealShop" "RedstoneLighting" "Runecraft" "Shortcuts" "SimpleGive" "SimpleTime" "SPITEMS" "Spout" "SpoutEssentials" "SpoutTrade" "StyxSpace" "SuperJump" "Tables" "TelePlusPlus" "WeatherRestrictions" "WirelessRedstone" "WorldEdit" "WorldGuard" "Citizens" "mcMMO" "PlayerEditor" "Heroes" "MagicSpells"

    This post has been edited 1 time. It was last edited by Codex Arcanum Sep 3, 2011.
  30. Offline

    Slyvr

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Does it work with PEX?
  31. Offline

    MrCamping

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Both download links seems to be broken.
    I get a 404.
  32. Offline

    Arton

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    could you make this working with PermissionsEx ?

Share This Page