Giter Site home page Giter Site logo

toberocat / improvedfactions Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 10.0 270.99 MB

Factions plugin for minecraft

License: GNU General Public License v3.0

Kotlin 95.88% Jupyter Notebook 2.97% Python 1.16%
bukkit bukkit-plugin factions factions-plugin minecraft spigot spigot-plugin

improvedfactions's Introduction

improvedfactions's People

Contributors

aidencooper avatar dependabot[bot] avatar josh65-2201 avatar sboven avatar specifix5 avatar toberocat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

improvedfactions's Issues

Change config garbage collection time to be clearer

Currently its 6000 ticks -> 20 ticks * 60 seconds * 1 minutes -> This will execute all 5 minutes. which is very confusing to me.

This is propberly more clear
default: 6000 ticks (5 minutes). 20 ticks = 1 second

economy for the factions plugin

@[Dev] Tobero Good I wanted to make you a recommendation and it would be to add economy to the plugins with the command /f disband or /f d to deposit money in the faction that will be used to claim the regions.
thanks for reading

[Suggestion] Add Multipaper support to the server core

This core was created so that several servers can rule the world, and also so that 1000+ players can come in. And the server because of this did not lag, as the core communicates with the servers and exchanges information world or plugin.

But the plugin does not support this as it updates the information only at startup (SQL or the same folder Data) and because of this faction or player information is not updated.
To avoid this you need to update the information in real time or always. To not be asynchronous, if this happens, the player does not see information about the clan if he is not on the server where the player created faction.

Please make synchronization of files so they always can be read and rewritten. As for this kernel is very important.

How the core works (Read more here https://multipaper.io/howitworks.html)
изображение_2022-07-23_162250041

Unclaiming land chat error {noLocalizationFound} no console error

Describe the bug
Unclaiming Land Error in text chat states "There went something wrong. if this happens more then two times, please reoport it to an admin. error: noLocalizationfound"

it unclaims the land regardless which is good but still annoying error

Error log from console
no console error just in chat

To Reproduce
Steps to reproduce the behavior:

  1. Go to '/f unclaim'
  2. press 'T'
  3. See error in chat

Expected behavior

it unclaims the land regardless which is good but still annoying error
no console errors

Screenshots

Version (please complete the following information):

  • Plugin: improved factions 1.5
  • Server:

Additional context

Fails to print as error in console when translation are getting fixed

When the lang file is not correct they get reset and in console it shows as INFO rather then ERROR

[22:23:58 INFO]: [ImprovedFactions] [STDOUT] fixing translations
[22:23:58 WARN]: Nag author(s): '[Tobero]' of 'ImprovedFactions' about their usage of System.out/err.print. Please use your plugin's logger instead (JavaPlugin#getLogger).

[Bug] 1.16.5 not loading the plugin

Describe the bug

trying to load 1.16.5 my server is running on java 11 and even on my computer its java 18 both out putting the same error

Error log from console
[16:28:32] [Server thread/ERROR] [Minecraft/]: Could not load 'plugins/ImprovedFactionsV1.5.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: io/github/toberocat/MainIF has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 52.0

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Screenshots

Version (please complete the following information):

  • Plugin: Improved Factions v1 pre release 5
  • Server: 1.16.5

Additional context

[Suggestion] Show partials above lava

Is your feature request related to a problem? Please describe.
Since lava isnt see through or swimable particles should show above them like a normal block

Describe the solution you'd like

Describe alternatives you've considered

Additional context

[Bug] Mass claim extention to unclaim will claim land instead

Describe the bug
When using /f mass unclaim they will get claim under my Faction instead.

Error log from console

To Reproduce
Steps to reproduce the behavior:

  1. Make a Faction (havent tested with no faction)
  2. Select an area
  3. type /f mass unclaim

Expected behavior
All chunks within the area should have no claim

Screenshots
If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

  • Version of the plugin

Additional context
Add any other context about the problem here.

/f settings some icons are broken and break the gui

Describe the bug

rename faction MOTD and set tag in /f settings all throw back errors and freeze the gui. i think its something to do with the anvil text box. happens even when i block it in settings.yml

Error log from console
java.lang.NoSuchMethodError: 'net.minecraft.world.entity.player.PlayerInventory net.minecraft.server.level.EntityPlayer.fB()'
at net.wesjd.anvilgui.version.Wrapper1_19_R1$AnvilContainer.(Wrapper1_19_R1.java:88) ~[ImprovedFactionsV1.5.jar:?]
at net.wesjd.anvilgui.version.Wrapper1_19_R1.newContainerAnvil(Wrapper1_19_R1.java:82) ~[ImprovedFactionsV1.5.jar:?]
at net.wesjd.anvilgui.AnvilGUI.openInventory(AnvilGUI.java:177) ~[ImprovedFactionsV1.5.jar:?]
at net.wesjd.anvilgui.AnvilGUI.(AnvilGUI.java:165) ~[ImprovedFactionsV1.5.jar:?]
at net.wesjd.anvilgui.AnvilGUI.(AnvilGUI.java:30) ~[ImprovedFactionsV1.5.jar:?]
at net.wesjd.anvilgui.AnvilGUI$Builder.open(AnvilGUI.java:491) ~[ImprovedFactionsV1.5.jar:?]
at io.github.toberocat.core.utility.settings.SettingActions.renameFaction(SettingActions.java:43) ~[ImprovedFactionsV1.5.jar:?]
at io.github.toberocat.core.utility.settings.type.CallbackSettings.execute(CallbackSettings.java:23) ~[ImprovedFactionsV1.5.jar:?]
at io.github.toberocat.core.utility.settings.type.Setting$3.lambda$OnClick$0(Setting.java:173) ~[ImprovedFactionsV1.5.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.2.jar:git-Paper-132]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.19.2.jar:git-Paper-132]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1493) ~[paper-1.19.2.jar:git-Paper-132]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:446) ~[paper-1.19.2.jar:git-Paper-132]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1417) ~[paper-1.19.2.jar:git-Paper-132]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1193) ~[paper-1.19.2.jar:git-Paper-132]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:305) ~[paper-1.19.2.jar:git-Paper-132]
at java.lang.Thread.run(Thread.java:833) ~[?:?]

