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

    Pontus Lantz

    @Timberjaw
    Thanks <3. The cooldowns seems to work perfect with the updated version[meat]
     
  3. Offline

    valdark

    I just wanted to clarify. By per world global spawn do you mean that when I die on any world I will respawn on that particular world? I have not yet installed due to serverhosting requiring help ticket to install sQlite properly but wanted to confirm that I can achieve this before taking the trouble.
     
  4. Offline

    Timberjaw

    Correct.

    In future versions, you'll be able to configure which world you spawn on when you die in a specified world, but for now, it's the same world (and that will be the default in future versions as well).
     
  5. Offline

    valdark

    Thanks for the quick reply... look forward to using your plugin to help manage my multiverse.
     
  6. Offline

    Strebelschneck

    Hi,
    atm im using essentials to control the spawns, but i am looking for a plugin that manages the spawnpoint in multiple worlds individually. Is this possible with your plugin? The /spawn command should teleport a player to the spawnpoint of the world he is currently in.
     
  7. Offline

    Timberjaw

    Yes.
     
  8. Offline

    user_44103

    Ive a problem, the people don't spawn exactly, they spawn in a radius from circa 30 blocks. How i can fix that?

    Greets:
    Me
    PS: Sry for my bad english, I'm from Germany :D
     
  9. Offline

    Timberjaw

    Check your server log for errors or warnings related to SpawnControl. Your SpawnControl probably isn't installed right. Specifically, check for errors about 'SQLite', which is the database library SpawnControl needs (read the original post for full install directions).
     
  10. Offline

    GmK

    @Timberjaw

    Thanks for the great plugin!

    I know it might be a stretch to ask - but could you add a feature where Ops/Admins are able to set even more spawn points? Users can then either do /spawn for global, /groupspawn for their...groupspawn, and /spawn <x> to get to a custom spawn point.

    Now, I know you could use a warp plugin for that, but I use multiworld and dont want my users to warp from the pvp world to the main world, especially in fights. So I have warping disabled on the PvP world, but would still like the option to define multiple spawn points where they can respawn. (One being a hospital e.g., which costs to Spawn to with Command iConomy)

    Any chance that that might happen? Thanks!
     
  11. Offline

    Strebelschneck

    I'm sorry, but how do i do it? I dont want individual spawns for different groups but for different worlds. I dont see any command that makes that possible. By default the /spawn command will just send you to the last spawnpoint you set with /setspawn, whether its in your current world or not.
     
  12. Offline

    Timberjaw

    /spawn should send you to the last point set with /setspawn in the current world. You shouldn't need any setup other than running /setspawn in each world.
     
  13. Offline

    Strebelschneck

    well, it doesn't. :D Is it just me?

    I dont use any other spawn plugin (disabled essentials)
     
  14. Offline

    Timberjaw

    What multi-world plugin are you using?
     
  15. Offline

    Strebelschneck

    multiverse
     
  16. Offline

    Timberjaw

    Multiverse should work, I think. Hmm...

    Also, make sure you have Permissions configured for each world, not just the first one.
     
  17. Offline

    Strebelschneck

    It should all be set up correctly, but ill try a reinstall later. Thanks for your effort so far, ill report the outcome ;)
     
  18. Offline

    user_44103

    I dont get any errors, if anybody spawn. I follow all installation instructions, but dont work.
     
  19. Offline

    Timberjaw

    What other plugins are you using?
     
  20. Offline

    Strebelschneck

    Okay, i just did a complete reinstall of you plugin, logged in (im op ofc) and tried to set 2 different spawnpoints in 2 different worlds. It doesnt work. It's always get tp'ed back to the spawnpoint you set last, not matter if it's in your current world or not.
    Also, players are not able to use /spawn, although i gave them the "SpawnControl.spawn.use" and "SpawnControl.groupspawn.use" permission. Kinda strange? I'll try updating permissions, although it doesn't give me any errors.
     
  21. Offline

    Timberjaw

    @Strebelschneck Can you upload your spawncontrol.db file? Should be in plugins/spawncontrol/

    Where do you end up when dying in each world? (Also note that there should be some debug info in the server log after death).
     
  22. Offline

    Strebelschneck

    @Timberjaw

    When i respawn after death it sends me to the right spawnpoint in the current world. (At least me, i dont know about others who dont have permissions)
    The debug info from the log:
    Code:
    DEBUG: Respawn Location: Location{world=CraftWorld{name=newworld}x=-12.0y=70.0z=39.0pitch=0.0yaw=0.0}
    You think it might be a problem that I have essentials and multihome installed? (Although i deactivated the spawn and home function in essentials, and deactivated the home function in your plugin. I deactivated it not only by removing the permission, ofc)
     

    Attached Files:

  23. Offline

    GmK

    Make sure to disable Multiverses handling of spawnpoints in its settings!
     
  24. Offline

    Strebelschneck

    yep, i did that.
     
  25. Offline

    Timberjaw

    @Strebelschneck That's the .jar file, not the db file. The db file is inside the plugins/spawncontrol/ folder.

    If it's working on respawn but not working with the command, it's probably a plugin conflict. Do you have EssentialsSpawn installed at all?
     
  26. Offline

    Strebelschneck

    my bad, i missclicked when i uploaded the file.
    Okay, I noticed that i still had EssentialsSpawn installed (I was kinda confused, cause I messed with different home and spawn plugins yesterday and had in the back of my head that it was important to keep EssentialsSpawn installed. I was wrong ofc)
    I deleted it and now everything works smoothly. Thanks alot for your help, I really appreciate it!
     
  27. Offline

    user_44103

    Very much ^^. You can ignore the things in the right ^^
    I believe I can fly (für Admins)
    Ancient Gates (für alle)
    LogBlock (zum rückgängig machen)
    FalseBook (~Craftbook: Aufzüge, Circuits, Brücken, Tore,etc..)
    MyWarp (Warps, PrivatWarps)
    Superpickaxe (für Admins)
    Help (extrem erweiterte Hilfe)
    PermissionsPlus (für Admins)
    Worldedit (für Admins/teilweise User)
    AutoHelp (Erweiterung für das Plugin Help)
    Spawncontrol (Bessere Kontrolle über Spawns)
    LWC (Kisten, Öfen, Türen,.. sichern)
    IChat (Pre/Suffixe und bunte Schrift)
    Permissions (damit User auch Befehle nutzen können)
    Ecocreature (Geld von Monstern/Tieren/Spawnern)
    Magiccarpet (für Admins)
    Commandbook (Generelle Befehle für Admins/User)
    xAuth (Plugin zum registrieren, z.B. Passwort setzen, keine leeren Namen,..)
    Worldguard (Regionen sichern, keine Feuerverbreitung, keine Creeperexpl.)
    IConomychestshop (Kistenshops für alle)
    IConomy (Bringt Wirtschaft/Geld in Minecraft, Währung sind Spills)
    Vanishnopickup (für Admins)
     
  28. Offline

    Timberjaw

    When you installed Commandbook, did you customize it to remove the spawn functionality?
     
  29. Offline

    user_44103

    No, but if you know hot to do this, this would be very fine, if not can you tell me another general commands plugin, which dont have the setspawn command in built?

    MFG:
    Me
     
  30. Offline

    Timberjaw

    Go to the Customize CommandBook page (click here), uncheck "setspawn" and "spawn", and click "Build my CommandBook 1.4.3" (at the bottom). Replace your existing CommandBook with that.
     
  31. Offline

    user_44103

    hm... it seems to work THANKS!

    MFG:
    Me
     

Share This Page