Git Product home page Git Product logo

betterrtp's Introduction

Welcome to BetterRTP's repository!

Where's the Lang files?/Want to Contribute translating?

All language files are located here feel free to fork one of the language files and help translate!

Libraries

BetterRTP uses and is compiled with the following libraries:

  • ParticleLib (included) - Particles library by ByteZ1337. Find all supported particles here
  • PaperLib (included) - Library for interfacing with PaperMC specific APIs, used for async chunk loading.
  • FoliaLib (included) - Library for interfacing with Folia specific APIs, used for cross-platform timers.

Build instructions on Ubuntu

mvn clean install

The file will be in the Target file.

Where's the Wiki?

The wiki is available here!

Chat with us on Discord
Discord
Have a Suggestion? Make an issue!
GitHub issues

Thank you for viewing the Wiki for BetterRTP!
Did this wiki help you out? Please give it a Star so I know it's getting use!

Check out my other plugins!

betterrtp's People

Contributors

arr4nn avatar at0mica55 avatar benjamonsrl avatar dailystruggle avatar haer0248 avatar has-x avatar itaquito avatar ivillager avatar janbchr avatar kamiya10 avatar kristofferous avatar lynxn1 avatar matipoirierg avatar mrflo67 avatar myfbone avatar nogapra avatar oasisakari avatar shuxx avatar sirsalad avatar superronancraft avatar technicallycoded avatar teksusik avatar thefourcraft avatar viasnake avatar viminio avatar vochidanh avatar wintone01 avatar yannicklamprecht avatar yomamaeatstoes avatar zepsizola avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

betterrtp's Issues

[Feature Request] Limit to simultaneous RTPS

Plugin Version:
3.1.0-5

Request:
I think it'd be a nice feature to have a configurable amount of players that can RTP at a time

Why:
This should be added for people with custom world generators or just a bad CPU/RAM in general. This would make the RTP less easy to be abused.

[Bug/Maybe intended feature] Shows players displayname on command /rtp player (player) instead of playername.

Plugin Version:
25.09 22:03:13 [Server] INFO SOUP RTP ? Version #2.13.1

Describe The Bug:
I've noticed that Essentials has a feature where it modifies the displayname of users for it's own chat plugin. Well, it looks like it changes the displayname globally throughout the server. When I do /rtp player (player), instead of giving me the playername it gives me the player displayname to put.. When I try any of the displaynames (with the prefix/suffix because of essentials) it doesn't work.

How To Reproduce:
Have a plugin that modifies the displayname of a user such as essentialschat.
Attempt doing /rtp player
Notice it recommends player names with the ranks with the prefix/suffix that essentials adds.

Expected Behavior:
For BetterRTP to only recommend the players unmodified name if possible.

Screenshots/Error Log:
Screenshot for RTP

Additional Context:
None.

Better RTP (rtp prolem)

I have a towny server and I enabled towny but when i enabled rtp on join it is sending everyone in the same spot and when we die it sends us at another same spot.
Please tell me how do I make it like death rtp and first join rtp

Use setBedSpawnLocation on RTP on first join

Plugin Version:
BetterRTP v2.14.3

Request:
Use setBedSpawnLocation after teleport on first join, so that players stay on their spawn point, even after death.

How/Why:
Currently, if a player dies before setting a spawn point, the player gets back at the world spawn.

A way to implement this would be:

event.getPlayer().setBedSpawnLocation(event.getPlayer().getLocation(), true);

Discord Hacked

Seems one of your discord admins got hacked and is posting virus links and banning people.

Error spammed in console

Plugin Version:
2.14.0

Describe The Bug:
Console spams an error message, nothing bad happens to my knowledge

How To Reproduce:

Just install the plugin - it happened on a fresh install on a newly generated config

Expected Behavior:
No error spammed in console

Screenshots/Error Log:
https://pastebin.com/dMvmKtx5

Additional Context:
I tried really hard to see what was wrong in the config file but I just couldn't find anything so I thought it was a problem with the plugin itself. I might be wrong though.

BetterRTP prevent my server from starting

