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. Offline


    @Euthyphro I've been looking through the command handling code for CraftBukkit, and it seems to be a flaw/shortcoming in CraftBukkit. It looks like only one plugin can claim a command via its plugin.yml. So there's nothing I can do about it (as far as I know) in the code. Users who don't want to use the SpawnControl home functions will have to edit the plugin.yml file and remove those entries.

    There is a fallback mechanism built in to CB though. See if this works: /MyHome:home <whatever>
  3. Offline


    Look like compass don't point at spawn if I set it with your plugin's /setspawn
    Any ideas?

    upd: it's for the behavior_globalspawn? I'll try set this on
    upd2: ahh, it's work but only after rejoin 8)
  4. Offline


    hmm, my server seems to crash (actually it freezes, and then gracefully stops itself.) when users try to use /spawn or /home while in another map.

    Edit: I realize that you can set spawns and homes on each map individually.. But it seems if you don't already have those set, and you try to use the /spawn or /home commands on the wrong map, it crashes the server.
    So there's a risk that users who don't have a home actually SET on the map they're on, and they try to use /home, they'll be able to crash the server. =/
  5. Offline


    I have an error i need fixed i am running Craftbukkit version git-Bukkit-0.0.0-368-g9f7f1a8-b280 (MC: 1.2_01) and SpawnControl V0.6! I only have one world and i am trying to set up different spawns for users because i have a Guest area for when newplayers join the server. I would like them to be able to spawn in there but when i do /sc_config behavior_death 2 to make it so they get spawned at their group spawn instead of default, global spawn it doesnt work and spawnsthem at the admin, builder,mod and owner spawnpoint at a different point in the map please inform tell me what i am doing wrong or if you need to fix it
    --- merged: Feb 12, 2011 10:33 PM ---
    ^ The Guest build area being for making sure that they do not grief the rest and they have to show me that they are good builders to get promoted to Builder group and to go to the mainworld with everyone else
  6. Offline


    I downloaded it and it won't work.
    I put everything where it's supposed to be but im not sure what im supposed to do with the permission.

    Errors i get in my commander:
    [WARNING] [SpawnControl] Could not get setting 'name': org.sqlite.JDBC
    And i get this for every command i try.

    Commander also claims that it is loaded, but i don't get any properties file either.

    I'm using build 323 of bukkit and this is the permission config file:

    # Supports "Default" and "GroupUsers"
            system: default
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #   Example: inheritance: Default,Admins,
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #       - 'general.spawn'
    #   Otherwise errors will happen!
    #   Globalized Permission settings:
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #           - 'general.*'
    #       This will allow you to use all general commands.
    #   Single Asterisk denotes all commands:
    #       - '*'
            default: true
                build: true
                - 'general.spawn'
                - 'SpawnControl.sethome.basic'
                - 'SpawnControl.sethome.proxy'
                - 'SpawnControl.home.basic'
                - 'SpawnControl.spawn.use'
                - 'SpawnControl.spawn.set'
                - 'SpawnControl.groupspawn.use'
                - 'SpawnControl.groupspawn.set'
                - 'SpawnControl.config'
                - 'SpawnControl.import'
        Moderator: Shampoo92
            default: false
                build: true
                - Default
                - 'general.time'
                - 'general.teleport'
                - ''
                - 'general.player-info'
            default: false
                build: true
                - Moderator
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
            group: Admins
            group: Default
                - 'general.time'
  7. Offline


    I'll be back in town Monday evening. I won't be able to provide tech support until then, sorry!
  8. Offline


    2011-02-13 15:06:06 [INFO]        [PLAYER_COMMAND] Blinklink7: /heal i
           2011-02-13 15:06:17 [INFO]        [SpawnControl] Attempting to send player Baby_Sqwills to spawn. 
            Hash: scglobal-world   
           2011-02-13 15:10:19 [WARNING]        Can't keep up! Did the system time change, or is the server overloaded? 
           2011-02-13 15:10:25 [WARNING]        Can't keep up! Did the system time change, or is the server overloaded? 
           2011-02-13 15:10:30 [WARNING]        Can't keep up! Did the system time change, or is the server overloaded? 
           2011-02-13 15:11:14 [WARNING]        Can't keep up! Did the system time change, or is the server overloaded? 
           2011-02-13 15:11:27 [WARNING]        Can't keep up! Did the system time change, or is the server overloaded? 
           2011-02-13 15:11:43 [WARNING]        Can't keep up! Did the system time change, or is the server overloaded? 
          Connection reset   
            	at Source)   
            	at Source)   
            	at Source)   
            	at        net.minecraft.server.Packet.b(SourceFile:102)   
            	at        net.minecraft.server.NetworkManager.f(SourceFile:157)   
            	at        net.minecraft.server.NetworkManager.c(SourceFile:15)   
           2011-02-13 15:11:53 [INFO]        Baby_Sqwills lost connection: disconnect.genericReason 
    [SIZE=5][FONT=SansSerif]slots: 20 players: 3        reserved: 1[/FONT][/SIZE]
           2011-02-13 16:16:40 [INFO]        [SpawnControl] Attempting to respawn player Blinklink7 (respawning). 
            Player count: 4   
           2011-02-13 16:16:42 [INFO]        [SpawnControl] Attempting to send player Blinklink7 to home. 
           2011-02-13 16:16:49 [INFO]        [SpawnControl] Attempting to send player Iconindy to home. 
          Connection reset   
            	at Source)   
            	at Source)   
            	at Source)   
            	at        net.minecraft.server.Packet.b(SourceFile:102)   
            	at        net.minecraft.server.NetworkManager.f(SourceFile:157)   
            	at        net.minecraft.server.NetworkManager.c(SourceFile:15)   
           2011-02-13 16:16:58 [INFO]        Blinklink7 lost connection: disconnect.genericReason 
            slots: 20 players: 3        reserved: 2   
           2011-02-13 16:16:59 [INFO]        Freed 272.4237289428711 MB.
    is this from essentials?? bukkit 304, .6 spawn control. Seems to work fine however.
  9. Offline


    Home across worlds causes the server to die :x
  10. Offline


    A feature I'd dearly love: Please give the /home command a variable cooldown/warmup much like MyHome has. This way I can simulate a hearthstone so that my players can teleport home but not abuse the functionality to get out of trouble. Thanks!
  11. Offline


    wow good idea
  12. Offline


    How about replacing SQLite with Persistance plugin? I'd rather have as few db instances running as possible.
  13. Offline


    Sorry to bug everyone here, since the questions has been partially addressed.

    I downloaded bukkit and the server itself is all set up. I tried to install SpawnControl and Permissions. The command prompt gives me the "could not pass event PLAYER_JOIN to SpawnControl." Apparently the fix is to /setspawn, but when I type that I am told I don't have the permissions. In the permissions config file I have tried giving the wildcard (- '*') and specific SpawnControl commands, but apparently I still don't have the permissions to execute the command?

    Help would be greatly appreciated.

    EDIT: I think the idea of giving /home a cd is a good one.
  14. Offline


    I can confirm this. During the series of crashes I experienced while trying to figure out what was causing this bug, I corrupted my map data :(. We had backups, but it's still a pain.
  15. Offline


    'Could not load plugin. Is the file named properly?' Error. All correctly named and placed, so I dunno what's going on here.
  16. Offline


    Updated! v0.6.1 fixes a missing globalspawn issue responsible for a semi-infinite loop on certain commands and an issue with new players joining. If you're having trouble, update to v0.6.1 and see if that takes care of it.
  17. Offline


    Is it possible add
    'World united' spawn or home point?

    When i dead in nether
    I want respawn on original world!
    is it possible thing? =_=a
  18. Offline


    alright i have a problem when i install this. i dont know if im just too ignorant when it comes to plugins. i install it and then when i run the server and try to join all i see on the command prompt is tht its trying to send player to group spawn. it says this over and over and it doesnt allow me to enter the server
    --- merged: Feb 16, 2011 8:28 PM ---
    nevermind 0.6.1 fixed it. i didnt read the previous post and i apologize
    --- merged: Feb 16, 2011 9:46 PM ---
    ok so i keep getting this messege in my command prompt [SpawnControl] Permissions: not enabled. I can't figure out how to fix this.
  19. Offline


    @Cheviot You need to install and configure the Permissions plugin. See the first post in this topic for details.
  20. Offline


    well i already have it installed but i dont understand how to configure it to get spawncontrol to work. im a total noob when it comes to this stuff.
  21. Offline


  22. Offline


    /sc_config [setting] [value] what do this do and can you give me an example Please
  23. Offline


    Not quite sure where to post this, but I'd like to set a "universal" spawn point, in that when a player dies either in the nether or in the normal world, they respawn in the normal world. As it stands right now, if you die in the nether, you get into an endless dying loop as you respawn into solid matter. Is it possible?
  24. Offline


    Every time I set the global spawn new, the spawnprotectionsize form server.poverties isn't going to the global spawn. I updated SpawnControl and now the problem appears. I want to modify the old spawn area, but I can only change the blocks with WorldEdit.
  25. Offline


    is there any way of setting which world you spawn in when you first start the game? I'd like to have a separate spawn world if possible.
  26. Offline


    Doesn't seem to be functioning with the latest craftbukkit build (435, I think) - craftbukkit stable build #9 (edit: 53 - I gotta figure this stuff out).
  27. Offline


    I can confirm it's not working. Can we get an update pretty please? :)
  28. Offline


    Can someone provide more specific details about what isn't working in the latest CB builds?
  29. Offline


    I have been using this plugin for a couple weeks now, no reall issues with latest CB builds... well with this plugin anyways:p (this one is actually one of the ones that never gives me a bunch of trouble)
    quick note tho, i use the MCMMO plugin and it has a spawn-setting/home-setting feature, and unfortunately it seems to be over-riding spawncontrol, any thoughts or workarounds??
  30. Offline


    Other than this, no errors are thrown:

    But I get that for just about every plugin since the update. It seems that SpawnControl is just not loading.
  31. Offline


    My symptoms are the same as jdrez, maybe it's related to other plugins I have loaded. I'll do some debugging later and give you a more informative readout. If I do, will you look into adding warmup/cooldown to /home for me? :)

Share This Page