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

    Ehr .... let me look
    Yep, supports Permissions 3 and it should support 928, but I didn't tested it yesterday.

    Fabian
     
  3. Offline

    Wahrheit

    @xZise Only supports P3? Multiplay uses a modified version of P2 so if you could support that too it'd be wonderful.
     
  4. Offline

    xZise

    Nope? With 2.11.2 I only added specific support for Permissions 3. But it should support PEX and Permissions 2. I need more informations. Did xWarp say, that it linked to the Permissions. And what is Multiplay?

    Fabian
     
  5. Offline

    halvors

    @xZise:
    What about EbeanServer support? So users can set their db info in bukkit.yml.
     
  6. Offline

    xZise

    Will definitely come, but I don't know when ;)

    Fabian
     
  7. Offline

    halvors

  8. Offline

    VeryInsane

    Will this work for the New Recommended Build #928. ?

     
  9. Offline

    xZise

    Look in the OP, in the OP's title or six posts above yours?

    Fabian
     
  10. Offline

    VeryInsane

    /cares

    Now I know, right?
     
  11. Offline

    Moparx

    Hi there,
    Thanks for this great plugin.

    I just upgraded from 2.11.1 to 2.12.0 and I am unable to list the warps for players. If I use "/warp list Moparx", It fails with 'Unknown parameter prefix: Moparx" and reverts to a normal warp listing. Everything else appears to be working normally.

    I tried the variant which is shown on your wiki (/warp list o:Moparx),tried a fresh config.properties, and I didn't see anything about it when I skimmed the thread which is why I am asking about it.

    I am running CraftBukkit b935 with Permissions 2.7.4.

    Thanks for your time. :)
     
  12. Offline

    xZise

    Yep I changed the handling. Because of that it couldn't recognize your parameter.

    And your second guess is correct. Use /warp list o:Moparx (or /warp list oo:Moparx which won't change the parameter) which should work. If not, which is the result?

    Fabian
     
  13. Offline

    Moparx

    Ah, my apologies. /warp list o:Moparx does indeed work.I must have unintentionally capitalized the O or something when I tried the command earlier.
     
  14. Offline

    xZise

    By the way, when you want to have more "list" filters (at the moment there are "world", "owner", "creator" and "visibility") tell me. Only the "location" filter could be complicated. I'm planning in adding a command to get warps nearby.

    Fabian
     
  15. Offline

    Gumbel

    /warp list oo:<username> and /warp list oc:<username> give me "There are no warps to list", while o: and c: work and show the warps of that user. (xWarp version 2.12.0)

    Yes, more filters (or rather output parser) would be cool. For example removing certain elements from the list output, the world name, the coordinates, just like oo and oc should remove the player name.

    As for real filters, maybe a simple way to implement a location filter is to let the user define x, z and y ranges. For example /warp list y:64-128 will only show warps above sea level. Now it's a bit tricky to define a range with values below 0... -1000--500 looks odd.:confused: Maybe use to instead of -? y:64to128 ... x:-1000to-500 ...

    Another request I'd like to see very dearly is an option like the -w of the Unix ps command: it basically enables a line break. ps output is by default like xWarp's, it will force one line per entry, but if the string is longer than the screen's width it gets depricated. This has all weird effects for long warp names. But ps -w allows one additional line per entry, -ww allows two and so on... so some list output alternatives would be much appreciated.
     
  16. Offline

    m5k

    Could you perhaps add decimal prices? I want my warps to cost 0.1, since our economy is pretty tight.
     
  17. Offline

    handyplayer13

    Hi!

    Is it possible that you make the commands "/warp listg" and "/warp listp"?
    "/warp listg" should show the global warps and "/warp listp" should show the private warps.

    Because the command "/warp list" shows the global warps and the warps from all players, thats very confusing.
    When someone wants to look for his warps, he cant because there are too much sites, because the warps from the other players are there, too.

    And could you make it configurable how many private warps a player can make?

    Greets
     
  18. Offline

    xZise

    Weird. I will look into this.

    Nice idea, but there is one problem:
    /warp list o:xZise o:Gumbel
    When I remove the owner now, how to identify, the names.

    This will come, and thanks about the “double dash” problem.

    So if you type:
    /warp list o:foo o:bar -ww
    You could type two additional lines, which warp will interpret? Could be complicated. Maybe in version 3.

    @m5k: Will come in xWarp 3

    @handyplayer13 There is a visibility option for the list:
    /warp list v:global
    To limit the warps, you have to set the limits in the permissions file. → More info

    Fabian
     
  19. Offline

    ks07

    Hey,
    On our server, we have a large database of warps, so large that running /warp list causes considerable lag for the entire server. Is there anything that can be done to remedy this? Could warps possibly be moved to a mysql database? It's become so much of a problem now that the command has had to have been removed from permissions. :(

    Thanks,
    ks07
     
  20. Offline

    xZise

    Wow... As I couldn't test MySQL I'm unsure when I support MySQL. I mean if somebody else want to implement this, thanks a lot, thats because xWarp is Open Source.

    But warp list doesn't access the database. So it only depends on the CPU and RAM how fast it sort the warps.

    Fabian
     
  21. Offline

    Moparx

    How many warps do you have? I have almost 4000 warps and I have absolutely no lag at all when using /warp list.
     
  22. Offline

    xZise

    Maybe the 2.12.0 is working faster than before. But I don't see any optimization, because on every list command I have to get all warps, and sort them to determine which you requested. If you specify the list (for example only global via adding the option “v:global”) it will sort only the global ones.

    Yes, I could store all warps in another list (sorted) but then I have to store each warp one time more, and I have to manage this list on each modification, which cause inconsistency.

    Fabian
     
  23. Offline

    ks07

    @Moparx We currently have 5117 warps.

    @xZise Okay no problem, thanks for reply, hopefully we can reduce the number of warps over time. ^^
     
  24. Offline

    xZise

    Actually, there is already a bug report on the issue tracker about this.

    Fabian
     
  25. Offline

    lolzrofl

    Does this work with #953?
     
  26. Offline

    xZise

    I couldn't guarantee and maybe test the new RB tomorrow, but I according to the changes it should work.

    So test it on your own, or wait until I could test it.

    Fabian
     
  27. Offline

    Kosyne

    @xZise: Thank you so very VERY much for implementing variables. That makes my life a WHOLE lot easier now-- My bank system finally works :D :D
     
  28. Offline

    OZ4RK

    Working with permissions V3? Mywarp caused Illegal access errors.
     
  29. Offline

    xZise

    Hmmm .... let me look
    Fabian
     
  30. Offline

    w00dst0ckOo

    Hello,
    love you plugin but i've got an problem i don't know why but no one exempt the Admins can't warp but can create warps
    in permissions warp.to.* is set for the default group to give them the Warp feature but it doesn't dunno why maybe its cause of 935 :( hope it help you to find a bug or maybe you could help
    regards w00dy
     
  31. Offline

    xZise

    Please revisit the “Common questions” I linked in the OP. There is at least one question which matches yours.

    Fabian
     

Share This Page