Plugin Version:
Lastest version 2.9.3

Describe The Bug:
When the server starts
It blocked my server from starting and other plug-ins from loading
Server log stopped at [BetterRTP] Enabling BetterRTP v2.9.3
Players can't join games

How To Reproduce:

Expected Behavior:
Let it work

Screenshots/Error Log:
Just stop at [13:05:25 INFO]: [BetterRTP] Enabling BetterRTP v2.9.3
[13:05:27 WARN]: [ChestCommands] Could not contact BukkitDev to check for updates.
[13:15:51 INFO]: UUID of player xxx is 9568d3cb-0ec2-3579-bdb8-369833541126
Keep this up until the server is forced to end,no other error log

Additional Context:
My English is not good,but I think my meaning is clear

Placeholder API

Plugin Version:
304-1

Describe The Bug:
the placeholder api doesnt seem to work or pull data to display im trying to display the Biome to the player once they've rtp'd but all it shows is %player_biome%...

How To Reproduce:
Teleport:
Title: '&6%player_biome%'

Expected Behavior:
thought it would just display the current biome to the player.

Screenshots/Error Log:
https://img.justblzd.com/2021-02-02_20.18.18.png

Server crash

Plugin Version:
2.11.0

Describe The Bug:

How To Reproduce:
Play on spigot 1.14.4
Have an alias /rtp for /betterrtp
Fullrender dynmap tiles at a rate of 82.00 msec/tile
Do /rtp
Then /betterrtp after a few secound, but before the first rtp had started.

Expected Behavior:
Did /betterrtp, expected to get randomly teleported somewhere.

Screenshots/Error Log:
https://hastebin.com/fazozodatu.md

Additional Context:
NTR i guess.

string error in fr.yml

Plugin Version:
2.9.0

Issue Type:
[16:09:20] [Server thread/WARN]: org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
[16:09:20] [Server thread/WARN]: in 'string', line 7, column 5:
[16:09:20] [Server thread/WARN]: Price: '&cTu n''à pas pu être té ...
[16:09:20] [Server thread/WARN]: ^
[16:09:20] [Server thread/WARN]: expected , but found ''
[16:09:20] [Server thread/WARN]: in 'string', line 8, column 87:
[16:09:20] [Server thread/WARN]: ... n %attempts% tentatives! &7Tu n'à pas été téléporter!'
[16:09:20] [Server thread/WARN]: ^

The "n'à" is not escaped

By the way, it's a HORRIBLE French translation with a misspelling every 2 words.
Shame on the one who provides this translation ...

Thx for the plugin :) have a nice day.

RTP not teleporting past 1,000 coordinates.

BetterRTP v2.9.3
Paper dev 226 (Spigot 1.14.4)

@SuperRonanCraft Did something break in BetterRTP recently with how random coordinates are generated? Ever since updating from an older version to v2.9.3, players are informing me that the RTP never teleports them to coordinates beyond 1000 x/z regardless of how many times they do it. Whereas before it was working fine and completely random.

The world is fully pre-generated.

Config
https://paste.ubuntu.com/p/rd5zFKHxnZ/

Command attached to NPC.

    - '[console] rtp player %player% world'

Support for round world borders

Plugin Version:
3.0.3

Request:
Add support for round world borders.

How/Why:
Servers might use a plugin in order to have a round world border, such as WorldBorder or ChunkyBorder, which is our case. However, BetterRTP currently only supports square world borders, rather it picks random coordinates in a square.

It'd be nice if there was an option where you could specify in which shape should be the random coordinates picked; maybe something like Shape with square and circle values?

Additional Context:
None.

/rtp biome not working

Plugin Version: 2.9.3

Describe The Bug: /rtp biome doesn't do anything different from /rtp.

How To Reproduce:

