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.
@Thunder7102 It's on the cards. :)
See:
"To Do"
• Editable Group restrictions for using & setting warps
Can you make a permission that allows you to grant a different amount of public and private warps to different ranks or permissions?
Let's say I don't want newbies making any warps, and VIPs getting 50 private warps.
Cheers for the bug report.
Looks like a hardcoded file-seperator.
Will be fixed in the next update.
[Warptastic] Error: java.io.FileNotFoundException: plugins/warptastic\warps.csv (Datei oder Verzeichnis nicht gefunden)
This plugin didn't work under Linux...
I have to place my warps.csv in plugins with the name warptastic\warps.csv. That isnt very usefull.
Sorry for my bad english...
i am also wondering of you could add some kind of sign warp to work with these warps. : )
@katoon123
That's very strange, and I'm unable to replicate your error.
What I'll do is forward you a copy with some extra debug output that should tell you where it's looking for the warps folder.
Let me know what you find.
when doing fixwarps -essentials in console i get [Server] INFO Dir 'warps' not found
I have coped the essentials warp folder over to the warptastic's plugin directory.
@oman95891
Sure. :)
Could you add import support for MyWarps
@matt9522
I've not seen how essentials stores warps, I'll look into it however. :)
Is it possible to import warps from essentials into Warptastic, or must I re-enter them all by hand?
@Mw2BeAsT676
Sure is.
Is it possible to set up warps to other worlds?
@Craftiii4
Yeh, I think it's a great idea.
I'm just looking at it now and wondering if it's best to continue using yaml for data storage, or maybe do a quick re-write now (while the project is young) and bring in SQLite support.
May make manipulating all these personal/public a lot more efficient.
<<reply 771892="">>
For example,
Group Member can create 0 Private warps and 1 Public warp
Group Trusted can create 1 Private warp and 2 Public Warps
...
...
...
Group Admin can create Unlimited Private warps and Unlimited Public warps
If you need help just ask me ^^
@Craftiii4
Thanks, Glad you like it. :)
Hmm, you mean so that only certain groups can create / warp to certain warps?
Good work so far, any chance on having user limits set to per group and per warp permissions?
Keep it up, need a plugin like this to replace xwarp ^^.