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

    ledhead900

    CB 291
    --- merged: Feb 9, 2011 2:27 PM ---
    Could be essentials again
    Ill go have a chat with them again tell them there wrong lol
    --- merged: Feb 9, 2011 2:27 PM ---
    They have a live IRC if your interested
    just go to there plugin page and clikc chat with us live1
     
  3. Offline

    Olat

    @Timberjaw

    whats YMMV?

    Ive tested this out with the newest version of Spawncontrol and Bukkit. Players that have never entered my server get teleported to NEAR my spawn room, which is under the ocean BTW, some of them are on the Docks, some of them are in the ocean near it. Ive had people come in to test this and the Exact spawn for NEW players on a server is not working correctly. If you'd like to see it first hand I can give you my server info and you can try it for your self.
     
  4. Offline

    Timberjaw

    @Olat YMMV = Your Mileage May Vary.

    I believe you about the exact spawn working right; I outlined how it works and some reasons it might not work for you to check. Check your group setup and compare it to the information I provided.
     
  5. Offline

    Olat

    @Timberjaw

    If a person is new to my server, they are not put into a group .. so they should be in Default Group by well... Default... And they wont have the home set since its the first time on the server.

    I do this so they pick a faction and once the faction is picked I then Add they to that group. But until then there is no point in adding them to Default to just immediately change them to a faction group.

    I dunno what im doing wrong or how to fix this..
     
  6. Offline

    Timberjaw

    @Olat Yeah, Permissions should be putting them in Default by default, so if you haven't changed the default group, that should be fine. I'll see what I can turn up, but I haven't been able to reproduce this yet.

    In case I haven't already asked: do you get this spawn behavior if SpawnControl is the only plugin running?
     
  7. Offline

    Olat

    @Timberjaw
    I havent tested that out, TBH, Im using the Modified Essentials Plugin, because of the /setspawn conflicts. and nothing else I have messes with spawn points.
     
  8. Does this work with multiple worlds? If it dosent it should :D And also, setting behaviour_globalspawn to 1 and doing /setspawn isnt that supposed to replace the vanilla spawn? I want players to spawn in an exact place when they FIRST join. But right now they spawn at random areas around this point D:
     
  9. Offline

    Normandy

    /setspawn sets a precise spawn point, but it doesn't seem like group does. Is this an error on my side? Or just a feature yet to be implemented?
     
  10. Offline

    FloydATC

    Multiworlds is off in 0.5.4; if I "/sethome" in the normal world
    and then "/home" I still end up in the Nether.
    Code:
    2011-02-10 07:04:04 [INFO] [SpawnControl] Attempting to send player FloydATC to home.
    Same goes for groupspawn etc; points set in normal world take players to the Nether. Suggest you record and use the world name instead of the index to avoid problems. Admins may move stuff around and re-use plugin data. Using plaintext names in config files also makes it easier to fix things up using scripts.
     
  11. Offline

    shiloam

    None of the commands are lining up with permissions I keep getting "You don't have permission to do that". :/ Latest everything.
     
  12. Offline

    Timberjaw

    Group spawn is precise as well. Global spawn is actually a group spawn.
    --- merged: Feb 10, 2011 7:12 AM ---
    Pastebin your permissions config and I'll take a look. :)
    --- merged: Feb 10, 2011 7:16 AM ---
    Can you elaborate on your setup? Have you set the nether as your default world on server load?

    Once SpawnControl is properly multi-world enabled this will be moot (I will be verifying names, per your suggestion), but I'm curious about what's causing this. getWorlds().get(0) should always be the default world the server was loaded with. Plugins probably shouldn't mess with that convention; I can't think of a good reason to reorder them dynamically.
    --- merged: Feb 10, 2011 7:20 AM ---
    Yes, behavior_globalspawn 1 replaces the vanilla spawn, but it's not that simple. behavior_globalspawn merely taps into the server's X,Y,Z coordinates for the vanilla spawn; the server doesn't track pitch and yaw for the vanilla spawn. So that feature is intended to serve 2 purposes: 1) final fallback in case something goes wrong with the SpawnControl spawns, and 2) correct compass position for the SpawnControl global spawn.

    New players joining with no group membership or membership in the Permissions group 'Default' should be sent to the precise global spawn. I've had at least one other report of that not working as expected though. I'm using an older version of Permissions; perhaps the behavior has changed. I'll be looking into that for SpawnControl's per-world spawn update.
     
  13. Offline

    Varthx

    [SpawnControl]: Table 'settings' not found, creating.
    [initDB] DB ERROR - SQL logic error or missing database | SQLState: null | Error Code: 0
    ^ Help?
     
  14. Offline

    shiloam

    Pastebin your permissions config and I'll take a look. :)


    I updated permissions and it's working now thanks man.
     
  15. Offline

    Daveyo

    first time i used /home after essential update i went to nether. after that i used /spawn and got out, and then /sethome to the normal world, and then /home worked everytime after, even after a reinstall of essentials. I'm the admin, and noone else has been spawned to the nether at all. (of course essentials bug is noone but ops can go to nether)
    --- merged: Feb 11, 2011 5:00 AM ---
    ok, disabled spawn control and now i spawn in the nether world at server start. Something is wrong here and i think is to do with essentials. Need to reload spawn control just so i can get back rofl
     
  16. Offline

    Euthyphro

  17. Offline

    FloydATC

    netherbone.jar indeed did change the old (normal) world to 1 and inserted the new netherworld as 0, this happens behind the scenes and I don't know if it's possible to change it. Looking forward to the update :)
     
  18. Offline

    trivials

  19. Offline

    Timberjaw

    If you're having trouble with MyHome, try removing SpawnControl first to make sure SC is actually causing the issue. If not, the MyHome thread is where you should be posting. :)

    @FloydATC You might want to discuss that with Dinnerbone.

    I'm trying to get an update ready for today; if it doesn't make it today, it won't be ready until Monday evening.
     
  20. Offline

    trivials

    I have kick the SC and try it without. It Work perfectlly, but with SC not :(
     
  21. Offline

    Timberjaw

    @trivials
    What SpawnControl version, CraftBukkit version, and MyHome version are you using? What happens when you use /home or /sethome ?
     
  22. Offline

    FloydATC

    Actually, I have a sneaky feeling Dinnerbone may have done this on purpose to "force" plugin authors to make their plugins properly world-aware. Anyway, if you don't make it until monday, don't worry about it... It's just a game :)
     
  23. Offline

    trivials

    K the newst versoin of SC and Myhome the newest. Bukkit build 304#
     
  24. Offline

    Timberjaw

    @trivials What happens when you use /home or /sethome?
     
  25. Offline

    trivials

    i disable your home function and if disable i disable all home functions.
    But if your home function enable i can use only yours :(
     
  26. Offline

    Timberjaw

    @trivials
    That doesn't really tell me anything. What I mean is, when you enter the command /sethome or /home, what happens? Do you get any messages? Are there any errors in the server console? Do you teleport anywhere (even if it's the wrong place)?
     
  27. Offline

    trivials

    If i type with SC On /home or /sethome it work with sc_config home_enable 1
    If i type with SC On /home or /sethome it dosent work with sc_config home_enable 0, without erros in the console.
    But Myhome it dosent work at any configuration.
    It work only with SC OFF.

    I think SC overwrite the home on bukkit. And other plugins it cant use.
     
  28. Offline

    Timberjaw

    @trivials
    I think it must actually be a bug with either MyHome or with CraftBukkit. I don't think there's anything I can do in the plugin to fix it. :(
     
  29. Offline

    Cozoq

    /sethome, /setspawn, /spawn, /home all work perfectly in the normal world.
    If i die in the normal world, I properly end up at my /home (set in behavior_death)
    However, if I die in the nether, I end up stuck in a wall in the nether.
    Running spawn control 0.5.4 and cb 304
     
  30. Offline

    Timberjaw

    @Cozoq Known issue with SpawnControl and multi-world. Will hopefully be fixed today. :)
    --- merged: Feb 12, 2011 12:08 AM ---
    Updated! v0.6 adds proper multi-world support with per-world spawns. Also has a fix for at least one case where new users are not sent to global spawn properly.

    PLEASE please please backup your database before upgrading! v0.6 modifies the database schema for both the player and group tables. The updater ran fine on my server, but I made a backup first because I'm not crazy. Don't take any risks with your data.

    If you're running a multi-world setup, you need to use /setspawn first thing in each world you've added, and any worlds you add in the future.

    If you encounter multi-world troubles, please provide the following:
    1. CraftBukkit and SpawnControl version as always
    2. Relevant configuration values (enable_home, behavior_death, etc)
    3. The multi-world plugin you're using
    The more info you provide, the easier it will be for me to help.
     
  31. Offline

    Euthyphro

    Works fine without spawn control, MyHome is not the problem since it works fine, it is your plugin that is overriding the other.
     

Share This Page