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

    Waffletastic

    Where is the settings file? I can't find it? Only A DB File
     
  3. Offline

    Timberjaw

    This was answered 2 comments before yours.
     
  4. Offline

    Kevin Forte

    Okay, one last thing:
    I believe this conflicts with HunkleberryGeneral, but I'm not sure. If it does (that you're aware of) is it possible to make the two cooperate (is there something I can do)?
     
  5. Offline

    Daveyo

    been working great, just a couple things.

    Any chance for a warm up? In pvp /home is abused by just warping you away while being chased.
     
  6. Offline

    BigBlueGER

    When I disable /home, will MyHome still work?
     
  7. Offline

    enkryptor

    by the way, you can disable /home via Permissions
     
  8. Offline

    Nekpek

    i dont understadn what SpawnControl.sethome.proxy give acces too?...
    the rest seamce fairly understand able since no info giving on them
     
  9. Offline

    BigBlueGER

    Hmm, it loads up perfect on #493, spits out no errors,
    but everytime I set the spawn, and them type /spawn,
    I am still ON TOP of the building, not in it... =/
     
  10. Offline

    enkryptor

  11. Offline

    Timberjaw

    If HunkleberryGeneral implements /home or /spawn, they will conflict. You'll have to remove the conflicting entries from the plugin.yml inside one of them. If HunkleberryGeneral catches PLAYER_RESPAWN events, they're going to conflict no matter what you do.
    [MERGETIME="1300042875"][/MERGETIME]
    Can you elaborate on how this would work?
    [MERGETIME="1300042921"][/MERGETIME]
    You'll need to open up the spawncontrol jar file and edit the plugin.yml file inside to remove /home and /sethome.
    [MERGETIME="1300042955"][/MERGETIME]
    It gives access to '/sethome PLAYERNAME', which lets you set the home for a different player.
    [MERGETIME="1300042985"][/MERGETIME]
    Are you running any other plugins that implement spawn points?
    [MERGETIME="1300043104"][/MERGETIME]
    Interesting idea. I have some multi-world functionality I've prioritized for 0.8, but maybe I can look into proximity-based spawns for 0.9.
     
  12. Offline

    BigBlueGER

    Might conflict with CommandBook... Gonna take a look at it.
    EDIT: Yep, was CommandBook. Thanks for your help, works great now (=
     
  13. Offline

    Daveyo

    a warm up, or cast time. So it takes 5 or 10 seconds to actually warp to your home
     
  14. Offline

    Karinth

    Anyone know of a compatable Warp Plugin for this that uses Portals?
     
  15. Offline

    diegokilla

    also looking for this
     
  16. Offline

    brendon1555

    I used /setspawn to set a spawn and when I used /spawn it takes me there but when new players connect they are spawned at the original spawn... any idea what would be causing this?
     
  17. Offline

    diegokilla

    wat craftbukkit/spawncontrol are u using, i had thought that timberjaw had fixed that...
     
  18. Offline

    Hoddie54

    I want to use essentials Home. but your spawn. it doesn;'t work if I disable home here and enable it in essentials.
     
  19. Offline

    brendon1555

    Im using Craftbukkit 458 and SpawnContol 0.7
     
  20. Offline

    diegokilla

    honestly i would say to update AT LEAST to timberjaw's tested build: 493, probably the latest recomended build is best tho

    edit: im not an expert on this tho, so you mite wanna do a full backup beforehand

    @Timberjaw
    is there a command to spawn in different worlds? ie:
    im in world1 and want to go to global spawn in world2

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

    brendon1555

    i updated to 493 and its still not spawning new players to my set spawn
     
  22. Offline

    Nate204

    Same

    New Players are the only ones effected. Everyone else spawns at the correct location though.
     
  23. Offline

    Afforess

    I've been using this plugin since v0.2, and been loving it. The one thing that *could* be added is multiple homes - but that's not a big deal.

    Great work - I've never had any issues. ;)
     
  24. Offline

    aliqux

    Thank you for this plugin. I've been using it for a while now and love it. I would like to see something of a death spawn, if it is possible. Where it records where you died and creates a spawn point for it. Type /deathspawn, or some type of command, and you spawn to the place of your last death. Thanks for listening
     
  25. Offline

    ibab

    Sometimes when new players join the server, they start from totally different place than the spawn.
    Why is this?
     
  26. Offline

    mooztik

    hello,
    can you move the sqliteJDBC.jar into the lib folder ?
    some other plugins use it from this location.(and download it automaticly in this location if it's not found)
     
  27. Offline

    solidsnake916

    Not Working With Bukkit #556, get the internal command error.

    Please Update Thanks!

    Code:
    >20:13:39 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'spawn' in plugin SpawnControl v0.7
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:229)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.IllegalAccessError: org/sqlite/Conn
    at org.sqlite.JDBC.createConnection(JDBC.java:77)
    at org.sqlite.JDBC.connect(JDBC.java:64)
    at java.sql.DriverManager.getConnection(DriverManager.java:620)
    at java.sql.DriverManager.getConnection(DriverManager.java:222)
    at com.aranai.spawncontrol.SpawnControl.getSetting(SpawnControl.java:322)
    at com.aranai.spawncontrol.SCPlayerListener.onCommand(SCPlayerListener.java:38)
    at com.aranai.spawncontrol.SpawnControl.onCommand(SpawnControl.java:288)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
     
  28. Offline

    Goe

    I'm having trouble with this plugin. I'm using SpawnControl v0.7 and I'm on the CB #556 build. Using /spawn takes me to the global spawn correctly, but when I delete my player data so that it thinks I'm a new server member it doesn't take me to the exact global spawn.
     
  29. Offline

    Jason555555

    Great Plugin but it needs to spawn me where I set it instead of above ground.
     
  30. Offline

    Timberjaw

    I'm currently testing: 1) new player spawn, and 2) multi-world spawning. I have some firsthand experience with the multi-world spawn issues now so a fix should be forthcoming. I plan on allowing per-world configuration of death destination (i.e. respawn in same world, respawn in alternate world). There seem to be some oddities with the Bukkit player respawn event when using multiple worlds; that's the main obstacle right now.

    By the way, aside from the above issues, SpawnControl appears to be working properly with the latest RBs up through 556.

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

    solidsnake916

    Any Fix for my error if this works fine on #556 than? Because i have tested this plugin on a clean slate server and it still gave me the same errors.
     

Share This Page