Giter Site home page Giter Site logo

jakesrtp's People

Contributors

4ubuntu avatar amgelo563 avatar badbird5907 avatar daniel02s avatar donvi-bz avatar gelevla avatar notrodev avatar wiiiiam278 avatar

Stargazers

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

Watchers

 avatar

jakesrtp's Issues

Exception without ChunkyBorder

Is ChunkyBorder a prerequisite for Jakes-RTP now? v.0.14.7 generates this error on Paper #402 1.17.1 but v.0.14.5 does not.

[20:28:07] [Server thread/ERROR]: Error occurred while enabling JakesRTP v0.14.7 (Is it up to date?)
java.lang.NoClassDefFoundError: org/popcraft/chunkyborder/ChunkyBorder
	at biz.donvi.jakesRTP.WorldBorderPluginHook$ChunkyBorderHook.getInstance(WorldBorderPluginHook.java:155) ~[JakesRTP-v0.14.7.jar:?]
	at biz.donvi.jakesRTP.WorldBorderPluginHook$ChunkyBorderHook.isUsable(WorldBorderPluginHook.java:144) ~[JakesRTP-v0.14.7.jar:?]
	at biz.donvi.jakesRTP.WorldBorderPluginHook.findHook(WorldBorderPluginHook.java:39) ~[JakesRTP-v0.14.7.jar:?]
	at biz.donvi.jakesRTP.WorldBorderPluginHook.<init>(WorldBorderPluginHook.java:26) ~[JakesRTP-v0.14.7.jar:?]
	at biz.donvi.jakesRTP.JakesRtpPlugin.onEnable(JakesRtpPlugin.java:68) ~[JakesRTP-v0.14.7.jar:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[patched_1.17.1.jar:git-Paper-402]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.17.1.jar:git-Paper-402]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.17.1.jar:git-Paper-402]
	at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:561) ~[patched_1.17.1.jar:git-Paper-402]
	at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:475) ~[patched_1.17.1.jar:git-Paper-402]
	at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:733) ~[patched_1.17.1.jar:git-Paper-402]
	at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:317) ~[patched_1.17.1.jar:git-Paper-402]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1220) ~[patched_1.17.1.jar:git-Paper-402]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-402]
	at java.lang.Thread.run(Thread.java:831) ~[?:?]
Caused by: java.lang.ClassNotFoundException: org.popcraft.chunkyborder.ChunkyBorder
	at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:151) ~[patched_1.17.1.jar:git-Paper-402]
	at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:103) ~[patched_1.17.1.jar:git-Paper-402]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?]
	... 15 more
[20:28:07] [Server thread/INFO]: [J-RTP] Disabling JakesRTP v0.14.7
[20:28:07] [Server thread/ERROR]: Error occurred while disabling JakesRTP v0.14.7 (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "biz.donvi.jakesRTP.LocationCacheFiller.markAsOver()" because "biz.donvi.jakesRTP.JakesRtpPlugin.locFinderRunnable" is null
	at biz.donvi.jakesRTP.JakesRtpPlugin.onDisable(JakesRtpPlugin.java:89) ~[JakesRTP-v0.14.7.jar:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266) ~[patched_1.17.1.jar:git-Paper-402]
	at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:399) ~[patched_1.17.1.jar:git-Paper-402]
	at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:537) ~[patched_1.17.1.jar:git-Paper-402]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) ~[patched_1.17.1.jar:git-Paper-402]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.17.1.jar:git-Paper-402]
	at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:561) ~[patched_1.17.1.jar:git-Paper-402]
	at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:475) ~[patched_1.17.1.jar:git-Paper-402]
	at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:733) ~[patched_1.17.1.jar:git-Paper-402]
	at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:317) ~[patched_1.17.1.jar:git-Paper-402]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1220) ~[patched_1.17.1.jar:git-Paper-402]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-402]
	at java.lang.Thread.run(Thread.java:831) ~[?:?]```
`

Broken discord invite link

Hi, sorry for filing an issue for something relatively trivial - though I wasn't sure of any other way of contacting you. Your discord link on the spigot resource thread is broken and I'm unable to join it.
Please could you generate a new invite link, perhaps also add it to the body of the readme? Feel free to delete this issue at your discretion.
Many thanks!

Bug: HEX color console error

