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

    Donny

    Thank you for all the help.
     
  3. Offline

    M0rti

    How can i hide the warplist from a gruop? I don't want members to see the list.
     
  4. Offline

    Bjourk

    Does this override the Essentials warps and commands?
     
  5. Offline

    xZise

    Don't use EssentialsWarps with xWarp a the same time. On my server essentials and xWarp works fine together.

    The users see only warps which they can access. So if this group can't use the warps the group shouldn't see the warps. It is possible that if a user is invited to a warp the user could see them on the list, but only, if they can warp to them. The other possibility could be to add an editor.

    Fabian
     
  6. Offline

    Sc1234freak

    When will we be able to disable the message about free beer?

    It seems un-needed if we don't set a price on warps.
     
  7. Offline

    xZise

    I assumed, that you use prices, if you have iConomy. The setting will come, because also the lister have/had a sorting bug (so it sorts Snafu between Bar and foo). I will test this in the next days and hopefully could update to 2.9.2 the next days.

    Fabian

    Okay listing is fixed and tested the message that you didn't payed anything is also now optional (but not tested) and I added permissions, so you could precisely define which edit permissions the user has. So you could prevent, that a user can invite somebody to it's own warps. So I will update to 2.9.2 today or tomorrow.

    Fabian

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

    FabianN

    Is there an easy wait to move from MyWarp to xWarp, importing the current warps over? Even if it's a lot of copy/pasting, just so I so long as I don't have to do it all in-game.
     
  9. Offline

    xZise

    It should work. I didn't use MyWarp a long time, but there was only a minor change which xWarp should support with version 2.7.9. How to:
    1. Copy the homes-warps.db (or whatever the name is) to the xWarp's plugin directory
    2. Rename this file to warps.db
    3. Run xWarp/Bukkit
    This should work. But for sure, copy and don't move the database. Maybe xWarp fails, and if so, you have a backup which you can send to me (with the console output) and I could fix it. (But this shouldn't happen)

    Fabian

    Okay the new 2.9.2 is there! So you now could define, that there is no message, if you haven't paid anything. Also some others changes. I will now updateupdated the documentation…

    Fabian

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

    Bjourk

    The reason I asked is that the Essentials developers combined EssentialsWarp into their main jar file some time ago, so it's not removable...
     
  11. Offline

    Donny

    Code:
            inheritance: []
            info:
                warp.prices.create.public: 500
                warp.prices.create.global: 500
                warp.prices.create.private: 500
                prefix: '[Citizen] '
                build: true
                suffix: ''
                warp:
                    timers:
                        warmup:
                            public: -1
                            private: -1
                            global: -1
                        cooldown:
                            public: 75
                            private: 75
                            global: 75
    ^ Still ruins my permissions ( the 'warp.price.create.public: 500' and the other prices)
     
  12. Offline

    xZise

    Hmmm, they all look correct. Do you mean with “ruins my permissions” that the prefix isn't set? This is weird, but maybe if you sort them like the timers variables? Or don't they work too? And which Permissions Plugin do you use?

    I have no idea, if there is any conflict. I would try it and if there is a conflict tell me. For myself I will try to run the newest Essentials on my own server and will report my results.

    Fabian
     
  13. Offline

    lolzrofl

    Does this work with #733?
     
  14. Offline

    xZise

    Wow I didn't test it, but there shouldn't any problem. Nevertheless I will test it today/tomorrow because I want to update my server. If not I will release a update as soon as possible.

    Fabian
     
  15. Offline

    Donny

    It disables prefixes and gives me a unable to load permissions error when I reload permissions in game.
    Yes the cooldowns work perfect
    I'm using permissions 2.6

    Code:
            inheritance: []
            info:
                prefix: '[Citizen] '
                build: true
                suffix: ''
                warp:
                    warp.prices.create.public: 500
                    warp.prices.create.global: 500
                    warp.prices.create.private: 500
                    timers:
                        warmup:
                            public: -1
                            private: -1
                            global: -1
                        cooldown:
                            public: 75
                            private: 75
                            global: 75
    ^ that what u mean by sort them like the timer variables.
     
  16. Offline

    xZise

    And what does your console say?

    Code:
            inheritance: []
            info:
                prefix: '[Citizen] '
                build: true
                suffix: ''
                warp:
                    prices:
                        create:
                            public: 500
                            global: 500
                            private: 500
                    timers
                        warmup:
                            public: -1
                            private: -1
                            global: -1
                        cooldown:
                            public: 75
                            private: 75
                            global: 75
    Fabian

    Okay xWarp is confirmed working on RB 733.

    Fabian

    PS: @Donny: The console log would be nice.

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

    UrbanX

    Good evening,

    I have a problem that really is not great: '(

    The plugin warps and works very well, but when I changed (price or an invitation to aprivate warp) to each / reloadall or reboot the server everything returns as before (thusmore prizes and more private warp).

    As if I had not touched.

    So I do not know how many because I warp.
     
  18. Offline

    xZise

    Okay that is a problem, but at the moment I have no idea, what could cause this. So I need following infos: Which CraftBukkit build do you use, and which xWarp version. Also which “storage” type (hmod or sqlite database) do you use, and is there any error message on the console?

    Also it would be nice if you send me your warps (e.g. via PM or Attachment).

    Fabian
     
  19. Offline

    Likwidface

    I can't get this to work properly for the life of me
    Code:
        Default:
            default: true
            info:
                warp.timers.warmup.private: 60
                warp.timers.warmup.public: 60
                warp.timers.warmup.global: 60
                warp.timers.cooldown.global.240
                warp.timers.cooldown.public.240
                warp.timers.cooldown.private.240
                warp.limit.total: 4
                warp.limit.public: 2
                warp.limit.private: 2
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                warp:
                    timers:
                        warmup:
                            public: 60
                            private: 60
                            global: 60
                        cooldown:
                            public: 240
                            private: 240
                            global: 240
            permissions:
                - 'warp.edit.message'
                - 'warp.edit.invite.add'
                - 'warp.edit.delete'
                - 'warp.to.own'
                - 'warp.to.invited'
                - 'warp.to.other'
                - 'warp.to.global'
                - 'warp.create.private'
                - 'warp.create.public'
    What is making this not work? Everyone can make infinite warps, no cooldowns.
     
  20. Offline

    xZise

    The section in “inheritance” is not correct (there has to be the group which this groups inherit). And then fix your setup so it is YML compatible: So set a colon at the cooldowns and place a space right behind it.

    Fabian
     
  21. Offline

    Likwidface

    this is the default user area, so I would delete the line 'inheritance:'? Or can I leave it empty? Sorry if I seem lost. Its because I am. I really appreciate your response!

    I really just need to see an example, I've been looking for a working example anywhere but I can't find it.

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

    xZise

    Code:
        Default:
            default: true
            info:
                warp.timers.warmup.private: 60
                warp.timers.warmup.public: 60
                warp.timers.warmup.global: 60
                warp.timers.cooldown.global: 240
                warp.timers.cooldown.public: 240
                warp.timers.cooldown.private: 240
                warp.limit.total: 4
                warp.limit.public: 2
                warp.limit.private: 2
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'warp.edit.message'
                - 'warp.edit.invite.add'
                - 'warp.edit.delete'
                - 'warp.to.own'
                - 'warp.to.invited'
                - 'warp.to.other'
                - 'warp.to.global'
                - 'warp.create.private'
                - 'warp.create.public'
     
  23. Offline

    UrbanX

    So I'm in version 2.9.2 and I'm about bukkit 733.

    But the problem was there before.

    Here is attached my file xWarp.

    I have no error message on the console.
     

    Attached Files:

  24. Offline

    xZise

    Okay there seems to be no error in the database, but to reproduce I need to know what are you doing. Simply invite somebody or change the price? I will try.

    Fabian

    Okay I maybe found a problem in xWarp with SQLite. So it throws an exception when you change the price. I will release 2.9.3 soon.

    [update]Woops... The editor permissions where really **** :confused: I'm sorry, but with SQLite I did a big mistake in writing the editor permission (e.g. invite somebody). It won't crash your database, but you could have errors in the database so that people have the wrong permissions. I fixed it, and will release in 2.9.3 in the next minutes.[/update]

    Fabian

    Okay version 2.9.3 and legacy is now released. Please update!

    Fabian

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

    UrbanX

    Everything is working thanks to you... Thanks a lot .
     
  26. Offline

    Donny

    This format works ty!
     
  27. Offline

    Likwidface

    Is there any way to cause an interuption on the warmup if the player moves, or is hit by damage?
     
  28. Offline

    xZise

    At the moment no, but I'm planning to add a option, so the warmup could be interrupted.

    Fabian
     
  29. Offline

    Th4natos

    When i start our server i become a msg

    2011-04-26 13:13:14 [INFO] [xWarp]: 29 warps loaded
    2011-04-26 13:13:14 [WARNING] [xWarp]: 1 invalid warps found.

    How can i found who Warp is invalid?
     
  30. Offline

    xZise

    At the moment there is only the way to get the info of all warps. But maybe it has a very strange reason: If you have multiple worlds and xWarp loads a warp into a world which isn't loaded already it will say that xWarp found an invalid warp (because the location is not available). But if the world is now loaded afterwards (e.g. the plugin which load the world is enabled after xWarp) it will update the location and there is no warp invalid.

    So my guess is, that you have one warp which isn't in the default world and this one is the "invalid" warp.

    Fabian
     
  31. Offline

    Manbeast77

    I was curious about something. I don't use permissions at all on my server, and never really run into any problems. I did with yours it seems though. My minecraft players cannot invite others to their warps, and only OPs can do it for them. Seeing as I'm one of 3 OP's, it gets to be a pain. Was that fixed in the 2.9.3? Or is that something that is fixed only via permissions?
     

Share This Page