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

    BluXDragon

    Please let it so Admins can set other peoples homes. I never give out the /sethome command. Too much hax.
     
  3. Offline

    Timberjaw

    I believe Nijikokun updated 2.1 again today; have you tried it out (I haven't had time to yet, but it may be worth a look).

    You should be able to do this already with: /sethome PLAYERNAME

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

    Olat

    @Timberjaw

    Nah once he said he was done and when Essentials went over to Group Manager. I stopped worrying about Permissions TBH and went with GM. The Essentials guys IMO have been way more responsive on updates and helping other plugins with MIA dev's , prime example of Factions. So i know my plugins get some love when they need it most.
     
  5. Offline

    ThePilotGuy

    I'm having a problem, I'm hoping you can help me =).
    When I add this to permissions, and I use the things I added in -game, it tells me I don't have permission to do that. I assure you that it is inserted in the data file correctly. Any help would be appreciated. Thank you.
     
  6. Offline

    garglebutt

    Works well except I can't set configuration options via the console. Possible to add this? CB 456
     
  7. Works fine, but breaks MyHome. Sadly, my players prefer MyHome over this. But it'd be great if you could fix this.
     
  8. Offline

    Timberjaw

    Make sure you've renamed your permissions config to match the name of your world (e.g. world.yml).
    --- merged: Feb 27, 2011 2:52 AM ---
    Good idea.
    --- merged: Feb 27, 2011 2:52 AM ---
    Can you be more specific? What breaks?
     
  9. The entire plugin. It loses all functionality it has.
     
  10. Offline

    Timberjaw

    Oh, I remember. I'm pretty sure you need to open up your SpawnControl jar and edit the plugin.yml file inside to completely remove the home-related commands. CraftBukkit only passes registered commands to one plugin (the last one to register it), regardless of whether the plugin has them enabled internally.
    --- merged: Feb 27, 2011 3:01 AM ---
    If someone has a better workaround for this, I'd love to hear it. :)
    --- merged: Feb 27, 2011 5:22 AM ---
    Request for Info: I'm currently testing TheYeti's continuation Permissions plugin (version 2.4 Phoenix). Seems ok so far. If anyone else has used this plugin successfully (or unsuccessfully!) with SpawnControl, please let me know.

    http://forums.bukkit.org/threads/admn-dev-permissions-v2-4-phoenix-rebirth-of-the-original-451.5974/
     
  11. Offline

    Juze

    @Timberjaw
    Yup, you wanted to know this. CB#440, SpawnControl 0.6.3, Permissions 2.4:
    Code:
    2011-02-27 09:02:31 [SEVERE] Could not pass event PLAYER_JOIN to SpawnControl
    java.lang.NullPointerException
            at com.aranai.spawncontrol.SCPlayerListener.onPlayerJoin(SCPlayerListener.java:257)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:130)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
            at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:97)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:27)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
    Whenever I also try /spawn, it says I don't have permissions to do so, though I have global permissions '*'.
     
  12. Offline

    Timberjaw

    @Juze Your Permissions config is probably messed up or the file is named incorrectly. If you're using 2.1, make sure you've renamed your permissions config to match your world name (e.g. 'world.yml').
     
  13. Offline

    Juze

    Yup, first I thought it must be config.yml, then HeroChat author DThielke told me to fix it. Works perfectly. :)
     
  14. Offline

    Nuinbot

    Any way I can use this just using flat-file permissions (WorldEdit/WorldGuard)? I am running a small private server and have no need for permissions, since everyone is trusted and all op'd. Thanks.
     
  15. Offline

    Timberjaw

    Not currently, but I'm going to make Permissions optional in the next release. Regular players will have access to: home, spawn, globalspawn, groupspawn, sethome. Ops will have access to everything (including proxy commands, so in your case all of your players will be able to modify each other's homes).
     
  16. Offline

    mbbk1992

    What commands does the SpawnControl.sethome.proxy grant you?
     
  17. Offline

    Timberjaw

    It lets you use /sethome PLAYERNAME

    i.e. set a home for a different player to your current location
     
  18. This needs updating I believe. Causes people to be constantly dying, after they die, on CraftBukkit #480. When they respawn they just die again.
     
  19. Offline

    Timberjaw

    Thanks, will check it out. The recent teleportation change is probably connected in some way.
     
  20. Offline

    mbbk1992

    I use b478 with the following plugins:
    - Permissions 2.4
    - MultiVerse 1.4
    - iChat 2.05
    - SC 0.6.3

    I currently have 2 worlds.

    I have configured SC to respawn back at their homes. But when people die in the secondary world they return to the primary world, at the coordinates of the home in the secondary world. After that, it is sometimes necessary with a relog to be able to modify the surroundings.
     
  21. Actually turns out a pesky person placed a jack-o-death from PreciousStones under the spawn-point >.<, sorry for wasting your time.
     
  22. Offline

    OkinKun

    I just have to say, I cannot live without this plugin! It is so incredibly essential for setting up decent (exact) spawns!

    I have noticed the same bug tho.. If you die in one of the secondary maps, you get sent back to the spawn of the MAIN world.. And it's not even the right spawn, it sends you to the general area around spawn. (Even tho I set an EXACT SPOT for spawn on the main world.)
     
  23. Offline

    Timberjaw

    Any spawn-related messages in the server console (like "attempting to send OkinKun to spawn")?
     
  24. Offline

    Monkah

    Does this work with premissions 2.5 and CraftBukkit 440?
     
  25. Offline

    Daveyo

    does this work permissions 2.5.1 cb 493?

    Was having a few issues with 455, hesitant now
     
  26. Offline

    OkinKun

    Well, I just did it again, and checked the log, and it does give a message when we die, and get sent to the wrong spawn.
    Not sure if that helps though. =/
     
  27. Can I actually use this so set the spawn to be underground? Most plugins just spawn players on ground when I set the spawn with them.
     
  28. Offline

    Timberjaw

    Looks like the server is helpfully 'correcting' the respawn coordinates. I'll investigate.
    --- merged: Mar 3, 2011 5:11 PM ---
    Yes.
     
  29. Offline

    Monkah

    Update for 2.5 and 440 please.
     
  30. Offline

    phaed

  31. Offline

    Poinball

    Dont work for me :S this plugin enable all my plugin on version over the 440 !
     

Share This Page