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

    Drumpie

    Are multiple group spawns/homes available or can you add this?
     
  3. Offline

    Hidendra

    @Timberjaw I sent in a pull request for you. I updated SpawnControl to be compliant with both PermissionsBukkit and Permissions (depending on which is installed) on request of @Wahrheit
     
  4. Offline

    Ussyless

    is it possible to for example, using permissions, for one group, their spawn is an exact spot ( like a jail), otherwise it's the global spawn/ bed spawn?
     
  5. Offline

    Timberjaw

  6. Offline

    Timberjaw

    @Hidendra I sent you a response on GitHub with some questions. It looks pretty solid though.
     
  7. Offline

    Timberjaw

  8. Offline

    Timberjaw

    Test Update!

    Attached to this post is v0.8.3-TEST. I've incorporated Hidendra's Permissions pull (thanks!) and would like to get some testers in before formally releasing this as v0.8.3. This version should support:
    • SpaceManiac's PermissionsBukkit 1.1
    • TheYeti's Permissions 2.7+
    • No permissions (isOp)
    Give it a try and let me know how it goes! If you have trouble (or success), please specify which permissions setup you're using.
     

    Attached Files:

  9. Offline

    gabe323

    Is the plugin supposed to create a config file inside of the spawncontrol folder besides the spawncontrol.db? Also I can't get SpawnControl.spawn.use to work with any group but home.use and other permissions do work. I just updated to the test version and I still can't get spawn.use to work for any non OP players/groups. I saw someone else above asking about a missing config file so I hope my problems are because of that. Using bukkit 1060 with permissionsbukkit & superperms.
     
  10. Offline

    Timberjaw

    @gabe323 SpawnControl's configuration options are in the database. See the /sc_config information in the original post for details.

    I'm having trouble reproducing your spawn problem. Can you post your plugins/permissionsbukkit/config.yml file to pastebin?
     
  11. Offline

    gabe323

  12. Offline

    Timberjaw

    @gabe323 You get a "You don't have permission to do that." message?
     
  13. Offline

    gabe323

    "You don't have permission."
     
  14. Offline

    Timberjaw

    @gabe323 Just "You don't have permission."? Not "You don't have permission to do that."?
     
  15. Offline

    gabe323

    correct. I use commandbook which also has a /spawn but I removed the command from the yml. maybe that wasn't enough?
     
  16. Offline

    Timberjaw

    @gabe323 Looks like. SpawnControl doesn't contain the error message you're getting. I recommend using the CommandBook customizer instead of trying to remove commands yourself.
     
  17. Offline

    gabe323

    Thanks that worked. I've used the customizer a few times while building my current plugin config for the server but I guess I forgot to take spawn out.
     
  18. Offline

    _NameLess_

    Heya great Plugin i am using it so far with no Problems! ;)
    But i have one request or maybe i am just to silly to make it :D
    I am Admin and i want to go to "other homes" so for example "/Home <user>" to teleport to this users home. I hope you know what i mean and can implement it ;)

    Best regards
    Name
     
  19. Offline

    Timberjaw

  20. Offline

    _NameLess_

    Yay! Great news. I hope as fast as you can. I am going to make my Server Public with 1.8. I Really need it till than :p
    Ah and maybe a "/Back" Function if someone die? Or doesnt this "run" into "SpawnControl"? :D
     
  21. Offline

    Matt

    Do you have options for warm up times in the future?
     
  22. Offline

    Timberjaw

    @Matt Seems like a reasonable feature but I don't know when I'll get to it. I'm also not 100% sure exactly how it should work, feature-wise.
     
  23. Offline

    Matt

    well same as cooldown except it counts up to when it allows you to go to home and go to spawn. Ideally its to prevent pvpers from running away from a fight.
     
  24. Offline

    Timberjaw

    @Matt Meaning you enter the command /home, but you don't actually teleport until 10 seconds later? Like a spell cast time?

    Pardon the questions; a couple people have asked for a warmup feature, and meant slightly different things by it. ;)
     
  25. Offline

    BadgerLove

    Is there a way to get /home working in the nether so it spawns you in the original default world?
     
  26. Offline

    Timberjaw

    @BadgerLove In the belated next version, there will be.
     
  27. Offline

    _NameLess_

    If you make "one" home for multiple worlds. Please make it configurable. I want that my users have a home in this world and an other in this. And not only 1...THX ;)
     
  28. Offline

    Wahrheit

  29. Offline

    Odjit

    Will you set up support for cross-multiworlds? Like if a player dies or uses /spawn in any world, they respawn to the WorldA's spawn, instead of whatever world they are in?
     
  30. Offline

    BadgerLove

    I thank you! :)
     
  31. Offline

    Timberjaw

    Bug Reports
    Please report issues via BukkitDev from now on: http://dev.bukkit.org/server-mods/spawncontrol/tickets/

    This will help me immensely, as I can track each issue separately (and you can see when the problem has been fixed!). I've put the milestones for 0.8.3 (very soon) and 0.9 (soonish) up as well.
     
    Tanite likes this.

Share This Page