ItemstoWarp
ItemstoWarp
A pay-to-warp plugin that can use any item as a currency to warp players to warps that they set up.
Quick Info
Current Version: 2.0.0
CB Version: CB 1.2.4-R1.0 - CB 1.4.6-R0.1+ - Plugin should never break unless bukkit make major changes Changelog: https://github.com/Muddr/ItemstoWarp/blob/master/changelog.md
Since Bukkit is taking forever to approve a file here's a link for the newest version. Download: https://dl.dropbox.com/u/18835236/ItemstoWarp/itemstowarp.jar
Features
- Ability to create and remove warps
- Can toggle warps between public and private
- Ability to warp using signs
- List for all public warps
- Personal list of warps
- Permissions for all features
- Import warps from other warp plugins (currently only EcoWarp)
Configuration
Default config.yml:
currency:
amount: 20
item: 331
freeforcreative: false
sign:
protected: true
updatetool: 280
text:
public: ''
private: 'Private'
show:
cords: true
world: true
DB:
driver: 'org.sqlite.JDBC'
url: 'jdbc:sqlite:{DIR}{NAME}.db'
username: 'root'
password: ''
isolation: 'SERIALIZABLE'
logging: false
rebuild: false
version: 2
Explanation
All settings will be shown in node syntax for ease of documentation, e.g. currency.amount
will refer to the amount
setting in the currency
group.
currency.amount
- Amount of items needed to warp.
- Default: 20
currency.item
- Item ID of the item to be used as currency.
- Default: 331
(Redstone Dust)
currency.freeforcreative
- Whether players in creative mode can warp for free.
- Default: false
sign.protected
- Whether signs are protected from being destroyed. Note: the owner of the warp can always destroy the sign.
- Default: true
sign.updatetool
- Item ID of the item that is used to update sign's privacy without warping.
- Default: 280
(Stick)
sign.text.public
- The text shown on signs for "Public" warps.
- Default: (blank, to match prior version behavior; recommended alternative: Public
)
sign.text.private
- The text shown on signs for "Private" warps.
- Default: Private
show.coords
- Whether to display the warp coordinates on the /itw list
and /itw mylist
commands.
- Default: true
show.world
- Whether to display the world name a warp is in on the /itw list
and /itw mylist
commands.
- Default: true
DB related settings
It is highly recommended that this section of the config be left as-is. Only attempt changing this section if you know what you are doing!
Issues regarding database settings will not be answered. They will be closed as we will most likely not be able to answer them. This section is provided as a courtesy for advanced users if they need it.
Commands
-
/itw create "name"
Creates a warp at your location. -
/itw toggle "name"
Toggles the warp from public/private. -
/itw remove "name"
Removes the warp. -
/itw warp "name"
Warps to "name". -
/itw list
Lists all public warps. -
/itw mylist
Lists all your warps. -
/itm import <pluginname>
Imports warps from <pluginname>
Permissions
-
itemstowarp.create
Gives the ability to create warps. default: all -
itemstowarp.makeprivate
Gives the ability to make a warp private. default: all -
itemstowarp.makeprivate.any
Gives the ability to make any warp private. default: op -
itemstowarp.remove
Gives the ability to remove a warp. default: all -
itemstowarp.remove.any
Gives the ability to remove any warp. default: op -
itemstowarp.warp
Gives the ability to use warps default: all -
itemstowarp.warp.any
Gives the ability to use any warp, including private warps. default: op -
itemstowarp.warp.nocost
Gives the ability to bypass the warp fee when warping. default: none -
itemstowarp.warp.sign
Gives the ability to use sign warps. default: all -
itemstowarp.warp.sign.create
Gives the ability to create a sign warp. default: all -
itemstowarp.warp.sign.removeany
Gives the ability to remove any sign warp. default: op -
itemstowarp.list
Gives the ability to list all public warps. default: all -
itemstowarp.list.all
Gives the ability to list all warps, including private warps. default: op -
itemstowarp.list.own
Gives the ability to all the warps you created. default: all -
itemstowarp.import
Gives the ability to import warps from another plugin. default: op
Permission Sets
These permissions include a set of the above permissions that can be used as some sensible defaults. The permissions included are listed below the set permission.
itemstowarp.user
- itemstowarp.create
- itemstowarp.makeprivate
- itemstowarp.remove
- itemstowarp.warp
- itemstowarp.warp.sign
- itemstowarp.warp.sign.create
- itemstowarp.list
- itemstowarp.list.own
itemstowarp.admin
- itemstowarp.create
- itemstowarp.makeprivate.any
- itemstowarp.remove.any
- itemstowarp.warp.any
- itemstowarp.warp.sign
- itemstowarp.warp.sign.create
- itemstowarp.warp.sign.removeany
- itemstowarp.list.all
- itemstowarp.list.own
- itemstowarp.import
Creating Sign Warps
To create a sign warp place a sign with the following information:
- Line 1: [Warp]
- Line 2: Name of the warp. Ex: mywarp
Note: both lines are case insensitive. Ex: [WaRp]
, [wArP]
as well as any variant will all work.
Example: ![Warp sign example] (https://dl.dropbox.com/u/18835236/ItemstoWarp/ItemstoWarp-Signs.png)
After the sign has been created
Once the sign has been placed, there will be a few more lines automatically added on to the sign. Using the above information while creating the sign, the final sign will look something like this:
- Line 1:
[warp]
- Line 2:
mywarp
- Line 3:
MyUsername
-
Line 4: (blank) OR
Private
- Note: this line be the text from the config setting
sign.text.public
orsign.text.private
, depending on the warp's privacy.
- Note: this line be the text from the config setting
A note about signs and warp privacy
The privacy of the warp that is shown on the sign is the privacy at the time the sign was created. When a warp's privacy is changed, signs that have already been created will not be updated to show the new privacy status. Note: a warp's privacy setting will be checked before any warp occurs, so changing your public warp to a private one is safe.
The sign's privacy status will be updated when someone attempts to warp by using the sign. To update without warping, right-click on the sign while holding the item as defined in the config setting sign.updatetool
.
@butterbybutter
Can you post what's wrong and what version of bukkit and ItemstoWarp you're using?
I just tested ItemstoWarp v2.0.0 on the following bukkit versions and it works fine.
UPDATE PLEASE,
THANK YOU**
sorry for CAPS
Sorry it took so long to get the import feature working.
Updated to v2.0.0. Waiting for bukkit to approve the file.
If anyone as any features or suggestions for this plugin let me know.
v2.0.0 - Works with CB 1.2.4-R1.0 - CB 1.4.6-R0.1+
This is a major update to the database structure and all servers will have to run v2.0.0 at least once before they can run any future versions.
@TanveerGT5 I looked at EcoWarp and should be pretty easy to make it so it can import the warps.. I'll try to get it done by tomorrow night.
brilliant will try it out 1 question can I import warps from EcoWarp ?
EDIT: I just tested it with Dev Build# 2381, and ItemtoWarp v1.2.1 and it works as intended. If you are having issues, put in a ticket or PM me and I'll help ya out.
i think this does not work anymore
Updated to v1.2.1 to fix an error when clicking on none warp signs. Waiting for bukkit to approve the file, the GitHub link is up to date.
v1.2.1 - Works with CB 1.3.2-R0.2
Since Bukkit is taking forever to approve a file (12+ hours), here's a link for the newest version. Download: https://github.com/downloads/Muddr/ItemstoWarp/itemstowarp.jar
Updated to v1.2.0. Just waiting for the file to be approved.
Change log - https://github.com/Muddr/ItemstoWarp/blob/master/changelog.md
@Otacsom
Yes. It will work across worlds.
Will this work between worlds? I want to let people pay with an item to go to the Nether.
Updated the plugin description to reflect current supported version. CB 1.3.1-R1.0 and added the missing settings for the config area in the description.
Nothing else changed.
If anyone as any features or suggestions for this plugin let me know.
@rokinstu98
I responded to your ticket. Please reply there..
Thanks.
when i post a sign and try to use it, it says i can't afford to warp. ??
Updated to v1.1.1 - Just waiting for the file to be approved. Should fix @stahcraft issue with sometimes warping into walls in small cases.
@stahcraft
Thanks for the notice.. I will investigate this issue and see if I can find what's causing it..
Muddr, thank you very much for the plugin i love it however it dosent teleport me to the exect position i set the warp, sometimes when in a cave or in small space, the warp will teleport in the walls. please fix that problem. thanks
Updated for 1.2.4. Just waiting for the file to be approved. If anyone as any features or suggestions for this plugin let me know.
@MiningTroyer
It should work fine with 1.2.3. I forgot to add that to the description. Edit: I added version numbers above the Features list.