Scroll Teleportation
Scroll Teleportation
Version: v1.3
(Follow me on Twitter for updates!)
If you have a RPG-like server or like the ability to teleport with scrolls, then Scroll Teleportation is something for you.
Scroll Teleportation lets players teleport with scrolls. A scroll is a sheet of paper with a special lore to it. You can configure this lore yourself.
When a player right clicks a scroll it will cast the teleport spell. After a brief delay (configurable) a player is teleported. An effect can be played when the player is teleported. When a player moves during spell casting, the casting is cancelled. (Configurable) You can also set if the destination is hidden or not.
All in all: It's a very simple, yet cool plugin that is very configurable.
Features:
- Teleport players via scrolls
- Permissions based
- Very lightweight
- Very simple commands
- Very configurable
- Set casting time (configurable)
- Casting cancelling on move (configurable)
- Bypass permissions
- Multiworld support
- Randomisers (You can teleport a player inside a region at a random place)
Permissions:
- - scrollteleportation.teleport Allows a player to use scrolls.
- - scrollteleportation.give Allows a player to give scrolls.
- - scrollteleportation.walkbypass Allows a player to bypass walking cancellation
- - scrollteleportation.delaybypass Allows a player to bypass casting times
- - scrollteleportation.invbypass Allows a player to open another inventory while casting
- - scrollteleportation.usesbypass Allows a player to bypass uses
- - scrollteleportation.potioneffectbypass Allows a player to bypass potion effects
- - scrollteleportation.set Allows a player to set a variable
- - scrollteleportation.create Allows a player to create a scroll
- - scrollteleportation.reload Allows a player to reload
Commands:
- /scroll Shows some info about Scroll Teleportation.
- /st Alias to /scroll.
- /scroll give <scroll> <player> Give a player a scroll (player is optional)
- /scroll create <scroll> <displayName> <delay> <uses> Create a new scroll.
- /scroll reload Reload configuration files.
- /scroll set <variable> <scroll> <value> Set a variable of a scroll to <value>
Pictures:
Example of a scroll
Teleportation spell is casted
Donations
I'm a poor student and I'm developing this plugin in my free-time, if you like my plugin and want to help me, please donate. Donating is the best way to help me out, it goes towards more bug-fixing. Thanks! Donate is in the top right corner. ;)
Donators
Thanks to all the people who donated and downloaded this plugin! I love you all! <3 Especially thanks to my donators who gave me that little boost:
- HammerHedd with 10 dollars
Github
The Github repository for Scroll Teleportation can be found here. Keep in mind that all code is 'all rights reserved' and should not be copied without my permission.
@Staartvin
Things like teleporting to another player, with that players permission, teleporting home etc.
Also a bug: if a player uses the scroll, then puts it in a chest the scroll isn't consumed. I think the best way to fix this would be to have opening chests or really doing anything cancel the TP. And if a player gets multiple of the scrolls, they stack. If they use a stack of them, all go instead of just one. I fixed this by switching the item to discs.
@lanceryy
You might want to check your config through this: http://yaml-online-parser.appspot.com/
@Staartvin
Sometime will cause the problem.
2013-07-25 18:53:50 [SEVERE] Cannot load plugins/Scroll Teleportation/config.yml org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping in 'string', line 49, column 5: name: 傳送卷軸 ^ expected <block end>, but found BlockEntry in 'string', line 56, column 5: - BLINDNESS 2 ^
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105) at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175) at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:117) at me.staartvin.scrollteleportation.files.MainConfig.reload(MainConfig.java:196) at me.staartvin.scrollteleportation.commands.ReloadCommand.onCommand(ReloadCommand.java:26) at me.staartvin.scrollteleportation.commands.CommandHandler.onCommand(CommandHandler.java:54) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:190) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:527) at net.minecraft.server.v1_6_R2.PlayerConnection.handleCommand(PlayerConnection.java:979) at net.minecraft.server.v1_6_R2.PlayerConnection.chat(PlayerConnection.java:890) at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:837) at net.minecraft.server.v1_6_R2.Packet3Chat.handle(SourceFile:49) at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:592) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:239) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
* On the other hand, In-game reload the plguin and it will not update the config such as the position. When i create the new one and relaod it then give to other player will will telepo to preview point.
@lanceryy
What is your exact problem? Do characters of foreign languages not work?
@dsipal
For what exactly?
Could the name and lore be UTF8 ? Hope that Staartvin will add the config support other language except for English. Many thanks
@Staartvin
Could you hook it into commandbook?
@semirotta
:P
Create random teleport already!
@CloseyuO
:P
First Download On Bukkit is mine haha !
@dsipal
I can add this but it would require some work because I need to hook into Essentials.
I'm planning on adding this to my server as well, however I am wondering if it would be possible for you to add the ability for these scrolls to do things like teleporting the player to a person of their choice, as /tpa does (with acceptance) and taking them to their set home?
@Staartvin
Of course you can. You could check it out now, but it's a beta ATM and a little rough. It's whitelisted, so PM me and I'll give you a tour if you like.
@lanceryy
I hope so @CloseyuO
Not yet available. Bukkit still needs to approve the file.
download ?
Great. hope it will release soon
@piritacraft
You can give a player a scroll with /scroll give <scroll> <player>
good idea. Make sellable.
@Staartvin
Well we hope that when it is done that people can see it x3 But yes you should be very welcome to see the server on public release.
Hope to see you there.
Lucy~