Warptastic
Description:
We had a recurring issue with using various warp plugins, which left many of our players trapped in the ground below the warp location.
So I developed warptastic to resolve the issue, have since expanded upon it, and decided to share. Warptastic has an editable warp effect duration, which will hold the player just above the warp location for the configured number of seconds before dropping them safely.
This allows the chunk around the player to load before safely completing the warp process. Warptastic allows server owners to create public server-warps, each user to create a configurable number of public and private warps, warps accessible via warp signs, and permits admin to create warps on behalf of others, which exceed that users limits. Warptastic also keeps track of how often users use different warps, and can use this information to list the warps by popularity.
Of course, there are other features; and you can configure it's precise behaviour using the config options and relevant permissions. If you're using CommandBook,Essentials, MyWarp or xWarp and wish to import your warps you can do so by copying either your warps.csv(Commandbook), your warps folder(Essentials), or your warps.db(MyWarp/xWarp) into warptastic's plugin directory, and running the relevant /fixwarps import command.
/fixwarps -cmdbook
or
/fixwarps -essentials
or
/fixwarps -mywarp
or
/fixwarps -xWarp
Importing warp records:
To import warp records from either CommandBook, Essentials, MyWarp or xWarp copy your warps.csv(Commandbook), your warps folder(Essentials), or your warps.db(MyWarp/xWarp) into warptastic's plugin directory and run the relevant /fixwarps import command.
(warps.db for MyWarp/xWarp will require renaming before proceeding, see /fixwarps menu for details.)
/fixwarps -cmdbook
or
/fixwarps -essentials
or
/fixwarps -mywarp
or
/fixwarps -xwarp
Editable Group Warp Limits:
You can now specify a different number of maxwarps for different groups.
Simply create the permission nodes in the config.yml and apply the corresponding permission (warptastic.limit.#) to the desired group.
If groups are inheriting permissions from other groups, be sure to disable the inherited warptastic.limit.# permission before applying a new limit permission.
For more information see Here
Warp Signs
Place the phrase [Warp] (Phrase is configurable in config.yml) on the first line of a sign, and the warp name on a following line.
(You can include a description of the warp if you like, just as long as it occurs on any line after the warp name) You can use any warp on a sign, however if you'd like the warp to be only accessible by using the sign you can make the warp a sign-only warp with /setwarp -sign <warpname>
Installation:
1. Download the .jar
2. Place the .jar in your plugins directory
3. Restart the server Configuration:
MaxWarps.LimitNodes - Define your warptastic.limit.# permission nodes here.
WarpSignTitle - What title a sign should have to make it a WarpSign.
WarpEffect - Toggle the warp effect (Nausea) when warping
WarpEffectDuration - Time for the warp to finish (IN SECONDS) (wait for chunk to load)
Commands:
• /warp - Main Menu
• /warp reload - Reload config and data storage
• /warp <warp> - Warp to a location
• /warp <warp> <player> - Warp player to a location • /warps <page#>- List all warps
• /warps -pop <page#>- List all warps by popularity
• /warps -s <page#>- List all Server-warps
• /warps <player> <page#> - List a player's warps
• /mywarps <page#> - List your warps only
• /warpinfo <warp> - List warp details • /setwarp <warp> - Create a new Public warp
• /setwarp -p <warp> - Create a new/Toggle Private warp
• /setwarp -s <warp> - Create a new Server warp
• /setwarp -sign <warp> - Create a new/Toggle Sign warp
• /setwarp [-p/-sign] <warp> <player> - Create a warp for another user
• /fixwarps - Update your warp records
• /delwarp <warp> - Delete a warp
• /clearwarps <player> - Clear all of a players warps
Permissions:
warptastic.warp - Use warps
warptastic.warp.other - Warp other player to a location
• warptastic.warp.otherworld - Allow player to warp between worlds warptastic.setwarp.public - Set Public warps
warptastic.setwarp.private - Set Private warps
warptastic.setwarp.other - Set warps for other users (ignore limits) warptastic.limit.# - Editable warp limits as defined in config.yml
warptastic.limit.unlimited - Ability to set an Unlimited # of warps (included in warptastic.admin) warptastic.list - View list of warps
warptastic.list.pop - View list of warps by popularity
warptastic.list.other - View list of player's warps warptastic.makesign - Ability to make warp signs
warptastic.breaksign - Ability to break other people's warpsigns (included in warptastic.admin) warptastic.signonly.bypass - Ability to bypass using a sign for signonly warps warptastic.info - Return information about a warp
warptastic.admin - Manage warps and ignore limits
warptastic.warp.<warpname> - Allow player to bypass warp privacy warptastic.fix - Update warp records
To Do:
• Access list for private warps
• Clean up the menu / command help
Thankyou for your support! :D Recent Change-Log:
We had a recurring issue with using various warp plugins, which left many of our players trapped in the ground below the warp location.
So I developed warptastic to resolve the issue, have since expanded upon it, and decided to share. Warptastic has an editable warp effect duration, which will hold the player just above the warp location for the configured number of seconds before dropping them safely.
This allows the chunk around the player to load before safely completing the warp process. Warptastic allows server owners to create public server-warps, each user to create a configurable number of public and private warps, warps accessible via warp signs, and permits admin to create warps on behalf of others, which exceed that users limits. Warptastic also keeps track of how often users use different warps, and can use this information to list the warps by popularity.
Of course, there are other features; and you can configure it's precise behaviour using the config options and relevant permissions. If you're using CommandBook,Essentials, MyWarp or xWarp and wish to import your warps you can do so by copying either your warps.csv(Commandbook), your warps folder(Essentials), or your warps.db(MyWarp/xWarp) into warptastic's plugin directory, and running the relevant /fixwarps import command.
/fixwarps -cmdbook
or
/fixwarps -essentials
or
/fixwarps -mywarp
or
/fixwarps -xWarp
Updating from a version earlier than 0.3?
In version 0.3 data storage was changed from YAML to SQLite.
if you're updating from Warptastic 0.2 or earlier, remember to type '/fixwarps -update' to upgrade your user records from the old YAML to the new SQLite data storage.
You only need to run this once.
Importing warp records:
To import warp records from either CommandBook, Essentials, MyWarp or xWarp copy your warps.csv(Commandbook), your warps folder(Essentials), or your warps.db(MyWarp/xWarp) into warptastic's plugin directory and run the relevant /fixwarps import command.
(warps.db for MyWarp/xWarp will require renaming before proceeding, see /fixwarps menu for details.)
/fixwarps -cmdbook
or
/fixwarps -essentials
or
/fixwarps -mywarp
or
/fixwarps -xwarp
Editable Group Warp Limits:
You can now specify a different number of maxwarps for different groups.
Simply create the permission nodes in the config.yml and apply the corresponding permission (warptastic.limit.#) to the desired group.
If groups are inheriting permissions from other groups, be sure to disable the inherited warptastic.limit.# permission before applying a new limit permission.
For more information see Here
Warp Signs
Place the phrase [Warp] (Phrase is configurable in config.yml) on the first line of a sign, and the warp name on a following line.
(You can include a description of the warp if you like, just as long as it occurs on any line after the warp name) You can use any warp on a sign, however if you'd like the warp to be only accessible by using the sign you can make the warp a sign-only warp with /setwarp -sign <warpname>
Installation:
1. Download the .jar
2. Place the .jar in your plugins directory
3. Restart the server Configuration:
MaxWarps.LimitNodes - Define your warptastic.limit.# permission nodes here.
WarpSignTitle - What title a sign should have to make it a WarpSign.
WarpEffect - Toggle the warp effect (Nausea) when warping
WarpEffectDuration - Time for the warp to finish (IN SECONDS) (wait for chunk to load)
Commands:
• /warp - Main Menu
• /warp reload - Reload config and data storage
• /warp <warp> - Warp to a location
• /warp <warp> <player> - Warp player to a location • /warps <page#>- List all warps
• /warps -pop <page#>- List all warps by popularity
• /warps -s <page#>- List all Server-warps
• /warps <player> <page#> - List a player's warps
• /mywarps <page#> - List your warps only
• /warpinfo <warp> - List warp details • /setwarp <warp> - Create a new Public warp
• /setwarp -p <warp> - Create a new/Toggle Private warp
• /setwarp -s <warp> - Create a new Server warp
• /setwarp -sign <warp> - Create a new/Toggle Sign warp
• /setwarp [-p/-sign] <warp> <player> - Create a warp for another user
• /fixwarps - Update your warp records
• /delwarp <warp> - Delete a warp
• /clearwarps <player> - Clear all of a players warps
Permissions:
warptastic.warp - Use warps
warptastic.warp.other - Warp other player to a location
• warptastic.warp.otherworld - Allow player to warp between worlds warptastic.setwarp.public - Set Public warps
warptastic.setwarp.private - Set Private warps
warptastic.setwarp.other - Set warps for other users (ignore limits) warptastic.limit.# - Editable warp limits as defined in config.yml
warptastic.limit.unlimited - Ability to set an Unlimited # of warps (included in warptastic.admin) warptastic.list - View list of warps
warptastic.list.pop - View list of warps by popularity
warptastic.list.other - View list of player's warps warptastic.makesign - Ability to make warp signs
warptastic.breaksign - Ability to break other people's warpsigns (included in warptastic.admin) warptastic.signonly.bypass - Ability to bypass using a sign for signonly warps warptastic.info - Return information about a warp
warptastic.admin - Manage warps and ignore limits
warptastic.warp.<warpname> - Allow player to bypass warp privacy warptastic.fix - Update warp records
To Do:
• Access list for private warps
• Clean up the menu / command help
Thankyou for your support! :D Recent Change-Log:
0.4.3
- Fixed warpsigns exploit [write sign title manually, permission no longer needed]
- Added warptastic.warp.<warpname> permission to allow users/groups to bypass warp privacy and use the specified private warp.
- Added warptastic.warp.otherworld permission to allow users to warp between worlds
0.4.2
- Fixed user restrictions for toggling private/public warps
- Fixed warps list listing other players private warps
- Added warp import for xWarp
- Fixed warp conversion for MyWarp & xWarp on windows systems (requires renaming db file as specified in /fixwarp menu)
0.4.1
- Fixed setwarp for other player saying the player's name instead of owner's name
- Updated warpdata conversion to new DB format
0.4
- Added check on /warp to ensure target world is loaded
- Added /clearwarps (warptastic.admin / warps owner)
- Added /warpinfo (warptastic.info/warptastic.admin/warp owner)
- Added signonly option for warps. Sign-only warps can only be used via a sign.
- New Permission warptastic.signonly.bypass (use sign-only warps without a sign)
- Fixed bug when warping another user to non-existant warp, no notification that warp does not exist.
@Pr0jectConqu3r
As Above: Warptastic GroupLimit Permissions
I use PEX and am having major issues. I have:
groups: Guest: prefix: '&f[&8Guest&f]' default: true permissions: - warptastic.warp - warptastic.setwarp.private - warptastic.setwarp.public Admin: prefix: '&f[&4Admin&f]' permissions: - '*'
My members can not create any warp, warp to anything the admin creates, or use sign warps. However the admin CAN, so i'm assuming i just have the permission nodes set up wrong. Help please!
I've been fighting with xWarp for a while as it's dieing. This is the closest plugin I've found to do what we need. I would like to add it, but there is a couple things different. Not sure if you would be willing to add.
Types of warps. Global, Public, and Private. Permissions to limit each.
Not really worried about Global warps. They mostly show up on dynmap.
When someone searches for warps, only the ones they are allowed to. Not other's private warps.
Permissions to stop players from warping between worlds.
As IdealIdeas stated, I can use booscooldowns to manage timers and prices.
@jgdecimus
Get Booscooldowns, you can add warmups, cooldowns to all commands as well as charge a price to use them!
@Timkat1994 Not possible, no.
Use something like SimpleExtras which allows separate home & bed locations, per user per world.
@RustssGG
/warps <#>
@TanveerGT5
/winfo already exists, no plans for a purgewarp as of yet.
@maddyn99
It's a nice idea, however not easily implemented at this stage, soz.
@Valconeye
Good idea and easy to implement, adding it into the next version now.
Can we do permission based warps? as in:
warptastic.warp.derpwarp warptastic.warp.herpwarp
Meaning, I have perm groups that have access to specific warps, so they are private warps, however only the groups that have the permission can use it.
That is the only thing I liked about essentials warps.
Is there a way to make limits for public and private warps separate? Say 10 Public warps and 5 Private warps? Other wise I love this plugin. We swapped from zport this morning.
Could you have a safe-warp system in this plugin? My donors make troll warps that kills players from high above land and there is no option in the configuration to turn on safe-warps.
./warp info warpname - shows warps co-ords, owner etc
./purgewarp 30 days - clears any old unused warps that havent been used for 30 days
if you can add this I'll donate.
Is there a command to see all of the warps?
Any chance for unique warps so we don't have a hundred different home warps sitting around and so two people can have a warp named the same thing? Like Jack has a warp called Home and Jill can make one named Home too. That's what is keeping me from using this plugin.
For anyone looking to export their warps from Warptastic to Essentials you can use the link below.
https://gist.github.com/Sekonda/5605810
Where is the node for /warp <warp> <player> - Warp player to a location
perhaps a warmup timer for pvp type servers?
Is it possible you could add an export command, similar to your import from other plugins?
@slugshelI
You've another plugin which is using the /warp command.
Remove that plugin.
@mohawkguy360
You'll need to be more specific.
When does the error occur?
What database format are you using? SQLite/MySQL?
git-Bukkit-1.5.1-R0.2-6-g1baccb2-b2761jnks
[SEVERE] Error occurred while enabling warptastic v0.4.2 (Is it up to date?) java.lang.NullPointerException at me.odium.warptastic.warptastic.onEnable(warptastic.java:101) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.enablePlugins(CraftServer.java:264) at net.minecraft.server.v1_5_R2.MinecraftServer.j(MinecraftServer.java:303) at net.minecraft.server.v1_5_R2.MinecraftServer.e(MinecraftServer.java:282) at net.minecraft.server.v1_5_R2.MinecraftServer.a(MinecraftServer.java:242) at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.java:150) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:381) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)
I get the error: java.lang.NullPointerException
@LordChaos2
See Above:
"warps.db for MyWarp/xWarp will require renaming before proceeding, see /fixwarps menu for details."
So I've copied in the xwarps warps.db, but when I run the fixwarp I get "Warptastic: Error: java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (no such table: warps)"