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

    Timberjaw

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    SpawnControl v0.8.3

    Announcement:
    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

    Features:
    • 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 spawncontrol-players.properties
    • Imports group spawns from spawncontrol-groups.properties
    Details:

    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)
    Dependencies:
    Installation:
    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
    Commands:
    • /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
    Settings:
    • 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
    Downloads:

    Known Issues:

    • None?
    Changelog:

    • 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

    This post has been edited 4 times. It was last edited by Timberjaw Dec 13, 2011.
    Michonne, Huddl, BadgerLove and 5 others like this.
  2.  
  3. Offline

    Timberjaw

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I haven't been able to reproduce this on RB860 yet. Any relevant messages in the server log?
  4. Offline

    Timberjaw

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    FYI, using Permissions 3.1.5b with RB860 and SpawnControl v0.8.2, I have not yet encountered any issues or errors.
  5. Offline

    Guniv

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If first spawn could be per-group too that'd be great (person in A group spawns in A position first time, Then respawns in B position next time)
  6. Offline

    Geoff Winans

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Nothing.

    It seems to have stopped happening, as well (or, at least, my players aren't reporting it anymore).

    On a side note, I'd like to see if you can make a small change to SpawnControl:

    Can you hook PlayerRespawnEvent at Priority.Normal instead of Priority.Highest? We're working on a custom plugin that will work along with SpawnControl to allow BedSpawning to work, but with SC taking Priority.Highest, we can handle the PlayerRespawnEvent.
  7. Offline

    Timberjaw

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm not opposed to changing the priority (I'm not aware of another plugin that would be affected adversely by switching SC from Highest to Normal), but keep in mind SC is going to be supporting bed spawns natively in the next version. :)

    On that note, v0.9 is taking a bit longer than I thought. There are a lot of 'gotchas' with the new fallback setup, and I'm trying to account for every reasonable setup I can think of. I'm making decent progress, but I'm going to stop making time estimates for now since they're wildly inaccurate. :)
  8. Offline

    Juze

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Timberjaw : Your plugin.yml is out of date, it says 0.8.1. :p
  9. Offline

    Juze

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Timberjaw : Hmm... 0.8.2

    Code:
    21:54:08 [INFO] [SpawnControl] Attempting to respawn player Juze (respawning).
    21:54:08 [INFO] [SpawnControl] DEBUG: Respawn Location: Location{world=CraftWorl
    d{name=world}x=24.0y=71.0z=-65.0pitch=0.0yaw=0.0}
    Rushed a bit with release again?
  10. Offline

    Timberjaw

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Must have forgotten it for 0.8.2 because it was such a tiny update. :)

    That was actually left in intentionally because people have been having some weird results with multiworld spawning.
  11. Offline

    CyrussM

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    When i use /home at my multi world, skyland (simpleskyland plugin) it dont bring me home. I spawn at skyland, not the right world. (bukkit 863, SpawnControl v0.8.2)
  12. Offline

    anarki

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello im trying to make my own server but im a 1/2noob in this thing's im trying to set spawn to all player but it says that i dont have permission how do i do that

    and i heard about A plugin named permissions but i dont really know what is it for and how to install

    (im in windows 7 x86 minecraft beta 1.6.6)
  13. Offline

    rslink

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Timberjaw

    Is it possible to have homes seperate between worlds? If a player sets there home in World1, and dies in World 2 they will respawn to World1's home.

    It would be better if you could set it so that: If the player has a home in the world they are in, they will respawn to it (if its allowed in the settings). If they don't have a spawn in that world, they will go to the group spawn.
  14. Offline

    emcitement

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Fantastic plugin. I only use it for /spawn, /home, and /sethome (for regular players.)

    What is groupspawn exactly? Is it just a third point to set or do you set it up so that only a certain group of players can teleport to it?
  15. Offline

    phrstbrn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Our server has this issue now on 953. This started happening for us after upgrading from 935.
  16. Offline

    LibertasMens

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm attempting to tie in to SpawnControl, where my plugin will use the getHome method. Whenever I use the method, however, it seems to always return null. Do you have any idea why that is?
  17. Offline

    Legomaster

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is the global spawn feature one spawn per world or one universal spawn? So in other words can I have multiple global spawn points with multiple worlds?
  18. Offline

    Nek

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is it possible to make multiple homes ? (for groups)
  19. Offline

    Nek

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Other question more important: Bed doesn't work with SpawnControl ? =/...

    Thanks.
  20. Offline

    bravematt

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Does this make it to where NEW PLAYERS that havent been to my sever yet, when they log in they spawn on the EXACT block i place the spawn on? If not, what is the spawn area?
  21. Offline

    LibertasMens

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    They will spawn on the exact x,y,z location that you define with the setspawn command, or default to the original spawn location if you have not yet used setspawn.
  22. Offline

    obscurehero

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can someone help me set-up the spawncontrol plugin for my server? I have MyHome and CommandBook which both use /home and /setspawn commands. Could they possibly be interfering?

    I have a spawn world that I want all new users to spawn into, and spawncontrol was the best choice as it has multiworld suppport. However, I can't figure out how to set it up (and TEST IT!) so that new players spawn to the spawnworld. I can give you a full list of plugins if thats helpful, but I'm a bit concerned its not operating as expected simply because there are quite a few overlapping commands between the plugins.

    Any pointers?

    Also. @Timberjaw. It would be EXTREMELY helpful if you used some typle of config.yml like other plugins for the sc_config parameters. Its incredibly tedious to change command and not very accommodating to just check your settings.
  23. Offline

    Lecksy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This plugin seems to completely *stop* working after a while. At first I thought it was because of cooldown, but I've changed the values for it AND added the .exempt permission node. Console prints out appropriate sending/attempting to send messages when I try to do /spawn or /home, but it doesn't actually teleport me. It's worked with no problems previously, and it works perfectly right after a server restart..so I'm pretty stumped.

    I'm on CraftBukkit #996 currently, tried going back to #953 but it wiped out all the paintings and dogs on my server, so that's another can of worms [creeper]


    Edit: the issue I mentioned doesn't seem to be specific to this plugin, but to any others that require teleporting/warping.. it seems they just stop working after a player goes to sleep...[creeper]
  24. Offline

    Olat

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    On CB 953 everything works fine.. Dunno why you would goto 996
  25. Offline

    mrdrum

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    how do you make it so peaple can do everything but /setspawn
  26. Offline

    Timberjaw

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Tested and working with RB 1000.

    I know it's been forever since I've updated. Super busy with work; sorry.
  27. Offline

    Bronski

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is this supposed to create a settings file somewhere?
  28. Offline

    Timberjaw

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Bronski It stores its settings in the SpawnControl database. You can edit settings from in-game or by using the sqlite3 command line utility.
  29. Offline

    Travis_Hironak

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I use this plugin for a while now and I really like it.

    I have a little question/request, with worldguard 5.2 I can make a per region spawnpoint with a flag and I did that in the PvP areas on my server, however it doesn't work because SpawnControl send the players to the global spawnpoint instead.

    Is there something I can do about it ? I don't know if it's an issue due to WorldGuard or SpawnControl.

    If it's an issue from SpawnControl, can you please help me with this ?


    Thanks in advance. :)
  30. Offline

    Timberjaw

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Travis_Hironak Sounds like a pretty basic case of 2 plugins fighting over who gets control. Not sure what the best fix is; adding per-region spawns to SpawnControl opens up a big can of worms, but it would be a nice feature. I'll think it over a bit. If any users have suggestions, feel free to chime in.
  31. Offline

    Travis_Hironak

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks for your quick response.

    Do you mean you could add a per region spawn point for WorldGuard regions or for a new region system in SpawnControl ?
  32. Offline

    Timberjaw

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Travis_Hironak Regions in SpawnControl. There may also be a way for me to check (from SpawnControl) whether a regional spawn is available in WorldGuard and defer to that. I've never used WorldGuard so I'm not sure what type of API (if any) is available.

Share This Page