[GEN] HomeSpawnPlus v1.1 - Multiworld Home/Spawn [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by andune, Jul 1, 2011.

  1. Offline

    andune

    tombik likes this.
  2. Offline

    Jobsti

    Works great with PEX 1.14 #1188
     
  3. Offline

    andune

    An update on the update: I upgraded my own server to 1.8 yesterday and found some issues with respawning (move to fast errors) with HSP 0.7 that forced me to rush a dev-only version onto the server, which is only half-complete with the upcoming features. If someone is in the same situation, let me know and I'll polish it off just enough to release a pre-beta so you can get up and running until I get the real release finished.
     
  4. Offline

    Abysia

    My current issue is that I'm denied permission to use any commands even while OP. Everything worked fantastically before 1185 so that is the only thing it could possibly be, I would think.

    I plan to mess around with it a bit more, however.
     
  5. Offline

    mattdh

    Sorry, seems I got this plugin confused with another one.
     
  6. Offline

    Jobsti

    @morganm
    Sometimes, users spawn on the roof oy my Spawnhouse after server-restart,
    or new users on her first login.
    If the users try /spawn or /home, they respawn correctly on the setted point.

    I'm waiting for the warmup-option ;)

    I've got no "move to fast errors", or very very rarely Errors from nochet plugin.

    Request/question:
    Could you implement an option, to check with a command, which users aren't more registered und clear their homes from the db/file.
    Not registered are the default users, or users which are not in the permissions file from PEX or other permissions plugins.
     
  7. Offline

    kingtacomaster

    Is this compatible with bukkit 1.8?
     
  8. Offline

    xemnes

    you need to learn to read, it is compatable with the latest bukkit build but there are a few bugs
     
  9. Offline

    andune

    I am migrating the project to dev.bukkit.org (not yet approved, you may not be able to see it just yet), I've finished up a lot of coding for the next version over this weekend. Still need to do more testing and finishing off of features before I release it. But here is a preview of changes to come:

    http://dev.bukkit.org/server-mods/homespawnplus/pages/changelog/

    and the new config.yml has some documentation about the new flexible strategies that were implemented:

    http://dev.bukkit.org/server-mods/homespawnplus/pages/config-yml/

    Jobsti: weird on the roof-spawn issue. I might ask you for a PM to your server so I can login and see this first-hand. HSP records *exact* locations (including pitch/yaw of facing direction) so it should put you exactly where you specify the spawn/home. If there's a bug with that happening, I'm definitely interested in finding out what's going on so I can fix it.

    warmup option is 90% coded in v0.8 (finished off a lot of work on it this weekend). The next version is coming, I promise. :)

    Good to hear no "move too fast" errors, maybe it was unique to some combination of plugins I was running. Regardless, my pre-v0.8 fixes the issue so if anyone does have this problem, it will be fixed by the upcoming release.

    Regarding your request, I'm not sure how easy that is to do, since it would require tying into Permissions/PEX in a very specific way. I might need to come up with a generic option that would work for non-Permission/PEX users as well. Please submit a ticket on dev.bukkit.org as soon as HSP becomes available and approved there so I don't lose track of this request.

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

    Rofang

    So am I the only one with the "new players start at world's original spawn instead of HSP spawn" problem? I find that odd; I've replicated the bug with all other plugins disabled.

    Edit: Probable user error.
     
  11. Offline

    xemnes

    im having the same issue, i started a conversation with you addressing the problems i am having
     
  12. Offline

    andune

    Update: I got close to finishing off v0.8 tonight. The new flexible strategy system is working well, warmups are tested and working well, firstLogin capability has been added, group spawning is fixed and I believe I've fixed a number of other bugs being reported against HSP v0.7 and RB #1185.

    I need to do some final testing and add some documentation on the new features and then I'll get it released for you guys. I will also be shifting over to dev.bukkit.org, so I will change the parent thread here to point to dev.bukkit.org when I release it in the next day or so.

    v0.8 is updated and released, please go over to dev.bukkit.org to get the file as well as to open support or enhancement tickets.

    @Rofang @xemnes Please let me know if this is still an issue in v0.8. From the testing I've done, I believe this is fixed. Also you can use /setfirstspawn in v0.8 to define the first spawn for new players, if you like.

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

    xemnes

    will do. now testing all the features
     
  14. Offline

    Rofang

    I, um, think I was actually being an idiot. :oops: When I was testing back then, I cleared out my entry from my world file to reset my location history, but I completely forgot HSP would still know I had a home and send me there accordingly. (My home was apparently the original spawn point, whether I did that or it was just the default.)

    So... yeah.
     
  15. Offline

    xemnes

    ok first issue arised =/
    Code:
    13:32:09 [SEVERE] Could not load 'plugins/HomeSpawnPlus.jar' in folder 'plugins':
    javax.persistence.PersistenceException: Error creating subclass for [org.morganm.homespawnplus.entity.Version]
        at com.avaje.ebeaninternal.server.subclass.SubClassManager.createClass(SubClassManager.java:117)
        at com.avaje.ebeaninternal.server.subclass.SubClassManager.resolve(SubClassManager.java:100)
        at com.avaje.ebeaninternal.server.deploy.BeanDescriptorManager.checkSubclass(BeanDescriptorManager.java:1571)
        at com.avaje.ebeaninternal.server.deploy.BeanDescriptorManager.setEntityBeanClass(BeanDescriptorManager.java:1518)
        at com.avaje.ebeaninternal.server.deploy.BeanDescriptorManager.createByteCode(BeanDescriptorManager.java:1204)
        at com.avaje.ebeaninternal.server.deploy.BeanDescriptorManager.readDeployAssociations(BeanDescriptorManager.java:1124)
        at com.avaje.ebeaninternal.server.deploy.BeanDescriptorManager.readEntityDeploymentAssociations(BeanDescriptorManager.java:630)
        at com.avaje.ebeaninternal.server.deploy.BeanDescriptorManager.deploy(BeanDescriptorManager.java:277)
        at com.avaje.ebeaninternal.server.core.InternalConfiguration.<init>(InternalConfiguration.java:150)
        at com.avaje.ebeaninternal.server.core.DefaultServerFactory.createServer(DefaultServerFactory.java:209)
        at com.avaje.ebeaninternal.server.core.DefaultServerFactory.createServer(DefaultServerFactory.java:64)
        at com.avaje.ebean.EbeanServerFactory.create(EbeanServerFactory.java:78)
        at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:176)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:175)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:138)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:408)
        at org.bukkit.Bukkit.reload(Bukkit.java:173)
        at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:349)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.io.IOException: Class not found
        at com.avaje.ebean.enhance.asm.ClassReader.readClass(ClassReader.java:382)
        at com.avaje.ebean.enhance.asm.ClassReader.<init>(ClassReader.java:359)
        at com.avaje.ebeaninternal.server.subclass.SubClassFactory.subclassBytes(SubClassFactory.java:115)
        at com.avaje.ebeaninternal.server.subclass.SubClassFactory.create(SubClassFactory.java:83)
        at com.avaje.ebeaninternal.server.subclass.SubClassManager.createClass(SubClassManager.java:113)
        ... 26 more
    
    seems i cannot load the plugin at all, it wont create the config file either (i deleted the old one to see if that was the problem but no avail)

    edit: heres my bukkit yml aswell
    Code:
    settings:
        spawn-radius: 1
        update-folder: update
        permissions-file: permissions.yml
        ping-packet-limit: 100
    aliases:
        icanhasbukkit:
        - version
        lnd:
        - landbrush
    database:
        username: root
        isolation: SERIALIZABLE
        driver: com.mysql.jdbc.Driver
        password: ********
        url: jdbc:mysql://localhost:3306/minecraftbukkit
     
  16. Offline

    andune

    Hmm, interesting. I tested the upgrade from v0.7 -> v0.8 quite extensively. I just downloaded the v0.8 jar and confirmed that it does have the Version file that the above error claims is missing. Did you restart the server or try to live-load using a plugin like 'PluginReloader'?

    I'll do some more testing and see if I can reproduce the issue.
     
  17. Offline

    xemnes

    i didnt restart the server, one thing i didnt do, hangon

    edit: ahah that was the problem, my bad >.>
    on with the testing!

    ok so far everything is working including my old issue where players wouldnt go to the group spawn =D. the first spawn still needs testing since a new player hasnt logged in yet

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

    Rofang

    I didn't encounter any problems, except that I'm probably still inept when it comes to testing whether new players go to the setfirstspawn point. I deleted my home this time, exited the server, deleted my player .dat file, restarted the server (dunno if that was necessary, but just in case), and I rejoined to find myself placed at the default world's normal spawn rather than the setfirstspawn point. I assume I've failed to trick the server into thinking I'm a new player.

    @xemnes - What say we help each other test our new player spawns?

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

    xemnes

    thats an ingenious idea
    ip?
    mine is smp.xemcorp.com
     
  20. Offline

    Rofang

    Sent you a pm.
     
  21. Offline

    andune

    @Rofang @xemnes HSP keeps track of player data, so it has it's own table to know if a player is new or not. If you want to reset your status with HSP, run the following SQL:

    delete from hsp_player where name = 'playername';

    If you have MySQL, it should be obvious how to do this. If you're using sqlite, on UNIX you could run 'sqlite3 HomeSpawnPlus.db' to open a SQL interface and then run the SQL above. If you wanted to delete record of all your players (so everyone restarts at the newSpawn), then you could just run:

    delete from hsp_player;

    The only player data HSP keeps track of at this time is location data, so there is no adverse affect to this other than everyone will restart at the "new player" spawn since HSP will think everyone is new.
     
  22. Offline

    Rofang

    That's mighty kind of you to overestimate my abilities like that. ;) Anyway, xemnes and I ran some tests, and all seems to be working as it should. Thanks, and sorry for the false alarm on my prior bug report(s).
     
  23. Offline

    andune

    Ha, well I assume someone using MySQL probably knows how to run SQL against it. If not, the simple instructions (for Linux) would be:

    mysql -u user -ppassword -d database

    (it is correct that there is no space between -p and the password). That will get you a basic MySQL prompt from which you can run SQL queries/updates. There are also web-based GUIs for MySQL. I won't try to explain here how to install such things, that's what google is for. :)

    Glad to hear things are working well. I tested it as thoroughly as I could before releasing, even still I figured you guys would find stuff I didn't test for and I'd have lots of bug reports. Glad that's not the case! :)
     
  24. Offline

    xemnes

    ah i werent aware that it kept track via the database i thought it checked the players folder instead, yeah i use heidisql for database management, probably one of the best mysql tools for windows
    do you have paypal? im considering donating a bit towards your hard work, one of my most useful plugins on my server. now just need to get the old commandsigns working somehow >.>
     
  25. Offline

    andune

    Now that I finally got v0.8 out the door and finished up a number of fixes/requests people had, I'm sure I'll be taking a break from HSP dev for a little bit (I've got to find sometime to enjoy playing MC myself, after all ;) ). But I've already started thinking about new features, so please login to:

    http://dev.bukkit.org/server-mods/homespawnplus/tickets/

    and vote up or comment on features you want so I know what is important to people. Or feel free to post your own ideas and enhancement requests that others can vote up and I'll try to let the community guide where I spend my time on future enhancements. You can also subscribe to file/comment/ticket updates on dev.bukkit.org if you want to stay up to date on the latest news.
     
  26. Offline

    jn108

    I am using bukkitpermissions, and have the permissions entered just as they are found on bukkitdev. However both myself as admin and others as simple default users have no commands. when trying /sethome, or /home or/ spawn or /setspawn. I only get " you do not have permissions to do that. "

    Code:
    users:
        Jn108:
            permissions:
            groups:
            - admin
        subarcticjack:
            permissions:
            groups:
            - default
    groups:
        default:
            permissions:
                permissions.build: true
                hsp.command.home.use: true
                hsp.command.sethome.use: true
                hsp.command.spawn.use: true
                hsp.warmupexempt.*: true
                hsp.cooldownexempt.*: true
                mcmmo.tools.*: true
                mcmmo.ability.*: true
                mcmmo.skills.*: true
                lwc.protect: true
        admin:
            permissions:
                permissions.*: true
                logblock.*: true
                mcmmo.*: true
                essentials.*: true
                hsp.command.*: true
                hsp.warmupexempt.*: true
                hsp.cooldownexempt.*: true
                hsp.admin: true
                lwc.admin: true
                ichat.color: true
                ichat.reload: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    
     
  27. Offline

    xemnes

    its not designed for bukkit permissions yet
     
  28. Offline

    andune

    Hmm. Do you have a Perm2 compatibility layer with your Superperms plugin? I added the Permission nodes but never added direct support for Superperms. Pretty easy to add direct support for it, guess I'll do that next release, but mean time running a Perm2 compatibility bridge (no sweat off your back) will work fine. Your other option in the mean time is to use the "core.defaultPermissions" config item to allow your users to use HSP commands without any permissions.
     
  29. Offline

    dalphi

    Can this be used with MyHome plugin? I'd like to use this plugin for spawn configuration, but I'd prefer to keep MyHome if possible. I see there may be conflicting commands.
     
  30. Offline

    xemnes

    i use home from commandbook which seems to overwrite this
    i guess what takes dominance comes first, try it
     
  31. Offline

    andune

    I specifically designed this plugin to "play nice" because I got tired of other plugins that didn't. In your HSP config.yml, there is a 'disabledCommands' section; just disable the HSP commands you don't want to use, and they'll be totally disabled and not fight with your other plugins at all.

    Note that HSP has no live hooks into plugins like MyHome to use for the home-related strategies, so without using the home functionality of HSP, the only strategies that make sense are spawn-related ones (which may be exactly what you're looking for, I don't know).
     

Share This Page