This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
Placeholders Per World #505
Unanswered
Ray-Plays-yt
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! Fistly, ye I know it's mostly an issue, but idk if I did something wrong and that's why I posted here instead in the issues section!
So...the placeholders using "worldname" option didn't work if u have worlds like for example "New_World"
Ex:
%tne_world_New_World_formatted%
%tne_world_New_World%
It crashes the scoreboard and spams the console:
As you can see in the first row, my world name is: TFC_Lobby
[18:57:19] [Server thread/INFO]: Ray_Plays [/79.xXx.xXx.XxX:63300] logged in with entity id 81 at ([TFC_Lobby]-1463.5, 99.0, 3313.5)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: java.lang.NullPointerException: Cannot invoke "net.tnemc.core.common.currency.TNECurrency.name()" because "currency" is null
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at net.tnemc.core.common.account.TNEAccount.getHoldings(TNEAccount.java:308)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at net.tnemc.core.common.api.TNEAPI.getHoldings(TNEAPI.java:308)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at net.tnemc.core.common.api.EconomyPlaceholders.onPlaceholderRequest(EconomyPlaceholders.java:109)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at me.clip.placeholderapi.PlaceholderHook.onRequest(PlaceholderHook.java:32)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:161)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:70)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:98)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at josegamerpt.realscoreboard.utils.Placeholders.placeholderAPI(Placeholders.java:220)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at josegamerpt.realscoreboard.utils.Placeholders.setPlaceHolders(Placeholders.java:215)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at josegamerpt.realscoreboard.scoreboard.ScoreboardTask.lambda$run$0(ScoreboardTask.java:49)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at josegamerpt.realscoreboard.scoreboard.ScoreboardTask.run(ScoreboardTask.java:51)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:81)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
[18:57:20] [Craft Scheduler Thread - 8/WARN]: at java.base/java.lang.Thread.run(Thread.java:831)
... and ye, I also tried to add my lobby world in the worlds.yml with and without shares, but still getting the same error in the console and the placeholders still didn't work...
Beta Was this translation helpful? Give feedback.
All reactions