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

    Qentus

    You have to download this https://github.com/downloads/xZise/Bukkit-Plugin-Utilties/bukkitutil-1.3.0-B7.jar - put it into your lib folder and rename it to BukkitPluginUtilities.jar (if you have xWarp 3.1.6)
    I had the same problem.


    Same issue here. I am really sad because no plugin can limit warps per groups.
     
    CubieX likes this.
  3. Offline

    CubieX

    Thaks for your info!
    Now xWarp 3.1.6 works on CB 2124 (1.2.4 R.0.1)
     
  4. Offline

    DrFusion

    k i got it to work on 1.2.4 (by work i mean no "not updated" errors) but this happens, will iconomy and permissionsex work for xwarp?

    2012-04-02 18:35:05 [INFO] [xWarp] Enabling xWarp v3.1.6
    2012-04-02 18:35:05 [SEVERE] java.lang.UnsatisfiedLinkError: /tmp/sqlite-3.7.2-libsqlitejdbc.so: /tmp/sqlite-3.7.2-libsqlitejdbc.so: failed to map segment from shared object: Permission denied
    2012-04-02 18:35:06 [INFO] [xWarp]: No Register found. Deactivating Register support.
    2012-04-02 18:35:06 [INFO] [xWarp]: 0 warps loaded
    2012-04-02 18:35:06 [INFO] [xWarp]: 0 warp protection areas loaded
    2012-04-02 18:35:06 [WARNING] [xWarp]: Skiped disabled permissions system: PermissionsEx v1.19
    2012-04-02 18:35:06 [INFO] [xWarp]: No permissions system found until here. A permissions plugin will be maybe activated later.
    2012-04-02 18:35:06 [INFO] [xWarp]: The plugin "iConomy v6.0.9b" is not iConomy 5 compatible.
    2012-04-02 18:35:06 [INFO] [xWarp]: The plugin "iConomy v6.0.9b" is not iConomy 4 compatible.
    2012-04-02 18:35:06 [WARNING] [xWarp]: Invalid economy system found: iConomy v6.0.9b
    2012-04-02 18:35:06 [WARNING] [xWarp]: Skiped disabled economy system: Essentials vPre2.9.1.3
    2012-04-02 18:35:06 [INFO] [xWarp]: No economy system found until here. A economy plugin will be maybe activated later.
    2012-04-02 18:35:06 [INFO] [xWarp]: xWarp 3.1.6 enabled
     
  5. Offline

    CubieX

    xZise:
    Is it possible to set warp creation limits per world?
    Atm, our players can create 3 warps in the normal world, and another 3 in the nether, despite the fact that the limit is set to 3 total.

    Our permissions for this:
    options:
    xwarp.warp.limit.public: 3
    xwarp.warp.limit.private: 3
    xwarp.warp.limit.total: 3

    Bug or feature? Any suggestion?
     
  6. Offline

    Liger_XT5

    Copied post of mine on the dev.bukkit.org page about xwarps:

    Why hasn't the features, such as limits, timers, and world locks, been fixed or even acknowledged they don't work?
    Why doesn't xwarp get updated to use a new economy system/bridge like Vault?

    There doesn't seem to be any as-powerful warp plugins out there as xWarp. If there, I know I'm over looking it somewhere.
    I'd like to set timers for the warps (I know booscooldowns can fix this), set the max number of warps per player, and stop players from being able to warp from one world to the next freely as it ruins a good part of the adventure portion of the game. Setting prices would also help, but that is a low priority.
    I'm using CB RB1 for MC 1.2.5, PEX 1.29.1, and iConomy 6 (or 7 via april fools joke).
     
  7. Offline

    Lord Chaos

    Has the creator abandoned this project? :(
     
  8. Offline

    xZise

    Okay on my server xWarp is supporting AT LEAST the timers read from PEX. So if the timers don't work on your server with PEX you most likely didn't set up the timers correctly (and thus it is possible that limits/costs also don't work).

    About support for iConomy 6 (or other): Support for plugins comes via BPU not xWarp. So an update of xWarp won't support more plugins. But I already added Vault support and with Vault you should access iConomy 6.

    So about limits per world: This looks odd. The limits work at the moment globally. Per world support could be possible, but I have to think how to work with global limits. And “shared world” like “in world A and B in total they can create 6 but in all worlds they can create 7” (world A and world B share the pool limit).

    DrFusion Oh I have no idea what the error means :( But if I have to guess: The file /tmp/sqlite-3.7.2-libsqlitejdbc.so don't have execution privileges.

    I'm working on 3.1.7 which should better support dynmap.

    Fabian
     
  9. Offline

    Liger_XT5

    xZise
    I have the following for PEX pemissions.
    Code:
        option:
          warp:
            limit:
              private: 5
              public: 5
              global: 2
            timers:
              cooldown:
                private: 3
                public: 3
                global: 3
              warmup:
                private: 3
                public: 3
                global: 3
            price:
              create:
                private: 30
                public: 10
                global: 50
              to:
                private: 5
                public: 8
                global: 6.5
    
     
  10. Offline

    xZise

    Try options instead of option. And I didn't “nested” my variables:
    Code:
    options:
        build: true
        xwarp.warp.timers.cooldown.private: 10
        xwarp.warp.timers.cooldown.global: 10
        xwarp.warp.timers.cooldown.public: 10
        xwarp.warp.timers.warmup.private: 1
        xwarp.warp.timers.warmup.public: 1
        xwarp.warp.timers.warmup.global: 1
    
    Fabian
     
  11. Offline

    Lord Chaos

    What I do not understand is where I put these options in the permission file. By themselves or part of each individual permission group, like here:

     
  12. Offline

    xZise

    Aehm, as yml needs to preserve spaces you should use code instead of quote tags.
    And they are bound to groups or users:
    Code:
        Moderator:
            default: false
            permissions: [....]
            inheritance:
            - Member
            suffix: ''
            prefix: '&c'
            options:
                build: true
                xwarp.warp.timers.cooldown.private: 0
                xwarp.warp.timers.cooldown.global: 0
                xwarp.warp.timers.cooldown.public: 0
                xwarp.warp.timers.warmup.private: 0
                xwarp.warp.timers.warmup.public: 0
                xwarp.warp.timers.warmup.global: 1
    And Vault support seems to work and xWarp 3.1.7 looks pretty good. So I will update both hopefully today.

    Fabian
     
  13. Offline

    Liger_XT5

    I've tried the above, didn't work. In the /warp create, all shows infinite (checked while in member rank).
    I'll wait for the next update and see if vault fixes this.
     
  14. Offline

    xZise

    Hmmm, it worked for me, maybe you have to reconnect to the server? With PEX via Vault it took a while until it worked, so maybe also without Vault.

    Fabian
     
  15. Offline

    Liger_XT5

    Might be stupid to note, but when I updated to 3.1.7 and checked the config file, the permissions setting was set to none. I think it was set as so before because I couldn't get permissions to work. I've changed it to vault and updated the utilities file (just noticed the update noted on the bukkit dev). I can't do /warp reload currently, I'll have to wait until the next server restart or when the server is empty.

    Restarted server. Warping works. Timers and such not yet.
    Config:
    Code:
    data:
      connection: sqlite
    economy:
      plugin: 'vault'
      base-account: 'town-MCDen'
    permissions:
      plugin: 'vault'
    warmup:
      notify: true
      cancel:
        movement: true
        damage: true
    cooldown:
      notify: true
    case-sensitive: false
    update-if-exists: false
    use-force-to: false
    show-free-price-message: false
    warp:
      defaultmsg: Welcome to '{NAME}'!
    marker:
      plugin: 'dynmap'
      png: marker.png
      visibilities:
      - global
    list:
      columns:
      - owner
      - world
      - location
    
    PEX:
    Code:
      member:
        prefix: '&f[&3m&f]'
        suffix: '&f'
        options:
          xwarp.warp.timers.cooldown.private: 3
          xwarp.warp.timers.cooldown.public: 3
          xwarp.warp.timers.cooldown.global: 3
          xwarp.warp.limit.private: 15
          xwarp.warp.limit.public: 15
          xwarp.warp.limit.global: 15
          xwarp.warp.price.create.private: 30
          xwarp.warp.price.create.public: 10
          xwarp.warp.price.create.global: 50
          xwarp.warp.price.to.private: 5
          xwarp.warp.price.to.public: 8
          xwarp.warp.price.to.global: 6.5
    
     
  16. Offline

    xZise

    Please check with /xwarp status if xWarp is linked to a permission plugin.

    Fabian
     
  17. Offline

    Liger_XT5

    Code:
    2012-04-22 00:28:37 [INFO] xWarp status:
    2012-04-22 00:28:37 [INFO] Number of warps: 468 (invalid: 2)
    2012-04-22 00:28:37 [INFO] Number of warp protection areas: 0
    2012-04-22 00:28:37 [INFO] Economy: Vault v1.2.15-b172
    2012-04-22 00:28:37 [INFO] Linked with dynmap marker API
    
     
  18. Offline

    xZise

    Hmmm, I'm wondering where the status of the permissions plugin is. Normally it should appear between the economy and dynmap status. Can you please test what happen if you set the permission plugin to ''?

    Fabian
     
  19. Offline

    Liger_XT5

    Made the change in the config, did /xwarp reload, then /xwarp status, same thing, but extra line stating an internal error occurred while attempting... etc.
    Will try to see the status when the server restarts.

    Otherwise, if you're curious of the error:
    Code:
    2012-04-22 10:49:17 [INFO] LigerXT5 tried to use command /xwarp status
    2012-04-22 10:49:17 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'xwarp' in plugin xWarp v3.1.7
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:624)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:103)
        at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:169)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:92)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:622)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:506)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NullPointerException
        at de.xzise.wrappers.Handler.getWrapperName(Handler.java:97)
        at de.xzise.xwarp.commands.xwarp.StatusCommand.execute(StatusCommand.java:35)
        at de.xzise.commands.CommonCommandMap.executeCommand(CommonCommandMap.java:89)
        at de.xzise.commands.CommonCommandMap.onCommand(CommonCommandMap.java:144)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 14 more
    
     
  20. Offline

    xZise

    Did you update Bukkit Plugin Utilities to version 1.3.0? And could you show me the start up. Somewhere xWarp should state, that it is linked to a permissions plugin (or something like this). I'm wondering why the error appears, as this should be save.

    And can you please retry it with 1.3.0-D1. I added some debug output so I hopefully can remove the problem.

    Fabian
     
  21. Offline

    Liger_XT5

    xZise
    I haven't made the changes you suggested in the post above, but I would like to note that timers and limits are working. No word on prices, but I have a feeling they are working too. Having exo and perms set to vault worked, to pex or permissionsex doesn't seem to.

    Yes, I did update the utilities to 1.3 when I updated xwarp last.
     
  22. Offline

    GROMkill

    xZise

    Sorry for this basic question, but I had a bit of trouble finding out the answer by myself.

    I know that with your plugin, you can make sign warps, and you can make warps cost money.

    With this plugin, would I be able to make different sign warps that cost different amounts of money? Or do they all have to cost the same amount?

    I'm trying to have a 3 or 4 sign warps set up on my server that cost varying prices influenced by distance.
     
  23. Offline

    der_robert

    Hi,

    i have a big problem:

    If I create a region with Regios and "Prevent Entry: true," and a player wants to enter them, then it will be automatically transported to a point at which he has recently warped (xWarp).

    I use:
    CB 1.2.5 build 2175 R1.3
    Regios v5.0.38
    XWARP
    Essentials
    PEX

    and a few more, but these have no functional teleport or warp.

    johnnyzerox7 the dev of Regios wrote:

     
  24. Offline

    DanielChicken

    Anyone having the:
    "No permissions system found until here. A permissions plugin will be maybe activated later." Error then go into the config for xWarp and enter "Vault" into the permissions plugin bit.
     
  25. Offline

    PanCienisty

    Hi i got a huge problem with xWarp. It's sad becouse it's the best warp plugin.

    Permission does not work. I've tested it and.... And with only permission to create private warp i still could create all warp types (no i don't forgot deop myself). And the second problem with permissions is, that timers, prices, limits do not work. I use newest PermissionsEx with Vault. /xwarp status return that everything is okey, but it's not.

    I use 3.1.7 xWarp with newest BPU.

    Thats permissions:

    gracz:
    default: true
    permissions:
    - xwarp.warp.create.private
    - xwarp.warp.to.*
    options:
    rank: '1000'
    warp.prices.create.private: 5
    warp.prices.create.public: 0
    warp.limit.private: 20
    warp.limit.public: 10
    warp.timers.cooldown.private: 20
    warp.timers.cooldown.public: 20
    warp.timers.cooldown.global: 20
     
  26. Offline

    Graybot

    can someone help me with myaql base,what need to write for connection?
     
  27. Offline

    xZise

    Sorry for the long “downtime”.

    What does xwarp status return? I'm using PEX (with Vault) and everything works as expected. And you should put the content of the permissions file in code-tags as it shows how many spaces you put in front of all lines. And the options need a “xwarp.” before all xwarp entries.

    xWarp doesn't support mysql.

    No it isn't possible to have different prices per each warp sign. It maybe possible to add a price at the warp sign.

    Sometimes xWarp get enabled before the permission plugin. If so, it will link to permission plugin later. So please check “xwarp status” after everything is done.

    Okay I don't have any idea why this happens. There are only two possibilities to trigger a teleport by my plugin: Either by using the warp command or by rightclicking on a sign. As I don't have Regios testing will be difficult.

    Fabian
     
  28. Offline

    ShaDooM

    how did you succeed?

    I've been trying that for some months now but the limits just wont work with pex.
    Code:
      silver:
        inheritance:
        - trusted
        default: false
        options:
          rank: '7'
          xwarp.warp.timers.warmup.private: 10
          xwarp.warp.timers.warmup.public: 10
          xwarp.warp.timers.warmup.global: 10
          xwarp.warp.timers.cooldown.private: 10
          xwarp.warp.timers.cooldown.public: 10
          xwarp.warp.timers.cooldown.global: 10
          xwarp.warp.limit.private: 5
          xwarp.warp.limit.public: 1
          xwarp.warp.limit.global: 1
          xwarp.warp.limit.total: 7
    
    Code:
    01:53:47 [INFO] xWarp status:
    01:53:47 [INFO] Number of warps: 2
    01:53:47 [INFO] Number of warp protection areas: 0
    01:53:47 [INFO] Economy: iConomy v5.01
    01:53:47 [INFO] Permissions: Vault v1.2.16-b184
    01:53:47 [INFO] Linked with dynmap marker API
    
    xZise
     
  29. Offline

    Liger_XT5


    Quick copy-paste from my configs:
    PEX:
    Code:
    Options:
          xwarp.warp.timers.cooldown.private: 8
          xwarp.warp.timers.cooldown.public: 8
          xwarp.warp.timers.cooldown.global: 8
          xwarp.warp.timers.warmup.private: 3
          xwarp.warp.timers.warmup.public: 3
          xwarp.warp.timers.warmup.global: 3
          xwarp.warp.limit.private: 15
          xwarp.warp.limit.public: 15
          xwarp.warp.limit.global: 15
          xwarp.warp.limit.total: 15
          xwarp.warp.price.create.private: 30
          xwarp.warp.price.create.public: 10
          xwarp.warp.price.create.global: 50
          xwarp.warp.price.to.private: 5
          xwarp.warp.price.to.public: 8
          xwarp.warp.price.to.global: 6.5
    Permissions:
        - xwarp.warp.to.own
        - xwarp.warp.to.invited
        - xwarp.warp.sign.to.*
        - xwarp.warp.create.*
        - xwarp.warp.sign.create.*
        - xwarp.warp.edit.delete
        - xwarp.warp.edit.invite.add
        - xwarp.warp.edit.invite.delete
        - xwarp.warp.edit.message
        - xwarp.warp.edit.update
        - xwarp.warp.edit.rename
        - xwarp.warp.command.list
        - xwarp.warp.command.search
        - xwarp.warp.command.info
        - xwarp.warp.timers.cooldown.private
        - xwarp.warp.timers.cooldown.public
        - xwarp.warp.timers.cooldown.global
        - xwarp.warp.timers.warmup.private
        - xwarp.warp.timers.warmup.public
        - xwarp.warp.timers.warmup.global
        - xwarp.warp.prices.create.private
        - xwarp.warp.prices.create.public
        - xwarp.warp.prices.create.global
        - xwarp.warp.prices.to.private
        - xwarp.warp.prices.to.public
        - xwarp.warp.prices.to.global
    
    xwarp config
    Code:
    data:
      connection: sqlite
    economy:
      plugin: 'vault'
      base-account: 'town-MCDen'
    permissions:
      plugin: ''
    warmup:
      notify: true
      cancel:
        movement: true
        damage: true
    cooldown:
      notify: true
    case-sensitive: false
    update-if-exists: false
    use-force-to: false
    show-free-price-message: false
    warp:
      defaultmsg: Welcome to '{NAME}'!
    marker:
      plugin: 'dynmap'
      png: marker.png
      visibilities:
      - global
    list:
      columns:
      - owner
      - world
      - location
     
    
     
    ShaDooM likes this.
  30. Offline

    ShaDooM

    Thanks a lot, after trying your "Options" block it totally ignored that usergroup even my rank option was ignored... after lowering the capital O of "Options" and removing the ' ' from rank: '9' it finally worked O_O

    thank you fine sir,

    you've helped :)
     
  31. Offline

    Liger_XT5

    Lol, sorry about the O in Options, I just coppied the perm lines and just typed Options and Permissions to state their category per group.
     

Share This Page