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

    _knot_

    Can you possibly add warmup times to /spawn and /home? I run a pvp server and instant teleportation is not ideal, I normally run with 3-5 seconds warmups. Also cancel the teleport if the user moves, is attacked, etc.
     
  3. Offline

    Fohdeesha

    whats the status with this and 1.6?
     
  4. Offline

    Timberjaw

    @Fohdeesha I have no idea. Bukkit 1.6 is more or less on hold until Mojang fixes some major performance and functionality issues. I don't know yet if plugin breakage is expected.
     
  5. Offline

    fyrus12345

    Does this work with permissions 3.0? http://forums.bukkit.org/threads/admn-dev-permissions-3-0-6-the-plugin-of-tomorrow-803-ne.18430/

    1-Because I dont get a config file, I just get spawncontrol.db database file. How can I configurate the plugin??

    2-I set my group spawn (/setgroupspawn Admin) The console says: Setting Group Spawn for Admin. Then I type (/groupspawn Admin) The console says: attemting to send player fyrus12345 to group spawn. And I spawn in the default spawn. :(

    EDIT: And yes, I've checked, I am part of the Admin Group and have all permissions. I have also tried with only /groupspawn... it didnt work.

    I just want to know if the plugin works, or if I am doing something wrong.
     
  6. Offline

    fyrus12345

    Ok, I found out how to edit the database. but every time I try to do the sc_config command I get this.
    Code:
    17:05:15 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'sc_c
    onfig' in plugin SpawnControl v0.8.1
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    7)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    71)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:401)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:386)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NullPointerException
            at com.nijiko.permissions.ModularControl.permission(ModularControl.java:
    275)
            at com.aranai.spawncontrol.SCPlayerListener.canUseScConfig(SCPlayerListe
    ner.java:531)
            at com.aranai.spawncontrol.SCPlayerListener.onCommand(SCPlayerListener.j
    ava:257)
            at com.aranai.spawncontrol.SpawnControl.onCommand(SpawnControl.java:269)
    
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 6 more
    EDIT: and yes, I am using Spawn control 0.8.2
     
  7. Offline

    Timberjaw

    @fyrus12345 I haven't tested with Permissions 3.0. What CB version?
     
  8. Offline

    fyrus12345

  9. Offline

    Timberjaw

    @fyrus12345 Looks like it is NOT compatible with Permissions 3.0 then.
     
  10. Offline

    fyrus12345

    Ok, thank you. Any idea if it will sometime?
     
  11. Offline

    Timberjaw

    @fyrus12345 Not until the next RB. The Bukkit team is still stabilizing everything after the 1.6.x update.
     
  12. Offline

    mavbear

    M'kay this is weird. New users aren't spawning in the global spawn, they're just being randomly tossed around it. They would have to actually type /spawn to go to spawn, defeating the entire purpose of having a brand new first time spawn area for users.

    What I would like is to have only the Default class affected by this mod, so every time they die, or join (regardless of whether they've been on or not) they get sent to the defined spawn.

    Any help with this would be great, thanks!
     
  13. Offline

    Chromana

    818 out now (as I'm sure you know). I'm not upgrading to Permissions 3 until this plugin is updated (just to let you know how important it is to my server) so... soon? :)

    Also, does it actually WORK with 818 (with Permissions 2)?
     
  14. Offline

    Timberjaw

    SpawnControl v0.8.2 appears to be working A-OK with CB 818 and Permissions 2.7.

    I will be updating SpawnControl to work with Permissions 3.x shortly (most likely over the coming weekend). I don't know if this will cause SpawnControl to stop working with Permissions 2.x, but I assume it will.

    Complete list of planned features/changes for v0.9:
    • Permissions 3.x support
    • Revamped spawn fallbacks & Better multi-world spawn control
    • Optional bed support (for auto-setting player homes)
    • Anything I'm forgetting that I am reminded about or remember prior to this Friday
    For server admins: it is very likely that v0.9 will require some reconfiguration on your part. I will attempt to perform a seamless upgrade as usual, but there are some fundamental changes planned that may make this impossible.
     
  15. Offline

    fyrus12345

    AWESOME!!!
     
  16. Offline

    WaferMouse

    Hi, great plugin! If you implement beds, will they still be able to work without the home commands? That'd be ideal :)
     
  17. Offline

    Timberjaw

    @WaferMouse Yes. I'm a big fan of options. Bed/homes will be configurable. :)
     
  18. Offline

    WaferMouse

  19. Offline

    ArcFox

    Yes!!! I just tested your plugin and found it crappy because of the non-working beds but since you're going to add bed support it's awesome! I just wanted a very basic plugin to change the globalspawn to a certain point so I can welcome new players in a certain area but since it's a survival server we don't want any teleportation at all (no /home or anything). But when someone dies he doesn't respawn in his bed :( When will you release the new version?? I can't wait :D
     
  20. Offline

    tehMorag

    Waiting on this plugin to update my server...
    But it is worth the wait :)

    Thanks for the hard work
     
  21. Offline

    Fujikatoma

    Can u make a COmmand that change the main Spawn ?
    Because if i use the xAtuth Plugin the login area iss is not on my global spawn :/


    Dont Work
     
  22. Offline

    Sydaell

    Hello.
    I have installed SpawnControl and it works for Ops.
    However, normal player can't use /spawn. It says "You don't have permission.", even though i added the node
    - 'SpawnControl.spawn.use'
    to the group.

    Edit: Problem fixed.
    It was a conflict with Commandbook /spawn command.
    Fortunately, Commandbook can be customized so i removed that command from it.


    Works like a charm!
     
  23. Offline

    Strebelschneck

    hi,
    i updatet your plugin a while ago (using cb #820) and now players always respawn at the spawn in the main world (1st world). The /spawn command still works like it always has for seperate worlds, but the respawn doesn't. I didnt add any other plugins, but i also didn't delete the spawncontrol .db when i updated.
     
  24. Offline

    Darkvoltage3

    so what this plugin does is you get to set a globle spawn for all of your players when they die?
     
  25. Offline

    OrtwinS

    Hmmm, looks decent, but:
    - I'd much rather have warmups (canceled by movement) then cooldowns
    - A database...? for (worst case scenenario) a few hundred entries? Isn't that overkill causing a higher load on the server?
     
  26. Offline

    troguy

    Hi Developer, seems like a great plugin, however I havent been able to get it to work with GroupManager, is it meant to work with that? Also, will there be an 818 version out soon? Or do you know any alternatives that work with group manager? Thank you!
     
  27. Offline

    Timberjaw

    @troguy I have not tested with GroupManager. Some users have had success in the past, but I haven't kept up with GroupManager development to know if it still works.

    The current version works with 818.
     
    troguy likes this.
  28. Offline

    mrbb7197

    this doesnt work with multiworld. ive been trying to figure it out for a while now so can i get some help with this?
     
  29. Offline

    TheGurw

    i too am looking for multi-world configurable spawns. meaning that if they die in a certain world they respawn at that world's spawn. nothing i've tried that claims to have that actually works. oh well.
     
  30. Offline

    Geoff Winans

    I seem to have a repeatable issue that -appears- to be caused by this plugin on RB860.

    When a person dies they will, occasionally, respawn right where they died. I have no other plugins that handle spawn events
     

Share This Page