Add this plugin to a server (I'm using Paper-89 for 1.15.2)
Try and use /rtp biome PLAINS (or any biome is fine)
Expected Behavior:
I expected it to land me in the biome I specified, but it's seemingly the same as normal /rtp.

Screenshots/Error Log:
No errors.

/rtp biome not working

Plugin Version: 2.9.3

Describe The Bug: /rtp biome doesn't do anything different from /rtp.

How To Reproduce:

  1. Add this plugin to a server (I'm using Paper-89 for 1.15.2)
  2. Try and use /rtp biome

Expected Behavior:
I expected it to land me in the biome I specified, but it's seemingly the same as normal /rtp.

Screenshots/Error Log:
No errors.

Custom Presets

Plugin Version: 2.10.1

Request: Hey, would it be possible to add something like a teleport presets?

How/Why: Like you have CustomWorlds: ... There would be for example CustomPresets: and you can name it whatever you want, not just world name, for example "default" "vip" "admin" etc. and set a custom permission, cooldown and teleport distance for every preset.

Additional Context: Possible look in config:

CustomPresets:  
  VIP:  
    MaxRadius: 1000
    MinRadius: 10
    CenterX: 0
    CenterZ: 0
    permission: betterrtp.preset.vip
    cooldown: 100
    cost: 60 (ingame money)

Towny Support

Plugin Version:

2.10.1
Request:

Add towny claim support similar to worldguard support.
How/Why:

This feature would allow players to only teleport into areas where they have access to, rather than randomly teleporting into another town's house and being stuck.
Additional Context:

BetterRTP can sometimes teleport into the air

Plugin Version: 2.10.1

Issue Type:
With a lot of teleportation attempts on dimensions (Nether or Ender) it sometimes happens that BetterRTP places the player in the air making him fall on the ground, in the void or in the lava.

Context:
I use the commands /rtp world world_nether or /rtp player world_nether to teleport my players
The map is generated entirely within the teleport distance of BetterRTP
I use Minecraft 1.15.2 with Paper 347
image

Configuration:

Language-File: fr.yml
Settings:
  RespectWorldGuard: false
  RespectGriefPrevention: false
  RespectSavageFactions: false
  MinRadius: 25
  MaxAttempts: 15
  Cooldown:
    Enabled: true
    Time: 900
  Delay:
    CancelOnDamage: true
    Time: 1
    CancelOnMove: true
  DisableUpdater: false
Default:
  UseWorldBorder: false
  Biomes: []
  MaxRadius: 10000
  MinRadius: 512
  CenterX: 0
  CenterZ: 0
BlacklistedBlocks:
- stationary_water
- stationary_lava
- water
- lava
- cactus
- leaves
- leaves_2
- air
- bedrock
- void
- void_air
- fire
- chorus_plant
- chorus_flower
DisabledWorlds: []
CustomWorlds:
- world:
    UseWorldBorder: false
    MaxRadius: 10000
    MinRadius: 512
    CenterX: 0
    CenterZ: 0
- world_nether:
    MaxRadius: 10000
    MinRadius: 1000
    CenterX: 0
    CenterZ: 0
- world_the_end:
    MaxRadius: 10000
    MinRadius: 1256
    CenterX: 0
    CenterZ: 0
Override:
  world_nether: world_nether

Note: Sometimes BetterRTP teleports in a single block of height, it's not annoying in 1.15 but it can be in 1.8

Async Chunk Generation Before Teleporting

Plugin Version:

2.11.1-BETA
Request:

Async chunk generation before teleporting.

How/Why:

If a player is teleported to a location without generated chunks nearby, a huge amount of the nearby chunks will be generate in main thread.
It will cause a sudden TPS Loss.
If we generate chunks asynchronously before teleporting, It will be solved.
You can find what I do here
PaperLib is a better solution maybe.

Additional Context:

None

Leaves config file reference vs wiki blacklistedblocks different

Plugin Version: #3.1.0-3
Describe The Bug:
Wiki page: https://github.com/SuperRonanCraft/BetterRTP/wiki/Config#blacklistedblocks

  • leaves
  • leaves_2

Default config.yml

  • oak_leaves
  • jungle_leaves

How To Reproduce:
Run a new install and inspect config.yml and compare to wiki page

Expected Behavior:
What is the correct format?

Screenshots/Error Log:

Additional Context:

  • Shouldn't you add support for all types of leaves by default, or is the wiki page correct and the default config file incorrectly listing oak_leaves and jungle_leaves?

Teleport in blocks

Plugin Version: 2.9.3

Describe The Bug: Teleports to a random place, but throws the player into blocks.

How To Reproduce:

  1. I uploaded it to paper 1.15.2 (paper-93)
  2. I've done the configuration
  3. I used rtp

Expected Behavior: It should teleport to a safe place, not a stone or other block.

Screenshots/Error Log: ...

Add a list of command that will run on teleport complete

Plugin Version:
Version 3.0.3

Request:
Add a list of command that will run on teleport complete

How/Why:
because if we have the list, then we will have more customization like after RTP give some item, take some item or set spawnpoint

Additional Context:
Also, I suggesting this is because SetAsRespawn features is can't be trust
if you create a bed spawn point and then break the bed then your spawn point will back to world spawn point

  RtpOnFirstJoin:
    Enabled: true
    World: world
    SetAsRespawn: true

Teleportation animation +

Plugin Version:
latest

Request:
Hi, could you add some minecraft effects support during teleportation delays arround or on the player. You can see it in many other teleportation plugins and it makes it a bit more funny when you 're waiting for teleportation.
The animation could even last a variable time after the teleportation.

some effect ideas: Blindness, Glowing, NetherPortalTeleportation animation (guess it's confusion or nausea).

Sounds make it already fun, animations would enhance the plugin a step further.

Thank you :)

Cooldown being buggy when small

Plugin Version: 2.10.1

Describe The Bug:
If you have your rtp cooldown on for example 7-10 seconds it will bug where you can type /brtp again if you type it quick enough after being rtped. Doesnt happen on any big cooldowns like 600 seconds for example.

How To Reproduce:
1 - Set cooldown to 7 seconds
2 - Do /brtp
3 - Do /brtp again right after you have teleported to the new location.

Expected Behavior:
For the cooldown to apply instantly.

make lang file available to fork and translate

Plugin Version:

Request:

Make the lang files available on the GitHub page so users can fork the project and translate the files and create a pull request.
How/Why:

Because it would make adding support for new languages easier.
Additional Context:

Make economy part of plugin reload with /brtp reload

Plugin Version: 2.10.1

Request:
When typing /brtp reload, make the economy part of the plugin reload properly with it, as right now it does not reload properly with /brtp reload. (For example when disabling or enabling economy)

How/Why:
Should be added so players dont have to restart their server completely to enable economy.

BetterRTP take long and tp really far away ?

Plugin Version:
<Version #2.8.4>

Describe The Bug:
<The plugin take a good 5 seconds to ba able to rtp the player and for exemple, i do /rtp at 0 64 0 i get tp to 16930214 64 29948382 I know i don't have a world border but it's supposed to work without them and maybe not give a so high number ? >

How To Reproduce:
<Do /rtp and wait xD>

Expected Behavior:
<I Would expect the plugin to teleport player that use /rtp to maybe teleport them 10-20k blocks away from where they... >

Screenshots/Error Log:
<Don't have any cause it's not necessary for the issue>

Thank you... If this is not an issue and it's cause simply cause i don't have a world border i would be more then happy to get some help with the world border setup :)

[Request] Griefdefender respect setting

Plugin Version:

version 3.0.5

Request:

Setting add respect grief defender GD, i saw betterrtp respect support many claim plugin but not this.

How/Why:

As grief defender is becoming famous , more people will use it. However, betterrtp does not respect it and so, rtp will often tp to GD claims.

Additional Context:

2.5.0 Doesn't work on 1.13

[15:48:09 INFO]: MrAmpersand issued server command: /rtp
[15:48:12 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'rtp' in plugin BetterRTP v2.5.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[server.jar:git-Spigot-69774b3-a0c7bcf]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[server.jar:git-Spigot-69774b3-a0c7bcf]
        at org.bukkit.craftbukkit.v1_13_R1.CraftServer.dispatchCommand(CraftServer.java:693) ~[server.jar:git-Spigot-69774b3-a0c7bcf]
        at net.minecraft.server.v1_13_R1.PlayerConnection.handleCommand(PlayerConnection.java:1634) ~[server.jar:git-Spigot-69774b3-a0c7bcf]
        at net.minecraft.server.v1_13_R1.PlayerConnection.a(PlayerConnection.java:1469) ~[server.jar:git-Spigot-69774b3-a0c7bcf]
        at net.minecraft.server.v1_13_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[server.jar:git-Spigot-69774b3-a0c7bcf]
        at net.minecraft.server.v1_13_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[server.jar:git-Spigot-69774b3-a0c7bcf]
        at net.minecraft.server.v1_13_R1.PlayerConnectionUtils.a(SourceFile:10) ~[server.jar:git-Spigot-69774b3-a0c7bcf]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_181]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_181]
        at net.minecraft.server.v1_13_R1.SystemUtils.a(SourceFile:198) [server.jar:git-Spigot-69774b3-a0c7bcf]
        at net.minecraft.server.v1_13_R1.MinecraftServer.w(MinecraftServer.java:884) [server.jar:git-Spigot-69774b3-a0c7bcf]
        at net.minecraft.server.v1_13_R1.DedicatedServer.w(DedicatedServer.java:411) [server.jar:git-Spigot-69774b3-a0c7bcf]
        at net.minecraft.server.v1_13_R1.MinecraftServer.v(MinecraftServer.java:819) [server.jar:git-Spigot-69774b3-a0c7bcf]
        at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:717) [server.jar:git-Spigot-69774b3-a0c7bcf]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