To Reproduce
Steps to reproduce the behavior:

  1. Go to '/f settings'
  2. Click on 'RENAME, MOTD, or Set tag'
  3. See error

Expected behavior
you are now able to drag around items in gui and none of them work anymore when you click on them.

Screenshots

Version (please complete the following information):

  • Plugin: improved factions 1.5
  • Server: paper

Additional context

[Bug] Lucky blocks data pack can bypass region protections

Describe the bug

No idea if it can be fixed but im using this data pack adding lucky blocks witch can destroy blocks in safezones and other players factions

Error log from console

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Zones should be protected from the luckyblock affect like if a player were doing it

Screenshots

Version (please complete the following information):

  • Plugin: 1.5
  • Server: 1.18.2 paper 387

Additional context

[Suggestion] Change "standby mode" to say the plugin has crashed and what to do

Is your feature request related to a problem? Please describe.

Many people get confused and have no idea what standby mode is thinking it a feature.

Describe the solution you'd like

The message should be changed to somthing like "The plugin has crashed but is still protecting faction areas. You will have to restart the server to get commands and faction features back. Please report the error in the console on Github." (When "Github" is clicked opens github bug report issue)"

Describe alternatives you've considered

Additional context

Factions keeps going into standby

Every once and a while, the plugin just goes into standby and I have to restart the server.

