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

    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
     
    Michonne, Huddl, BadgerLove and 5 others like this.
  2. Offline

    Timberjaw

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

    Travis_Hironak

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

    Timberjaw

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

    Travis_Hironak

    OK, you would be my Hero if you could add something like that. :D
     
  6. Offline

    Bronski

    I totally missed that last command. Thanks :D
     
  7. Offline

    Wanderer89

    Hey was hoping someone could help me achieve the setup I'm going for...

    I've been using this plugin for months now, but I've recently added a vanilla-survival world, so how do I get completely vanilla spawn-mode in there?

    I've been playing with configs and commands but I just want players to be able to sleep in a bed and set their spawn, and when they die respawn there... vanilla style. No /spawn, no /sethome.... but in the other world have a normal global, exact, spawn.
     
  8. Offline

    Oscarius

    Could we have a direct link to the .jar?
    I think bit.ly links are disallowed, even.
     
  9. Offline

    jeffreylec

    Is there a way to turn off the debug?? :)
     
  10. Offline

    Bronski

    Hey Tim, does this plugin do anything when someone logs into the game (like placing them where they were when they logged out)?

    I'm trying to troubleshoot a mysterious incident we just had where someone logged in and instantly died (no stuff on the ground around them either). And the location it was putting them 1 block inside of protected ground, a position they could not have gotten to on their own. I had them log out and I restored their player file from the previous night's backup and when they logged in the same thing happens. I'm just not sure how their player file got this erroneous position or what is placing them there if it's not erroneous. I also tried copying their file to mine and when I logged in I died (despite supposed to be invincible). I can upload it if it will somehow help.

    We had some initial problems with people being ported into rock when using /home when I first switched to the plugin from EssentialsSpawn but I made sure to tell everyone to /sethome before using /home and I think that one has been ok since. Do you have spawn/teleport protection of some kind?

    Thanks :D
     
  11. Is there any possibility this plugin doesnt always work ?
    I've set global spawn, groupspawn whatever spawn there is to a fixed location and still new members spawn at the map's global spawn near 0,0,64 something.

    I've tried everything there is to try....When i set the global spawn and i try it with a new user it takes me to the point i set it....when someone else logs in for the first time after 5-10 min...then bam....it takes him to the global spawn :/

    Doing /spawn takes me or any person from any other group to where its suppose to take them....just with new users i have this problem.
     
  12. Offline

    Timberjaw

    No but that's a good idea.

    SC doesn't have spawn/teleport protection, but it's on my todo list. I'm not sure how someone's home could end up inside blocks without someone coming along after it was set and creating some blocks there. I suppose this could happen:

    1. Admin A sets the global spawn to 1,2,3 (safe)
    2. Player B joins for the first time; their home is set to global spawn (1,2,3) automatically (still safe)
    3. Admin A does some work on the spawn area, making 1,2,3 unsafe, but moves the global spawn to 2,3,4
    4. Player B returns to their home (still 1,2,3) and dies

    Note that SC does not interfere with damage in any way; if you die when you're supposed to be invincible, that's a shortcoming or bug with whatever godmode/protection plugin you're using.

    The only time I've seen this problem is if a 'new' user isn't actually new. That is, they're new in that they don't have a .dat file, but they have previously played on the server at some time in the past and still have a home entry in the SpawnControl database.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 6, 2016
  13. If it has per-world spawns, does that mean that /setspawn will set the spawn ONLY in the world in which the user is?
     
  14. Offline

    Timberjaw

    Correct. You'll need to set a spawn point in each world. Player homes default to the global spawn point for each world.

    The next version (I'm still working on it, honest!) will have some more advanced capabilities for controlling spawns/homes.
     
    Matthew D'Angeli likes this.
  15. Offline

    BigBlueGER

    Umm, I got CB1000 and PermissionsBukkit with SuperpermsBridge and I can use /sethome and /home, but it doesn't do anything. No other plugin I use overwrites them, nor is there an invalid command message.
     
  16. Offline

    Oscarius

    Could we have an option to disable the console messages? They are filling up our console/logs and they aren't really needed.
     
  17. Offline

    Timberjaw

    Planned for the next version.
     
    Oscarius likes this.
  18. Offline

    Daxiongmao87

    Hey Timberjaw, Perhaps if you could have a fallback option for the death behaviors? Such as: Send player to home on death, if no home is set, send them to group spawn? Thanks
     
  19. Offline

    Chromana

    Hey could you make a command like/sc_configinfo which shows all the cooldowns and stuff? Thanks.
     
  20. Offline

    Moe041991

    @Timberjaw

    Is it possible to setup the plugin in a way, that you can have multiple spawn points for default (new incomming players). And they will spawn randomized or in a certain order (so basicly i dont want htem to spawn all at the same point)?

    Sincerely
     
  21. Offline

    FranzLisztian

    I downloaded your .jar file with the wget command in shell. I then renamed it SpawnControl.jar. When I ran my server, it reads:
    12:04:33 [INFO] SimpleCensor version 0.2.3 enabled!
    12:04:33 [WARNING] Error parsing items.csv on line 624

    I'm not sure if this is an error in your code or not. The plugin itself still works.

    One feature you could add: make it possible to set the cooldown based on whether or not the person recently damaged or was damaged by another player. This would prevent people from teleporting out of combats.

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

    Timberjaw

    @Chromana Good idea.

    @Moe041991 Probably not for 0.9 (I've got a lot on the feature list for that already), but perhaps for 1.0.

    @FranzLisztian Not a SpawnControl error. Looks like it's related to "SimpleCensor" and perhaps another plugin.
     
  23. Offline

    Moe041991

    great, I can wait :).
     
  24. Offline

    robbydude

    Does Home/Spawn toggle mean you can turn off the sethome/home option so it won't conflict with other plugins?

    I'm using SimpleHome, and afaik you can't copy them over to your plugin
     
  25. Offline

    FranzLisztian

    Ah, sorry about that. I saw a new error message after installation and then pasted it in without thinking. Carry on!
     
  26. Offline

    Timberjaw

    You'll have to also manually remove the home/spawn entries from SpawnControl's plugin.yml file. Sorry there isn't an easier way.
     
  27. Offline

    Ballparkandreas

    Can you remove Globalspawn?
     
  28. Offline

    Bseagull

    How do the actual groups work? because I am working on setting up a team based server but i had to make it so that when they die, they spawn in their team's base. How would I do this?
     
  29. Offline

    AndreyXP

    Работает!!!!!:D
     
  30. Offline

    Rsccman

    it dosent even make a .yml; in the damn folder lolz
     
  31. Offline

    Travis_Hironak

    I think the plugin.yml is inside the SpawnControl.jar and you have to remove the entries there. Open it with an archiver like WinRar or 7Zip to edit the files in it. ;)
     

Share This Page