org.bukkit.command.CommandException: Unhandled exception executing command 'jakesrtp:rtp-admin' in plugin JakesRTP v0.13.9
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.16.5.jar:git-Purpur-1059]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:172) ~[patched_1.16.5.jar:git-Purpur-1059]
        at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:810) ~[patched_1.16.5.jar:git-Purpur-1059]
        at net.minecraft.server.v1_16_R3.PlayerConnection.handleCommand(PlayerConnection.java:2298) ~[patched_1.16.5.jar:git-Purpur-1059]
        at net.minecraft.server.v1_16_R3.PlayerConnection.c(PlayerConnection.java:2113) ~[patched_1.16.5.jar:git-Purpur-1059]
        at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:2066) ~[patched_1.16.5.jar:git-Purpur-1059]
        at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:50) ~[patched_1.16.5.jar:git-Purpur-1059]
        at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:8) ~[patched_1.16.5.jar:git-Purpur-1059]
        at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:55) ~[patched_1.16.5.jar:git-Purpur-1059]
        at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[patched_1.16.5.jar:git-Purpur-1059]
        at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.5.jar:git-Purpur-1059]
        at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.5.jar:git-Purpur-1059]
        at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.5.jar:git-Purpur-1059]
        at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1325) ~[patched_1.16.5.jar:git-Purpur-1059]
        at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1318) ~[patched_1.16.5.jar:git-Purpur-1059]
        at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.16.5.jar:git-Purpur-1059]
        at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:1294) ~[patched_1.16.5.jar:git-Purpur-1059]
        at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1138) ~[patched_1.16.5.jar:git-Purpur-1059]
        at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Purpur-1059]
        at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.IndexOutOfBoundsException: No group 1
        at java.util.regex.Matcher.start(Matcher.java:483) ~[?:?]
        at java.util.regex.Matcher.appendExpandedReplacement(Matcher.java:1091) ~[?:?]
        at java.util.regex.Matcher.appendReplacement(Matcher.java:998) ~[?:?]
        at java.util.regex.Matcher.replaceAll(Matcher.java:1182) ~[?:?]
        at biz.donvi.jakesRTP.GeneralUtil.replaceNewColors(GeneralUtil.java:126) ~[?:?]
        at biz.donvi.jakesRTP.Messages.reformat(Messages.java:74) ~[?:?]
        at biz.donvi.jakesRTP.Messages.addMap(Messages.java:62) ~[?:?]
        at biz.donvi.jakesRTP.JakesRtpPlugin.loadMessageMap(JakesRtpPlugin.java:257) ~[?:?]
        at biz.donvi.jakesRTP.CmdRtpAdmin.subReloadMessages(CmdRtpAdmin.java:64) ~[?:?]
        at biz.donvi.jakesRTP.CmdRtpAdmin.onCommand(CmdRtpAdmin.java:35) ~[?:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.16.5.jar:git-Purpur-1059]
        ... 19 more

This happens when I try to use hex colors in the language-settings.yml

need-to-wait-for-cooldown: '{#00FFC8}Test {0}'

RTP does not work properly.

List of current bugs:

  1. The option "gap" doesnt work, i enable but is still teleporting me to those coords.
  2. When teleporting, it will teleport to the center very frequently instead of

Can't find class biz.donvi.jakesRTP.SafeLocationUtils_12 upon load (1.18-pre8)

Hey!
I've been getting an error upon load. I don't know if this is being caused by using 1.18-pre8 spigot or if this was present before. I'll make sure to test it later today on previous versions:

