[INACTIVE][TP] MyWarp v1.10.3: Basic, Social, Guiding, WarpSigns [531]

Discussion in 'Inactive/Unsupported Plugins' started by tkelly, Jan 7, 2011.

     
  1. Offline

    tkelly

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    MyWarp v1.10.3
    Download MyWarp v1.10.3
    Download MyWarp (Static Jar)
    MyWarp Source
    Suggest Features

    Uses Permissions plugin to manage permissions (but is not required)

    For simple set-up, give your users 'mywarp.warp.*'
    and your moderators 'mywarp.*' (includes mywarp.admin and mywarp.warp.*)

    ...is Basic
    Many server admins only want the very basics. MyWarp delivers on that, and still gives the speed and reliability of using a SQLite database.

    By only giving your users permission to mywarp.warp.basic.*, they will only be able to use the very basic commands.

    ...is Social
    However, sometimes your users will demand more. They'll want to make their warps private, invite only specific people to their warps, even give their warp to someone else. MyWarp can do that too.

    Give your users mywarp.warp.soc.*, and they'll be able to do all of that.

    ...is Intelligent
    Sometimes, warps can be long and hard to remember. This is where MyWarp's auto-complete abilities come into play. It tries to find the most applicable match, and sends you there. It only considers warps you have access to, and will not send you somewhere unless it knows it's correct.

    A few examples:
    There are warps: {"Mob Spawner", "Farm", "farm", "tkelly's house", "joe's house"}
    tkelly has access to: {"Mob Spawner", "Farm" "tkelly's house"}
    joe has access to: {"Mob Spawner", "Farm", "farm", "joe's house"}

    No matter who uses /warp spawn, they will be sent to "Mob Spawner"
    If tkelly uses /warp house, he'll be sent to "tkelly's house"
    If joe uses /warp house, he'll be sent to "joe's house"
    If tkelly uses /warp farm or /warp arm, he'll be sent to "Farm"
    If joe uses /warp farm, he'll be sent to "farm"
    But if joe uses /warp arm, it equally matches both "Farm" and "farm", so will send him to neither.


    ...is Sign-full
    Physical interactions with the world is what Minecraft is all about. That's why signs can be used to replace many of the basic commands. For now, you can have a sign warp you to one of your current warps (using the auto-complete). Feel free to suggest more things, and I'll build that in.

    In order to build a warping sign, create a sign with two lines of text (it doesn't matter what specific lines).
    Code:
    MyWarp
    <name>
    
    <name> can be the name of any warp. It can also be only part of the name (so "tkell" as <name> will still take you to "tkelly's house")

    ...is Guiding
    Want to make your users work to get to their points of interest? Rather than giving them /warp permission, just give them (mywarp.warp.basic.compass) permission. This will let them /warp point <name> to a given warp, and that'll orient their compass to that warp, allowing them to use their own two legs to get there.


    ...is Restricting
    In addition to the compass restrictions, you can also limit the number of public and private warps users can make. You can find and change these settings in MyWarp.settings.

    Until Bukkit's permissions and groups get fleshed out, this is a global number. However, with another setting in MyWarp.settings, you can allow admins to go around this limit.


    ...is Helpful
    As an server administrator, warps can easily be abused. MyWarp gives you access to be able to visit and modify all the warps.

    Transitioning from hMod? Have a warps.txt full of warps? Use /warp convert to import that into the MyWarp database.


    Coming Soon.
  2.  
  3. Offline

    tkelly

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @ledhead900 : Ah, yea, that's a good idea. In the next update, I can restrict /warp convert to only OPs. And once the permissions get added to Bukkit, use that instead.

    @Jonathan Bloom : Yea, it's because you're an OP. I could create settings in the next update to disable this, but it'll be defaulted to on (so adminsSeePrivateWarps = true).

    @xZise : In the latest update (1.5.11.7), I fixed that inconsistency . OPs can see and warp to all warps.
  4. Offline

    xZise

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Are you sure? In WarpList you only test if (s)he can warp. But there you only check if (s)he is the creator and on the permissions list.

    Sincerely
    xZise
  5. Offline

    tkelly

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Updated git with v1.7 stuff, check again ;)
  6. Offline

    xZise

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ahhh :p okay if 1.5.1 is 1.7 ;)

    Sincerely
    xZise
  7. Offline

    FlayaN

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Confirmed working on CraftBukkit #83!
  8. Offline

    tkelly

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Oh, I forgot to say, that it can now do case-insensitive warp matching. I tried to make it as optimal and intuitive as possible, while also eliminating inconsistencies.

    Feel free to go ahead and use it, it should work just how you'd want, but I'll detail a few cases if you're interested.

    So say I have warps:

    /warp tkel will teleport me to TKELLY's HOUSE. Same with /warp xZise will warp to xZise's house.
    however,
    /warp house could do one of a few things:
    --Case 1) tkelly is using /warp house. He only is able to warp to his own house, so it warps to 'TKELLY's HOUSE'.
    --Case 2) xZise is using /warp house. Again, he only is able to warp to his own house, so it warps to 'xZise's house'
    --Case 3) tkelly is using /warp house again. This time xZise had invited him to his house. Because there are conflicts about where tkelly could end up, he does not warp.
    --Case 4) joe comes along and does /warp house. He's invited to only tkelly's house, so he warps to 'TKELLY's HOUSE'.
    /warp big farm will take you to 'The big farm'.
    /warp farm and /warp Farm will both take you to 'Farm'. If there is a perfect, case-insensitive match, it will always go there.

    "But wait!" you say... "I have a trick for you! What if..."
    It's possible to make warps with different cases. So if you do case-insensitive matching, where will /warp farm go?
    First it will try a case-sensitive match, if it doesn't find it, it will do a case-insensitive match, and so on.
    So /warp farm will take you to 'farm' and /warp Farm will take you to 'Farm', and /warp BIG FARM will still take you to 'The big farm'
  9. Offline

    tkelly

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    V1.7.1 Update (b.w. #87)
    You must be using build #87+
    - /warp slist will give a plain list of all the warps (like hMod's style)
    - /warp pcreate <name> will create a warp that is private to begin with
    - Better handling of corrupted warps when converting
    - Setting as to whether or not admins can see/warp to private warps (defaulted to true).
    - SQLite dependency auto-downloader (into /lib folder). Code via Hidendra <3

    So no more error reports of not being able to get the SQLite dependency! :D And if you only were using the old sqlite dependency for MyHome or MyWarp, feel free to delete it. The new one is placed in the /lib folder.
  10. Offline

    x3no

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is there a way to make /warp Admin only? With many players using it all the time and spamming warps, it's stressing and slowing down the server. To be honest i only need one warp for admin reasons.

    Otherwise great plugin, thanks!
  11. Offline

    Lim-Dul

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yeah, at least the public ones should be OP+ only.
  12. Offline

    Jonathan Bloom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That should be an option, because on my server I like giving people the ability to make public warps. It's not affecting my server, but I can see how it would on BIG servers.
  13. Offline

    DazBoot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I think the SQLite auto downloader is a great idea. I've been one of the people having trouble setting it up myself so this seemed perfect. However, I updated the plugin and I got:

    Code:
    2011-01-19 09:50:59 [INFO] Creating folder : lib
    2011-01-19 09:50:59 [INFO] Need to download 2 object(s)
    2011-01-19 09:50:59 [INFO]  - Downloading file : http://stethoscopesmp.com/tkelly/lib/sqlite.jar
    2011-01-19 09:51:11 [INFO]   + Download complete
    2011-01-19 09:51:11 [INFO]  - Downloading file : http://stethoscopesmp.com/tkelly/lib/linux-amd64.lib
    2011-01-19 09:51:11 [INFO]   + Download complete
    2011-01-19 09:51:12 [SEVERE] [MYWARP]: Table Check Exception
    java.sql.SQLException: database disk image is malformed
    	at org.sqlite.DB.throwex(DB.java:288)
    	at org.sqlite.NestedDB.prepare(NestedDB.java:115)
    	at org.sqlite.DB.prepare(DB.java:114)
    	at org.sqlite.Stmt.executeQuery(Stmt.java:89)
    	at org.sqlite.MetaData.getTables(MetaData.java:615)
    	at me.taylorkelly.mywarp.WarpDataSource.tableExists(WarpDataSource.java:87)
    	at me.taylorkelly.mywarp.WarpDataSource.initialize(WarpDataSource.java:24)
    	at me.taylorkelly.mywarp.WarpList.<init>(WarpList.java:20)
    	at me.taylorkelly.mywarp.MyWarp.onEnable(MyWarp.java:54)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
    	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:282)
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:173)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:60)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:45)
    	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:153)
    	at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:140)
    	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:177)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-01-19 09:51:12 [SEVERE] [MYWARP]: Create Table Exception
    java.sql.SQLException: database disk image is malformed
    	at org.sqlite.DB.throwex(DB.java:288)
    	at org.sqlite.NestedDB.prepare(NestedDB.java:115)
    	at org.sqlite.DB.prepare(DB.java:114)
    	at org.sqlite.Stmt.executeUpdate(Stmt.java:102)
    	at me.taylorkelly.mywarp.WarpDataSource.createTable(WarpDataSource.java:119)
    	at me.taylorkelly.mywarp.WarpDataSource.initialize(WarpDataSource.java:25)
    	at me.taylorkelly.mywarp.WarpList.<init>(WarpList.java:20)
    	at me.taylorkelly.mywarp.MyWarp.onEnable(MyWarp.java:54)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
    	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:282)
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:173)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:60)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:45)
    	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:153)
    	at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:140)
    	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:177)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-01-19 09:51:12 [SEVERE] [MYWARP]: Warp Load Exception
    2011-01-19 09:51:12 [INFO] MyWarp 1.7.1 enabled
    2011-01-19 09:51:12 [SEVERE] [MYHOME]: Table Check Exception
    java.sql.SQLException: database disk image is malformed
    	at org.sqlite.DB.throwex(DB.java:288)
    	at org.sqlite.NestedDB.prepare(NestedDB.java:115)
    	at org.sqlite.DB.prepare(DB.java:114)
    	at org.sqlite.Stmt.executeQuery(Stmt.java:89)
    	at org.sqlite.MetaData.getTables(MetaData.java:615)
    	at me.taylorkelly.myhome.WarpDataSource.tableExists(WarpDataSource.java:85)
    	at me.taylorkelly.myhome.WarpDataSource.initialize(WarpDataSource.java:23)
    	at me.taylorkelly.myhome.HomeList.<init>(HomeList.java:15)
    	at me.taylorkelly.myhome.MyHome.onEnable(MyHome.java:47)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
    	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:282)
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:173)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:60)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:45)
    	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:153)
    	at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:140)
    	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:177)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-01-19 09:51:12 [SEVERE] [MYHOME]: Create Table Exception
    java.sql.SQLException: database disk image is malformed
    	at org.sqlite.DB.throwex(DB.java:288)
    	at org.sqlite.NestedDB.prepare(NestedDB.java:115)
    	at org.sqlite.DB.prepare(DB.java:114)
    	at org.sqlite.Stmt.executeUpdate(Stmt.java:102)
    	at me.taylorkelly.myhome.WarpDataSource.createTable(WarpDataSource.java:117)
    	at me.taylorkelly.myhome.WarpDataSource.initialize(WarpDataSource.java:24)
    	at me.taylorkelly.myhome.HomeList.<init>(HomeList.java:15)
    	at me.taylorkelly.myhome.MyHome.onEnable(MyHome.java:47)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
    	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:282)
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:173)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:60)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:45)
    	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:153)
    	at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:140)
    	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:177)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-01-19 09:51:12 [SEVERE] [MYHOME]: Home Load Exception
    2011-01-19 09:51:12 [INFO] MyHome 1.6 enabled
    
    
    (I included the errors from both of your plugins)

    I'm currently running Craftbukkit 87, and Bukkit 56. Is the problem somewhere in there?
  14. Offline

    Jonathan Bloom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    tkelly, thanks for adding the option to turn off my ability to see all warps! :) You rock!
  15. Offline

    xZise

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I think tkelly will support proper managment after bukkit will have a permission system. At the moment we can only use OP and not OP status.

    Sincerely
    xZise
  16. Offline

    cjc343

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Feature Request (once Bukkit has user management...):

    Ability to warp a player/group/* to a specific warp.

    Equivalent to /tp to <targetPlayer> <Victims> except /warp to <targetWarp> <Victims> or /warp <targetWarp> <vicitms> or whatever syntax works best.

    This would be tons of fun for abusive admins like me.
  17. Offline

    tkelly

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @x3n0 @Lim-Dul : I think I may build in a few very basic permissions into the settings (just limiting to OP vs not-OP). But once the Bukkit permissions come out, it'll be replaced by that.

    @DazBoot : It sounds like the homes-and-warps.db might've got messed up somehow. If you don't have anything in there, I'd recommend just deleting it, and having MyWarp/MyHome rebuild it. If you do have stuff in there, let me know.

    @cjc343: haha, yea, I could do that. :p how does /warp <player> to <targetWarp> sound?
  18. Offline

    BearFather

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    With the basic permissions maybe have a file for public warp users, and then just use ops.txt for admin stuff. That way we can just add our users names and then new people cant just warp around destroying stuff. Be easier for smaller servers, but larger 30+ servers will get kinda huge on the files.
  19. Offline

    d3x

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Could you add support to limit the amount of warps someone can have by group and or user? I would donate for your time.
  20. Offline

    tkelly

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @BearFather : Until we have the full Bukkit permissions (in which you'll have full control like that), I think I'm going to go extremely basic. Something like:
    @d3x : For now, I could do general warp limits (for everyone), but after the permissions, it'll definitely have group/user limits.

    Also, I'm probably going to add in SignWarps in the next update :D
    So if you right-click on a sign:
    It'll warp you there (if you have permissions).
  21. Offline

    d3x

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thank you!

    I really like that idea.
  22. Offline

    cjc343

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sounds perfect. I better get started on some booby-trapped mazes.
  23. Offline

    DazBoot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I did have stuff in there, so I had those errors. Then I deleted it and had it build in there, and still had the errors (the ones I posted). I've been doing this for several versions now, and the only time I have had it run smoothly was the very first time I added the database. Do I need to delete something aside from what's in the home folder? Because if that's the case I may have just had a corruption early on that I have never cleaned out...
  24. Offline

    JMS

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Out of memory
  25. Offline

    tkelly

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @JMS : I don't know what you're saying in your posts. If you're talking about the 32-bit library, you need the win-x86 library

    @DazBoot : What do you mean by "home folder"? I tried searching around for the error that you've been getting, and it seems like it might be a problem with the sqlite library. So... What OS are you using? What libraries were downloaded into the /lib folder? And are you using any other plugins (other than MyHome) that use SQLite?
  26. Offline

    Jobsti

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Works very well with #102
  27. Offline

    DazBoot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sorry, that was a poor choice of words. By Home folder I just meant the main folder that has all of the files for my server in it (Plugins Folder, Map Folder, CraftBukkit, Bukkit, etc) and is where I downloaded the file in the first post (as instructed). I wiped that file and tried to use the self install version, but no dice.

    Right now I'm running the server off Ubuntu (non-server). And the setup I've been working with is:

    Currently Running:
    CraftBukkit v87
    Bukkit v56

    Pluggins:
    Cleaner 1.6
    Flashlight 1.0.2 (Beta)
    General 1.7 (007)
    iConomy 2.1 (Sophie)
    iStick 1.2
    LoginMessage 0.2
    Murder 1.0
    MyHome 1.6
    MyWarp 1.7.1
    TelePlus 1.5.1
    vPlayersOnline 1.3

    I don't believe any of those are trying to get anywhere nere SQLite, but you guys would know better than me.
  28. Offline

    Kiriel

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I apologize for the ignorance here guys, but I am seriously at a loss. This SQLite Dependancy Library thing is throwing me through a loop, and I kind of thought I was decently tech savvy. All I'm getting from the download is a .zip file that decompresses to a folder with a file system in it that doesn't seem to contain anything I can figure out what to do with. I'm running on Mac, so I don't know if that's relevant, but I cannot for the life of me figure out how to get this up and running. A really simple explanation would be the tits. What do I put where? Thanks guys.
    --- merged: Jan 20, 2011 8:37 AM ---
    Er, I'd like to issue a retraction.
    Apparently the software I was using to unarchive the .zip was doing something stupid.
    As a useful note to anyone using OS X and having trouble finding the SQLite Dependency Library: the default Archive Utility is your enemy. Try using StuffIt Expander. Ugh.
  29. Offline

    weirdbeard

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Broken with build 107. Back to that old "Type /warp help" message with every /warp command. Anyone else confirm?

    Thanks,
    -WB
  30. Offline

    craftopia.net

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Same on our server.
  31. Offline

    Fischmaster3000

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    same here on #107
  32. Offline

    ZeroDPS

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I configured several warps, after a server restart all warps are missing, any ideas?

Share This Page