19.07 23:30:31 [Server] INFO M0RK69 issued server command: /f inviteaccept rulers
19.07 23:30:31 [Server] java.lang.NullPointerException: Cannot invoke "java.util.ArrayList.contains(Object)" because the return value of "io.github.toberocat.core.factions.members.FactionMemberManager.getInvitations()" is null
19.07 23:30:31 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.commands.factions.InviteAcceptSubCommand.lambda$CommandExecute$0(InviteAcceptSubCommand.java:35)
19.07 23:30:31 [Server] at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
19.07 23:30:31 [Server] at java.base/java.util.HashMap$ValueSpliterator.tryAdvance(HashMap.java:1787)
19.07 23:30:31 [Server] at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
19.07 23:30:31 [Server] at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
19.07 23:30:31 [Server] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
19.07 23:30:31 [Server] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
19.07 23:30:31 [Server] at java.base/java.util.stream.FindOps$FindTask.doLeaf(FindOps.java:319)
19.07 23:30:31 [Server] at java.base/java.util.stream.AbstractShortCircuitTask.compute(AbstractShortCircuitTask.java:115)
19.07 23:30:31 [Server] at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754)
19.07 23:30:31 [Server] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
19.07 23:30:31 [Server] at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:686)
19.07 23:30:31 [Server] at java.base/java.util.stream.FindOps$FindOp.evaluateParallel(FindOps.java:160)
19.07 23:30:31 [Server] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
19.07 23:30:31 [Server] at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:647)
19.07 23:30:31 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask.find(AsyncTask.java:74)
19.07 23:30:31 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.commands.factions.InviteAcceptSubCommand.CommandExecute(InviteAcceptSubCommand.java:34)
19.07 23:30:31 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.command.SubCommand.lambda$CallSubCommand$2(SubCommand.java:171)
19.07 23:30:31 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask$1.run(AsyncTask.java:122)
19.07 23:30:31 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask.lambda$runThread$5(AsyncTask.java:269)
19.07 23:30:31 [Server] at java.base/java.lang.Thread.run(Thread.java:831)
19.07 23:30:31 [Server] ERROR §7[§e§lImprovedFactions§7] §cCannot invoke "java.util.ArrayList.contains(Object)" because the return value of "io.github.toberocat.core.factions.members.FactionMemberManager.getInvitations()" is null
19.07 23:30:31 [Server] §7[§e§lImprovedFactions§7] ImprovedFactions put it self in standby. All commands will be disabled. Only simple claim protection is working
19.07 23:30:31 [Server] INFO §7[§e§lImprovedFactions§7] Please wait while the crash gets reported to the developer. Don't restart or shutdown the server
19.07 23:30:31 [Server] INFO [dynmap] Full render of map 'flat' of 'Skytheredhead' in progress - 50800 tiles rendered (116.90 msec/tile, 126.31 msec per render)
19.07 23:30:31 [Server] §7[§e§lImprovedFactions§7] Unable to report occurred issue to github. PLease send it to the developer if you are connected to the wifi
19.07 23:30:31 [Server] java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode
19.07 23:30:31 [Server] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1782)
19.07 23:30:31 [Server] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1577)
19.07 23:30:31 [Server] at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
19.07 23:30:31 [Server] at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:308)
19.07 23:30:31 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.client.GitHubClient.sendJson(GitHubClient.java:634)
19.07 23:30:31 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.client.GitHubClient.post(GitHubClient.java:757)
19.07 23:30:31 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.service.IssueService.createIssue(IssueService.java:666)
19.07 23:30:31 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.service.IssueService.createIssue(IssueService.java:634)
19.07 23:30:31 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.gitreport.GitReport.reportIssue(GitReport.java:46)
19.07 23:30:31 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.Utility.lambda$except$0(Utility.java:182)
19.07 23:30:31 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask$3.run(AsyncTask.java:174)
19.07 23:30:31 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask.lambda$runThread$5(AsyncTask.java:269)
19.07 23:30:31 [Server] at java.base/java.lang.Thread.run(Thread.java:831)
19.07 23:30:31 [Server] INFO §7[§e§lImprovedFactions§7] Reported the issue
19.07 23:30:32 [Server] INFO woahh_andrew issued server command: /tpaccept
19.07 23:30:33 [Server] INFO [mcMMO] [config] Initializing config: itemweights.yml
19.07 23:30:33 [Server] INFO [mcMMO] [config] Loading config from disk: itemweights.yml
19.07 23:30:33 [Server] INFO [mcMMO] [config] Config initialized: itemweights.yml
19.07 23:30:33 [Server] INFO M0RK69 issued server command: /f inviteaccept rulers
19.07 23:30:33 [Server] java.lang.NullPointerException: Cannot invoke "java.util.ArrayList.contains(Object)" because the return value of "io.github.toberocat.core.factions.members.FactionMemberManager.getInvitations()" is null
19.07 23:30:33 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.commands.factions.InviteAcceptSubCommand.lambda$CommandExecute$0(InviteAcceptSubCommand.java:35)
19.07 23:30:33 [Server] at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
19.07 23:30:33 [Server] at java.base/java.util.HashMap$ValueSpliterator.tryAdvance(HashMap.java:1787)
19.07 23:30:33 [Server] at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
19.07 23:30:33 [Server] at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
19.07 23:30:33 [Server] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
19.07 23:30:33 [Server] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
19.07 23:30:33 [Server] at java.base/java.util.stream.FindOps$FindTask.doLeaf(FindOps.java:319)
19.07 23:30:33 [Server] at java.base/java.util.stream.AbstractShortCircuitTask.compute(AbstractShortCircuitTask.java:115)
19.07 23:30:33 [Server] at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754)
19.07 23:30:33 [Server] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
19.07 23:30:33 [Server] at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:686)
19.07 23:30:33 [Server] at java.base/java.util.stream.FindOps$FindOp.evaluateParallel(FindOps.java:160)
19.07 23:30:33 [Server] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
19.07 23:30:33 [Server] at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:647)
19.07 23:30:33 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask.find(AsyncTask.java:74)
19.07 23:30:33 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.commands.factions.InviteAcceptSubCommand.CommandExecute(InviteAcceptSubCommand.java:34)
19.07 23:30:33 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.command.SubCommand.lambda$CallSubCommand$2(SubCommand.java:171)
19.07 23:30:33 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask$1.run(AsyncTask.java:122)
19.07 23:30:33 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask.lambda$runThread$5(AsyncTask.java:269)
19.07 23:30:33 [Server] at java.base/java.lang.Thread.run(Thread.java:831)
19.07 23:30:33 [Server] ERROR §7[§e§lImprovedFactions§7] §cCannot invoke "java.util.ArrayList.contains(Object)" because the return value of "io.github.toberocat.core.factions.members.FactionMemberManager.getInvitations()" is null
19.07 23:30:33 [Server] INFO §7[§e§lImprovedFactions§7] Please wait while the crash gets reported to the developer. Don't restart or shutdown the server
19.07 23:30:33 [Server] §7[§e§lImprovedFactions§7] Unable to report occurred issue to github. PLease send it to the developer if you are connected to the wifi
19.07 23:30:33 [Server] java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode
19.07 23:30:33 [Server] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1782)
19.07 23:30:33 [Server] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1577)
19.07 23:30:33 [Server] at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
19.07 23:30:33 [Server] at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:308)
19.07 23:30:33 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.client.GitHubClient.sendJson(GitHubClient.java:634)
19.07 23:30:33 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.client.GitHubClient.post(GitHubClient.java:757)
19.07 23:30:33 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.service.IssueService.createIssue(IssueService.java:666)
19.07 23:30:33 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.service.IssueService.createIssue(IssueService.java:634)
19.07 23:30:33 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.gitreport.GitReport.reportIssue(GitReport.java:46)
19.07 23:30:33 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.Utility.lambda$except$0(Utility.java:182)
19.07 23:30:33 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask$3.run(AsyncTask.java:174)
19.07 23:30:33 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask.lambda$runThread$5(AsyncTask.java:269)
19.07 23:30:33 [Server] at java.base/java.lang.Thread.run(Thread.java:831)
19.07 23:30:33 [Server] INFO §7[§e§lImprovedFactions§7] Reported the issue
19.07 23:30:34 [Server] INFO M0RK69 issued server command: /f inviteaccept rulers
19.07 23:30:34 [Server] java.lang.NullPointerException: Cannot invoke "java.util.ArrayList.contains(Object)" because the return value of "io.github.toberocat.core.factions.members.FactionMemberManager.getInvitations()" is null
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.commands.factions.InviteAcceptSubCommand.lambda$CommandExecute$0(InviteAcceptSubCommand.java:35)
19.07 23:30:34 [Server] at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
19.07 23:30:34 [Server] at java.base/java.util.HashMap$ValueSpliterator.tryAdvance(HashMap.java:1787)
19.07 23:30:34 [Server] at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
19.07 23:30:34 [Server] at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
19.07 23:30:34 [Server] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
19.07 23:30:34 [Server] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
19.07 23:30:34 [Server] at java.base/java.util.stream.FindOps$FindTask.doLeaf(FindOps.java:319)
19.07 23:30:34 [Server] at java.base/java.util.stream.AbstractShortCircuitTask.compute(AbstractShortCircuitTask.java:115)
19.07 23:30:34 [Server] at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754)
19.07 23:30:34 [Server] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
19.07 23:30:34 [Server] at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:686)
19.07 23:30:34 [Server] at java.base/java.util.stream.FindOps$FindOp.evaluateParallel(FindOps.java:160)
19.07 23:30:34 [Server] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
19.07 23:30:34 [Server] at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:647)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask.find(AsyncTask.java:74)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.commands.factions.InviteAcceptSubCommand.CommandExecute(InviteAcceptSubCommand.java:34)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.command.SubCommand.lambda$CallSubCommand$2(SubCommand.java:171)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask$1.run(AsyncTask.java:122)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask.lambda$runThread$5(AsyncTask.java:269)
19.07 23:30:34 [Server] at java.base/java.lang.Thread.run(Thread.java:831)
19.07 23:30:34 [Server] ERROR §7[§e§lImprovedFactions§7] §cCannot invoke "java.util.ArrayList.contains(Object)" because the return value of "io.github.toberocat.core.factions.members.FactionMemberManager.getInvitations()" is null
19.07 23:30:34 [Server] INFO §7[§e§lImprovedFactions§7] Please wait while the crash gets reported to the developer. Don't restart or shutdown the server
19.07 23:30:34 [Server] §7[§e§lImprovedFactions§7] Unable to report occurred issue to github. PLease send it to the developer if you are connected to the wifi
19.07 23:30:34 [Server] java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode
19.07 23:30:34 [Server] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1782)
19.07 23:30:34 [Server] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1577)
19.07 23:30:34 [Server] at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
19.07 23:30:34 [Server] at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:308)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.client.GitHubClient.sendJson(GitHubClient.java:634)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.client.GitHubClient.post(GitHubClient.java:757)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.service.IssueService.createIssue(IssueService.java:666)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.service.IssueService.createIssue(IssueService.java:634)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.gitreport.GitReport.reportIssue(GitReport.java:46)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.Utility.lambda$except$0(Utility.java:182)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask$3.run(AsyncTask.java:174)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask.lambda$runThread$5(AsyncTask.java:269)
19.07 23:30:34 [Server] at java.base/java.lang.Thread.run(Thread.java:831)
19.07 23:30:34 [Server] INFO §7[§e§lImprovedFactions§7] Reported the issue
19.07 23:30:34 [Server] INFO M0RK69 issued server command: /f inviteaccept rulers
19.07 23:30:34 [Server] java.lang.NullPointerException: Cannot invoke "java.util.ArrayList.contains(Object)" because the return value of "io.github.toberocat.core.factions.members.FactionMemberManager.getInvitations()" is null
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.commands.factions.InviteAcceptSubCommand.lambda$CommandExecute$0(InviteAcceptSubCommand.java:35)
19.07 23:30:34 [Server] at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
19.07 23:30:34 [Server] at java.base/java.util.HashMap$ValueSpliterator.tryAdvance(HashMap.java:1787)
19.07 23:30:34 [Server] at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
19.07 23:30:34 [Server] at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
19.07 23:30:34 [Server] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
19.07 23:30:34 [Server] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
19.07 23:30:34 [Server] at java.base/java.util.stream.FindOps$FindTask.doLeaf(FindOps.java:319)
19.07 23:30:34 [Server] at java.base/java.util.stream.AbstractShortCircuitTask.compute(AbstractShortCircuitTask.java:115)
19.07 23:30:34 [Server] at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754)
19.07 23:30:34 [Server] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
19.07 23:30:34 [Server] at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:686)
19.07 23:30:34 [Server] at java.base/java.util.stream.FindOps$FindOp.evaluateParallel(FindOps.java:160)
19.07 23:30:34 [Server] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
19.07 23:30:34 [Server] at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:647)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask.find(AsyncTask.java:74)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.commands.factions.InviteAcceptSubCommand.CommandExecute(InviteAcceptSubCommand.java:34)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.command.SubCommand.lambda$CallSubCommand$2(SubCommand.java:171)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask$1.run(AsyncTask.java:122)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask.lambda$runThread$5(AsyncTask.java:269)
19.07 23:30:34 [Server] at java.base/java.lang.Thread.run(Thread.java:831)
19.07 23:30:34 [Server] ERROR §7[§e§lImprovedFactions§7] §cCannot invoke "java.util.ArrayList.contains(Object)" because the return value of "io.github.toberocat.core.factions.members.FactionMemberManager.getInvitations()" is null
19.07 23:30:34 [Server] INFO §7[§e§lImprovedFactions§7] Please wait while the crash gets reported to the developer. Don't restart or shutdown the server
19.07 23:30:34 [Server] §7[§e§lImprovedFactions§7] Unable to report occurred issue to github. PLease send it to the developer if you are connected to the wifi
19.07 23:30:34 [Server] java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode
19.07 23:30:34 [Server] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1782)
19.07 23:30:34 [Server] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1577)
19.07 23:30:34 [Server] at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
19.07 23:30:34 [Server] at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:308)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.client.GitHubClient.sendJson(GitHubClient.java:634)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.client.GitHubClient.post(GitHubClient.java:757)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.service.IssueService.createIssue(IssueService.java:666)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.service.IssueService.createIssue(IssueService.java:634)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.gitreport.GitReport.reportIssue(GitReport.java:46)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.Utility.lambda$except$0(Utility.java:182)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask$3.run(AsyncTask.java:174)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask.lambda$runThread$5(AsyncTask.java:269)
19.07 23:30:34 [Server] at java.base/java.lang.Thread.run(Thread.java:831)
19.07 23:30:34 [Server] INFO §7[§e§lImprovedFactions§7] Reported the issue
19.07 23:30:34 [Server] INFO M0RK69 issued server command: /f inviteaccept rulers
19.07 23:30:34 [Server] java.lang.NullPointerException
19.07 23:30:34 [Server] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
19.07 23:30:34 [Server] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:78)
19.07 23:30:34 [Server] at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
19.07 23:30:34 [Server] at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
19.07 23:30:34 [Server] at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
19.07 23:30:34 [Server] at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:564)
19.07 23:30:34 [Server] at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:591)
19.07 23:30:34 [Server] at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:689)
19.07 23:30:34 [Server] at java.base/java.util.stream.FindOps$FindOp.evaluateParallel(FindOps.java:160)
19.07 23:30:34 [Server] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
19.07 23:30:34 [Server] at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:647)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask.find(AsyncTask.java:74)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.commands.factions.InviteAcceptSubCommand.CommandExecute(InviteAcceptSubCommand.java:34)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.command.SubCommand.lambda$CallSubCommand$2(SubCommand.java:171)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask$1.run(AsyncTask.java:122)
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask.lambda$runThread$5(AsyncTask.java:269)
19.07 23:30:34 [Server] at java.base/java.lang.Thread.run(Thread.java:831)
19.07 23:30:34 [Server] Caused by: java.lang.NullPointerException: Cannot invoke "java.util.ArrayList.contains(Object)" because the return value of "io.github.toberocat.core.factions.members.FactionMemberManager.getInvitations()" is null
19.07 23:30:34 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.commands.factions.InviteAcceptSubCommand.lambda$CommandExecute$0(InviteAcceptSubCommand.java:35)
19.07 23:30:34 [Server] at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
19.07 23:30:34 [Server] at java.base/java.util.HashMap$ValueSpliterator.tryAdvance(HashMap.java:1787)
19.07 23:30:34 [Server] at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
19.07 23:30:34 [Server] at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
19.07 23:30:35 [Server] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
19.07 23:30:35 [Server] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
19.07 23:30:35 [Server] at java.base/java.util.stream.FindOps$FindTask.doLeaf(FindOps.java:319)
19.07 23:30:35 [Server] at java.base/java.util.stream.AbstractShortCircuitTask.compute(AbstractShortCircuitTask.java:115)
19.07 23:30:35 [Server] at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754)
19.07 23:30:35 [Server] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
19.07 23:30:35 [Server] at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1176)
19.07 23:30:35 [Server] at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1647)
19.07 23:30:35 [Server] at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1614)
19.07 23:30:35 [Server] at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
19.07 23:30:35 [Server] ERROR §7[§e§lImprovedFactions§7] §cnull
19.07 23:30:35 [Server] INFO §7[§e§lImprovedFactions§7] Please wait while the crash gets reported to the developer. Don't restart or shutdown the server
19.07 23:30:35 [Server] §7[§e§lImprovedFactions§7] Unable to report occurred issue to github. PLease send it to the developer if you are connected to the wifi
19.07 23:30:35 [Server] java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode
19.07 23:30:35 [Server] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1782)
19.07 23:30:35 [Server] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1577)
19.07 23:30:35 [Server] at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
19.07 23:30:35 [Server] at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:308)
19.07 23:30:35 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.client.GitHubClient.sendJson(GitHubClient.java:634)
19.07 23:30:35 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.client.GitHubClient.post(GitHubClient.java:757)
19.07 23:30:35 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.service.IssueService.createIssue(IssueService.java:666)
19.07 23:30:35 [Server] at ImprovedFactionsV1.5.jar//org.eclipse.egit.github.core.service.IssueService.createIssue(IssueService.java:634)
19.07 23:30:35 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.gitreport.GitReport.reportIssue(GitReport.java:46)
19.07 23:30:35 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.Utility.lambda$except$0(Utility.java:182)
19.07 23:30:35 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask$3.run(AsyncTask.java:174)
19.07 23:30:35 [Server] at ImprovedFactionsV1.5.jar//io.github.toberocat.core.utility.async.AsyncTask.lambda$runThread$5(AsyncTask.java:269)
19.07 23:30:35 [Server] at java.base/java.lang.Thread.run(Thread.java:831)
19.07 23:30:35 [Server] INFO §7[§e§lImprovedFactions§7] Reported the issue

