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

    Arhg, sorry, I didn't put the “edit” permissions on the default list. Sorry, I will fix this in 2.9.4, because xWarp should be usable without Permissions.

    Also I will add warm cancellation in 2.9.4.

    Fabian
     
  3. Offline

    Donny

    Anyway to make it so players can't warp to a warp on another world? (using multiverse)​
     
    AS1LV3RN1NJA likes this.
  4. Offline

    xZise

    Okay interesting feature. Maybe there will come something in 2.9.5 this/next week. I will release 2.9.4 soon (maybe in the next 15 minutes).

    My approach would be a node which allows the user warp to specific worlds:
    • Warp within the world <world>: warp.world.within.<world>
    • Warp to the world <world>: warp.world.to.<world>
    Okay I will think about this feature and try to add a smart feature.

    Fabian

    Okay Version 2.9.4 is now out!

    Fabian

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

    Donny

    Would be wonderful =)
     
  6. Offline

    murdrums

    Can anyone tell me what's wrong here and why am I getting those SEVERE errors?
    Sorry if it's pretty obvious, i'm a bit slow! :oops:

    I can see that iconomy is creating the problem alongside this with:

    00:23:21 [SEVERE] com/nijiko/coelho/iConomy/iConomy loading xWarp v2.9.4 (Is it
    up to date?)

    But why is it? Everything is up to date as far as I know.

    Code:
    [Lnet.minecraft.server.Statistic;@587c94
    146 recipes
    [Lnet.minecraft.server.Statistic;@587c94
    16 achievements
    00:23:19 [INFO] Starting minecraft server version Beta 1.5_02
    00:23:19 [INFO] Loading properties
    00:23:19 [INFO] Starting Minecraft server on *:25565
    00:23:19 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-706-
    gf53e007-b740jnks (MC: 1.5_02)
    00:23:19 [INFO] Preparing level "world"
    00:23:19 [INFO] Preparing start region
    00:23:20 [INFO] Preparing spawn area: 93%
    00:23:20 [INFO] [AntiCreeper] version 1.0 is enabled.
    00:23:20 [INFO] CraftBukkitUpToDate version 2.5.2 is enabled!
    00:23:20 [INFO] CButD: Permission system not detected, defaulting to OP
    00:23:20 [INFO] CButD: CraftBukkit is up to Date
    00:23:21 [INFO] [iConomy] Logging is currently disabled.
    00:23:21 [INFO] [iConomy] v5.0 (Eruanna) loaded.
    00:23:21 [INFO] [iConomy] Developed by: [Nijikokun]
    00:23:21 [INFO] LightVote 1.59 initialized
    00:23:21 [INFO] LightVote 1.59 scanning properties file.
    00:23:21 [INFO] [MagicCarpet] MagicCarpet version 1.5.5 is enabled!
    00:23:21 [INFO] [MagicCarpet] Take yourself wonder by wonder, using /magiccarpet
     or /mc.
    00:23:21 [INFO] [MagicCarpet] Anyone can use the Magic Carpet.
    00:23:21 [INFO] [Residence] Permissions Plugin NOT Found!
    00:23:21 [SEVERE] com/nijiko/coelho/iConomy/iConomy loading Residence vv1.2.8 BE
    TA (Is it up to date?)
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
            at com.bekvon.bukkit.residence.Residence.checkIConomy(Residence.java:753
    )
            at com.bekvon.bukkit.residence.Residence.onEnable(Residence.java:132)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:632)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:218)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy
            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)
            ... 12 more
    00:23:21 [INFO] [WeatherGod] Permission system not detected. Defaulting to Op.
    00:23:21 [INFO] WeatherGod version 0.22 is enabled!
    00:23:21 [INFO] WelcomeMe version 1.1.1 is enabled!
    00:23:21 [INFO] [xWarp]: 7 warps loaded
    00:23:21 [WARNING] [xWarp]: Permission system not found. Use defaults.
    00:23:21 [SEVERE] com/nijiko/coelho/iConomy/iConomy loading xWarp v2.9.4 (Is it
    up to date?)
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
            at de.xzise.xwarp.EconomyWrapper.init(EconomyWrapper.java:117)
            at me.taylorkelly.mywarp.MyWarp.onEnable(MyWarp.java:131)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:632)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:218)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy
            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)
            ... 12 more
    00:23:21 [INFO] Done (0.209s)! For help, type "help" or "?"
    00:23:30 [INFO] The automatic update-Check only work every 6 hours, the last che
    ck was 7 minutes ago.
    >
     
  7. Offline

    xZise

    Okay most of the work is done, testing tomorrow and maybe release Tuesday/Wednesday (UTC).

    @murdrums: Looks for me, that with the new iConomy it broke the API :/ I don't know how to handle this, but with iConomy 4.6 it should work (and most likely also Residence).

    Fabian
     
  8. Offline

    murdrums

    Thanks for the fast reply.

    I tried the download link for 4.5 and it was dead, so I downloaded 4.4 and no errors on either xWarp or Residence, so thanks for that great solution. Hopefully 4.5 works as well as 5.0 until the fix.
     
  9. Offline

    WarhawkXeroFire

    Came right from the iConomy page... had to fix my developmental plugin this way as well.
     
  10. Offline

    xZise

    Actually I'm already working on this issue, but I don't know what he meant. I have to rewrite most of it, because there is no Bank anymore, and there is the “not static” issue a minor problem.

    Fabian
     
  11. Offline

    SeeD419

    Okay I meant to post here yesterday and I must have forgot.

    None of my warps with spaces work from my old database..any idea how to get them working? They were in MyWarp db
     
  12. Offline

    xZise

    Hmmm, we have warps with spaces on my server and no issue. My first idea would be: Have you quoted the name or escaped the space? And did you get any error message? What is, if you search for the first word of the warp (e.g. the warp name should be “Hello World” and you search for “Hello” it should list “Hello World”).

    And world-limits are on the way. Have to finish the release build, upload and update the changelog etc.
    [update]xWarp version 2.9.5 is released.[/update]

    The support for iConomy 5 and BOSEconomy are on the way, but I have to test this very detailed. Also if you have an economy plugin (except iConomy and BOSEconomy) simply tell me this one, and I will try to implement this. There is Essentials economy on to do, but I couldn't find the API.

    Fabian
     
  13. Offline

    SeeD419

    Do you know the SQL statement to change the world column with the string 'world' to 'main'?

    Edit: Forget that, I got it all converted. Seems to work great and I love this plugin. The functionality it has is my favorite so far from all the warp plugins I've used. The ONLY problem I'm having is the warps with spaces.

    For example. The warp Arctic Base returns:
    Player 'Base' don't owns a warp named 'Arctic'.

    The english is slightly wrong too. Should be "Player 'Base' doesn't own a warp named 'Arctic', but that's beside the point because the player that owns the warp is actually named jwleblanc and the warps name is Arctic Base.
     
  14. Offline

    xZise

    Code:
    UPDATE warpTable SET world = "main" WHERE world = "world"
    Fabian
     
  15. Offline

    SeeD419

    hehe yeah someone told me but thanks man. Read the rest of my post though I edited it. Still having one minor issue, and idk if you realize the english is a tad wrong...

    Okay, for example we used to be able to do /warp create the hub

    That would link with /warp the hub

    Now if we type that exact same command with your plugin it creates a warp called 'the' owned by 'hub'

    How do we handle spaces?

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

    xZise

    Use the parser:
    Code:
    /warp create "foo bar"
    Because the create command has following syntax:
    Code:
    /warp create <name> [owner]
    Fabian
     
  17. Offline

    imerej

    Hi!

    Why my mods can`t use warp?
    Permissions 2.7.2
    CraftBukkit 740
    xWarp 2.9.5
    No errors in console.
    Code:
        Mods:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'falsebook.blocks.*'
                - 'EasyFlight.fly.*'
                - 'warp.admin.to.all'
                - 'worldedit.superpickaxe '
                - 'chestlock.admin'
                - 'chestlock.own'
                - 'chestlock.lock'
                - 'chestlock.unlockable'
                - 'chestlock.coowner'
                - 'chestlock.usekey'
                - 'cheslock.free'
        
     
  18. Offline

    ShaDooM

    All my users can't warp anywhere it says they dont have permissions. Did the permission nodes change in 2.95 maybe?
    edit: getting errors because of iconomy5 but thats the only error i get
     
  19. Offline

    imerej

    Exactly, I have this same problem! Only admin can warp, but he has this permissions:
    Code:
     -'*'
     
  20. Offline

    ShaDooM

    are u also using iconomy5?
     
  21. Offline

    xZise

    I didn't change anything and the node seems to be okay. Do you use iConomy 5? At the moment I'm only supporting iConomy version 4! But could they warp to warps where they don't need the permission?

    At the moment I have no idea, why you getting no message at least. You could always get something (error message or welcome message or teleportation).

    Fabian

    PS: I would suggest to change the last permission (chestlock.free) :D
     
  22. Offline

    ShaDooM

    Ok, I've been testing a bit. Without iConomy5 permissions still seem messed up.
    I added a "warp.to.*" as node now and it works fine.
    I don't know why it stopped working after an update but maybe some accidentally typo?

    Anyway "warp.to.*" to the rescue <3

    I have (and always had, never changed):
    warp.to.invited
    warp.to.other
    warp.to.global
    warp.to.own

    Added as permission nodes, didnt work then.

    warp.to.* works
     
  23. Offline

    SeeD419

    Yes, but this is my old MyWarp database. I moved the database into your plugins folder, so how do I warp to them?
     
  24. Offline

    xZise

    Okay I will look into this.

    @SeeD419 The parser parses everything, so to warp to “foo bar”: /warp "foo bar"

    Fabian
     
  25. Offline

    SeeD419

    Oh I see. Wow, that was simple. Haha thanks.
     
  26. Offline

    imerej

    In console I have: "You dont have permission (...)", I don`t use any economy mod. Only "warp.admin.to.all" permission don`t work.
     
  27. Offline

    Timothy Graham

    We are having alot of problems with the new .5 versoins i reinstalled .4 and it works again... We use Sign Warps only for people since its a pvp server don't want them instant warping everywhere... When we updated form .3 to .5 it said no one has permissions to use any warp... i have

    - warp.sign.invited
    - warp.sign.own
    - warp.sign.global

    and non of them could warp always said you don't have permission.

    I changed to to .4 and now they can... anyway i don't mind that but our big problem is they can create there own warp signs anywhere they want...

    Is there a way that we can not allow players placing a sign typing
    xWarp xWarp
    maintown (if its global OR) Myhome (if is private)
    playername

    the admins create the warps for them. We have seen tons of signs all over the wild with xwarp this and that and players are warping themselves back to there homes and global towns...
    one version used to have

    - warp.sign.create.own or warp.sign.create.global These would allow people to create warp signs or if they didn't have this permission the sign would just say this but not be linked to the warp... ? is that possible yet with this plugin?

    Thanks for all your hard work and keeping this up to date!
     
  28. Offline

    Donny

    I remember seeing a way to block warps that have the same name as one that is present. But now I cant seem to find how. Can anyone enlighten me? =)
     
  29. Offline

    ShaDooM

    Uhm I've read its possible to limit the warps they create etc. right?
    But how? I can't find any setting?
     
  30. Offline

    xZise

    Ah okay :) That is helping me a lot ;) So please read the paragraph under this one:

    @Timothy Graham and imerej: Please note, that with 2.9.5 I added the possibility (as wished) to limit in which worlds the player can warp. So maybe your reason why it isn't working with 2.9.5 but with 2.9.4 is, that the user hasn't the permission to warp within/to the world. See Permissions page to see, what you have to do. Scroll down to/Search for “Warp into/within world limits”.

    To timothy about your sign problem: I will add a permission for creation. But I have no idea, what happens if you have a plugin which allows you to change the text of the sign.

    What do you mean with block? Maybe you mean to globalize the warp? But if you globalize the warp named “foo” everybody else could create a warp named “foo”.

    I doesn't add this like a setting. Instead I use the permissions system. Tips: my post p.10, Permissions page (section “Creation Limits”) and Home page (also section “Creation limits”).

    Fabian
     
  31. Offline

    imerej

    Now everything works fine! :)
     

Share This Page