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

    andune

    Been almost a week and I haven't heard from @Timberjaw on dev.bukkit, so cross-posting here in case he maybe checks this forum more (maybe he's on vacation? last seen here on Nov 7):

    @Timberjaw
    I notice a few requests here (and on the forums) for features that I have added in a fork I made of this plugin a few months back. BTW, thanks for the great base to start from; I'd offer to push my changes upstream but I'm honestly not sure you'd recognize it now since I took some liberties in experimenting with new plugin dev stuff for me.
    I made the fork to add some features I wanted at the time, but I've seen many requests since for those features here and on the forums. I don't know what proper etiquette is for naming plugins on another plugin page, even if in this case it was originally a fork, so I'll refrain from mentioning it here. But I'm happy to pick up some of these requests if you aren't planning to maintain SpawnControl anymore or don't want to do the work here since I've done it elsewhere already.
     
    Tanite likes this.
  3. Offline

    klocky

    I have question, is this compatible with yeti permissions plugin? thanks a lot :)
     
  4. Offline

    dog.big

    dammit, conflicts with MyHome.. but such a precious spawn control
     
  5. Offline

    Timberjaw

    @morganm I took a Bukkit break during the pre-release period, as everyone seemed to be using the RCs anyway. Also, I don't seem to get e-mail notifications of posts made to the devbukkit page for SC. :(

    If you have improvements for SC, would you be willing to submit pull requests on GitHub? That's the easiest way for me to merge in changes.

    I'm going to be putting in some Bukkit time this weekend for SC and Dungeonator, so if you submit pull requests over the weekend there's a good chance I can get them in immediately.

    Minor Update: v0.8.5 pulls Hidendra's fix for package naming, and phrstbrn's support for SuperPerms. Updated for MC 1.0.0. Build against CB 1509.

    DevBukkit doesn't seem to be allowing 1.0.0 downloads right now, so here's a direct link: Download v0.8.5

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

    andune

    @Timberjaw glad to see you're back. I'll send you a private link to my plugin (it's listed here and on dev.bukkit, I just don't want to splash your plugin page with it). It's progressed far beyond my original fork, so at this point if I sent you a gitpull I'd basically be sending a whole new plugin (it'd be an interesting exercise, but I honestly would be surprised if there was more than 1-2% similar code now).

    As I said, though, it covers a lot of the features I've seen people asking for over the last few months from SpawnControl, so up to you if you want to implement those features in SpawnControl or just tell people to use <the other plugin> for those needs. I just didn't want to see people ask for features that are available in a fork I made and then not know how to get them, nor want to see you write a bunch of code for stuff that's already written.

    Anyway I'll send you the link, feel free to peruse the code, pull interesting bits you like or even just be aware of the features so that people looking for features you might not be adding here will know where to go.
     
  7. Offline

    Timberjaw

    @morganm Very impressive! I'm going to go ahead and link it here for people to look at and discuss. I'm curious to hear what current SpawnControl users think of it (if they've tried it). It's definitely well beyond pull request territory, as you said. :)

    morganm's HomeSpawnPlus plugin: http://dev.bukkit.org/server-mods/homespawnplus/
     
  8. Offline

    Juze

    Code:
    2011-12-02 18:37:00 [SEVERE] Error occurred while enabling SpawnControl v0.8.5 (Is it up to date?): com/platymuus/bukkit/permcompat/PermissionHandler
    java.lang.NoClassDefFoundError: com/platymuus/bukkit/permcompat/PermissionHandler
        at com.aranai.spawncontrol.SpawnControl.onEnable(SpawnControl.java:272)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:182)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:165)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:337)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:324)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:161)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:388)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.ClassNotFoundException: com.platymuus.bukkit.permcompat.PermissionHandler
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        ... 11 more
    Whee, ever since 0.8.5 update on PEX 1.16. Rolling back to 0.8.4 now. CB#1550.
     
  9. Offline

    dystopialand

    Getting the same error with bPermissions and the latest Bukkit devbuild.
     
  10. Offline

    Timberjaw

  11. Offline

    Juze

    @Timberjaw : You are not supposed to use any bridge with PEX, except SuperPerms option enabled in config and the "Permissions.jar" bridge.

    Fyi, I restored mine from a backup.
     
  12. Offline

    MSTrus

    @Timberjaw When i write /setspawngroup Tester it give me this "You Dont Have Permission"
    i use 1550 build. What can i do? i am Op and in Admins group. Permissions are configurated
     
  13. Offline

    Timberjaw

    @MSTrus It should be /setgroupspawn, not /setspawngroup

    @Juze I'll take a look at the problem.
     
  14. Offline

    Strebelschneck

    whenever someone uses /spawn the chunk at the spawnpoint doesn't load and the player is stuck in a hole. No errors in console. I'm using the newest cb build with mc 1.0.1
     
  15. Offline

    Timberjaw

  16. Offline

    Strebelschneck

    minecraft 1.0.1, cb build #1572

    i restarted the server now and its working again. maybe just a temporary issue and not plugin related
     
  17. Offline

    MSTrus


    This is server.log
    what does it mean?

    [SEVERE] Error occurred while enabling SpawnControl v0.8.5 (Is it up to date?): com/platymuus/bukkit/permcompat/PermissionHandler
    java.lang.NoClassDefFoundError: com/platymuus/bukkit/permcompat/PermissionHandler
    at com.aranai.spawncontrol.SpawnControl.onEnable(SpawnControl.java:272)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:182)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:165)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:337)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:324)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:161)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:388)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.ClassNotFoundException: com.platymuus.bukkit.permcompat.PermissionHandler
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 11 more
     
  18. Offline

    phrstbrn

    What's the chances of adding a feature to tie /home to their bed spawn point as a configuration toggle? When player types /home it goes to their bed location instead of /sethome location (/sethome would be disabled)

    Having this feature enabled would also require the bed to still be placed at the spot they are using /home on.

    There are other plugins that do this, but it would be nicer to be able to use your built-in cooldowns :)
     
  19. Offline

    Timberjaw

    You're probably using PEX. There's a compatibility issue between PEX and SpawnControl at the moment.
     
  20. Offline

    MSTrus

    You mean PermissionsEx, right? and can You add support for this? because this is only plugin i've found =(
     
  21. Offline

    cjc343

    Same problem with bPermissions. No bridge is required to use bPermissions, so SpawnControl now fails to load.
     
  22. Offline

    MSTrus

    probably i cant find same plugins like yours, what can i do now?
     
  23. Offline

    Strebelschneck

    Okay, it is still happening. Nearly everytime someone uses /spawn, the chunk at the spawnpoint doesn't load and he is stuck in a hole. He needs to relog to fix it. Again, no errors in console. I don't use any other teleporting plugin and it happens to admins as well as normal players.
     
  24. Offline

    Timberjaw

    @cjc343 @MSTrus @Strebelschneck @phrstbrn @Juze @dystopialand @morganm

    I've been in communication with morganm, creator of an advanced fork (well beyond a fork at this point, actually) of SpawnControl: HomeSpawnPlus. Based on my initial testing of HSP, and comparison of feature sets, I'm going to recommend that existing SpawnControl users switch to HSP. HSP can import existing SpawnControl home, spawn, and group spawn information. It also supports many of the advanced features SC users have been requesting for a while: world forwarding, command warmups, bed support, etc. Permissions, GroupManager and PEX are supported, as well as limited OP permissions.

    Given the limited development time at my disposal, and the existence of a superior (and compatible) alternative, it makes more sense for myself and the SpawnControl userbase to switch. Apologies for the inconvenience.

    If you have questions about the conversion process, feel free to direct them to myself or morganm. If you have concerns or complaints, direct them to me. ;)
     
  25. Offline

    phrstbrn

    @Timberjaw

    Thanks for the update. Last time I looked at HSP it was incomplete (we been using SpawnControl since May or so). I'll look over there.
     
  26. Offline

    Timberjaw

    @phrstbrn If you identify any features missing from HSP, don't hesitate to let morganm and/or myself know. I've told morganm that I'm willing to help out on the development side there as I have time, and obviously any functionality gaps between HSP and SC would be of interest to me. I feel I have a personal responsibility to make sure SpawnControl users are in good hands. :)
     
  27. Offline

    cjc343

    Well, I certainly have a complaint. I've been using SpawnControl since the dawn of time and I'm sad to see it go.

    Thanks for being willing to make that call though... and for the many version of SpawnControl I've used...
     
  28. Offline

    Timberjaw

    @cjc343 Thanks for the kind words! Let me know if you have any difficulty with the conversion.
     
  29. Offline

    MSTrus

    Thank you very much! Plugin works very well
     
  30. Offline

    Juze

    @Timberjaw : What a coincidence, as soon as I noticed how SpawnControl broke and the earlier version had multiworld spawn issues, I actually switched to HSP. Thanks for creating SpawnControl though, it has been very helpful ever since it was created for hMod!

    EDIT: Bah, Bukkit has an outdated XenForo addon for @notify.
     
  31. Offline

    Ollixxl

    When we make /spawn on our server there is a big hole and sometimes we die :(

    Is there a solution to fix this?​
     

Share This Page