Inactive [GEN] SpawnControl v0.8.3 - Per-Player/Group Spawns (Now on DevBukkit) [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Timberjaw, Jan 21, 2011.

  1. Offline


    SpawnControl v0.8.3

    SpawnControl is being superseded by HomeSpawnPlus, a more advanced plugin that supports all of SC's features, and many more. Your homes and spawns can be imported directly from SpawnControl into HomeSpawnPlus.
    Feel free to contact me with questions/concerns/complaints.

    Tested with CraftBukkit 1060.

    DevBukkit Page: SpawnControl
    Bug Reports: SpawnControl Issue Tracker

    • Per-player /home and /sethome
    • Per-group /groupspawn
    • Precise /spawn and /setspawn override
    • Per-world global, group, and player spawns
    • [NEW] Cooldowns for /home, /sethome, /groupspawn, and /spawn
    • Optional respawn on death
    • Optional respawn on join
    • Toggles for home, groupspawn, and globalspawn features
    • Imports player homes from
    • Imports group spawns from

    This is a more full-featured release by far. Group spawns and global spawn are now supported. I'm detecting 'new' players (for global spawn) by checking their group (new players will be in Default) and looking for an existing home entry. If no home entry is found, the player will be teleported to the global spawn and their home will be set to the global spawn location. If someone has a better method for detecting this, I'd love to hear it.

    The following permissions are available:
    • SpawnControl.sethome.basic
    • SpawnControl.sethome.proxy
    • SpawnControl.home.basic
    • SpawnControl.spawn.use
    • SpawnControl.spawn.set
    • SpawnControl.groupspawn.use
    • SpawnControl.groupspawn.set
    • SpawnControl.CooldownExempt.* (Sub-nodes: *, home, sethome, groupspawn, spawn)
    • SpawnControl.config (for /sc_config [setting] [value])
    • SpawnControl.import (for /scimportconfig and /scimportgroupconfig)
    1. Download SpawnControl.jar and place it in your bukkit plugins folder
    Optional Installation Steps (for Permissions support):
    1. Download the Permissions plugin and install it
    2. Add SpawnControl entries to your Permissions config as desired
    • /spawn - go to global spawn
    • /setspawn - set the global spawn to your current location
    • /home - go home
    • /sethome - set your home to your current location
    • /groupspawn - go to your group spawn
    • /setgroupspawn [group] - set the group spawn for the specified group to your current location
    • /sc_config [setting] [value] - alter a configuration setting
    • enable_home - Enables or disables /home and /sethome (0 = disabled; 1 = enabled) [Default: 1]
    • enable_groupspawn - Enables or disables /setgroupspawn and /groupspawn (0 = disabled; 1= enabled) [Default: 1]
    • enable_globalspawn - Enables or disables /setspawn, /spawn, and /globalspawn (0 = disabled; 1 = enabled) [Default: 1]
    • behavior_death - Specifies the behavior when a player dies (0 = disabled - user returns to vanilla spawn; 1 = home; 2 = group spawn; 3 = global spawn) [Default: 3]
    • behavior_join - Specifies the behavior when a player joins the server (0 = disabled - user spawns at last position; 1 = home; 2 = group spawn; 3 = global spawn) [Default: 0]
    • behavior_spawn - Specifies the behavior of the /spawn command (0 = global spawn; 1 = group spawn; 2 = home)
    • behavior_globalspawn - EXPERIMENTAL - Specifies the behavior when setting spawn (0 = does not override map spawn, 1 = overrides map spawn)
    • cooldown_home [seconds] - Sets a cooldown in seconds for the /home command
    • cooldown_sethome [seconds] - Sets a cooldown in seconds for the /sethome command
    • cooldown_groupspawn [seconds] - Sets a cooldown in seconds for the /groupspawn command
    • cooldown_spawn [seconds] - Sets a cooldown in seconds for the /spawn and /globalspawn commands

    Known Issues:

    • None?

    • 0.1 - First Bukkit release. Basic /home and /sethome support
    • 0.2 - Group and global spawns, Permissions integration
    • 0.3 - Working respawn on death; respawn on join (optional); configuration options
    • 0.4 - Updated to use new OnCommand system
    • 0.5 - Now uses PLAYER_RESPAWN; added basic multiworld support; added experimental (optional) globalspawn behavior; added missing /globalspawn command
    • 0.6 - Proper multi-world support with per-world spawns
    • 0.7 - Added command cooldowns; Permissions is now optional
    • 0.8 - Fixed multiworld spawns; recompiled against CB #617; removed deprecated method calls
    • 0.8.1 - Updated deprecated world loading method; tweaked spawn log message
    • 0.8.2 - Switched cooldown time handling from server time to system time
    • 0.8.3 - Added Hidendra's pull to support Bukkit's native permissions
    • Full changelog
    Michonne, Huddl, BadgerLove and 5 others like this.
  2. Dude your downloadlink is broken?
    Oops! Google chrome cannot find
    Could you upload it on mediafire or something?
  3. Offline


    This plugin need superpermbridge for permissionsbukkit?

    /sethome and /home works only if i set permissions for commandbook.*: true
    how i can avoid this?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 6, 2016
  4. Offline


    @Kellis You need to use the CommandBook Customizer (it's available in the CommandBook forum thread) and remove the Home feature from CommandBook.

    @johano1rct Seems to be working fine...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jul 18, 2016
  5. Offline


    Updated! Minor version 0.8.3 add's Hidendra's pull for Bukkit's native Permissions support. Recommended usage is via the PermissionsBukkit plugin, but existing Permissions (Phoenix) installs are still supported.
  6. Offline


    I get this error everytime i try and hit something like /sethome. Anyone know whats wrong? This is my first mod and im kind of new to this. In the game is always says "You do not have permission for this command" or something like that.

    21:28:43 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'seth
    ome' in plugin SpawnControl v0.8.3
    at org.bukkit.command.PluginCommand.execute(
    at org.bukkit.command.SimpleCommandMap.dispatch(
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    at net.minecraft.server.MinecraftServer.b(
    at net.minecraft.server.MinecraftServer.h(
    Caused by: java.lang.NullPointerException
    at com.aranai.spawncontrol.SCPlayerListener.onCommand(SCPlayerListener.j
    at com.aranai.spawncontrol.SpawnControl.onCommand(

    at org.bukkit.command.PluginCommand.execute(
    ... 6 more
  7. Offline


    how do I control where a player logs in the first time they enter the world?
  8. Offline


    Did you try /setspawn ?

    Is there any way this plugin can set the actual spawn block? It seems I still have to go into mcEdit to do this. I'll read back and see if it was discusses previously. Thanks :D
  9. Offline


    Hey guys, I threw together a quick python script to convert Essentials homes to SpawnControl, since I didn't want to lose my player home positions just for throwing away a crappy plugin. It's available here:

    This plugin assumes Essentials's newest player file format, so if it throws an error about a dict index, run this command to delete the old player files first. These players haven't logged in for quite a long time or their file would have been updated, so don't sorry about losing player info. I had 5800 player files total and only 2 of them were using the old format.

    rm `egrep -lr 'home: \[' plugins/Essentials/userdata/`
    Tanite likes this.
  10. Offline


    Hey Guy,
    can u implement !1! Spawn for all worlds ... to reach with /spawn ...??? because i got 2 worlds but want 1 spawn! ... :(
  11. Offline


    Does this plugin have the function to set your home in a bed and if its removed you go to spawn?
  12. Offline


    By the way, it does not create a config.yml in the SpawnControl folder. Could you post an example of what the config is supposed to look like?
  13. Offline


    @GordonGrey Not currently. Bed functionality is unchanged from Vanilla.

    @Xanadar The configuration is handled in the database, as explained in the instructions.
  14. Offline


    Not everyone has a default group, you could also check for a player.dat file.
    Though I'll leave it up to you to decide if its a better method or not.
  15. Offline


    @OrtwinS That info was based on the old Permissions plugin, which would always list a player as being a member of 'Default' if they were not a member of any groups (even if 'Default' didn't exist). The main check is looking for an existing Home for the user. Any user that has been on the server before will have at least an auto-created Home.
  16. Offline


    ok, so I have the firstspawn plugin on to take everyone to one spot to learn about the server. I have spawncontrol to
    try to set the world global spawn and then bedrespawn for everyone to use from then on. For some reason though, when I kill myself after typing /sethome when I have no bed, it takes me to the world default globalspawn rather then the /sethome spawn point. Any Ideas why?
  17. Offline


    @Grimmy777 If the bed respawn plugin or the firstspawn plugin also implement a basic global spawn, they may be conflicting with each other and/or with SpawnControl.
  18. Offline


    I just want people to come into one room when they spawn the first time, then once they make it out go to the global spawn and then if they use a bed to spawn at the bed if they die. Do you think I can pull that off with this?
  19. Offline


    @Grimmy777 Probably not in the current version of SpawnControl, sorry. I do hope to support bed spawns and improved first-spawn behavior in the next version, but I can't really give an ETA on that.
  20. Offline


    Could you possibly make this Permissions EX supported?
    It would be helpful for my server =D
  21. Offline


    You can use any PermissionsBukkit or Permissions 2.x or 3.x plugin with PEX. Just have the additional bridge files.

    @AnyoneWho'sInterested, seems to work fine in 1185.

    @Timberjaw : Consider making a standard config.yml file? They are a lot easier to deal with than using a bunch of hard to remember commands. Extremely easy to code with, too.
  22. Offline


    what do you mean by "bridge files" ?
  23. Offline


    Sorry for my lame explanation. If you take a look at the installation instructions for PEX ( doing step 4 allows any plugin which supported the old Permissions to be used in PEX, such as this plugin. Literally all you have to do is have Permissions.jar on your server and it will work!
  24. Offline


    I filed a ticket in bukkitdev involving conflicts with WorldGuard, but I figured I'd post here too just in case anybody else had a workaround. I'll just copy/paste from the ticket:

  25. Offline


    I dont have config :/ how to disable debug?
  26. Offline


    what are the nodes for permissionsbukkit

    the only reson I ask this when ever I put in the nodes thay get removed
  27. Offline


    Hey, I've set it up for my server (1337 bukit, and using PEX with the bridge) but every time (after I've set up the spawnpoints) they spawn at the normal spawn?

    Could it be due to Multiverse?
  28. Offline


    does this wrk for 1.8.1???????
  29. Offline


    can you add permissionsEx?
  30. Offline



    Not that this error affects anything. But i always get

    15:17:46 [SEVERE] Could not pass event PLAYER_RESPAWN to GroupSpawn
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getPrimary
    at de.Zero9195.GroupSpawn.GroupSpawn.getGroup(
    at de.Zero9195.GroupSpawn.GSPlayerListener.onPlayerRespawn(GSPlayerListe
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    at net.minecraft.server.ServerConfigurationManager.moveToWorld(ServerCon
    at net.minecraft.server.ServerConfigurationManager.moveToWorld(ServerCon
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.Packet9Respawn.a(SourceFile:26)
    at net.minecraft.server.NetworkManager.b(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(
    15:17:46 [INFO] [SpawnControl] Attempting to respawn player ed58 (re spawning).
    15:17:46 [INFO] [SpawnControl] DEBUG: Respawn Location: Location{world=CraftWorl

    The only thing it really causes is for players to take like 10 seconds to re spawn back to their group spawn. This only affects them on death.

    I use CB 1240.( which I can tell isn't an updated version for your plugin.)
  31. Offline


    Excuse me, it says i don't have permission to set group spawn ?

Share This Page