Caused by: java.lang.NoClassDefFoundError: com/sk89q/worldguard/bukkit/WGBukkit
        at me.SuperRonanCraft.BetterRTP.event.RTP.checkDepends(RTP.java:327) ~[?:?]
        at me.SuperRonanCraft.BetterRTP.event.RTP.randomLoc(RTP.java:199) ~[?:?]
        at me.SuperRonanCraft.BetterRTP.event.RTP.setup(RTP.java:121) ~[?:?]
        at me.SuperRonanCraft.BetterRTP.event.RTP.start(RTP.java:73) ~[?:?]
        at me.SuperRonanCraft.BetterRTP.event.Commands.tp(Commands.java:101) ~[?:?]
        at me.SuperRonanCraft.BetterRTP.event.Commands.commandExecuted(Commands.java:73) ~[?:?]
        at me.SuperRonanCraft.BetterRTP.Main.onCommand(Main.java:76) ~[?:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[server.jar:git-Spigot-69774b3-a0c7bcf]
        ... 15 more
Caused by: java.lang.ClassNotFoundException: com.sk89q.worldguard.bukkit.WGBukkit
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_181]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:154) ~[server.jar:git-Spigot-69774b3-a0c7bcf]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[server.jar:git-Spigot-69774b3-a0c7bcf]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_181]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_181]
        at me.SuperRonanCraft.BetterRTP.event.RTP.checkDepends(RTP.java:327) ~[?:?]
        at me.SuperRonanCraft.BetterRTP.event.RTP.randomLoc(RTP.java:199) ~[?:?]
        at me.SuperRonanCraft.BetterRTP.event.RTP.setup(RTP.java:121) ~[?:?]
        at me.SuperRonanCraft.BetterRTP.event.RTP.start(RTP.java:73) ~[?:?]
        at me.SuperRonanCraft.BetterRTP.event.Commands.tp(Commands.java:101) ~[?:?]
        at me.SuperRonanCraft.BetterRTP.event.Commands.commandExecuted(Commands.java:73) ~[?:?]
        at me.SuperRonanCraft.BetterRTP.Main.onCommand(Main.java:76) ~[?:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[server.jar:git-Spigot-69774b3-a0c7bcf]
        ... 15 more

Nether RTP bug

Plugin Version:

Version #2.8.3

Describe The Bug:

U can rtp ontop of the nether roof

How To Reproduce:

Rtp in Nether

Expected Behavior:

Not teleport ontop of the nether's roof

2.8.2 rtp player <player> not request permission

Any player can use RPT Player command without permission.
there is not a verification from command
/rtp player player
anyone can use that without permissions.
i did the test on 5 diferent servers, its a version bug.

Please Update for MC1.16.1

Please Update for MC1.16.1

Plugin Version:
0

Request:
Please Update for MC1.16.1

How/Why:
Please Update for MC1.16.1

Additional Context:
Please Update for MC1.16.1

[ProtocolLib] Loaded class me.SuperRonanCraft.BetterRTP.player.rtp.packets.WrapperPlayServerNamedSoundEffect from BetterRTP v3.1.0-3 which is not a depend, softdepend or loadbefore of this plugin.

Plugin Version:

3.1.0-3
ProtocolLib Version is 4.6.1-SNAPSHOT-b503
Describe The Bug:

Loaded class {0} from {1} which is not a depend, softdepend or loadbefore of this plugin is sent to players
[ProtocolLib] Loaded class me.SuperRonanCraft.BetterRTP.player.rtp.packets.WrapperPlayServerNamedSoundEffect from BetterRTP v3.1.0-3 which is not a depend, softdepend or loadbefore of this plugin.
appears in console
How To Reproduce:

Use /rtp with protocol lib on the server
Expected Behavior:

The messages are not shown
Screenshots/Error Log:

Additional Context:

Chunk load server crash 2.13.3

Plugin Version:
2.11.3

Describe The Bug:
Player executes /rtp, server crashes

How To Reproduce:
Execute /rtp
This happended only once on prod server and I could not reproduce this on a testing one, I would not try to use it again on prod though. Rolled back to 2.11.0.

Expected Behavior:
No crashes

Screenshots/Error Log:
https://pastebin.com/Gw1E3i0J

Additional Context:
Server does not have a pregenerated world

Missing API specification with 1.14.

Running on 1.14, there seems to be a missing API specification in the plugin.yml.

[13:22:53] [Server thread/WARN]: Plugin BetterRTP v2.8.2 does not specify an api-version.

RTP on ZNPC actions will cause exception

Plugin Version:
3.1.0-1

https://www.spigotmc.org/resources/znpcs-1-8-1-16-bungeecord-serversnpcs-open-source.80940/

Describe The Bug:
Adding ZNPC console action in format 'rpt player %player_name%' causes exception.
%player_name% is PlaceholderAPI format for current player.

How To Reproduce:
Right-click ZNPC with the action added.

Expected Behavior:
BetterRPT will teleport user as if /rtp player PLAYER was issued.

Screenshots/Error Log:
[11:31:14] [Server thread/WARN]: [ServersNPC] Task #98397 for ServersNPC v3.1 generated an exception
org.bukkit.command.CommandException: Unhandled exception executing command 'rtp' in plugin BetterRTP v3.1.0-1
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.16.5.jar:git-Paper-584]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.16.5.jar:git-Paper-584]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:810) ~[patched_1.16.5.jar:git-Paper-584]
at org.bukkit.Bukkit.dispatchCommand(Bukkit.java:776) ~[patched_1.16.5.jar:git-Paper-584]
at ak.znetwork.znpcservers.npc.enums.NPCAction.run(NPCAction.java:53) ~[?:?]
at ak.znetwork.znpcservers.user.ZNPCUser$ZNPCSocketDecoder.lambda$decode$1(ZNPCUser.java:186) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.16.5.jar:git-Paper-584]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.5.jar:git-Paper-584]
at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1413) ~[patched_1.16.5.jar:git-Paper-584]
at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:418) ~[patched_1.16.5.jar:git-Paper-584]
at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1328) ~[patched_1.16.5.jar:git-Paper-584]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1116) ~[patched_1.16.5.jar:git-Paper-584]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:289) ~[patched_1.16.5.jar:git-Paper-584]
at java.lang.Thread.run(Unknown Source) [?:?]
Caused by: java.lang.ClassCastException: class com.destroystokyo.paper.console.TerminalConsoleCommandSender cannot be cast to class org.bukkit.entity.Player (com.destroystokyo.paper.console.TerminalConsoleCommandSender and org.bukkit.entity.Player are in unnamed module of loader 'app')
at me.SuperRonanCraft.BetterRTP.references.worlds.WorldPlayer.getPlayer(WorldPlayer.java:107) ~[?:?]
at me.SuperRonanCraft.BetterRTP.references.depends.DepEconomy.hasBalance(DepEconomy.java:57) ~[?:?]
at me.SuperRonanCraft.BetterRTP.player.rtp.RTP.start(RTP.java:252) ~[?:?]
at me.SuperRonanCraft.BetterRTP.player.commands.Commands.tp(Commands.java:160) ~[?:?]
at me.SuperRonanCraft.BetterRTP.player.commands.Commands.tp(Commands.java:147) ~[?:?]
at me.SuperRonanCraft.BetterRTP.player.commands.Commands.tp(Commands.java:142) ~[?:?]
at me.SuperRonanCraft.BetterRTP.player.commands.types.CmdPlayer.execute(CmdPlayer.java:27) ~[?:?]
at me.SuperRonanCraft.BetterRTP.player.commands.Commands.commandExecuted(Commands.java:53) ~[?:?]
at me.SuperRonanCraft.BetterRTP.BetterRTP.onCommand(BetterRTP.java:57) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.16.5.jar:git-Paper-584]
... 13 more

