[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

    1born2kill

    This plugin is still good :/
     
  3. Offline

    KaLul

    Awesome! Thnaks for this cool plugin. And now after the recommended 1.8.1 build MyWarp sings work again!
    I have a suggestion here: Cant we have a setting in cinfig file where we can choose what color those first 2 lines have? maybe first is red second blue? And i'd like to write some descriptions under the warp name! But thats impossible on the same sign
     
  4. Offline

    Freakdk

    Is it possible for me to convert my old warps from essentials to work with this plugin?
     
    Pythros likes this.
  5. Offline

    Arton

    dos this cool plugin update ?
     
  6. Offline

    THG3

    Ikr, wtb an update or even a status update
     
  7. Offline

    The Wizard

    i cant teleport to private warps, i have mywarp.admin, also *.
    i'm using pex, last version and server #1185.
    no errors, it tells me that i don't have permission.
     
  8. It works for me on my test server. Post your permissions file in code tags, if you are using the file backend. PEX reads the config in a particular way, so if it's not set up right, it won't work.
     
  9. This plugin is working fine for me atm :D, I get no errors :)
    Good job, i love the plugin!
    Works fine for me on latest RB
     
  10. Offline

    The Wizard

    I've figure out the problem.
    adminPrivateWarps was false. I thought admins can still teleport to private warps even if they don't see them.
    Admins can see all the warps on the website and I want to hide private warps from in game list. It has a lot of warps and is quite hard to see them in game.
     
  11. Offline

    Afotai

    Is it possible for users to remove their own (limited amount) of private warps? If so, what is the permission node for that?

    there seems no mywarp.warp.basic.premove excists?
     
  12. Offline

    khamseen_air

    mywarp.warp.basic.delete covers both public and private warps.
     
  13. Offline

    Afotai

    So there is no way to have the members remove their own private warps, without the risk of deleting public warps?
     
  14. Offline

    zebrasintherain

    I get this error when i run my server. How do i fix it?

    Code:
    18:12:23 [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:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    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:432)
        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
    18:12:23 [SEVERE] [MYWARP] Could not establish SQL connection. Disabling MyWarp
    
     
  15. Offline

    khamseen_air

    Members can only delete their own public or private warps. Not just any public warp.

    Go to your mywarp config file and disable MySQL, it's set to use that by default these days for some reason even though the majority of people don't use it.
     
  16. Offline

    nicholosophy

    My understanding is that they can only delete warps that they create. I might be wrong though.
     
  17. Offline

    CubieX

    FEATURE REQUEST:

    @flames
    It would be really handy if you could add a command to list the warps by player.
    Sth. like /mywarp list <PLAYER>
    And a new permission node for it, so that players can list only the warps they own.

    This would help us admins to keep track of the players warps and make it possible to search for public warps of a specific player.
    It's only another SQL query, so it should not be that complicated to implement.

    Looking forward.
     
  18. Offline

    IcyfireX

    Flames can you update this plugin so I can use it for my 1.8.1 server? Thanks i really like this plugin :]
     
  19. Offline

    Pythros

    It was GroupManager... update GM to the latest and it works.
     
  20. Offline

    Arton

    Could you update your plugin to #1185 :p
     
  21. Offline

    dra

    Anyone else know a similar warp plugin to this? The only one like this I found so far does not support permissions.
     
  22. Offline

    nicholosophy

    is it possible to have users create private warps by default? I thought it was but I can't work out how...
     
  23. Offline

    STiChad

    Yeah I second that! Please?
     
  24. Offline

    gameblaster64

    Please upgrade this to 1185 :(

    Players on my server have been waiting a long while to gain access to their warps again.
     
  25. It works for me under 1185
     
  26. Offline

    gameblaster64

    What happens is that I type '/warp list' or any other '/warp xyz' command and it continuously brings up the '/warp help' result.
     
  27. Offline

    x66dme66x

    Can someone like. Continue this plugin if its not going to be updated. I need this plugin xD I love it ;p
     
  28. Offline

    flames

    x66dme66x, what exactly is wrong? you need an update?
     
  29. Offline

    Stragis

    The node - mywarp.warp.sign.warp
    doesnt appear functional with permissionsE. I have it under my default group and they are unable to use MyWarp signs that I am able to use as OP
    http://dev.bukkit.org/server-mods/permissionsex/

    Correction: (None of?) your permission nodes work with permissionsex? Resident has
    - mywarp.warp.basic.warp
    - mywarp.warp.basic.welcome
    - mywarp.warp.basic.list
    - mywarp.warp.soc.give
    - mywarp.warp.soc.invite
    - mywarp.warp.soc.uninvite
    and cannot /warp
     
  30. Offline

    flames

    k, will have a look at it and fix asap.
     
  31. I hate to say it, but Stragis, you have something configured wrong. I use PEX with the file backend and the permissions bridge, and I just tested the sign based warping:

    1. Logged in as a normal user
    2. Went to a world that has MyWarp permissions enabled
    3. Made a new warp
    4. Walked away and created a MyWarp sign
    5. Right clicked on the sign
    6. Warped to the new warp I created previously

    I've had no problems with MyWarp under Bukkit 1185 and PEX.
     

Share This Page