To Reproduce
Steps to reproduce the behavior:

  1. Play on the server like usual
  2. Wait some time (30m-24h)
  3. You will see the error

I would expect this to not happen

Screenshots

Version (please complete the following information):

  • Plugin: ImprovedFactions V1.5
  • Server: Paper 1.19

[Bug] Partical chunk boarder extention doesn't load

Describe the bug
I get the below error when turning on the server. The worlds havent changed since i downloaded the extention.

Error log from console
unknown

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

  • Plugin: 1.5
  • Paper 1.18.1 v216

[DevReport] Command reordering suggestions

/f admin should contain zones, editGUI and translateGUI. Instead of having them in the root. this will remove the subcommand gui too. Maybe the list command too depend on if it meant to be seen by all users or admin

[Suggestion] No option to disable friendly fire for teammates.

Is your feature request related to a problem? Please describe.
when i was testing out the plugin, i noticed that there were no options to toggle friendly fire for your faction, this would mean that you could attack your teammate by mistake during a fight which would not be beneficial.

Describe the solution you'd like
A command or option in the config to toggle friendly fire for your or all factions.

Describe alternatives you've considered
none, extra steps should not be required for a team based server.

Additional context
none

[Suggestion] Upkeep feature

I would like an upkeep feature.
The daily cost would be configurable and per claim ( claim x price ).
If the upkeep isn't paid, all the clan's territories get unclaimed untill someone pays for the upkeep.
And finally some messages will popup one day, and one hour before the unclaim.

