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

    Rsccman

    lol trust me i program computers for a livin i saw ntuhin inside it
     
  3. Offline

    Timberjaw

    @Rsccman A plugin with no .yml file is a plugin that won't load. plugin.yml is in the base directory inside SpawnControl.jar. If you're not seeing it there, you've done something wrong (downloaded an incorrect file, opened it with a program that doesn't understand it, etc).
     
  4. Offline

    Rsccman

    downloaded from ur link babe
     
  5. Offline

    Wahrheit

    @Timeberjaw can we please have a release for PermissionsBukkit?
     
  6. Offline

    Laurie Harper

    Hiya, I seem to be having a problem with the plugin:

    We're doing an RPG on our server and we have two teams; (for this instance A, B). We have allocated the teams using the 'users and groups' function on Servercraft's McMyAdmin panel and set spawns (/setsgroupspawn A) yet everytime they die they always end up at the main spawn.

    Is there a way to fix this, and if so how?

    Cheers guys ~ First post, Laurie.
     
  7. Offline

    Timberjaw

    You'll need to set the death option to use the group spawn instead of the default (global spawn):

    /sc_config behavior_death 2

    I'll look into it. From what I understand it shouldn't be too difficult. :)

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

    Wahrheit

    I hope so, kinda need it as I'm switching soon and when I tried to use this everything was... bad.
     
  9. Offline

    xemnes

    i have an issue... i have set a global spawn for all groups except my guest group which by default they spawn at the group spawn, this only happens once since they will eventually move into a different world. my problem is this is for new players when they login to the server. i wish for them to spawn at the guests group spawn but instead they spawn at the global spawn...

    i have checked with existing guests and when they type /spawn or die in the main world they go to the group spawn but new player do not... am i doing something wrong? or is it a bug?
     
  10. Offline

    Wahrheit

    @Timeberjaw Any progress on the PermissionsBukkit build?
     
  11. Offline

    Timberjaw

    @Wahrheit Shooting for this weekend.
     
  12. Offline

    Rsccman

    you realize the links you provide to dlownlaod only give us 8 or 8.1?
    wheres my 8.2?
     
  13. Offline

    Timberjaw

    @Rsccman I just tried the download links. They both go to 0.8.2.

    Try this link if it's still not working for you.
     
  14. Offline

    Rsccman

    it says 8.2 yes but whenit runs its 8.0 or 8.1

    Code:
    151 recipes
    16 achievements
    16:31:30 [INFO] Starting minecraft server version Beta 1.7.3
    16:31:30 [INFO] Loading properties
    16:31:30 [INFO] Starting Minecraft server on 192.168.62.108:25565
    16:31:30 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC: 1.7.3)
    16:31:33 [INFO] LWC: Loading shared objects
    16:31:33 [INFO] LWC: Protection cache: 0/10000
    16:31:33 [INFO] LWC: Native library: plugins/LWC/lib/native/Linux/i386/libsqlitejdbc.so
    16:31:35 [INFO] [Permissions] (Yeti) was initialized.
    16:31:35 [INFO] [Permissions] version [3.1.6] (Yeti)  loaded
    16:31:35 [INFO] [P2] version 3.2 has been enabled.
    16:31:36 [INFO] [P2Aliases] 1.3 Enabled.
    16:31:36 [INFO] Preparing level "Rsccland"
    16:31:36 [INFO] Preparing start region for level 0 (Seed: 1483042649)
    16:31:37 [INFO] Preparing spawn area: 40%
    16:31:38 [INFO] Preparing spawn area: 81%
    16:31:40 [INFO] [ChestShop] version 3.01 initialized!
    16:31:40 [INFO] [ChestShop] iConomy 5 loaded.
    16:31:40 [INFO] [ChestShop] Permissions version 3.1.6 loaded.
    16:31:40 [INFO] [ChestShop] LWC version 3.31 loaded.
    16:31:40 [INFO] [MobDisguise] by desmin88 version 1.6 enabled.
    16:31:40 [INFO] Cenotaph v.1.6.2 is enabled.
    16:31:40 [INFO] [Cenotaph] Using Permissions (v3.1.6)
    16:31:42 [INFO] [Cenotaph] Cenotaph is up to date at version 1.6.2.
    16:31:42 [INFO] [MyHome] 70 homes loaded
    16:31:42 [INFO] [MyHome] Permissions enabled using: Permissions v3.1.6
    16:31:42 [WARNING] [MyHome] Help plugin not detected. Only providing help via /home help.
    16:31:42 [INFO] [MyHome] MyHome 2.0 enabled
    16:31:44 [INFO] [iConomy] Logging is currently disabled.
    16:31:44 [INFO] [iConomy] v5.01 (Eruanna) loaded.
    16:31:44 [INFO] [iConomy] Developed by: [Nijikokun]
    16:31:44 [INFO] [iConomy] hooked into Permissions.
    16:31:44 [INFO] [MyHome] Connected to iConomy v5 for economy support.
    16:31:44 [INFO] SimpleSignEdit v1.6.2 enabled.
    [COLOR=rgb(255, 153, 0)][SIZE=4]16:31:44 [INFO] [SpawnControl] version [0.8.1] loaded[/SIZE][/COLOR]
    16:31:44 [INFO] [obuShutTheHellUp version 0.3] Settings file successfully loaded
    16:31:44 [INFO] [obuShutTheHellUp version 0.3] Enabled!
    16:31:44 [INFO] [BACKUP] You have disabled the automatic backup function!
    16:31:44 [INFO] Backup v1.6 was sucessfully loaded!
    16:31:44 [INFO] NoExplode version 1.5 is enabled!
    16:31:45 [INFO] Spout 1.0.2.115 has been initialized
    16:31:45 [INFO] WorldEdit 4.6 enabled.
    16:31:45 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    16:31:46 [INFO] [LazyRoad] : Version 0.5.2 is enabled!
    16:31:46 [INFO] [iChat] Found Permissions (v3.1.6)
    16:31:46 [INFO] iChat (v2.3.3-p3) enabled
    16:31:46 [INFO] [BBROTHER] ------------------------------------
    16:31:46 [INFO] [BBROTHER] Hello, and thank you for using the TESTING version of BigBrother!
    16:31:46 [INFO] [BBROTHER] Please note that, since this is far from complete, there will be many bugs.
    16:31:46 [INFO] [BBROTHER] IF YOU FIND ANY BUGS, PLEASE REPORT THEM ON http://bugs.nexisonline.net/bb
    16:31:46 [INFO] [BBROTHER] Please stay tuned in irc.esper.net #bigbrother for updates and build notifications.
    16:31:46 [INFO] [BBROTHER] ------------------------------------
    16:31:47 [INFO] [BBROTHER] Building `bbdata` table...
    16:31:47 [INFO] [BBROTHER] BBData H2 Driver r1 loaded!
    16:31:47 [INFO] [BBROTHER] Building `bbworlds` table...
    16:31:47 [INFO] [BBROTHER] Building `bbactions` table...
    16:31:47 [INFO] [BBROTHER] Action #1 - BrokenBlock
    16:31:47 [INFO] [BBROTHER] Action #2 - PlacedBlock
    16:31:47 [INFO] [BBROTHER] Action #3 - DestroySignText
    16:31:47 [INFO] [BBROTHER] Action #4 - Teleport
    16:31:47 [INFO] [BBROTHER] Action #5 - DeltaChest
    16:31:47 [INFO] [BBROTHER] Action #6 - Command
    16:31:47 [INFO] [BBROTHER] Action #7 - Chat
    16:31:47 [INFO] [BBROTHER] Action #8 - Disconnect
    16:31:47 [INFO] [BBROTHER] Action #9 - Login
    16:31:47 [INFO] [BBROTHER] Action #10 - DoorOpen
    16:31:47 [INFO] [BBROTHER] Action #11 - ButtonPress
    16:31:47 [INFO] [BBROTHER] Action #12 - LeverSwitch
    16:31:47 [INFO] [BBROTHER] Action #13 - CreateSignText
    16:31:47 [INFO] [BBROTHER] Action #14 - LeafDecay
    16:31:47 [INFO] [BBROTHER] Action #15 - FlintAndSteel
    16:31:47 [INFO] [BBROTHER] Action #16 - TNTExplosion
    16:31:47 [INFO] [BBROTHER] Action #17 - CreeperExplosion
    16:31:47 [INFO] [BBROTHER] Action #18 - MiscExplosion
    16:31:47 [INFO] [BBROTHER] Action #19 - ChestOpen
    16:31:47 [INFO] [BBROTHER] Action #20 - BlockBurn
    16:31:47 [INFO] [BBROTHER] Action #21 - Flow
    16:31:47 [INFO] [BBROTHER] Action #22 - DropItem
    16:31:47 [INFO] [BBROTHER] Action #23 - PickupItem
    16:31:47 [INFO] [BBROTHER] Action #24 - SignDestroyed
    16:31:47 [INFO] [BBROTHER] Action #25 - Heartbeat
    16:31:47 [INFO] [BBROTHER] Action #26 - BlockPistoned
    16:31:47 [INFO] [BBROTHER] Building `bbusers` table...
    16:31:47 [INFO] [BBROTHER] Permissions enabled using: Permissions v3.1.6
    16:31:47 [WARNING] [BBROTHER] 'Help' isn't detected. No /help support
    16:31:47 [INFO] [BBROTHER] BigBrother 1.10.2-SNAPSHOT (build #658) enabled!
    16:31:47 [INFO] LWC: Loaded 135 locale strings (0 overrides)
    16:31:48 [INFO] LWC: Permissions API: NijiPermissions
    16:31:48 [INFO] LWC: Currency API: iConomyCurrency
    16:31:48 [INFO] LWC: Loading SQLite
    16:31:48 [INFO] LWC: Using: Native
    16:31:48 [INFO] LWC: Precached 1641 protections.
    16:31:48 [INFO] LWC: At version: 3.31-git-LWC-b9ea01e8c2f66480ada443ba9084dfbe9832f06e-b81jnks
    16:31:48 [INFO] [Cenotaph] Using LWC (v3.31)
    16:31:48 [INFO] [Herobrine] 1.0_5 is enabling.
    16:31:48 [INFO] [Herobrine] Found Spout.
    16:31:49 [INFO] [Herobrine] Loading configuration.
    16:31:49 [INFO] [Herobrine] 1.0_5 was enabled.
    16:31:49 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    16:31:49 [INFO] WorldGuard: (Rsccland) Single session is enforced.
    16:31:49 [INFO] WorldGuard: (Rsccland) TNT ignition is blocked.
    16:31:49 [INFO] WorldGuard: (Rsccland) Lighters are PERMITTED.
    16:31:49 [INFO] WorldGuard: (Rsccland) Lava fire is blocked.
    16:31:49 [INFO] WorldGuard: (Rsccland) All fire spread is disabled.
    16:31:49 [INFO] WorldGuard: Loaded configuration for world 'Rsccland"
    16:31:49 [INFO] WorldGuard: Unable to register missing event type SNOW_FORM
    16:31:49 [INFO] WorldGuard 5.2.2 enabled.
    16:31:49 [INFO] [AncientGates v1.0.2] Loading conf from disk
    16:31:49 [INFO] [AncientGates v1.0.2] Loading gates from disk
    16:31:49 [INFO] [AncientGates v1.0.2] Enabled
    16:31:49 [INFO] [PreciousStones] version 5.4.2 loaded
    16:31:50 [INFO] [PreciousStones] SQLite Connection successful
    16:31:50 [INFO] [PreciousStones] (Rsccland) fields: 170
    16:31:50 [INFO] [PreciousStones] Payment method: iConomy v5
    16:31:51 [INFO] [General-3.5.1]  Using [WorldEdit 4.6] for permissions.
    16:31:51 [INFO] [General-3.5.1] Using [iConomy 5.01] for economy.
    16:31:51 [INFO] [General-3.5.1] [Codename: Schoenberg] Plugin successfully loaded!
    16:31:51 [INFO] [General-3.5.1] Command alias setspawn was not registered because [SpawnControl] claimed it.
    16:31:51 [INFO] [General-3.5.1] Command alias heal was not registered because [WorldGuard] claimed it.
    16:31:51 [INFO] [General-3.5.1] Command alias about was not registered because [Craftbukkit] claimed it.
    16:31:51 [WARNING] [General-3.5.1] [Help] isn't detected. No /help support; instead use /general help
    16:31:52 [INFO] [Jobs v2.4.5] has been enabled succesfully.
    16:31:52 [INFO] [Jobs] Successfully linked with iConomy 5+.
    16:31:52 [INFO] [Jobs] Successfully linked with Permissions.
    16:31:52 [INFO] Server permissions file permissions.yml is empty, ignoring it
    16:31:52 [INFO] Done (1.670s)! For help, type "help" or "?"
    16:31:55 [INFO] [BBROTHER] Removed 0 records older than 288h00m00s in 0h00m00s.
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 6, 2016
  15. Offline

    Wahrheit

    Bwahaha glad you saw that, fail tag.

    Sooner would be better, I'm trying to switch to PermissionsBukkit and this is the last problem on my list.
     
  16. Offline

    Rsccman

    and i used the link you gave me also
     
  17. Offline

    Timberjaw

    @Rsccman Ah, so it does. If I remember right, I simply forgot to update the version number when uploading it. It should be the correct file, however.
     
  18. Offline

    xemnes

    is my issue not solvable? i could always download herospawn but then this plugin overrides the first spawn...
     
  19. Offline

    rmb938

    Anyway to have it so when a player sleeps they set their home there?
     
  20. Offline

    Mercury

    @Timberjaw -
    There is only spawncontrol.db in SpawnControl folder??
     
  21. Offline

    Donald Scott

    Great, but where is the mysql support?
     
  22. Offline

    BadgerLove

    Hi Timberjaw,

    It good to see your still here and supporting your plugin :)

    I am currently using CB 1000 and have recently migrated my permissions over to PermissionsBukkit (with superperms api). Your plugin still works fine on here bar one problem that I can find.

    When I try to teleport to the GroupSpawn I receive an enternal error while in game and here is the log file error:

    Code:
    2011-08-18 00:08:21 [INFO] [SpawnControl] Attempting to send player BadgerLove to group spawn.
    2011-08-18 00:08:21 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'groupspawn' in plugin SpawnControl v0.8.1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at com.aranai.spawncontrol.SpawnControl.sendToGroupSpawn(SpawnControl.java:470)
        at com.aranai.spawncontrol.SCPlayerListener.onCommand(SCPlayerListener.java:249)
        at com.aranai.spawncontrol.SpawnControl.onCommand(SpawnControl.java:269)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    Any idea's? Or is this just not ready for PermissionsBukkit yet?
     
  23. Offline

    Ogniok

    Hi. I've made plugin for my server. It's about battles. I'm changing spawn location, but it teleports to Global Spawn set with your plugin. How to stop that and set respawn location for some players to another?

    EDIT: I'v recompiled your plugin and set PLAYER_RESPAWN event priority to High. ;]
     
  24. Offline

    benkaiser27

    Hey,
    i downloaded your mod just today for my new server and i didnt have any problems untill i did the /groupspawn command instead of sending me to my set point it sent me to the normal spawn but underground (also when i died)
     
  25. Offline

    Wahrheit

    Alright @Timberjaw I'm home from the lake, got the update?
     
  26. Offline

    Guitarpro

    Nice pluggin but when people die they go to the original spawn of the server but when they type /spawn they go to the spawn i set

    I need help
     
  27. Offline

    Th3Controller

    SpawnControl did not make a configuration file for me. Please look into this problem or make the default configuration file please in a spoiler drag down button.
     
  28. Offline

    Wahrheit

    It uses a database, not a config file. He says that. :)
     
  29. Offline

    Th3Controller

    Thank you found that out when I was searching this forum so I have to edit it by command?
     
  30. Offline

    Wahrheit

    Yes, as it also says in the OP. :)
     
  31. Offline

    Wahrheit

Share This Page