Edited the lang file.
- Changed the Censor Coordinates it in the lang.yml file to the message when you teleport.
- Moved the existing Censor Coordinates to the config.yml file.
- Fixed prefix issues.
- Optimized code.
+ Added Blocked World to the lang.yml file.
+ Added No Location Found to the lang.yml file.
With the new update, I have redone the auto updater. The new updater uses spiget to get the latest versions which will give you all the newest updates faster.
Removed the use of legacy items in the settings GUI which is just bad practice.
Quick Update
This version fixes a newfound bug causing the cooldowns to not work properly. Also a sign delay of two seconds was added to prevent people from spam clicking on the signs.
This version is ONLY compatible with 1.13+
Vault and an economy plugin of your choosing is now a required dependency.
Improvements
+ Added blocked worlds.
+ Recreated sign system and implemented a cost system.
+ Edited the randomtp command when used on other players.
This version is ONLY compatible with 1.13+
Improvements
- Recoded the way you are teleported to make it easier on the server.
- Added a new chart on the metrics to see how many times people use the randomtp command. (
https://bstats.org/plugin/bukkit/RandomTP/1363#!)
- Added Censored Coordinates. Players can enable this with the settings command (/rtp settings).
- Added a RandomTeleportEvent if for some reason you want to call the event for your own plugin.
New Commands
- rtp settings - Edit your player settings. Only setting is censoring coordinates right now.
- rtpa - New RandomTP Admin command. Use this to reload or update to the newest version of the plugin.
Bug Fixes
- Added a few seconds of resistance after teleporting to ensure they don't take any damage.
Hello,
I started looking over plugins that I have made over the past year, and I came upon this one. I have decided to work on it to make it better, so I did.
I took the bug reports that were given to me and I have fixed them!
Bug Fixes:
- You no longer will teleport in water that can drown you. This means you can be teleported in water that is only 1 block deep.
- You can break the signs by sneaking and destroying the sign.
- You will not teleport into lava.
- You will not teleport in caves.
General Fixes:
- You now teleport to the center of the block instead of the edge. This is to prevent you from being pushed off and falling.
There was a bug that did not allow the placing of signs. If you find any more bugs, please message me.
Thanks!
Ahhh, Update 1.6. I have been working on this for a few days now, and this is what I have added.
UPDATER:
So first off, I have included a plugin updater. You can access this by using /randomtp update check to see if there is an update. You can download it by using /randomtp update download [true/false]. The true and false determines whether the server will restart after the download. This defaults to false.
Lang.yml
I have added the first integration of the lang.yml. You can edit a few essential messages, and I plan to add some more.
New Help Message:
I have redesigned the new help message and I think that it looks nicer and neater.
Added a Delay which you can edit within the configuration file. When you input the time, it must be IN SECONDS.
I have edited the configuration, so it will be a cleaner config if you were to delete it, and have it auto-create.
Added new Permission randomtp.bypass
Renamed Admin_Permission in the configuration to Admin Permission.
Upcomming in 1.6: lang.yml file so you can edit all of the messages that are sent and the prefix of the plugin and continuing checking if the player tpeleports into water or lava.
Added BStats. You can view the stats of the plugin here:
https://bstats.org/plugin/bukkit/RandomTP
This plugin utilizes BtoBastian's Metrics system to gather anonymous usage statistics on the plugin and server it's running on. The following information is sent to bstats.org:
- A unique identifier
- The server's Java version
- Whether the server is on online or offline mode.
- The plugin's version
- The server's version
- The OS' version, name, and architecture
- The core count of the CPU
- The number of players online
- The Metrics version
Opting out of this service can be done by disabling Metrics globally by editing the bStats's configuration file.
Please Update from the Previous Beta Build.
Please note that this is a BETA build, so everything in this build is subject to be changed or removed. There may be bugs, and if you find any bugs, please report them to me. Thank you.
Changelog:
- There was a bug in the previous BETA version that I found that allowed players to create RandomTP Signs, so Please Update.
- Signs have been improved. On the second and third line, you can specify how far they can be teleported out.
Here is an example:
[RandomTP]
0 100
0 100
$100
- This will teleport the player 0 to 100 blocks from 0,0 in either direction. You may also notice that there is the possibility to charge the player. This is not yet implemented, but it is added to the sign for appearance for the moment.
Known Bugs:
- None
Upcomming:
- Charge the player the amount specified on the sign.
Please note that this is a BETA build, so everything in this build is subject to be changed or removed. There may be bugs, and if you find any bugs, please report them to me. Thank you.
Changelog:
- Re-coded the command so it is more lightweight and cleaner.
- Recreated the help message
- The player is now teleported in both positive and negative directions, a bug that was reported by a user.
Known Bugs:
- None
Upcomming:
- I am currently working on the player not being teleported in water and in lava. This will be added on the next Release build.
I have edited the way RandomTP works. Now it will get random blocks between the minimum and maximum blocks AWAY FROM 0,0.
I have also added a new files and chat manager to the plugin. On some servers, it would give an error in the Files class, so I recoded the files class, and I have not seen any problems with my test servers.
You now need the permission randomtp.admin to create the sign. This permission node is editable within the config file.
This update is the first of many to the sign update. This allows a player to click a sign and it will randomly teleport them.
To create the sign, all you have to do is put [RandomTP] on the first line. You can fill the other 3 lines with whatever you would like. For example you can put information on how far out they will go.
Future Updates:
You will be able to use a command, probably /rtpadmin editsign distance <maxX> <minX> <maxZ> <minZ>
Then you would right click the sign that you would want to apply these changes to.This would be unique per sign.
Another command will allow you to charge the person when they use the sign.
/rtpadmin editsign price <amount>
After doing these two commands, you would right click the sign that you would want to edit. These would be unique per sign, and would be removed upon breaking the sign.
This update allows you to edit how far you want to teleport within the configuration file.
There is also a new command. By default it is randomtp.admin but you can change it.
New Permissions have been added!
randomtp.use