[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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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 time. It was last edited by flames Nov 7, 2011.
    kahlilnc, Mtihc, Charant and 5 others like this.
  2.  
  3. Offline

    flames

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i woul like to help you guys, but i cant reproduce the issue.
    every try lead to some error, warning or exception in console or at least a response in game.
  4. Offline

    GREENGUY11

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I only have mywarp in he plugins folder and i am running the latest bukkit. I had the earlier problem with the plugin not being able to download the files in the lib folder in the root of my server. so i followed the fix and renamed the root minecraft server folder. Then i got this error:
    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(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        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(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        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(Unknown Source)
        at java.sql.DriverManager.getConnection(Unknown Source)
        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:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254)
        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
        ... 27 more
     [SEVERE] [MYWARP] Could not establish SQL connection. Disabling MyWarp
  5. Offline

    Sh8kezula

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    You can also (in the essentials config file) Give priority to MyWarp's /warp command.

    Also if you wish you can.
    In the essentials config file you can (if you dont need or use essentials signs) Disable all essentials signs..

    This post has been edited 1 time. It was last edited by Sh8kezula Jul 31, 2011.
  6. Offline

    Latros

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Im having 2 problems with your plugin on Battlecraft:

    • I'd like to make it so users have the ability to DELETE their private warps - but ONLY *their* private warps, not other players private warps... it seems (unless I'm mistaken) there's only 1 permission, and it gives them the ability to delete their friends private warps?
    • I'd like to have different groups (different levels of VIP) able to have different #s of private warps, er go;
    • group 1 - allowed 1 warp
    • group 2 - allowed 2 warps
    Is that^ possible?
  7. Offline

    flames

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    yes there is only one permissions for deleting warps, only own warps. but not only private, they can delete public and private warps that they created.

    to your second question, nice idea, but i wont integrate it because of lack in spare time. i see you are dev, why not implement it your self? :)
  8. Offline

    RedKrieg

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Are you running a recent build of commandbook by sk89q? It looks like he's implementing his own /warp and it appears to interfere with this plugin. I don't yet see a way to disable it other than permissions, which means if you're /op'd you'll need to find another plugin. I'm using Waypoints right now, but I worry that it might break as well for the same reason.
  9. Offline

    flames

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    if you run commandbook 1.5.3 it interferres with mywarp like RedKrieg said. to disable commandbook warp commands, open commandbook.jar with any zip capable programm and edit the plugin.yml file. find and remove lines containing "warp". if you use myhome too, then remove all "home" containing lines also from commandbooks plugin.yml

    btw. commandbook 1.5.3 is in development, use 1.5.2 better, when 1.5.3 will officially release there will be again a customizable download

    This post has been edited 1 time. It was last edited by flames Aug 1, 2011.
  10. Offline

    dra

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm getting this code spam when I try warping to an area on the map that is fairly blown up, but I have not had this happen with any other warps on the map.

    I'm fairly new to plugins so I have no clue how to fix this

    [IMG]

    This post has been edited 1 time. It was last edited by dra Aug 3, 2011.
  11. Offline

    wnccz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Are you preparing a new version of MyWarp? I would like to use cooldown and warmup times. I can write it to your plugin and send you changes. It's pointless to create another fork.
  12. Offline

    RaymanMaik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I get this error at starting up:
    Code:
    2011-08-04 02:31:22 [SEVERE] [MYWARP] SQL exception on initialize
    java.sql.SQLException: Access denied for user 'username'@'localhost' (using password: YES)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:931)
        at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4031)
        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1296)
        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2338)
        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:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        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:579)
        at java.sql.DriverManager.getConnection(DriverManager.java:221)
        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:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:358)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-04 02:31:22 [SEVERE] [MYWARP] Could not establish SQL connection. Disabling MyWarp
  13. Offline

    wnccz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @RaymanMaik: Are you using MySQL? If yes, please set correct information about MySQL connection (server, username, password). If not, change the database section in your core.yml file.

    Code:
    database:
        adapter: sqlite
        path: plugins/LWC/lwc.db
        host: localhost
        database: lwc
        username:
        password:
        prefix:
    
  14. Offline

    Mercury

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Can you add iConomy?
  15. Offline

    pomo4ka

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Code:
    2011-08-07 11:27:37 [SEVERE] [MYWARP] [MYWARP]: Warp Delete Exception
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    The last packet successfully received from the server was 2Ð’ 090Ð’ 037 milliseconds ago.  The last packet sent successfully to the server was 0 milliseconds ago.
    	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.reuseAndReadPacket(MysqlIO.java:3082)
    	at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2968)
    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3516)
    	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
    	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
    	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
    	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
    	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
    	at me.taylorkelly.mywarp.WarpDataSource.deleteWarp(WarpDataSource.java:231)
    	at me.taylorkelly.mywarp.WarpList.deleteWarp(WarpList.java:128)
    	at me.taylorkelly.mywarp.MyWarp.onCommand(MyWarp.java:256)
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
    	at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    	at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
    	at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2529)
    	at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2979)
    	... 25 more
    2011-08-07 11:27:40 [SEVERE] [MYWARP] [MYWARP]: Warp Insert Exception
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was implicitly closed by the driver.
    	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.Util.getInstance(Util.java:382)
    	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)
    	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
    	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
    	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
    	at com.mysql.jdbc.ConnectionImpl.throwConnectionClosedException(ConnectionImpl.java:1213)
    	at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1200)
    	at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4203)
    	at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4169)
    	at me.taylorkelly.mywarp.WarpDataSource.addWarp(WarpDataSource.java:194)
    	at me.taylorkelly.mywarp.WarpList.addWarp(WarpList.java:31)
    	at me.taylorkelly.mywarp.MyWarp.onCommand(MyWarp.java:215)
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
    	at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    	at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    The last packet successfully received from the server was 2Ð’ 090Ð’ 037 milliseconds ago.  The last packet sent successfully to the server was 0 milliseconds ago.
    	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.reuseAndReadPacket(MysqlIO.java:3082)
    	at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2968)
    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3516)
    	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
    	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
    	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
    	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
    	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
    	at me.taylorkelly.mywarp.WarpDataSource.deleteWarp(WarpDataSource.java:231)
    	at me.taylorkelly.mywarp.WarpList.deleteWarp(WarpList.java:128)
    	at me.taylorkelly.mywarp.MyWarp.onCommand(MyWarp.java:256)
    	... 13 more
    Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
    	at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2529)
    	at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2979)
    	... 25 more
    
  16. Offline

    neX!Tem

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I hope you implant PermissionBukkit ( SuperPerms ) soon. I would enjoy to use this warp plugin.
  17. Offline

    Crial27

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This plugin is EXACTLY what I want for my server. Very awesome!:D
  18. Offline

    hanky2007

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Help... I have the plugin installed along with all the config files/lib folder, when I start the server there are no errors and says everything is good... but when I go onto the server and attempt to enter in a MyWarp command it will just say "/warp help - for MyWarp help", when you then go to /warp help it will just pop up with read writing saying /WARP HELP yet no warp command appear. I have tried all of the warp commands and none are recognized by the console... if anyone knows how i can fix then please help.
  19. Offline

    Sayshal

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ???
    Code:
    2011-08-10 05:45:03 [SEVERE] [MYWARP] Error on Connection close
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Communications link failure during rollback(). Transaction resolution unknown.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
        at com.mysql.jdbc.Util.getInstance(Util.java:382)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
        at com.mysql.jdbc.ConnectionImpl.rollback(ConnectionImpl.java:4751)
        at com.mysql.jdbc.ConnectionImpl.realClose(ConnectionImpl.java:4345)
        at com.mysql.jdbc.ConnectionImpl.close(ConnectionImpl.java:1564)
        at me.taylorkelly.mywarp.ConnectionManager.closeConnection(ConnectionManager.java:47)
        at me.taylorkelly.mywarp.MyWarp.onDisable(MyWarp.java:35)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:128)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:899)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:288)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:281)
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:157)
        at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:312)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:391)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
  20. Offline

    Killerrabbit

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yeah I need those CD's as well. Specially warmup times so users can't flee from the mess they create when out adventuring!
    Also to make it possible to make some warp destinations cost money from BOSeconomy/iConomy if you chose that when creating a warp would be nice!
  21. Offline

    oura

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey guys- great plugin. I've used it before but am trying to get it working on my server with zero success.

    I am running a Treepuncher server so very limited access but I have Essentials, Group Manager, and MyPlugin 2.0 as my only three plugins.

    Something is screwy.

    Screenshot 1 shows what happens when I try to do /warp create or /warp help or /warp anything
    http://i.imgur.com/eVKIH.jpg

    Screenshot 2 shows permissions.
    http://i.imgur.com/s7Wpj.jpg

    Any more detail that I could provide to help? Is this something easy with Essentials that I need to just deactivate? I've read through this thread and am not sure if I missed something important because I still can't figure this out.
  22. Offline

    oura

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It was the essentials problem after all. I fixed this by uninstalling MyWarp and renaming the jar aMyWarp so that it loaded first.

    Warps are working!
  23. Offline

    kamild1996

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    How to edit the database?
  24. Offline

    flames

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    depending on the backend, for mysql you can use phpmyadmin (a webserver installation with php support needed) for sqlite (the default backend) you can use any freeware/opensource sqlite editor (a good one is sqlite maestro which is not free, but 30day trial available)
  25. Offline

    TwolfWD

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I didn't see my particular issue mentioned already, so here it is

    It loads the database just fine (MySql) but for whatever reason crashes when attempting to load help. When you try to use any warp command, it simply says to use /warp help. Doing so bring up an empty list.

    Additional Info: I am using essentials 2.5, Permissions 3, Bukkit 1000
  26. Offline

    flames

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    remove help plugin, it seems to be broken or maybe api changed so mywarp cant hook into help
  27. Offline

    TwolfWD

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hmm, maybe I wasn't clear, or I'm not understanding what you mean. There is no Help plugin. When I said "crashes when attempting to load help", I was referring to "12:23:00 [SEVERE] Error occurred while enabling MyWarp v2.0 (Is it up to date?):me/taylorkelly/mywarp/WarpHelp"
  28. Offline

    flames

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    once again, remove help plugin (help.jar in plugins folder) and you will be fine.

    because of lack of time, i didnt updated help api for a while.

    This post has been edited 1 time. It was last edited by flames Aug 17, 2011.
  29. Offline

    Stragis

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is there any way to read the warp.db easily? I haven't opened a .db file before but I would like some interface to see the warp list instead of going through the 35 pages In game that I currently have.
  30. Offline

    TwolfWD

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    There is no help.jar, so it's not possible to remove. Any other ideas?

    This post has been edited 1 time. It was last edited by TwolfWD Aug 17, 2011.
  31. Offline

    angus22397

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    eerm help... I have no other warping plugins...
    Code:
    [SEVERE]     at java.net.URL.openStream(Unknown Source)
    2011-08-18 10:23:19 [SEVERE]     at me.taylorkelly.mywarp.griefcraft.Updater.update(Updater.java:118)
    2011-08-18 10:23:19 [SEVERE]     at me.taylorkelly.mywarp.MyWarp.onEnable(MyWarp.java:45)
    2011-08-18 10:23:19 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-08-18 10:23:19 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    2011-08-18 10:23:19 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    2011-08-18 10:23:19 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    2011-08-18 10:23:19 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    2011-08-18 10:23:19 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    2011-08-18 10:23:19 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    2011-08-18 10:23:19 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    2011-08-18 10:23:19 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-08-18 10:23:19 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-18 10:23:19 [INFO] [MYWARP]: 0 warps loaded
    2011-08-18 10:23:19 [INFO] [MYWARP] Permissions enabled.
    2011-08-18 10:23:19 [WARNING] [MYWARP] 'Help' isn't detected. No /help support.
    2011-08-18 10:23:19 [SEVERE] Error occurred while enabling MyWarp v1.10.3 (Is it up to date?): BLOCK_RIGHTCLICKED
    java.lang.NoSuchFieldError: BLOCK_RIGHTCLICKED
        at me.taylorkelly.mywarp.MyWarp.onEnable(MyWarp.java:73)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    TO RESPOND PLEASE CLICK THE FRIGGIN REPLY BUTTON!
  32. Offline

    xThiieNx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    is it possible to just type /(name) to go to the warp, instead of typing /warp (name)

Share This Page