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

    Fabian1995

    No I do not have anything else installed. Only xWarp. I even deleted the old database and created new warps, but then it also says in the Chat "An internal error occured..." etc.
    I hope you are able to fix this :)
    I'm runnning the recommended Craftbukkit build (#617)
     
  3. Offline

    xZise

    Jep, I could fix this with the new 2.7.6.

    Fabian
     
  4. Offline

    epsilon94

    When i try to make a sign warp i only get "error":

    Warp sign found.
    2 (global)
    This warp doesn't exists!


    You have a solution? Would be greatly appreciated!
     
  5. Offline

    Fabian1995

    Wow :) You are great! Works :)
    Didn't expect you to fix that so fast, you are really good in what you are doing!!! Keep the good work going!!!
     
  6. Offline

    xZise

    Does the global warp 2 exists? What returns “warp search 2”, because you could create a warp sign without a warp that exists. It is not a serious problem, as you could create a warp named 2 later.

    To all users: On my server my players discovered the bug, that also a left click on a sign will warp you.

    Fabian

    PS: Tip: You could execute command such “warp search 2” in the console and directly copy/paste it.
    PPS: Normally it isn't a mistake to name the build of CraftBukkit and xWarp version. In this particular error it isn't nessecary (at the moment) but for safety. And the plugin developer will love this info if you found a problem.
     
  7. Offline

    Linki

    doesn't work with GroupManger :( Everebody can use all Commands.
     
  8. Offline

    xZise

    Okay, on my server (we are using the essentials GM) it seems, that the GM works. The only bug is, that the players could create a global warp, although they haven't the permission. But they have no access to admin commands (admin command = change warps of others).

    Fabian

    Okay, I updated xWarp to version 2.7.7: On some commands (afaik create, update, warp-to) I fixed the bug, that the user has the default commands although you use a Permissions plugin.

    Also you have to right click on a sign now (left click won't warp you). But this bug was only on the non legacy build.

    And last but no least: This is the last official legacy version (2.7.7-legacy), because it is not often downloaded. If somebody want to integrate changes in the legacy branch, simply contact me (post here or pm) and I will try my best.

    Fabian

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 6, 2016
  9. Offline

    epsilon94

    Do I Need 2 signs to warp, or do i need to create a warp point with the /warp create command and then put

    warp:
    2

    on the sign?
     
  10. Offline

    xZise

    The sign doesn't create a warp. So you have to issue the /warp create command. Not essentially before.

    Simply the sign does following: When you right click on it it executes the normal /warp-to-command.

    Fabian
     
  11. Offline

    City Builder

    The problem that we have with this is that some of our warp names are two words oneword secondword so when we try to use xwarp it tells us no warp owned by secondword exists.

    Anyway to change this or fix it on our end without visiting every warp with 2 words and creating new ones?

    Thanks,
     
  12. Offline

    xZise

    Yep use quotes. To warp to “Hello World” execute following command:
    Code:
    /warp "Hello World"
    As alternative you could escape spaces:
    Code:
    /warp Hello\ World
    For more documentation click here.

    Fabian
     
  13. Offline

    City Builder

    Thanks, the other question that I have is

    Is there a way like in my warp to limit how many private warps members can make?
     
  14. Offline

    bogboom

    Permissions are not working for essentialsgroupmanager. I give my users warp.to.*, and it still denies them permission.
     
  15. Offline

    xZise

    Not jet. I have an idea how I could handle this. The easiest seems to be, that you simply count the number of warps somebody owns. The problem here is, that you want to limit how many warps somebody could make and not own.
    So my idea is, every time somebody creates a warp a internal counter for this person is increased, so it doesn't change if somebody give this player a warp. But on the other hand, when does it decrease? So I'm working on a solution and maybe a new version is coming soon.

    As I already said, I'm also using EssentialsGM and on my server it worked (after I fixed a bug in 2.7.7). Also I need more information: CraftBukkit build, xWarp build and Console output (after you started the server) and the output from “warp permissions” command. You could execute this in the console and could easily copy & paste it in here. Also the number of permissions is > 20 so it doesn't show every node in-game.

    At the moment I have no idea why EGM shouldn't work. Especially that, if xWarp doesn't found a permission build, xWarp by default grant any warp.to-permission.

    Fabian
     
  16. Offline

    Yonar

    Hi I was wondering if you could give a quick example of how to change the welcome message for a warp. I'm trying to change the welcome message for my warp that I have called "home".

    I've been typing /warp message home (like I did with MyWarp) but just end up with the message: Player 'home' don't owns a warp named 'message'. Aside from the error message I'm getting, I thought you might like to know that the correct English for that statement is: Player 'home' does not own a warp named 'message'.

    Or, if I type /warp message home Hello there! I get the response: Unkown warped player given.

    I'm currently set as an Admin in Permissions with everything enabled, so I don't think Permissions is getting in the way.

    Sorry if I'm missing something simple, but I'd really love some guidance here. Thanks.
     
  17. Offline

    xZise

    I'm using this parser for all commands. So if you have a command with 3 parameters so this command needs 3 parameters:
    Code:
    /warp message home "Hello there!"
    The first error is, that the message command doesn't work like in MyWarp (see Commands). So if the command is invalid (message requests 3 parameters) it simply thinks that you want to warp. And the warp-to command requests 2 parameters (name and owner as optional).
    The second error is similar to the first one, as you inputed 4 parameters. So it tries the warp-to command and fail again (okay there it shouldn't instead it should show a help).

    Fabian
     
  18. Offline

    Linki

    Works great now :) Thank you for this very usefull Plugin.
     
  19. Offline

    Toasty

    What's the permissions node for /warp list? I can't find it anywhere
     
  20. Offline

    xZise

    None. But the list shows only the warps which are "visible" for the executing "object".

    Fabian
     
  21. Offline

    Wolfy9247

    Sorry if this post may be stupid, but is there currently permission nodes? I can't find them listed and I don't really have time to look through topic pages right now -- thanks a lot!
     
  22. Offline

    xZise

    And the link is working …

    Fabian
     
  23. Offline

    MineralMC

    Any chance to deny access to the /warp command by default? My players who don't have any warp permissions whatsoever can still pull up the help screen by typing /warp.
     
  24. Offline

    Meiun

    you do not have permission message on trying to create a warp.

    using permissions phoenix, '*' permissions.
    cb 617, the latest posted xWarp build

    edit: tested egm, same problem.
     
  25. Offline

    xZise

    What do you mean with permission message? If you have any permission, you could do any command so you won't ever get a message, that you have not the permission to do something (if you mean this by “permission message”).

    In my plugin also a player without any permission could still edit (update, invite, …) their own warps. At the moment I'm working on iConomy and creation limit support. After this update (or maybe with this update?) I review the permissions think.

    Fabian
     
  26. Offline

    MineralMC

    Alright, cheers for the quick reply. :)
     
  27. Offline

    xZise

    Hello, please replace plugin with player.

    Fabian
     
  28. Offline

    Don Redhorse

    Hi Fabian,

    would it be possible to make the amounts of warps limited? And add an override permission to that?

    Reason is that I would like to allow people to create ONE public warp and ONE private warp only... otherwise people just warp all over the place.

    This would also require a new permission for the give command though..
     
  29. Offline

    Th4natos

    Yeah a Limit is verry important
     
  30. Offline

    City Builder

    asked for a few pages back but don't remember exactly what the answer was.
     
  31. Offline

    xZise

    It will come.

    Every Warp has then a Owner (which is at the moment the Creator) and a Creator. You could then define in the Permissions how many warps somebody could create (= number of warps with same creator). You could change the creator not with the give command instead there will come a command to change the creator and the give command change the owner. So somebody could own more warps as he can create.

    So have patience I have a visitor over this week so my development time is limited.

    Fabian

    Hello City Builder,
    ehr click on the seven with the blue background in the rounded square.
    http://forums.bukkit.org/threads/tp-xwarp-v2-7-7-a-mywarp-fork-617.857/page-7#post-180662
    And watch two posts below yours and I quote it!
    http://forums.bukkit.org/threads/tp-xwarp-v2-7-7-a-mywarp-fork-617.857/page-7#post-181331

    Fabian

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 6, 2016

Share This Page