[07:19:26] [[J-RTP] Loc Cache Filler/INFO]: [J-RTP] [J-RTP] LCF Started.
[07:19:26] [[J-RTP] Loc Cache Filler/WARN]: java.lang.ClassNotFoundException: biz.donvi.jakesRTP.SafeLocationUtils_12
[07:19:26] [[J-RTP] Loc Cache Filler/WARN]:     at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:147)
[07:19:26] [[J-RTP] Loc Cache Filler/WARN]:     at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:99)
[07:19:26] [[J-RTP] Loc Cache Filler/WARN]:     at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
[07:19:26] [[J-RTP] Loc Cache Filler/WARN]:     at java.base/java.lang.Class.forName0(Native Method)
[07:19:26] [[J-RTP] Loc Cache Filler/WARN]:     at java.base/java.lang.Class.forName(Class.java:375)
[07:19:26] [[J-RTP] Loc Cache Filler/WARN]:     at biz.donvi.jakesRTP.SafeLocationUtils.<clinit>(SafeLocationUtils.java:27)
[07:19:26] [[J-RTP] Loc Cache Filler/WARN]:     at biz.donvi.jakesRTP.SafeLocationFinderOtherThread.dropToGround(SafeLocationFinderOtherThread.java:64)
[07:19:26] [[J-RTP] Loc Cache Filler/WARN]:     at biz.donvi.jakesRTP.SafeLocationFinder.moveToStart(SafeLocationFinder.java:161)
[07:19:26] [[J-RTP] Loc Cache Filler/WARN]:     at biz.donvi.jakesRTP.SafeLocationFinder.tryAndMakeSafe(SafeLocationFinder.java:79)
[07:19:26] [[J-RTP] Loc Cache Filler/WARN]:     at biz.donvi.jakesRTP.RandomTeleporter.getRtpLocation(RandomTeleporter.java:424)
[07:19:26] [[J-RTP] Loc Cache Filler/WARN]:     at biz.donvi.jakesRTP.RandomTeleporter.fillQueue(RandomTeleporter.java:480)
[07:19:26] [[J-RTP] Loc Cache Filler/WARN]:     at biz.donvi.jakesRTP.LocationCacheFiller.run(LocationCacheFiller.java:41)
[07:19:26] [[J-RTP] Loc Cache Filler/WARN]:     at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftTask.run(CraftTask.java:82)
[07:19:26] [[J-RTP] Loc Cache Filler/WARN]:     at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
[07:19:26] [[J-RTP] Loc Cache Filler/WARN]:     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[07:19:26] [[J-RTP] Loc Cache Filler/WARN]:     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[07:19:26] [[J-RTP] Loc Cache Filler/WARN]:     at java.base/java.lang.Thread.run(Thread.java:833)

Other than this, I couldn't find any bugs so far in 1.18-pre8

Deny permission "then-execute" setting in each rtpSettings file

Let us have an then-execute: if the player does not have permission in the rtpSettings file(s), so we can set custom messages when they are denied for each RTP, because I have multiple rtps that unlock in different ways, i want to explain how to unlock them.

Add a cooldown and warmup to forcertp

used for deluxemenu world rtp selection, with forcertp player can spam the hell out of it, i want to put a cooldown
(cant use the rtp command since it must be done by the player and i cant select the world and distribution with this in the deluxemenu button

org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register task while disabled (use onEnable instead of onLoad)

[20:47:42 WARN]: org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register task while disabled
[20:47:42 WARN]:        at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftScheduler.validate(CraftScheduler.java:552)
[20:47:42 WARN]:        at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftScheduler.callSyncMethod(CraftScheduler.java:265)
[20:47:42 WARN]:        at JakesRTP-v0.14.5.jar//biz.donvi.jakesRTP.SafeLocationFinderOtherThread.getChunkForLocation(SafeLocationFinderOtherThread.java:93)
[20:47:42 WARN]:        at JakesRTP-v0.14.5.jar//biz.donvi.jakesRTP.SafeLocationFinderOtherThread.dropToGround(SafeLocationFinderOtherThread.java:64)
[20:47:42 WARN]:        at JakesRTP-v0.14.5.jar//biz.donvi.jakesRTP.SafeLocationFinder.moveToStart(SafeLocationFinder.java:161)      
[20:47:42 WARN]:        at JakesRTP-v0.14.5.jar//biz.donvi.jakesRTP.SafeLocationFinder.tryAndMakeSafe(SafeLocationFinder.java:79)    
[20:47:42 WARN]:        at JakesRTP-v0.14.5.jar//biz.donvi.jakesRTP.RandomTeleporter.getRtpLocation(RandomTeleporter.java:424)       
[20:47:42 WARN]:        at JakesRTP-v0.14.5.jar//biz.donvi.jakesRTP.RandomTeleporter.fillQueue(RandomTeleporter.java:480)
[20:47:42 WARN]:        at JakesRTP-v0.14.5.jar//biz.donvi.jakesRTP.LocationCacheFiller.run(LocationCacheFiller.java:41)
[20:47:42 WARN]:        at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftTask.run(CraftTask.java:101)
[20:47:42 WARN]:        at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[20:47:42 WARN]:        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)      
[20:47:42 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[20:47:42 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[20:47:42 WARN]:        at java.base/java.lang.Thread.run(Thread.java:833)

pretty sure this is caused by the plugin using onLoad instead of onEnable on the main class.

Hello.

Is this updated for 1.19 use? If not can you update it

Suggestion: Add a warmup flag to forcertp

We use forcertp to get people to teleport to our resource world. The issue is that there isn't a way to add a cooldown on this, so players commonly use our /resource command to instantly teleport when they are being attacked, as they dont have to wait for a teleportation warmup when they get out of combat. You could add a flag like -w that can be used in the /forcertp command that makes the command respect the defined warmup time in the config.

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.