[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
     
    kahlilnc, Mtihc, Charant and 5 others like this.
  2. Offline

    P0n13s

    need urgent help i installed mywarp but when i type in commands nothing is done.im sure there is no conflicting plugin cos i tried it and accidently deleted the whole plugin file.and i reinstalled it.but it failed creating warps
     
  3. Offline

    flames

    check if your database settings are correct and if you have the needed libraries in /lib folder (sqlite or mysql-connector) normal the plugin downloads the needed libraries automatically. if not i will make a downloadable zip with all needed libs.
     
  4. Offline

    chadwick359

    Got another 'SQL exception on initialize' Putting together a test build of my next server on an Ubuntu 11.04 box, mysql-connector and sqlite.jar were both downloaded to /lib in my root server directory, as well as linux-amd64.lib. Dump follows.

    Code:
    [SEVERE] [MYWARP] SQL exception on initialize
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
        at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343)
        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)
        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
        at java.sql.DriverManager.getConnection(DriverManager.java:582)
        at java.sql.DriverManager.getConnection(DriverManager.java:185)
        at me.taylorkelly.mywarp.ConnectionManager.initialize(ConnectionManager.java:15)
        at me.taylorkelly.mywarp.MyWarp.sqlCheck(MyWarp.java:84)
        at me.taylorkelly.mywarp.MyWarp.onEnable(MyWarp.java:46)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:799)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:140)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:529)
        at java.net.Socket.connect(Socket.java:478)
        at java.net.Socket.<init>(Socket.java:375)
        at java.net.Socket.<init>(Socket.java:218)
        at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254)
        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
        ... 27 more
    09:55:28 [SEVERE] [MYWARP] Could not establish SQL connection. Disabling MyWarp
     
  5. Offline

    Niklas4G

    PLS Update for Permissions 3.1.5b!!!
     
  6. Offline

    flames

    No!!!
     
    MalcolmLC likes this.
  7. Offline

    ZachBora

    @flames Would it be feasible to get possibility to set a price on specific warps? I know there is a plugin to set a price per command but don't think it can be used depending on the arguments too.
     
  8. Offline

    flames

    @ZachBora, i will add economy support when i have time. alternatively you can fork and add it too ;)
     
  9. Offline

    Niklas4G

  10. Offline

    ZachBora

    I think a lot of people are currently waiting for Permissions 3 to be stabler before making their plugin compatible.
     
  11. Could you add a new command and that "/ warp info <name>" to see who can use the private warp. Of course, the command usable only for admins or with the permissions?
     
  12. Offline

    flames

    good point, but no, i wont implement p3 because its already supported by mywarp
     
  13. Offline

    rocky1138

    Flames! Great work on keeping MyWarp alive. Have you considered creating an easy way for us to import our Essentials warps? We've got tons on our server and putting them in 1 by 1 is just not happening lol.
     
  14. Offline

    Shynthoras

    Hey nice work but I have an idea for your Non-visible Todo list ;)

    Could you add an feature configurating in the config, that if you are in world "ABC" you only see the Warps of "ABC" and not the warps of "XYZ" ...
    I really need this because i have a survival map and a citymap and its bat that all warps are listed...
    I hope you understand me because im german.

    I hope its possible
    Shynthoras
     
  15. Offline

    chlitto

    is there a way i could block warps in selected worlds ? the nether with warps is too easy :/
     
  16. Offline

    flames

    @Shynthoras, good idea, will implement that.
    @chlitto, this is not really a straight mywarp function, use a multiworld capable permissions system (i suggest PermissionsEx)
     
  17. Offline

    Niklas4G

    Where is the download link?
     
  18. Offline

    Dirt_Ball

    This is very good for getting to my castle to my pyramid witch WAS a 2-4 minuet walk away from each other.. :D
     
  19. Offline

    Nzer0

  20. Offline

    jeffklam

    Is there a way to search warps per user?
     
  21. Offline

    Soulblitz

    I didn't see it in the first post, but are Permissions required or optional? I've never understood Permissions and can't get them to work on my server, so I just want to know if I can use this or not.
     
  22. Offline

    flames

    if you dont use a permissions plugin, mywarp will work, but everyone on your server will be able to use every feature of mywarp (nothing is restricted then)
     
  23. Offline

    Niklas4G

     
  24. Offline

    BlueMoon

    Hey,

    i got a problem and don't really know what to do to fix it... here is the error:
    Code:
    11:45:41 [INFO] CraftBookCommon: Permissions plugin detected! Using Permissions plugin for permissions.
    11:45:42 [SEVERE] [MYWARP] SQL exception on initialize
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
            at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
            at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343)
            at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334)
            at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)
            at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)
            at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
            at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
            at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
            at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
            at java.sql.DriverManager.getConnection(DriverManager.java:582)
            at java.sql.DriverManager.getConnection(DriverManager.java:185)
            at me.taylorkelly.mywarp.ConnectionManager.initialize(ConnectionManager.java:15)
            at me.taylorkelly.mywarp.MyWarp.sqlCheck(MyWarp.java:84)
            at me.taylorkelly.mywarp.MyWarp.onEnable(MyWarp.java:46)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:799)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:140)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.net.ConnectException: Connection refused
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
            at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
            at java.net.Socket.connect(Socket.java:529)
            at java.net.Socket.connect(Socket.java:478)
            at java.net.Socket.<init>(Socket.java:375)
            at java.net.Socket.<init>(Socket.java:218)
            at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254)
            at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
            ... 27 more
    11:45:42 [SEVERE] [MYWARP] Could not establish SQL connection. Disabling MyWarp
    
    In the root folder of my server , there is a lib folder and all vital files in it (it created them itself)
    What can I do about this?

    Thanks in Advance!

    EDIT: with vital files I mean the files needed for the SQL database, the .jar file and the folder MyWarp are in the plugins folder...
     
  25. Offline

    christley

    since i heard teleporting in 928 could be problematic and break the teleporting plugins.
    does this work with b928 or should i wait for an update?
    i dont wish to try it on my own
     
  26. Offline

    flames

    yes, it does :)
    if you use older my warp version, redownload (the links in OP are leading to the current 2.0 dev build)
     
  27. Offline

    Boon Pek

    Excellent! I've been watching the progress on GitHub, but was unable to compile it :3 Thanks! :D
     
  28. Offline

    Reazem

    Thanks for updating this pluggin!
    I have been using it for months
     
  29. Offline

    flames

    please redownload (same link) dev build updated.
     
  30. Offline

    khamseen_air

    @flames Could you please explain more about the use of MySQL, I'm slightly confused as I've been out of the loop for a little while due to family problems, I've just updated my server today and everything including bukkit seems to be wanting to use MySQL and I've no idea how the hell to set it all up. Do I have to create a MySQL database somewhere or does it do it by its self? If so, how do I know where or what my username and pass would be? Sorry if it seems stupid, I'm just a little stumped and can't seem to find any details about why everything is now using MySQL.
     
  31. Offline

    GmK

    You dont have to MySQL, you can continue to use MyWarp just as before!
     

Share This Page