Additional Context:

Add the ability to return players back after they RTP'd after an amount of time

Plugin Version:
Version #2.14.4

Request:
The ability to make it so that players can be returned to the place where they RTP'd from after an amount of time.

How/Why:
Why: I am running a skyblock server and I want my players to be able to pay an amount of money to be teleported somewhere random in another world in order to collect resources, kill mobs, etc before being teleported back to their island.

Increase Chunks Load Radius Before Teleporting

Plugin Version:

2.12.2
Describe The Bug:

I suggest to increase chunk load radius to at least 1 higher than the view-distance.
Because the chunk player in is not included in vanilla Minecraft Chunk loading. But it is included in the code you are currently using. You should make a small refactoring to solve this problem.
There are two ways to solve it:

  1. Make it configurable in config.yml.
  2. Increase chunk load radius by at least 1.

Thank you!

How To Reproduce:
None.

Per world cooldown

Plugin Version:
3.0.3

Request:
Add per world cooldown.

How/Why:
Servers might have multiple worlds with specific uses, for example we have main worlds and also mining worlds which are reset each month.

I'd be nice if a different cooldown could be set for each world, e.g. higher for the main worlds and lower for the mining worlds. This would encourage players to use the mining worlds to gather resources, not the main ones.

Additional Context:
This is an idea from one of our players – I'd great to have such a feature, but it's not necessary, therefore I wouldn't mind if you declined this.