[DevReport] Have factions claimed chunk in one file

Instead of making lots of files with the chunk coordinates. Making a file name with the world and then add faction registry name in that file with the claimed chunks in would be faster to reset or see what faction has a chunk outside of the game.
Would also help save disk space as each file is like 12b at most and a disk minimize size is usually 4kb (each file is effectively this big on the disk always, wasting space)

File structure would be chunks/worldname.yml containing
factionname:
00
0-1
-1-1
factionname2:
00
0-1
-1-1

[Suggestion] Letting console run commands

Is your feature request related to a problem? Please describe.
I need console commands to change the power via a skript.

Describe the solution you'd like
I would like it to let people use console as a way of running commands.

Describe alternatives you've considered
I've considered using papi only to remember I cant change it via that.

Additional context
None.

[Suggestion] Dynamp extention - Allow hidding unclaimable chunks

Is your feature request related to a problem? Please describe.

I use the unclaim chunks for hidden area but with it showing on the map it not very usefull.

Describe the solution you'd like

Add option in the config or admin settings to hide unclaim chunks per world on the dynmap.

Describe alternatives you've considered

Additional context

[Bug] Color codes dont work in console

Describe the bug

image

Error log from console

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Paper has depracated the § in 1.18.2 server builds. RGB HEX or name colors should be used

