Inactive [TP] xWarp v3.1.7 - MyWarp fork (w/ prices, economy, visibility) [1.2.5-R1.0]

Discussion in 'Inactive/Unsupported Plugins' started by xZise, Jan 17, 2011.

  1. Offline

    xZise

    Hello everyone,
    I forked the MyWarp project and added some functionality. In basic it is the same as the MyWarp.

    Now on BukkitDev
    This plugin is already on BukkitDev. I will transfer this post to BukkitDev.

    Download
    3.1.7 + marker (Tested: 1.2.5-R1.0)
    3.1.7 (Tested: 1.2.5-R1.0)
    2.12.0 (Tested: cb819, Should run ≥ cb691)
    All downloads

    The versions for other builds are normally only compatibly updates. So they don't provide other features. This means version “a-cb684” is the same (in basic) as “a-cb556” or simply “a”.
    Notice: With version 2.3.0, 2.6.0, 2.8.0, 2.9.0, 3.0.0 (or later) I changed the database layout. Previous versions of xWarp couldn't read this database. So backup it for sure.

    Ressources

    Changes
    Changelog moved to BukkitDev. The full changelog is still on github.

    Prices
    Since 2.8.0 it is possible to use prices for warp and creation. It uses the Permissions nodes to change define basic prices. Also it is possible to define a price for each warp. At the moment iConomy version 4 and 5, Essentials Economy (at least Dev build 2.2.104) and BOSEconomy supported.
    Global/Public/Private warps
    With the Version 2.0.0 beta 13 I introduce the new state of global warps. Every user can create warps for its own (public/private) like before and hasn't be aware of already existing one's from others. So Player “A” could create a warp named “foo” and another Player “B” could also create a warp called “foo”. Now to access these warps you have to specify which warp do you want to use.
    Therefore I added a parameter to specify the owner of the warp. To warp to the “foo” warp of Player “A” you simply type:
    /warp foo A
    You could exchange the second parameter (= A) with a B to warp to B's warp “foo”.
    Now to shorten the warps you could globalize a warp with
    /warp global <name> <owner>
    Now you don't have to add the owner of the warp. For example if somebody globalized the warp “foo” of player “A” you now can simply type:
    /warp foo
    There is one rule: “If you don't define the owner it searches the global warps.”
    But a global warp also has a owner (in our case Player “A”) so you also define the owner.
    So there is one major change: If your warp contains a space you have to escape it, otherwise it will guess the second part as a owner (to escape see the section above).
    For further information visit the wiki.
    Sign Warps
    Creating a sign warp is really easy. You have 3 layouts: MyWarp, Single Line and xWarp.
    In MyWarp your sign has two lines. In the first place only “MyWarp” and in the second the name of the warp. This works only if the warp is in the global map.
    The “Single Line” layout only needs a line with “Warp: <name>”. If there are more than one lines with this layout on one sign it won't work. The colon is optional, the W could be lowercase and the spaces between “Warp:” and the name have to be at least one.
    With xWarp layout you could place “xWarp” in the first line (case-insensitive) or “Warp”/“warp” and optional a colon.
    In the second line is the name of the warp and in the third the owner (optional)
    Upcoming changes
    Backups? (unknown)
    If possible I maybe make it possible to backup the warps with others backup plugins. It is only an idea at a moment, but maybe sometimes xWarp supports this.
    tkelly's suggestion system (Suspended)
    tkelly created a system, that can get a warp similar named if you didn't spell it right.

    Fabian aka xZise
     
    RazorFlint, Taranis01 and uitology like this.
  2. Offline

    xZise

    Not at all. bPermissions isn't supported at the moment. Only PermissionsBukkit (doesn't support permission values), Permissions (and all adapters) and SuperPerms (also doesn't support permission values).

    In the future there will be native bPermissions support.

    Fabian
     
  3. Offline

    Josh Sagnella

    I apologize in advance if this is in the documentation, but I couldn't find it.
    Is there a way to delete all warps created by a specific user?

    Thanks
     
  4. Offline

    xZise

    Ehm sorry, not at the moment. I will add a command to remove all warps which match specific options (like the warp list options).

    Fabian
     
  5. Offline

    Josh Sagnella

    That would be awesome.
    I love your plugin, been using it since it was released
     
  6. Offline

    xZise

    Thanks! And I released 3.1.2 because there was a “small” bug case big problems.

    Fabian
     
  7. Offline

    Killerrabbit

    What the F am I doing wrong now when my users cannot create own warps? I have following permissions in permissionsbukkit:

    Code:
                xwarp.warp.create.private: true
                xwarp.warp.create.public: true
                xwarp.warp.edit.delete: true
                xwarp.warp.edit.invite.add: true
                xwarp.warp.edit.invite.delete: true
                xwarp.warp.edit.message: true
                xwarp.command.list: true
                xwarp.warp.to.own: true
                xwarp.warp.to.invited: true
                xwarp.warp.to.other: true
                xwarp.warp.to.global: true
    I only have the xWarp and permissionsbukkit (and superpermsbridge) on my new 1.8 test server.

    Oh, you might want to hide the old permissions nodes from your main post link, put all permissions to "warp.create" first, then changed them to "xwarp.create" only to realise a third time it should be "xwarp.warp.create."....

    But anyhow, still I am only one who can make warps (as admin/op)...
     
  8. Offline

    TheRogueX

    I may just be misunderstanding, but I'm not sure where I'm supposed to put the SQLite and BPU files... where is the /lib folder located? I made one in my server directory, but xWarp doesn't seem to be working at all.

    Code:
    2011-09-16 06:32:49 [SEVERE] Error occurred while enabling xWarp v3.1.2 (Is it up to date?): de/xzise/XLogger
    java.lang.NoClassDefFoundError: de/xzise/XLogger
    at de.xzise.xwarp.XWarp.onEnable(XWarp.java:60)
    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:171)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
    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.lang.ClassNotFoundException: de.xzise.XLogger
    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 
     
  9. Offline

    xZise

    Did xWarp recognize PermissionsBukkit/SuperPermsBridge? It has to be in the start up log.

    Yep, I will update the wiki some time. I try to document pre xWarp 3 and post xWarp 3 behavior.

    This is weird, as creating is normally allowed for everybody. Does PermissionsBukkit support a command to check a permission ingame?

    Where your craftbukkit.jar is.
    I try to use ascii art:
    Code:
    + Server directory
    |
    +--- craftbukkit.jar
    |
    +-+- plugins/
    | |
    | +--- xWarp.jar
    | |
    | +--- xWarp/
    |
    +-+- lib/
      |
      +--- BukkitPluginUtilitites.jar
      |
      +--- sqlitejdbc-v056.jar
    Please note, that the file has to be exactly BukkitPluginUtilitites.jar.

    Fabian
     
  10. Offline

    Killerrabbit

    xZise, to little sleep from my side.

    I was running 2 warp plugins since I had trouble (and not time due to lack of sleep, grumpy etc) so thats why I could warp, even though I could not get yours to work.

    You had 2 required programs to run with your warp, SQlite and the bukkitwhatever. The problem I had was that the directory you are speaking of does not exist anywhere in the plugin directory, the xwarp is not generating such a place where I should put this sqlite & whatever the name of the other plugin was.
     
  11. Offline

    TheRogueX

    Oh! Interesting. I spelled Utilitites wrong. Or, rather, I spelled 'Utilities' right, but that's not how it needs to be spelled. :D

    Though, still getting this error, even with everything set right:

    Code:
    2011-09-16 11:23:55 [SEVERE] Error occurred while enabling xWarp v3.1.2 (Is it up to date?): de/xzise/XLogger
    java.lang.NoClassDefFoundError: de/xzise/XLogger
    at de.xzise.xwarp.XWarp.onEnable(XWarp.java:60)
    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:171)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
    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.lang.ClassNotFoundException: de.xzise.XLogger
    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 
    EDIT: I *am* currently testing CB Build 1130 for Minecraft 1.8, could that possibly be the problem? And my permissions system is PermissionsEx with the Permissions 2.7.7 compatible bridge.
     
  12. Offline

    xZise

    Jerks :/ No it's my fault it has to be (now directly copy & pasted): BukkitPluginUtilities.jar

    I didn't test any 1.8 build yet, but I don't think that this should cause any trouble.

    @Killerrabbit I showed the file hierarchy in the post above yours. If there is no directory, create it on your own ;)

    Fabian
     
  13. Offline

    TheRogueX

    I have the plugin loading now, but no one can use warps save for my top admin (who has "*" permissions). Those who have permission to create warps can create them, but they can't use them at all.

    EDIT: I was wrong. Now actually no one save for my top admin can use any part of xWarp.
     
  14. Offline

    Killerrabbit

    Thank you, I recommend you updater wiki/first hope with the file hierarchy also so other users find it easily as well ;)

    Off to do some testing with your warp plugin then!
     
  15. Offline

    TheRogueX

    All right! Everything is working perfectly now. My only question is, are long warp names supposed to be trunicated for Admins? When I do a /warp list, I get names that are shortened, and thus I can't warp to them. Is there any way to see the long-form name?
     
  16. Offline

    xZise

    Not for now... You could try to hide all columns.

    Fabian
     
  17. Offline

    TheRogueX

    Hey, got another problem... could be related to dynmap though. I get these two errors when I load up my server:

    Code:
    >03:54:09 [WARNING] [dynmap] Marker API has been requested, but is not enabled.  Uncomment or add 'markers' component to configuration.txt.
    Code:
    >03:54:09 [SEVERE] [xWarp]: Unable to load marker file.
    java.io.FileNotFoundException: plugins/xWarp/marker.png (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:120)
    at de.xzise.xwarp.WarpManager.updateMarkerAPI(WarpManager.java:746)
    at de.xzise.xwarp.WarpManager.setMarkerAPI(WarpManager.java:779)
    at de.xzise.xwarp.XWarp$1.onPluginEnable(XWarp.java:137)
    at org.bukkit.plugin.java.JavaPluginLoader$45.execute(JavaPluginLoader.java:555)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:899)
    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)
    Not sure what to do to fix it.
     
  18. Offline

    Donny

    Cant get my global warps to show up on dynmap. (dynmap v.0.23)

    Code:
    case-sensitive: false
    use-force-to: false
    marker:
        visibilities:
        - global
        png: marker.png
    warmup:
        notify: true
        cancel:
            movement: false
            damage: true
    show-free-price-message: false
    permissions:
        plugin: 'null'
    economy:
        base-account: ''
        plugin: ''
    data:
        connection: sqlite
    list:
        columns:
        - owner
        - world
        - location
    update-if-exists: false
    cooldown:
        notify: true
    warp:
        defaultmsg: Welcome to '{NAME}'!
    Code:
      - class: org.dynmap.MarkersComponent
        type: markers
        showlabel: true
        enablesigns: true
        showspawn: true
        spawnicon: world
        spawnlabel: "Spawn"

    add this to your dynmap config

    Code:
      - class: org.dynmap.MarkersComponent
        type: markers
        showlabel: true
        enablesigns: true
        showspawn: true
        spawnicon: world
        spawnlabel: "Spawn"
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 6, 2016
  19. Offline

    TheRogueX

    I have that in there, but I still get the error.
     
  20. Offline

    xZise

    Do you have a marker file?

    The first one?

    I think this is a bug in dynmap ... I should report it.

    Sorry for the delay to 3.1.3.

    Fabian
     
  21. Offline

    Donny

    Oh no. Do you have a marker.png for it? If not how big is the picture supposed to be? I'm assuming small, 150x150?
     
  22. Offline

    xZise

  23. Offline

    TheFluffey

    Hey, I am having problems with Warmup/Cooldown. I am using permissionsbukkit, and It is hooking into it, but When I try to put in a warmup or cooldown, nothing happens.

    Could you give a PermissionsBukkit Example of how to set a warmup and cooldown?

    Thanks,
    Mike

    BTW: Great plugin :D
     
  24. Offline

    Rockstar04

    http://pastebin.com/Bs1e23k4

    Startup error, I'm assuming it has something to do with the fact that I am using the new Register.jar as a plugin and it conflicting with the register that is embedded in the plugin?
     
  25. Offline

    xZise

    How do you try to put in warmup or cooldown? As far as I know PermissionsBukkit doesn't support permission values. Only the commands /warp cooldown <warp> [owner] <time> and /warp warmup <warp> [owner] <time> should work.

    Thanks :)

    Ah okay, no xWarp didn't include Register but they changed the method signatures. I except another layout than “your” Register support. I will maybe release a new version of Bukkit Plugin Utilities (1.2.1) which fixes this. Stay tuned :p

    And I will test xWarp 3.1.3 today and hopefully release it also today. It then has some fixes and allows you to completely disable markers. Ah and I will provide a zip with the marker graphic :)

    Fabian
     
  26. Offline

    TheFluffey

    I LOVE YOU. Worked flawlessly:D
     
  27. Offline

    Donny

    What can my default rank create global warps when they only have the following permissions
    Using PEX

    xwarp.warp.world.*
    xwarp.warp.to.*
    xwarp.warp.create.public
    xwarp.warp.create.private


    Here is my config
    Code:
    case-sensitive: false
    use-force-to: false
    marker:
        visibilities:
        - global
        png: marker.png
    warmup:
        notify: true
        cancel:
            movement: false
            damage: true
    show-free-price-message: false
    permissions:
        plugin: 'null'
    economy:
        base-account: ''
        plugin: ''
    data:
        connection: sqlite
    list:
        columns:
        - owner
        - world
        - location
    update-if-exists: false
    cooldown:
        notify: true
    warp:
        defaultmsg: Welcome to '{NAME}'!
     
  28. Offline

    croccydile

    I get this when trying to warp in 3.1.3 :S
    Using Essentials + Essentials GroupManager

    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'warp' in plugin xWarp v3.1.3
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
            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 org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NoClassDefFoundError: com/nijiko/permissions/Entry$EntryVisitor
            at de.xzise.wrappers.permissions.Permissions3Wrapper.getDouble(Permissions3Wrapper.java:78)
            at de.xzise.wrappers.permissions.PermissionsHandler.getDouble(PermissionsHandler.java:130)
            at de.xzise.xwarp.WarpManager.warpTo(WarpManager.java:559)
            at de.xzise.xwarp.WarpManager.warpTo(WarpManager.java:545)
            at de.xzise.xwarp.commands.warp.WarpToCommand.execute(WarpToCommand.java:58)
            at de.xzise.commands.CommonCommandMap.executeDefault(CommonCommandMap.java:62)
            at de.xzise.commands.CommonCommandMap.executeCommand(CommonCommandMap.java:84)
            at de.xzise.commands.CommonCommandMap.onCommand(CommonCommandMap.java:130)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
            ... 13 more
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.Entry$EntryVisitor
            at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
            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(ClassLoader.java:306)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
            ... 22 more
    
     
  29. Offline

    xZise

    Do you mean “Why” instead of “What”? :p

    Which version of xWarp do you use and does your PEX version support the SuperPerms from Bukkit?

    Hmmm okay strange bug. Which version of Essentials/GroupManager do you use?

    Fabian
     
  30. Offline

    Donny

    3.1.3 I believe. How can I check? I'm using markers with dynmap and that's how I noticed my default rank was able to create global warps.

    Yes PEX supports superperms.
     
  31. Offline

    xZise

    @Donny: Not the version of xWarp (which you already posted):
    You can get a version of a plugin by using “/version <pluginname>”.

    Fabian
     

Share This Page