xWarp
About
xWarp was a fork of the MyWarp plugin my tkelly with new functionalities. This plugin allows players to create warp points and then to teleport to this warp point. Each warp point has specific properties:
- Visibility (private, public, global)
- Location with direction (yaw and pitch)
- Price
- Editors (definitions who can edit only a specific warp)
- Owner
- Creator
- Cooldown
- Warmup
Ressources
Permissions | Settings | Commands | Parser
Installation
You only have to place the xWarp jar-file into the plugins/-directory. You also need to add the SQLite driver (sqlitejdbc-v056.jar) into the lib/ directory, if you use SQLite (also for import/export).
With version 3.0.0 it also needs the Bukkit Plugin Utilities library. Place it near to the SQLite driver in the lib/ directory. Rename it to BukkitPluginUtilities.jar
!
- Until version 3.1.5 is compatible with all builds since 1.1.0.
- With version 3.1.6 you have to use 1.3.0-B7
- With version 3.1.7 you have to use 1.3.0 (or newer)
It should look like:
+ Server directory | +--- craftbukkit.jar | +-+- plugins/ | | | +--- xWarp.jar | | | +--- xWarp/ | +-+- lib/ | +--- BukkitPluginUtilities.jar | +--- sqlitejdbc-v056.jar
Prices
There are two type of prices. A base price, which goes to a user or to nobody and could be set in the permissions. It is also possible to define a warp specific price. This additional costs will be transfered to the owner of the warp. At the moment iConomy version 4 and 5, Essentials Economy, BOSEconomy and Mineconomy supported.
Visibilites
Every warp has a visibility, which could be private, public or global. If a warp is private, only invited users or users with a special admin permission could use this warp. If the warp is public or global everybody could use the warp.
The global visibility priorities a warp. So if two players owns a warp with the same name, it isn't always clear which of these warps the user meant.
- If the user defines the owner in the command, the warp is identified and nothing special has to be done.
- If the user doesn't define a owner, it is possible that it isn't clear which warp should be chosen.
Now in the second case there are following possibilities which will be checked in the following order:
- If there is only one warp chose this warp.
- If there is one warp of these global – there could be only one warp global at the time – chose the global one.
- If the user owns one of these warps it will chose the warp the user owns.
- In all other cases it will return that there doesn't exist a global warp with this name.
See also: Wiki about Visibility
Sign warps
Creating a sign warp is really easy. There are the following 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 sign type doesn't allow to define a owner.
- 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. Like with the MyWarp layout you also couldn't define a specific owner.
- 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).
Changelog
3.1.7: Tested build 1.2.5-R1.0 (2012-04-20, BPU: 1.3.0)
- Use option
marker.plugin
instead ofmarker.enabled
. Ifmarker.enabled
is set to true it acts likemarker.plugin
was set todynmap
- Added a rudimentary description for markers (click on them).
- Fixed a error message that appears if dynmap gets disabled before xWarp.
- Show a different message if the warp name isn't unique to prevent confusion.
- Show how many warps with this name exists in the
warp info
screen. - The status command shows if xWarp is linked to dynmap.
- If BPU wasn't found there will be a more descriptive error message.
- Update the listed status also in database.
3.1.6: (2012-03-02)
- Fixed compatibility with newer versions of dynmap.
- Made compatible with the new event and configuration system, as the old was removed with 1.1-R5.
- Fixed problem with not listed warps by default.
- Added command to make all warps listed (or not). This will be removed most likely.
- The
warp info
command now shows the distance to a specific warp. - Removed hopefully all debug messages.
- All teleports have now the reason “COMMAND”.
3.1.5: (2011-11-08)
- World permissions are now always by default true.
- New permission to allow to see your own warps which are unlisted.
- The player need the change owner permission if the player want to create a warp for another one.
- The info command now shows if the warp is listed or not.
- Fixes the bug, that sign warps don't work. (→ http://dev.bukkit.org/server-mods/xwarp/tickets/7-sign-dosent-teleport/ )
3.1.4: (2011-10-05)
- Fixed crash on loading dynmap.
3.1.3: (2011-09-23)
- Warps get referenced by owner not by creator.
- It checks the permissions correctly when modifying a warp.
- Option to disable markers completely with
markers.enabled
tofalse
.
3.1.2: (2011-09-15)
- Fixed issues with parameterized commands (e.g.
give
orrename
) where the command have at least one additional command.
3.1.1: (2011-09-15)
- Remove marker if a warp get deleted.
- Iron doors doesn't make a warp unsave anymore.
- Update marker icon on reload/restart from the config.yml (need at least dynmap 0.23!).
- Add change world command for warp protection areas.
- Free old data connection on reload and thus fix problem with database is locked after
xman reload
.
3.1.0: (2011-09-12)
- Added support for markers with the dynmap plugin.
- Configuration node to set the default welcome message.
- List of default selected columns in
warp list
. - Move warp objects from one into another world.
- Negative options for
warp list
.
For some reason my warps are not taking money from iconomy when it is set to charge them. No error is given but it does say "You have paid 20.00 credits.". Im using vault and register, not sure if that causes the issue or not. Please help.
@isoccerplayer
Yes, and it works great. Just read the install directions carefully, it has a few things you have to install in the lib folder, and with the right filenames.
Is xWarp compatible with 1.0.1? Sorry, Im new to this XD
I was getting the "[xWarp]: Checked permission" debug output too, and just to spell it out for anyone else that was confused by that, if you go to https://github.com/xZise/Bukkit-Plugin-Utilties/downloads you will notice some of them end in "d", so "1.2.2-d1" is a debug version, you have to just get 1.2.1, any version without "d" in it.
But now I get this everytime someone does a /warp list
Any way to fix that, or is that coming from Bukkit Plugin Utilities?
@don4of4
And I don't use MySQL. So my suggestion was (as I wrote) to export the database as a sql file (a text file) and import them into a SQLite database. It was a long time ago while I forked xWarp from MyWarp and thus I don't support everything which MyWarp supports (and the other way around).
@botskonet
Download Bukkit Plugin Utilities 1.2.1 which should support the new Register.
@Shortelz
Yep.
@REALDrummer
Simply create a lib directory where your craftbukkit files are. By default nothing creates them.
@bitfreeze
I guess you use a Bukkit Plugin Utilities version with debug output. And the “perm info” are debug output. Use 1.2.1 without any debug output and you are fine.
@ryansworld10
I guess not. There is no API and I don't want to read through the code of iConomy 6. I guess Register support iConomy 6. And as Bukkit Plugin Utilities support Register you should be able to use iConomy 6.
@bitfreeze
same happened here the whole server lagged up and froze to death because of this message spam
having several hundreads of warps and someone typing /warplist = freeze
Will you be adding compatibility for iConomy 6 soon?
I wonder what I've done wrong...
xWarp is now spamming the console with perm info. Is that right?
I mean, it's useful while setting perms, but when it's all set and running, there's no need for that. Is there a way to turn that off?
Does this work on the latest RB yet? :(
I have been using this plugin for some time and it has been extremely helpful. Oddly, though, I had never needed to install Bukkit Plugin Utilities for it to work. Recently, though, something changed and I got the error which I was told to fix by installing that. I came here to find out how to do so, but I have a huge problem: I cannot find this magical lib/ directory anywhere. I am sure I am simply blind and stupid, but it does not seem to exist. Right now, I am stuck with recieving a "/warp help" message for any command. Also, I am not sure if this is a result of the broken plugin or not, but no monsters are spawning anywhere on the server. There are pigs, cows, squid, and other passive mobs, but there are no monsters anywhere. I would really appreciate help. Thanks.
I've been getting this error with the latest versions of Register and CraftBukkit:
2011-12-02 08:15:47 [SEVERE] Error occurred while enabling xWarp v3.1.5 (Is it up to date?): Expecting non-static method com.nijikokun.register.payment.Methods.hasMethod()Z java.lang.IncompatibleClassChangeError: Expecting non-static method com.nijikokun.register.payment.Methods.hasMethod()Z at de.xzise.wrappers.economy.EconomyHandler.customLoad(EconomyHandler.java:159) at de.xzise.wrappers.Handler.load(Handler.java:88) at de.xzise.wrappers.Handler.load(Handler.java:59) at de.xzise.xwarp.XWarp.onEnable(XWarp.java:131) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:182) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:165) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:337) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:324) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:161) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:388) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
@xZise
Your documentation has no coverage on this topic. I don't have a sqlight db. I have a mysql one.
@don4of4
Protip: Read before write:
@xZise
There is no official way to export the warps.
How do I convert a mysql mywarp database for xwarp?
@ProjectInfinity
Maybe export your warps as a SQL instruction and then call it onto a sqlite database?
Fabian
I would also like the MySQL support for this. I have a Warp table from MyWarp and I have too many warps to just throw it away.
I didn't test Register but Bukkit Plugin Utilities support Register. MySQL: Maybe.
Fabian
PS: Ompf … I need a alert system on DBO :/
@predawnia
I third this :P
I've started writing plugins for my own server recently, and found out that Register does the trick. I love your xWarp plugin, xZise. It's very complete and well written.
Suggestions: Register, and MySQL support.
@predawnia
I second this . Register will take care of all your money problems.
@xZise
Use Register to connect to iConomy? Is that documented? Lots of developers use it? :P