Screenshots

Version (please complete the following information):

  • Plugin: 1.5
  • Server: 1.18.2 paper 387

Additional context

[Suggestion] Add placeholder names to the offical PlaceholderAPI wiki

Is your feature request related to a problem? Please describe.

https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#i-1 is an offical index of plugins that support the placeholder API and the availability %place_holder% the plugin has.

Describe the solution you'd like

This is the Wiki on how to add them
https://github.com/PlaceholderAPI/PlaceholderAPI/blob/wiki/README.md

Describe alternatives you've considered

Additional context

[Suggestion] /f war should have an option to require confirmation

Is your feature request related to a problem? Please describe.
When using /f war the other faction has to accept

Describe the solution you'd like
An option in the config, defaulted to true, that /f war needs a /f war accept command or something + /f war confirm or something like this would be good too

Describe alternatives you've considered
Nope, this has to get implemented before v2.0.0 releases

Additional context
image

[Suggestion] Customizability In The GUI

The Improved Factions plugin right now lay with a very good oportunity for it's developer and supporters. Many faction plugins are good for smps or medieval servers and are good at achieving that. This plugin now is decent mediocre plugin that doesn't give much but It has an excellent oportunity for it's developers. This neutrality is something we can use to make it a known and supported by many minecraft server owners in the future! I reperesent the customizablity feature! This addition will make every server owner flook to this plugin! A faction plugin that can be customized to anything you want? That would be perfect! So long are the days of going to plugin to plugin finding a decent one for your server. This plugin will give people the ability to customize it for their server! Wanna add it for your 1940 nation server? Just change the lore, title and icons like different heads and items in the GUI! Wanna add it to an medieval server? Same process! This feature will make this plugin loved and wanted by many! A free plugin like this will make the factions community strong and sky rocket your own reputation! If you see this suggestion, please keep in mind this feature! Thank you for your time!

