[INACTIVE][TP] MyWarp v2.0.1 - native PermissionsEx support - no superperms yet [1337]

Discussion in 'Inactive/Unsupported Plugins' started by flames, Apr 15, 2011.

     
  1. Offline

    flames

    MyWarp:
    Version: 2.0dev
    Download (JAR / ZIP)
    Source code

    MyWarp is now in development by SpathiZilla, please see here

    MyWarp was made by Taylor Kelly (tkelly), all credits go to him! I forked MyWarp and will provide updates in future, or until tkelly is back. There are no changes in usage or functionality. Just the same commands, same permission nodes and same features. Original description:


    ...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).

    If you don't use the basic permission-set, give your players following nodes:

    ...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.



    Changelog:
    Version 2.0dev
    • MySQL support
    • importing warps from warps.db to mysql
    • permissions 3.x
    • removed extremely old artifacts (import of hmod warps)
    • tested and works on CB928
    Version 1.10.7
    • added native support for PermissionsEx
    • fixed namespace
    Version 1.10.6
    • updated for CB786-793
    • updated to Help 3.0 ( not interesting for you until you compile from Lycano's fork on github :p )
    Version 1.10.5c
    • fixed the "Could not pass event PLAYER_INTERACT to MyWarp" error
    Version 1.10.5b
    • updated for CraftBukkit RB #677 (also tested with CB #678)
    • Permissions 2.5.5 or higher (tested with 2.6 and 2.7)
    • added GroupManager support
    • changed update URL where MyWarp downloads sqlite libraries

    This post has been edited 1 times. It was last edited by flames Nov 7, 2011.
    kahlilnc, Mtihc, Charant and 5 others like this.
  2.  
  3. Offline

    khamseen_air

    Glad you decided to fork it, even if only for now. Much easier to see updates this way, thanks for taking it on. :)
  4. Offline

    Phase

    I agree with this, thanks for keeping the plugin alive @flames :)
  5. Offline

    Skirmisher

    Great. After updating to 1.10.5b (from 1.10.5a), I'm getting slammed with these again whenever I interact with the world:
    Code:
    2011-04-15 17:55:19 [SEVERE] Could not pass event PLAYER_INTERACT to MyWarp
    java.lang.ClassCastException: me.taylorkelly.mywarp.MWBlockListener cannot be cast to org.bukkit.event.player.PlayerListener
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:252)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:208)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:477)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    The plugin itself works fine though (just like it did the last time this happened).
  6. Offline

    ZachBora

    dev.bukkit.org profile:
    zachbora
    My Plugins
    It's been ported to my attention that for new user of your MyWarp they are missing the config files that was in the original zip.
  7. Offline

    Tatsu-Kan

    Same issue with bukkit 677...
  8. Offline

    kylebracewell

    Same problem as skirmisher. Help?

    (Running 670)
  9. Offline

    seriosbrad

    Me too. Going to make my server.log very big lol.
  10. Offline

    atomicben

    Confirming the above few posts re: error.
  11. Offline

    Zaonhort

    Confirming the above errors on craftbukkit 677.
  12. Offline

    pabbie

    Why doesnt this work for me?
    I get all those error messages as tatsu mentioned and also I can set warps. But then when I try to warp it says "no such warp"
  13. Offline

    flames

    fixed. was a typo, i really should not work on that in the late night :p
  14. Offline

    Marijn100

    It isn't working for me. I use McMyAdmin with Group Manager installed. Also using Craftbukkit 677. When I start the server all my other plugins are working fine but MyWarp isn't showing up in the console. Do I need some additional steps to install it?
  15. Offline

    flames

    hm... normally mywarp works natively with groupmanager, but if you have some modified (i use anjocaidos alpha5 as dependency), check if you have fakepermissions installed, or groupbridge if you use essentials groupmanager.

    do you see any errors in console? mywarp would throw an exception to console if something is wrong. if not, then you need to check if you have all permission nodes correctly in groupmanager config. without troubleshoot and clear issue report i cant help you.
  16. Offline

    pabbie

    hey, ok so now I dont get all those error messages in console but I still cant use ut. Get same error, create a warp and then it cant find it?, weird.
  17. Offline

    seriosbrad

    Thanks, working again!
  18. Offline

    pabbie

    Nvm, it was me failing. I used /setwarp instead of /warp create.

    Perhaps other ppl have done the same...lol
  19. Offline

    Marijn100

    It's magically solved! :s
  20. Offline

    Jupi

    I get this error on server startup... I have tried reinstalling but to no luck. Any idea on how to fix this?

    Code:
    10:06:50 [SEVERE] [MYHOME]SQLite exception on initialize
    java.sql.SQLException: path to 'C:\Users\Owner\Desktop\Minecraft Server\plugins\
    MyWarp/warps.db': 'C:\Users\Owner\Desktop\Minecraft Server\plugins\MyWarp' does
    not exist
            at org.sqlite.Conn.open(Conn.java:103)
            at org.sqlite.Conn.<init>(Conn.java:57)
            at org.sqlite.JDBC.createConnection(JDBC.java:77)
            at org.sqlite.JDBC.connect(JDBC.java:64)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at me.taylorkelly.mywarp.ConnectionManager.initialize(ConnectionManager.
    java:15)
            at me.taylorkelly.mywarp.MyWarp.onEnable(MyWarp.java:57)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:578)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:115)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:93)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    10:06:50 [SEVERE] [MYWARP] Could not establish SQL connection. Disabling MyWarp
  21. Offline

    mxms

    I'm getting the same error.
  22. Offline

    ZachBora

    dev.bukkit.org profile:
    zachbora
    My Plugins
    @flames I think you need to put a zip that includes an empty warps.db, MyWarp.settings and .DS_Store.
  23. Offline

    flames

    good idea, i will do that with the next version.
    but mywarp creates the folder and the needed files itself at first start, just restart server again and all is done.
    the .DS_Store file is not needed, its a mac os x specific resource fork file, that is not from mywarp, this is kinda windows' desktop.ini file that gets created by the operating system and stores the windows size and sorting options (and some other things)

    please rename the server folder so that it does not contain a space in the name: "Minecraft Server" -> MinecraftServer or mcserver or what else w/o space and special characters.
  24. Offline

    sebbe118118

    Hi for some reason the MyWarp doesnt work for me... The only thing I've done is to move the whole server onto a different hard drive. My other mods work perfectly
  25. Offline

    DoomGiver32

    I have the same problem, removing the space didn't fix it. :(
  26. Offline

    Jupi

    Yea me too.
  27. Offline

    flames

    really strange, i overseen whole source code but didnt found anything that could cause this error. please do some troubleshooting by removing another plugins to find out if this error is caused by incompatibility with some plugin that i dont tested, report it to me, so i can look into it. dont assume me to test every plugin released on this forum.
    also the positive responses argue against an error in mywarp. i will test it on windows, but not tonight. on linux and mac os x mywarp is working perfectly, tested, not just based on the positive reports.

    also tested with groupmanager, it works, without fakepermissions! i didnt tested that before, so it was just an assupmtion. but now i did, specially for you groupmanager users! it just works! dont ask for help if you use some modified version of groupmanager (like essentials groupmanager) i dont have the time and resources to test with every available plugin out there.
  28. Offline

    flames

    ah, btw. the error tells about sqlite problem to use the database, please chek if the mywarp databe is there, if the permissions are correct (on linux/mac os x/any unix "755" should do). delete all files from bukkitdir/lib/, let mywarp redownload fresh libraries automatically. check if there is another plugin that uses sqlite libraries and may cause some concurrency with mywarp. without a nice issue report i cant find the problem: the obove + craftbukkit version + mywarp version. the error it self is reported so dont paste it again.
  29. Offline

    Don Redhorse

    dev.bukkit.org profile:
    DonRedhorse
    My Plugins
    THANKS!
  30. Offline

    melmantheman

    i dont see any links to download the new version. please put one up i need this
  31. Offline

    DoomGiver32

    Disabled all plugins (moved out of folder) and still did not work. I'm on windows Vista.

Share This Page