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

    PhantomGamers

    Huh? It does this for me already...
    Spawning spawns me at the exact spot, staring at the exact pixel I was at when I set the spawn. :S
     
  3. Offline

    detector42

    I reinstalled permissions and everything worked fine this time
    must have made a fail in the config file
     
  4. Offline

    r4ph43110w

    This plugin is not working for me. As in the first run, I spawned in the default spawn. Then, I walked a bit and used the setspawn command. I killed myself, and the result was pretty bad: I got teleported to the default spawn. But if I use the spawn command, it teleports me to the one I've set.

    This is the output I get:
    Code:
    2011-05-15 13:37:45 [INFO] Done (0,288s)! For help, type "help" or "?"
    2011-05-15 13:37:49 [INFO] r4ph43110w [/213.22.232.239:1024] logged in with entity id 148
    2011-05-15 13:37:49 [INFO] CommandBook: No intro.mid; not playing intro song.
    2011-05-15 13:38:06 [INFO] [AuthMe] Player r4ph43110w logged in!
    2011-05-15 13:38:20 [INFO] [SpawnControl] Attempting to respawn player r4ph43110w (respawning).
    2011-05-15 13:38:20 [INFO] [SpawnControl] DEBUG: Respawn Location: Location{world=CraftWorld{name=world}x=-297.0y=64.0z=-201.0pitch=0.0yaw=0.0}
    2011-05-15 13:39:09 [INFO] r4ph43110w issued server command: burn
    2011-05-15 13:39:29 [INFO] [SpawnControl] Attempting to respawn player r4ph43110w (respawning).
    2011-05-15 13:39:29 [INFO] [SpawnControl] DEBUG: Respawn Location: Location{world=CraftWorld{name=world}x=-297.0y=64.0z=-201.0pitch=0.0yaw=0.0}
    2011-05-15 13:43:27 [INFO] [SpawnControl] Attempting to respawn player r4ph43110w (respawning).
    2011-05-15 13:43:27 [INFO] [SpawnControl] DEBUG: Respawn Location: Location{world=CraftWorld{name=world}x=-297.0y=64.0z=-201.0pitch=0.0yaw=0.0}
    2011-05-15 13:44:03 [INFO] [SpawnControl] Attempting to respawn player r4ph43110w (respawning).
    2011-05-15 13:44:03 [INFO] [SpawnControl] DEBUG: Respawn Location: Location{world=CraftWorld{name=world}x=-297.0y=64.0z=-201.0pitch=0.0yaw=0.0}
    2011-05-15 13:54:57 [INFO] Stopping the server..
     
  5. Offline

    Exician

    Hey just wanted to say Thank You for making this plugin. Works great with how i want to set up my server. So ty again.
     
  6. Offline

    Timberjaw

    Are you by any chance using CommandBook? If so, make sure you build a custom version without spawn support.

    If not, try this series of steps, and post the resulting server log:

    1. /setspawn - you should get a chat message confirming the spawn was set - write down your current coordinates
    2. /spawn - check to see if you've teleported to the correct coordinates
    3. Die and respawn - the log should show a "DEBUG: Respawn Location" message - the coordinates in that message should match your spawn coordinates
    4. Check your coordinates immediately after spawning - ensure that they match the coordinates within the DEBUG message
    Post the results of each step here. At which step this fails will tell me a lot about what the problem likely is.
     
  7. Offline

    r4ph43110w

    Whew! That was the problem. Thanks for the quick support :)
     
  8. Offline

    MuttsNuts

    @Timberjaw
    Hi!
    I seem to have a problem. I cannot, for the life of me get my guests (first time users) to spawn at the correct location. I have /setspawn in side my 5hx20w round room with portals to seperate maps. Each time it spawns new players on top of the room and they can only get to the set spawn using /spawn which I dont give my players permissions to use as its a survival server. They can only get to spawn on death in other words... that when a player does die they do spawn at the correct location/height.
    Basically I have stripped my server down to just spawncontrol, permissions and worldedit and still it fails to put new players at the correct height on first join.
    My floor is made from glass so dont know if that effects it as it may not see it as a solid block... possibly but doesn't explain how /spawn command manages to get the spawn correct.

    If you have any suggestions etc It would be much appreciated.

    Thanks for your help! :)
     
  9. Offline

    blaize9

    is there a .properties file in plugins/spawncontrol
    because i donot have one
     
  10. Offline

    Morphy

    is their a way to set the spawn for a specific location on one world to affect all others.
    I am running multiverse on my server and i want players who die to always spawn at the sanctuary (server spawn)
     
  11. Offline

    MuttsNuts

    There is a way. Basiaclly you have to make the sanctuary you default world in your bukkit setting and make sure you change it for all other plugins too. That seems the only way as far as I could tell as it relates again to the multiverse worlds being children of the default which is the parent. The parent works as a normal world. Players get added to it, can be removed etc etc and all plugins work with it but the children on the other hand, cannot or are not as it is atm getting players added to the world folder (which I think is the reason for permissions not adding new users when ranked up/down to specific worlds automatically, I could be wrong, I'm not a developer, or can I understand any code). Also generally only plugins with multiverse support usually work on multiverse worlds if they act anything like permissions.

    Love this plugin tho.
    There is nothing that competes with this badboy!

    Just a database file it seems :(.

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

    Timberjaw

    @MuttsNuts If those players have been on the server previously, simply removing their .dat file will not be sufficient to mark the as new; SpawnControl keeps a database of player spawns, and if it finds a player record in the database when they log in, it will not see them as 'new' (because it remembers them).

    This issue will hopefully be resolved in 0.9.

    @blaize9 Just the database. Read the instructions for the /sc_config command to configure SpawnControl

    @Morphy Not yet, but more advanced spawn rules are planned for 0.9
     
  13. Offline

    darkshino

    can this be used with msql because i prefer it over sql lite
     
  14. Offline

    Timberjaw

    Short answer: no.

    Long answer: I'm unlikely to add this feature unless a lot of users need it.
     
  15. Offline

    MuttsNuts

    @Timberjaw That seems to have fixed it for seme reason. Now everybody is spawning where they should. Dont understand why it did what it did though. I just wiped the database clean and now all is fine. Thanks. :D
     
  16. Offline

    Clem

    Does this work with Groupmanager with fakePermissions, because when I try the /groupspawn it tps me to the normal spawn :/
     
  17. Offline

    Ecnalyr

    For some reason I cannot get the delay timers to work. The system appears to confirm that I am adjusting the delay, but people can still /spawn or /home all they want - without delay.

    Could this be caused by the fact that I have several plugins that use mysql, and this is running mysqllite?

    Anyone have any idea how to solve this problem?
     
  18. Offline

    Malkierian

    OK, how's this one. When people join for the first time, even if I have behavior_spawn set to groupspawn, it sends the new players to global spawn. possible to fix/customize this?
     
  19. Offline

    Jckf

    Could you make it so that sleeping in a bed will set the home location? =)
     
  20. Offline

    Timberjaw

    I have not tested with GroupManager; only Permissions (Phoenix). If other commands are working, however, you may have just not set a group spawn correctly.

    It's unlikely that this is a SQLite/MySQL issue. Make sure you're not using any other plugins that implement /spawn or /home, as they may be interfering. CommandBook, EssentialsSpawn, etc.

    behavior_join could be used for that, but it would affect everyone, not just new players. I'll mull it over for the next version, since the spawn preferences are going to get a revamp.

    It's on my todo list. :)
     
    Jckf likes this.
  21. Offline

    Clem

    It doesn't work for anything else, but /spawn for admins... Otherwise no one can do /spawn or anything, it says they don't have permission, and I know I put the nodes in GM right... Fake Permissions does work with my others stuff but not yours?!
     
  22. Offline

    Timberjaw

    @Clem Are you using the standalone (now defunct) versions of Fake Permissions and GroupManager, or the Essentials versions?

    Check your server startup log for errors related to SpawnControl. In particular, be on the lookout for a "permissions not found" type error.
     
  23. Offline

    Clem

    @Timberjaw I am using the one that came with Essentials as they said it was the same. I will look for that error now

    Here is my Log file from my most recent (1 Minute ago) server restart
    Code:
    2011-05-23 20:56:05 [INFO] [BBROTHER] Permissions enabled using: Permissions v2.7.2
    2011-05-23 20:56:05 [WARNING] [BBROTHER] 'Help' isn't detected. No /help support
    2011-05-23 20:56:05 [INFO] [BBROTHER] BigBrother 1.8-SNAPSHOT (build #433) enabled!
    2011-05-23 20:56:05 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
    2011-05-23 20:56:05 [INFO] GroupManager version 1.0(alpha-5) is enabled!
    2011-05-23 20:56:05 [INFO] Fake Permissions version 2.7.2 is enabled!
    2011-05-23 20:56:05 [INFO] BlastControl version 1.0.4 is enabled!
    2011-05-23 20:56:05 [INFO] ChunkRegenerate version 1.1 is enabled with permissions!
    2011-05-23 20:56:05 [INFO] Loading ColoredSigns
    2011-05-23 20:56:05 [INFO] [CommandSigns] 0.5.1 enabled.
    2011-05-23 20:56:05 [INFO] CommandSigns: Integrated with iConomy
    2011-05-23 20:56:05 [INFO] CommandSigns: Integrated with Permissions
    2011-05-23 20:56:05 [INFO] CommandSigns: Integrated with GroupManager
    2011-05-23 20:56:05 [INFO] [CreatureSpawner] version 1.1 by [Xstasy] enabled.
    2011-05-23 20:56:06 [WARNING] Bukkit version is not the recommended build for Essentials.
    2011-05-23 20:56:06 [INFO] Loaded Essentials build 2.2.18 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-05-23 20:56:06 [INFO] Loaded EssentialsGeoIP build 2.2.18 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-05-23 20:56:06 [INFO] This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/.
    2011-05-23 20:56:06 [INFO] [HeroicDeath] 1.8.1.156 enabled.
    2011-05-23 20:56:06 [INFO] [iChat] Found Permissions (v2.7.2)
    2011-05-23 20:56:06 [INFO] iChat (v2.2.3) enabled
    2011-05-23 20:56:08 [INFO] [iConomy] Logging is currently disabled.
    2011-05-23 20:56:08 [INFO] [iConomy] v5.01 (Eruanna) loaded.
    2011-05-23 20:56:08 [INFO] [iConomy] Developed by: [Nijikokun]
    2011-05-23 20:56:08 [INFO] [Essentials] Payment method found (iConomy version: 5)
    2011-05-23 20:56:08 [INFO] [iConomy] hooked into Permissions.
    2011-05-23 20:56:08 [INFO] [LockChest] Using Permissions!
    2011-05-23 20:56:08 [INFO] [LockChest] Enabled
    2011-05-23 20:56:08 [INFO] [MCTelnet] - Starting Up! Version: 1.2.5 by bekvon
    2011-05-23 20:56:08 [INFO] [MCTelnet] - Listening on: 0.0.0.0:8765
    2011-05-23 20:56:08 [INFO] [Minecart Mania] Debug mode switched to NORMAL
    2011-05-23 20:56:08 [INFO] [Minecart Mania] MinecartManiaCore version 1.1.9_special_release_1 is enabled!
    2011-05-23 20:56:08 [INFO] [Minecart Mania] MinecartManiaSignCommands version 1.1.3 is enabled!
    2011-05-23 20:56:09 [INFO] [Minecart Mania] MinecartManiaStation version 1.1.0 is enabled!
    2011-05-23 20:56:09 [INFO] [SpawnControl] version [0.8.1] loaded
    2011-05-23 20:56:09 [INFO] [Tele++] initializing version [1.3.4]
    2011-05-23 20:56:09 [WARNING] 'Help' not detected. No Help support enabled! Using internal Help
    2011-05-23 20:56:09 [INFO] [Tele++] version [1.3.4] loaded
    2011-05-23 20:56:09 [INFO] [TeslaCoil] version 1.3.5 by [Darklust] Loaded
    2011-05-23 20:56:09 [INFO] [WeatherGod] Permission system detected.
    2011-05-23 20:56:09 [INFO] WeatherGod version 0.3 is enabled!
    2011-05-23 20:56:09 [INFO] WorldEdit 4.4 enabled.
    2011-05-23 20:56:09 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-23 20:56:09 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-23 20:56:09 [INFO] WorldGuard: (world) Single session is enforced.
    2011-05-23 20:56:09 [INFO] WorldGuard: (world) TNT ignition is PERMITTED.
    2011-05-23 20:56:09 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    2011-05-23 20:56:09 [INFO] WorldGuard: (world) Lava fire is blocked.
    2011-05-23 20:56:09 [INFO] WorldGuard: (world) Fire spread is UNRESTRICTED.
    2011-05-23 20:56:09 [INFO] WorldGuard: Loaded configuration for world 'world"
    2011-05-23 20:56:09 [INFO] WorldGuard: 21 regions loaded for 'world'
    2011-05-23 20:56:09 [INFO] WorldGuard 5.0-alpha10 enabled.
    2011-05-23 20:56:09 [INFO] [Minecart Mania] Permissions detected. Using permissions.
    2011-05-23 20:56:09 [INFO] [Minecart Mania] MinecartManiaAdminControls version 1.1.4 is enabled!
    2011-05-23 20:56:09 [INFO] [Minecart Mania] MinecartManiaAutocart version 1.1.3 is enabled!
    2011-05-23 20:56:09 [INFO] [Minecart Mania] MinecartManiaAutomations version 1.1.2 is enabled!
    2011-05-23 20:56:09 [INFO] [Minecart Mania] MinecartManiaChestControl version 1.1.3 is enabled!
    2011-05-23 20:56:09 [INFO] Done (0.920s)! For help, type "help" or "?"
    And is says "2011-05-23 20:56:09 [INFO] [SpawnControl] version [0.8.1] loaded" Nothing else...

    Also when the server first loads it gives me an error about your DB, which seems to be negatively affecting BigBrother (Which was working perfectly before this).
    Code:
    2011-05-23 20:56:00 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-706-gf53e007-b740jnks (MC: 1.5_02)
    2011-05-23 20:56:00 [INFO] Preparing level "world"
    2011-05-23 20:56:00 [INFO] Preparing start region
    2011-05-23 20:56:01 [SEVERE] Could not load 'plugins\sqlitejdbc-v056.jar' in folder 'plugins':
    java.io.FileNotFoundException: Jar does not contain plugin.yml
    
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:59)
    
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:160)
    
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:108)
    
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:85)
    
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    2011-05-23 20:56:01 [INFO] [BBROTHER] ------------------------------------
    2011-05-23 20:56:01 [INFO] [BBROTHER] Hello, and thank you for using the TESTING version of BigBrother!
    2011-05-23 20:56:01 [INFO] [BBROTHER] Please note that, since this is far from complete, there will be many bugs.
    2011-05-23 20:56:01 [INFO] [BBROTHER] IF YOU FIND ANY BUGS, PLEASE REPORT THEM ON http://bugs.nexisonline.net/bb
    2011-05-23 20:56:01 [INFO] [BBROTHER] Please stay tuned in irc.esper.net #bigbrother for updates and build notifications.
    2011-05-23 20:56:01 [INFO] [BBROTHER] ------------------------------------
    2011-05-23 20:56:05 [INFO] [BBROTHER] Building `bbdata` table...
    2011-05-23 20:56:05 [SEVERE] [BBROTHER] executeUpdate failed (CREATE TABLE IF NOT EXISTS `bbdata` (`id` INTEGER AUTO_INCREMENT PRIMARY KEY,`date` INT UNSIGNED NOT NULL DEFAULT '0',`player` INT UNSIGNED NOT NULL DEFAULT '0',`action` tinyint NOT NULL DEFAULT '0',`world` tinyint NOT NULL DEFAULT '0',`x` int NOT NULL DEFAULT '0',`y` tinyint UNSIGNED NOT NULL DEFAULT '0',`z` int NOT NULL DEFAULT '0',`type` smallint NOT NULL DEFAULT '0',`data` TEXT NOT NULL DEFAULT '',`rbacked` boolean NOT NULL DEFAULT '0');CREATE INDEX dateIndex on bbdata (date);CREATE INDEX playerIndex on bbdata (player);CREATE INDEX actionIndex on bbdata (action);CREATE INDEX worldIndex on bbdata (world);CREATE INDEX posIndex on bbdata (x,y,z);CREATE INDEX typeIndex on bbdata (type);CREATE INDEX rbackedIndex on bbdata (rbacked);):
    org.h2.jdbc.JdbcSQLException: Index "DATEINDEX" already exists; SQL statement:
    CREATE INDEX dateIndex on bbdata (date);CREATE INDEX playerIndex on bbdata (player);CREATE INDEX actionIndex on bbdata (action);CREATE INDEX worldIndex on bbdata (world);CREATE INDEX posIndex on bbdata (x,y,z);CREATE INDEX typeIndex on bbdata (type);CREATE INDEX rbackedIndex on bbdata (rbacked); [42111-153]
    
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
    
        at org.h2.message.DbException.get(DbException.java:167)
    
        at org.h2.message.DbException.get(DbException.java:144)
    
        at org.h2.command.ddl.CreateIndex.update(CreateIndex.java:76)
    
        at org.h2.command.CommandContainer.update(CommandContainer.java:69)
    
        at org.h2.command.Command.executeUpdate(Command.java:212)
    
        at org.h2.command.CommandList.update(CommandList.java:41)
    
        at org.h2.command.CommandList.executeRemaining(CommandList.java:36)
    
        at org.h2.command.CommandList.update(CommandList.java:42)
    
        at org.h2.command.Command.executeUpdate(Command.java:212)
    
        at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:143)
    
        at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:129)
    
        at me.taylorkelly.bigbrother.datasource.BBDB.executeUpdate(BBDB.java:243)
    
        at me.taylorkelly.bigbrother.tablemgrs.DBTable.createTable(DBTable.java:35)
    
        at me.taylorkelly.bigbrother.tablemgrs.BBDataTable.<init>(BBDataTable.java:57)
    
        at me.taylorkelly.bigbrother.tablemgrs.BBDataH2.<init>(BBDataH2.java:13)
    
        at me.taylorkelly.bigbrother.tablemgrs.BBDataTable.getInstance(BBDataTable.java:47)
    
        at me.taylorkelly.bigbrother.BigBrother.onEnable(BigBrother.java:115)
    
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
    
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
    
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    2011-05-23 20:56:05 [INFO] [BBROTHER] BBData H2 Driver r1 loaded!
    2011-05-23 20:56:05 [INFO] [BBROTHER] Building `bbworlds` table...
    2011-05-23 20:56:05 [INFO] [BBROTHER] Building `bbusers` table...
    2011-05-23 20:56:05 [SEVERE] [BBROTHER] executeUpdate failed (CREATE TABLE IF NOT EXISTS `bbusers` (`id` INT AUTO_INCREMENT PRIMARY KEY,`name` varchar(32) NOT NULL DEFAULT 'Player',`flags` INT NOT NULL DEFAULT '0');CREATE UNIQUE INDEX idxUsername ON `bbusers` (`name`)):
    org.h2.jdbc.JdbcSQLException: Index "IDXUSERNAME" already exists; SQL statement:
    CREATE TABLE IF NOT EXISTS `bbusers` (`id` INT AUTO_INCREMENT PRIMARY KEY,`name` varchar(32) NOT NULL DEFAULT 'Player',`flags` INT NOT NULL DEFAULT '0');CREATE UNIQUE INDEX idxUsername ON `bbusers` (`name`) [42111-153]
    
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
    
        at org.h2.message.DbException.get(DbException.java:167)
    
        at org.h2.message.DbException.get(DbException.java:144)
    
        at org.h2.command.ddl.CreateIndex.update(CreateIndex.java:76)
    
        at org.h2.command.CommandContainer.update(CommandContainer.java:69)
    
        at org.h2.command.CommandList.executeRemaining(CommandList.java:36)
    
        at org.h2.command.CommandList.update(CommandList.java:42)
    
        at org.h2.command.Command.executeUpdate(Command.java:212)
    
        at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:143)
    
        at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:129)
    
        at me.taylorkelly.bigbrother.datasource.BBDB.executeUpdate(BBDB.java:243)
    
        at me.taylorkelly.bigbrother.tablemgrs.DBTable.createTable(DBTable.java:35)
    
        at me.taylorkelly.bigbrother.tablemgrs.BBUsersTable.<init>(BBUsersTable.java:67)
    
        at me.taylorkelly.bigbrother.tablemgrs.BBUsersH2.<init>(BBUsersH2.java:11)
    
        at me.taylorkelly.bigbrother.tablemgrs.BBUsersTable.getInstance(BBUsersTable.java:54)
    
        at me.taylorkelly.bigbrother.BBPlayerInfo.<init>(BBPlayerInfo.java:50)
    
        at me.taylorkelly.bigbrother.BigBrother.onEnable(BigBrother.java:117)
    
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
    
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
    
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    2011-05-23 20:56:05 [INFO] [BBROTHER] Permissions enabled using: Permissions v2.7.2
    2011-05-23 20:56:05 [WARNING] [BBROTHER] 'Help' isn't detected. No /help support
    2011-05-23 20:56:05 [INFO] [BBROTHER] BigBrother 1.8-SNAPSHOT (build #433) enabled!
    2011-05-23 20:56:05 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
    2011-05-23 20:56:05 [INFO] GroupManager version 1.0(alpha-5) is enabled!
    2011-05-23 20:56:05 [INFO] Fake Permissions version 2.7.2 is enabled!
    Perhaps the database isn't working? Maybe I should remove it? Anyways Thanks a lot @Timberjaw !

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

    Timberjaw

    @Clem Your sqlite jar is in the wrong folder. It should be in your base craftbukkit folder, not the plugins folder.
     
  25. Offline

    Clem

    It still refuses to work... I guess I will just have to ditch your plugin for now. Sorry mate :(

    Maybe I have some conflicting plugins; Will try after 1.6/ when it is updated

    Good luck mate :)
     
  26. As this plugin uses group names, it will likely need updating to be compatible with Permissions 3.0, would be great!
     
  27. Offline

    Chromana

    Suggested feature:
    Override cooldown for certain groups. I.e. put a permission in a group and for those players /home would have a cooldown of 0. Could also have another for /sethome.

    Also, I'm a bit confused about groupspawn. Does someone in that group only spawn there if they DON'T have a home set? Or does groupspawn override homes?
     
  28. Offline

    DarkKiller13

    with group spawn, how do you make multiple groups/add people to a group/and view who is in your group
     
  29. Offline

    Timberjaw

    @Joy Permissions 3.0? Aren't they only up to 2.7.x?

    @Chromana I neglected to add this to the OP, but cooldown exemption has been supported since 0.7. You can exempt users/groups from cooldown with the SpawnControl.CooldownExempt.* permissions (* = exempt from all cooldowns, or replace * with: home, sethome, groupspawn, or spawn to control specific exemptions).

    Group spawn behavior depends on the options you've set. See the OP for details of behavior_spawn, behavior_join, etc.

    @DarkKiller13 You should read up on how to use Permissions (Phoenix) to manage users and groups.
     
  30. Offline

    DarkKiller13

    ok ty i will (wow an awesomely fast responce XP yay)

    and oh, what file should i download whats the DEV download compared to the Stable

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

    Timberjaw

    @DarkKiller13 You want the stable download. Full installation and config details are available in the thread. :)
     
    DarkKiller13 likes this.

Share This Page