[DevReport] `/f gui translate` doesn't work

In game it show that there was an internal error. The console shows

[17:04:37 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'f' in plugin ImprovedFactions v2.0.0-dev.4
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_18_R2.CraftServer.dispatchCommand(CraftServer.java:906) ~[paper-1.18.2.jar:git-Paper-387]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.handleCommand(ServerGamePacketListenerImpl.java:2307) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:2118) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:2099) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundChatPacket.handle(ServerboundChatPacket.java:46) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundChatPacket.a(ServerboundChatPacket.java:6) ~[?:?]
        at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:51) ~[?:?]
        at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.18.2.jar:git-Paper-387]
        at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
        at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
        at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1400) ~[paper-1.18.2.jar:git-Paper-387]
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:188) ~[paper-1.18.2.jar:git-Paper-387]
        at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
        at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1377) ~[paper-1.18.2.jar:git-Paper-387]
        at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1370) ~[paper-1.18.2.jar:git-Paper-387]
        at net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:114) ~[?:?]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1504) ~[paper-1.18.2.jar:git-Paper-387]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1226) ~[paper-1.18.2.jar:git-Paper-387]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.18.2.jar:git-Paper-387]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because "map" is null
        at io.github.toberocat.improvedFactions.core.command.sub.gui.ItemTranslatableCommand.lambda$createFromArgs$1(ItemTranslatableCommand.java:66) ~[ImprovedFactions.Spigot-2.0.0-dev.4.jar:?]
        at java.util.function.Function.lambda$andThen$1(Function.java:88) ~[?:?]
        at io.github.toberocat.improvedFactions.core.translator.Translation.getMessage(Translation.java:77) ~[ImprovedFactions.Spigot-2.0.0-dev.4.jar:?]
        at io.github.toberocat.improvedfactions.spigot.player.SpigotFactionPlayer.getMessage(SpigotFactionPlayer.java:44) ~[ImprovedFactions.Spigot-2.0.0-dev.4.jar:?]
        at io.github.toberocat.improvedfactions.spigot.player.SpigotFactionPlayer.sendTranslatable(SpigotFactionPlayer.java:124) ~[ImprovedFactions.Spigot-2.0.0-dev.4.jar:?]
        at io.github.toberocat.improvedFactions.core.command.sub.gui.ItemTranslatableCommand.createFromArgs(ItemTranslatableCommand.java:66) ~[ImprovedFactions.Spigot-2.0.0-dev.4.jar:?]
        at io.github.toberocat.improvedFactions.core.command.sub.gui.ItemTranslatableCommand.createFromArgs(ItemTranslatableCommand.java:19) ~[ImprovedFactions.Spigot-2.0.0-dev.4.jar:?]
        at io.github.toberocat.improvedfactions.spigot.command.component.SpigotCommandHandler.runCommand(SpigotCommandHandler.java:67) ~[ImprovedFactions.Spigot-2.0.0-dev.4.jar:?]
        at io.github.toberocat.improvedfactions.spigot.command.component.SpigotCommandHandler.executeCommandChain(SpigotCommandHandler.java:57) ~[ImprovedFactions.Spigot-2.0.0-dev.4.jar:?]
        at io.github.toberocat.improvedfactions.spigot.command.SpigotFactionCommand.onCommand(SpigotFactionCommand.java:32) ~[ImprovedFactions.Spigot-2.0.0-dev.4.jar:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
        ... 21 more

[DevReport] Bakeperms command doesn't work

I'm dev build 3 bake perms has this error in console when running it.

[12:26:49 WARN]: java.io.FileNotFoundException: plugins\ImprovedFactions.temp\baked-permissions.yml (The system cannot find the path specified)
[12:26:49 WARN]: at java.base/java.io.FileOutputStream.open0(Native Method)
[12:26:49 WARN]: at java.base/java.io.FileOutputStream.open(FileOutputStream.java:293)
[12:26:49 WARN]: at java.base/java.io.FileOutputStream.(FileOutputStream.java:235)
[12:26:49 WARN]: at java.base/java.io.FileOutputStream.(FileOutputStream.java:184)
[12:26:49 WARN]: at ImprovedFactions.Spigot-2.0.0-dev.3.jar//com.fasterxml.jackson.dataformat.yaml.YAMLFactory.createGenerator(YAMLFactory.java:448)
[12:26:49 WARN]: at ImprovedFactions.Spigot-2.0.0-dev.3.jar//com.fasterxml.jackson.databind.ObjectMapper.createGenerator(ObjectMapper.java:1203)
[12:26:49 WARN]: at ImprovedFactions.Spigot-2.0.0-dev.3.jar//com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:3763)
[12:26:49 WARN]: at ImprovedFactions.Spigot-2.0.0-dev.3.jar//io.github.toberocat.improvedFactions.core.utils.PermissionFileTool.bakeToFile(PermissionFileTool.java:35)
[12:26:49 WARN]: at ImprovedFactions.Spigot-2.0.0-dev.3.jar//io.github.toberocat.improvedFactions.core.command.sub.utils.BakePermissionsCommand.run(BakePermissionsCommand.java:45)
[12:26:49 WARN]: at ImprovedFactions.Spigot-2.0.0-dev.3.jar//io.github.toberocat.improvedfactions.spigot.command.component.SpigotCommandHandler.executeCommandChain(SpigotCommandHandler.java:74)
[12:26:49 WARN]: at ImprovedFactions.Spigot-2.0.0-dev.3.jar//io.github.toberocat.improvedfactions.spigot.command.SpigotFactionCommand.onCommand(SpigotFactionCommand.java:32)
[12:26:49 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[12:26:49 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
[12:26:49 WARN]: at org.bukkit.craftbukkit.v1_18_R2.CraftServer.dispatchCommand(CraftServer.java:906)
[12:26:49 WARN]: at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2307)
[12:26:49 WARN]: at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2118)
[12:26:49 WARN]: at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2099)
[12:26:49 WARN]: at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:46)
[12:26:49 WARN]: at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:6)
[12:26:49 WARN]: at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$1(PlayerConnectionUtils.java:51)
[12:26:49 WARN]: at net.minecraft.server.TickTask.run(TickTask.java:18)
[12:26:49 WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.d(IAsyncTaskHandler.java:153)
[12:26:49 WARN]: at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(IAsyncTaskHandlerReentrant.java:24)
[12:26:49 WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1400)
[12:26:49 WARN]: at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:188)
[12:26:49 WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.y(IAsyncTaskHandler.java:126)
[12:26:49 WARN]: at net.minecraft.server.MinecraftServer.be(MinecraftServer.java:1377)
[12:26:49 WARN]: at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1370)
[12:26:49 WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:136)
[12:26:49 WARN]: at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1348)
[12:26:49 WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1230)
[12:26:49 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316)
[12:26:49 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)