Usability with command blocks

Plugin Version:
2.7.6

Request:
I'd like to ask you about ability of using /rtp command in command blocks. ( /rtp player @p ) will be nice for example. Thanks.

How/Why:
Bcause for now it's impossible to use it in command blocks.

Additional Context:
screenshot_1

Economy not working for some people

Plugin Version: 2.10.1

Describe The Bug:
Economy file not working at all for some people, while working fine for others. No money gets taken from player or anything.

How To Reproduce:
1 - Enable Economy in the economy.yml file.
2- Rtp in game.

Expected Behavior:
For it to remove the money from me and tell me how much has been removed

BetterRTP teleporting players on air

Plugin Version:
2.10.1

Issue Type:
Configuration Bug

Context:
In the Config.yml file, there is a section for Blacklisted Blocks, this is the current/active version of the file (for blacklisted blocks) on a server I work for:
BlacklistedBlocks:
- stationary_water
- stationary_lava
- water
- lava
- cactus
- leaves
- leaves_2
- air

However, people still die in End after the using /rtp due to teleporting in air and then falling into the void.

FastDesign_

I have suggestions for the Better RTP plugin. Could you please add creating such an RTP instead of. For example, consisting of a sponge than and equipment, it would be better, but the command that this crafting should only work on a given region, such as spawn or parkour

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.