[TP] OpenWarp 1.0 - Basic warp & home functionality [1060]

Discussion in 'Inactive/Unsupported Plugins' started by lithium3141, Aug 15, 2011.

  1. Offline


    OpenWarp - Create and use warps and per-player homes; jump to locations; keep warp history
    Latest version - 1.0 (download latest)

    Note: This plugin is now on dev.bukkit.org!

    OpenWarp provides advanced warp functions to SMP players, including per-player "homes," a warp history, and quick jumps to relative locations. It is designed as a replacement for Essentials warp behavior, but can be used in almost any situation.

    • Set both public and private warp points
    • Warp to your private warps or anyone's public warps
    • Keep a private "home" location
    • Jump immediately to location under reticle, top of current column, previous location
    • Maintain a list of past locations and visit them in reverse
    • Limit players' warps - both public and private - with quotas
    • Supports both PermissionsBukkit and Permissions 2.x/3.x; set per-warp permissions
    • Full multi-world support

    OpenWarp recommends CraftBukkit 1060 or newer, and requires a CraftBukkit with mutable permissions (1024 or newer). It is also strongly recommended to use a permissions management plugin such as PermissionsBukkit.

    • v1.0 (b66) - Initial release
    The source code and outstanding issues are available on GitHub.

    Most players will interact with OpenWarp via the primary command /warp. The most common commands include:
    • /warp list [public|private]: List the currently visible warps
    • /warp {name}: Move to the named warp
    • /warp set {name} [public]: Create a new warp at the current location
    • /home: Move to the current player's home
    • /home set: Place the player's home at the current location
    • /jump: Move to the location under the player's reticle
    • /top: Move to the topmost solid block in the column
    • /back: Move to the previous location
    For a complete listing of available commands, including full syntax, see the command reference on GitHub.


    The permissions nodes are generally similar to the commands they allow. OpenWarp uses the same permissions for both PermissionsBukkit and Permissions 2.x/3.x. Common permissions are as follows:
    • openwarp.warp.list allows players to list warps
    • openwarp.warp.use allows players to use the /warp command
    • openwarp.warp.set allows players to create any kind of warp
    • openwarp.jump allows players to jump to locations
    • openwarp.top allows players to move to the top solid block
    • openwarp.back allows players to move back to their previous location
    If no permissions plugin is detected, OpenWarp will attempt to separate commands by op status. It is highly recommended to configure a permissions plugin and provide more granular permissions assignment to players.

    For a complete listing of permission nodes, see the command reference on GitHub.

    • v1.0 - Initial release. Implement warps (public/private), quotas, homes, history, /jump, and /top.
    Kane likes this.
  2. Offline


    Works great! Thanks for the work!
  3. Offline


    Amazing plugin been using for a while now.
  4. Offline


    Lightweight, simple, perfect.
    Kane likes this.
  5. Offline


    For permissions, shouldn't openwarp.warp.set.* be just openwarp.warp.set?
  6. Offline


    Right you are. Fixed.
  7. Offline


    Hi , usually pretty good with this stuff, but im getting this error.

    00:02:02 [INFO] [OpenWarp] Hooked into Permissions 3.1.6
    00:02:02 [SEVERE] Error occurred while enabling OpenWarp v1.0 (rev 3f6d646086a6accb69bdf6e149d9c37b3c86a637) (Is it up to date?): org.bukkit.plugin.PluginManager.recalculatePermissionDefaults(Lorg/bukkit/permissions/Permission;)V
    java.lang.NoSuchMethodError: org.bukkit.plugin.PluginManager.recalculatePermissionDefaults(Lorg/bukkit/permissions/Permission;)V
    	at com.pneumaticraft.commandhandler.Command.addToParentPerms(Command.java:153)
    	at com.pneumaticraft.commandhandler.Command.addToParentPerms(Command.java:141)
    	at com.pneumaticraft.commandhandler.Command.setPermission(Command.java:122)
    	at com.pneumaticraft.commandhandler.Command.setPermission(Command.java:116)
    	at com.lithium3141.OpenWarp.commands.OWWarpCommand.<init>(OWWarpCommand.java:23)
    	at com.lithium3141.OpenWarp.OpenWarp.loadCommands(OpenWarp.java:262)
    	at com.lithium3141.OpenWarp.OpenWarp.onEnable(OpenWarp.java:147)
    	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 org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:380)
    	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:312)
    	at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Running 1060, Using these plugins:

    and obviously trying to get OpenWarp

    Any help? Looks good and easy
  8. Offline


    Are you sure? That issue usually occurs when someone is running a version of CraftBukkit without mutable Superperms (1024 or newer). Can you post a complete startup log for the server, either here or at pastie.org?
  9. Offline


    "You don't have permission to move to warp: shop"
    Here's my Permissions config.<------
    The user in on Builder group.
    The home command work's just fine.
  10. Offline


    Try adding the permission openwarp.warp.access.* to the appropriate group. (See the location permissions wiki page for info on why.)
  11. Offline


    On every reload the config.yml reseted the user warp restrictions to -2. I using bPermissions as Permission-Plugin.

    What is with a invite command for privat warps?
  12. Offline


    How do you remove a warp? I don't see a command for it, i might be over looking it.
  13. Offline


    /warp delete <name>

    I love this, but my only issue is there should be a permission for the '/home (set)' commands. I'd like for certain people to be able to add a home, but not make public warps or anything.

    EDIT: I may have herped there. I was on the server with my cousin and he was trying to use the '/home set' command and it wouldn't work. I took a look at the permissions and notice 'openwarp.warp.set' was to set all warps and not just home. Later realizing that it was asking for 'openwarp.home.set' and not warp. I was confused because that isn't listed in the permissions.
  14. Code:
     [SEVERE] Error occurred while enabling OpenWarp v1.0 (rev 3f6d646086a6accb69bdf6e149d9c37b3c86a637) (Is it up to date?): The permission openwarp.warp.access.private.bobs.* is already defined!
    java.lang.IllegalArgumentException: The permission openwarp.warp.access.private.bobs.* is already defined!
        at org.bukkit.plugin.SimplePluginManager.addPermission(SimplePluginManager.java:423)
        at com.lithium3141.OpenWarp.OpenWarp.loadWarpPermissions(OpenWarp.java:209)
        at com.lithium3141.OpenWarp.OpenWarp.onEnable(OpenWarp.java:150)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'home' in plugin OpenWarp v1.0 (rev 3f6d646086a6accb69bdf6e149d9c37b3c86a637)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
        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:89)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at com.lithium3141.OpenWarp.commands.OWHomeSetCommand.runCommand(OWHomeSetCommand.java:47)
        at com.pneumaticraft.commandhandler.CommandHandler.checkAndRunCommand(CommandHandler.java:240)
        at com.pneumaticraft.commandhandler.CommandHandler.processFoundCommands(CommandHandler.java:110)
        at com.pneumaticraft.commandhandler.CommandHandler.locateAndRunCommand(CommandHandler.java:65)
        at com.lithium3141.OpenWarp.OpenWarp.onCommand(OpenWarp.java:321)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    I re downloaded already this plugin and all but this just started showing up.
    Works /home and /home set but it gives this kind error thing

    when using /home set command it gives:
    An internal error occurred while attempting to perform this command.

    BUT it still sets home to place u stand.
    What is this?
  15. Offline


    Semirotta: try downloading build 73 from this page, and let me know if your problems persist.
  16. Offline


    I've been looking for a plugin to replace MyHome and MyWarp which each have an intelligent auto-complete ability. It would also be nice if you could warp to coordinates.
  17. Offline


    I've filed issues for you on GitHub - watch there for progress.
  18. Offline


    Thanks for considering my requests. I'll watch GitHub.
  19. Offline


    how do i set that permission stuff so people can set their house???
  20. Offline


    You'll need to configure your permissions plugin to allow players the openwarp.home.set permission. See the OpenWarp wiki.
  21. Offline


    thanks man
  22. Offline


    So for some reason, all default players can use /home and /home set. I have "-openwarp.home.*" set for the default group but they can still use /home and /home set.
  23. Offline


    If you're using a SuperPerms-based plugin (like PermissionsBukkit or bPermissions), you'll need to set openwarp.home.*: false explicitly - the "false" is required to remove the permission. If you're not using SuperPerms, consider migrating ;)
  24. Offline


    I gave my players the permission openwarp.warp.use and when they try warp to any warp it tells them their not aloud, Im using EssentialsGroupManager
  25. 20:51:28 [SEVERE] Could not load 'plugins\OpenWarp.jar' in folder 'plugins':
    java.lang.NoClassDefFoundError: com/pneumaticraft/commandhandler/PermissionsInterface
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:168)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:215)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:139)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:104)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.ClassNotFoundException: com.pneumaticraft.commandhandler.PermissionsInterface
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 11 more

    im on build 1298 if that makes any difference , xD , 1.0 works like a charm in any build so far.
  26. Offline


    Make sure they also have the relevant warp.access. permissions.

    This is a known issue, and I'm working on figuring it out. Follow issue 36 on GitHub for ongoing status updates.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 18, 2016
  27. ah , ok , good to hear , :) , great plugin otherwise , ^^
  28. Offline


    All fixed up in build 115. Thanks for the report!
  29. Offline


    How do you make so that members can delete their private warps but not the public warps, which is set by the admins?
  30. Offline


    Hey there i got a problem here on my latest bukkit build with permissions 3.x and the latest OpenWarp build posted above.
    i can't create private warps, my server is telling me every time i try it the following:
    "An internal error occured while attempting to perform this command"

    also i can't use /setwarp /sethome etc. i got admin rights and it won't work perfect.

    my Serverlog:

    2011-11-03 03:26:33 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'warp' in plugin OpenWarp v1.1-b115 (rev d4486a88e3b812fd4ead71c3275a15ed897570be)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
        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:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
        at com.lithium3141.OpenWarp.commands.OWWarpSetCommand.runCommand(OWWarpSetCommand.java:68)
        at com.pneumaticraft.commandhandler.CommandHandler.checkAndRunCommand(CommandHandler.java:245)
        at com.pneumaticraft.commandhandler.CommandHandler.processFoundCommands(CommandHandler.java:115)
        at com.pneumaticraft.commandhandler.CommandHandler.locateAndRunCommand(CommandHandler.java:70)
        at com.lithium3141.OpenWarp.OpenWarp.onCommand(OpenWarp.java:267)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 12 more
    i settet up my Permissions like this:
            default: true
                build: true
                - essentials.list
                - essentials.motd
                - essentials.msg
                - essentials.rules
                - essentials.chat.shout
                - petition
                - preoccupied.warp.*
                - openwarp.warp.*
            default: false
                prefix: '&4Admin'
                suffix: '&f'
                build: true
                - '*'
                - openwarp.warp.*
            default: false
                prefix: '&aViP'
                build: true
                - '*'
                - openwarp.warp.*
    Please help me...

Share This Page