[Bug] Name change error

Describe the bug
When you try to change factions name, motd or tag it doesn't work

Error log from console
[ImprovedFactions] Task #432 for ImprovedFactions v1.5 generated an exception
java.lang.NoSuchMethodError: 'net.minecraft.world.entity.player.PlayerInventory net.minecraft.server.level.EntityPlayer.fB()'
at net.wesjd.anvilgui.version.Wrapper1_19_R1$AnvilContainer.(Wrapper1_19_R1.java:88) ~[ImprovedFactionsV1.5.jar:?]
at net.wesjd.anvilgui.version.Wrapper1_19_R1.newContainerAnvil(Wrapper1_19_R1.java:82) ~[ImprovedFactionsV1.5.jar:?]
at net.wesjd.anvilgui.AnvilGUI.openInventory(AnvilGUI.java:177) ~[ImprovedFactionsV1.5.jar:?]
at net.wesjd.anvilgui.AnvilGUI.(AnvilGUI.java:165) ~[ImprovedFactionsV1.5.jar:?]
at net.wesjd.anvilgui.AnvilGUI.(AnvilGUI.java:30) ~[ImprovedFactionsV1.5.jar:?]
at net.wesjd.anvilgui.AnvilGUI$Builder.open(AnvilGUI.java:491) ~[ImprovedFactionsV1.5.jar:?]
at io.github.toberocat.core.utility.settings.SettingActions.renameFaction(SettingActions.java:43) ~[ImprovedFactionsV1.5.jar:?]
at io.github.toberocat.core.utility.settings.type.CallbackSettings.execute(CallbackSettings.java:23) ~[ImprovedFactionsV1.5.jar:?]
at io.github.toberocat.core.utility.settings.type.Setting$3.lambda$OnClick$0(Setting.java:173) ~[ImprovedFactionsV1.5.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.2.jar:git-Paper-214]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.19.2.jar:git-Paper-214]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1473) ~[paper-1.19.2.jar:git-Paper-214]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:446) ~[paper-1.19.2.jar:git-Paper-214]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1397) ~[paper-1.19.2.jar:git-Paper-214]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1173) ~[paper-1.19.2.jar:git-Paper-214]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:305) ~[paper-1.19.2.jar:git-Paper-214]
at java.lang.Thread.run(Thread.java:833) ~[?:?]

To Reproduce
Steps to reproduce the behavior:

  1. Go to '/f settings'
  2. Click on 'Set MOTD'
  3. See error

Expected behavior
Change the faction motd

Version (please complete the following information):

[Bug] Permission system not working for block interactions

Describe the bug

Disabling interact permission for any rank using /f settings menu does not change anything. Players are still able to open chests and interact with doors.

Error log from console
I asked the server owner and they said there weren't any.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '/f settings'
  2. Click on 'Manage ranks'
  3. Click on 'Interact permission'
  4. Disable for any or all ranks.

Expected behavior

Chest/door interaction event should be cancelled.

Screenshots

Version (please complete the following information):

  • Plugin: 1.5
  • Server: 1.16.5

Additional context

For some reason, it suddenly started working, I guess this can be closed then.

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.