Giter Club home page Giter Club logo

enjin-minecraft-plugin's People

Contributors

coinfork avatar devil-boy avatar favorlock avatar maximb avatar scarsz avatar tux2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

enjin-minecraft-plugin's Issues

EMP 1.14.3 Error syncing with website

Hello, after reports of new users to my website not being whitelisted and receiving their ranks I thought I better check it out. I found the following error:

[2019-07-05 09:55:26 ERROR] An error occured while syncing with Enjin services... java.lang.IllegalStateException: PermissionEntityEvent cannot be triggered asynchronously from another thread. at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) ~[spigot.jar:git-Spigot-d05d3c1-604c8bf] at ru.tehkode.permissions.bukkit.PermissionsEx.callEvent(PermissionsEx.java:393) ~[PermissionsEx-1.23.4.jar:?] at ru.tehkode.permissions.PermissionManager.callEvent(PermissionManager.java:697) ~[PermissionsEx-1.23.4.jar:?] at ru.tehkode.permissions.PermissionEntity.callEvent(PermissionEntity.java:730) ~[PermissionsEx-1.23.4.jar:?] at ru.tehkode.permissions.PermissionEntity.callEvent(PermissionEntity.java:734) ~[PermissionsEx-1.23.4.jar:?] at ru.tehkode.permissions.PermissionEntity.setParentsIdentifier(PermissionEntity.java:925) ~[PermissionsEx-1.23.4.jar:?] at ru.tehkode.permissions.PermissionUser.addGroup(PermissionUser.java:149) ~[PermissionsEx-1.23.4.jar:?] at net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.playerAddGroup(Permission_PermissionsEx.java:136) ~[Vault.jar:?] at com.enjin.bukkit.sync.BukkitInstructionHandler.addToGroup(BukkitInstructionHandler.java:54) ~[EnjinMinecraftPlugin.jar:?] at com.enjin.bukkit.sync.data.AddPlayerGroupInstruction.handle(AddPlayerGroupInstruction.java:8) ~[EnjinMinecraftPlugin.jar:?] at com.enjin.bukkit.sync.RPCPacketManager.sync(RPCPacketManager.java:134) ~[EnjinMinecraftPlugin.jar:?] at com.enjin.bukkit.sync.RPCPacketManager.run(RPCPacketManager.java:62) [EnjinMinecraftPlugin.jar:?] at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:81) [spigot.jar:git-Spigot-d05d3c1-604c8bf] at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [spigot.jar:git-Spigot-d05d3c1-604c8bf] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_66] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_66] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66]

I don't know what it means but I believe it is the cause of my issue.

Regards,
Vk

Error code 429

I am currently working on porting enjin to velocity. However, I've run into an issue when loading the plugin. I have noticed that when I run the plugin on my server machine it fails to authenticate and gives me the following error
Network exception: Server returned HTTP response code: 429 for URL: http://api.enjin.com/api/v1/minecraft.php

Now while I assume this is normal behavior, is there any way I can get in contact with someone to help speed the testing along so that I wouldn't have to wait out the timeout period?

https://github.com/STG-Allen/Enjin-Minecraft-Plugin

Enjin commands missing / broken

Prerequisites

Please answer the following questions before submitting an issue.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I didn't use /reload

Expected Behavior

@Favorlock

I have vote rewards that run Enjin commands from console when players reach a certain vote total in-game. It uses the command enjin addpoints %player% 1000. This command doesn't seem to exist anymore with EnjinMinecraftPlugin v3.6.0 with the specified changelog;

Reworked command system for Spigot.

Current Behavior

Command doesn't exist.

link

Steps to Reproduce

Please provide detailed steps for reproducing the issue if applicable.

  1. Try to run command as OP/Admin from in-game & from console
  2. Doesn't work

Context

You removed commands and never re-added them? Others seem to have reported the same thing on the Spigot forums.
https://www.spigotmc.org/threads/enjin-cms-donationcraft-plugin.116821/page-30#post-3921967
https://www.spigotmc.org/threads/enjin-cms-donationcraft-plugin.116821/page-30#post-3925502

Server Platform

  • Spigot
  • Paper
  • Sponge
  • Bungee
  • Other:

Version: Tuinity dev 393 (Paper 1.16.3)

Java

Version: Oracle JDK 14.0.2

Enjin Report

What else is broken?

[01:12:13] [Server thread/INFO]: mibby issued server command: /enjin report
[01:12:17] [Server thread/INFO]: Generating report, please wait...
[01:12:17] [Craft Scheduler Thread - 44 - EnjinMinecraftPlugin/WARN]: [EnjinMinecraftPlugin] Plugin EnjinMinecraftPlugin v3.6.0 generated an exception while executing task 11950
java.lang.NullPointerException: null
	at com.enjin.bukkit.report.ReportPublisher.addPluginVersionAndStatus(ReportPublisher.java:135) ~[?:?]
	at com.enjin.bukkit.report.ReportPublisher.addEconomyPlugin(ReportPublisher.java:118) ~[?:?]
	at com.enjin.bukkit.report.ReportPublisher.addVaultIntegrations(ReportPublisher.java:106) ~[?:?]
	at com.enjin.bukkit.report.ReportPublisher.addIntegrations(ReportPublisher.java:93) ~[?:?]
	at com.enjin.bukkit.report.ReportPublisher.run(ReportPublisher.java:68) ~[?:?]
	at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.3.jar:git-Tuinity-"102d60b"]
	at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:58) ~[patched_1.16.3.jar:git-Tuinity-"102d60b"]
	at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.3.jar:git-Tuinity-"102d60b"]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
	at java.lang.Thread.run(Thread.java:832) [?:?]

Offline Vote and placeholder

Spigot: git-Spigot-df0eb25-f2757f9 (MC: 1.14.2)
Enjin-Plugin: 3.5.6

  1. placeholder doesnt work. %enjinminecraftplugin_points%

  2. Error when voting offline.

`[10:22:41] [Server thread/ERROR]: Could not pass event VotifierEvent to EnjinMinecraftPlugin v3.5.6
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) ~[server.jar:git-Spigot-df0eb25-f2757f9]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[server.jar:git-Spigot-df0eb25-f2757f9]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:520) [server.jar:git-Spigot-df0eb25-f2757f9]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:505) [server.jar:git-Spigot-df0eb25-f2757f9]
at com.vexsoftware.votifier.net.VoteReceiver$1.run(VoteReceiver.java:182) [votifier-1.9.jar:?]
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:81) [server.jar:git-Spigot-df0eb25-f2757f9]
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:394) [server.jar:git-Spigot-df0eb25-f2757f9]
at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1008) [server.jar:git-Spigot-df0eb25-f2757f9]
at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:396) [server.jar:git-Spigot-df0eb25-f2757f9]
at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:956) [server.jar:git-Spigot-df0eb25-f2757f9]
at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:801) [server.jar:git-Spigot-df0eb25-f2757f9]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
Caused by: java.lang.NullPointerException
at com.enjin.bukkit.listeners.VotifierListener.voteRecieved(VotifierListener.java:51) ~[?:?]
at sun.reflect.GeneratedMethodAccessor911.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[server.jar:git-Spigot-df0eb25-f2757f9]
... 11 more

[10:22:42] [Server thread/ERROR]: Could not pass event VotifierEvent to EnjinMinecraftPlugin v3.5.6
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) ~[server.jar:git-Spigot-df0eb25-f2757f9]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[server.jar:git-Spigot-df0eb25-f2757f9]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:520) [server.jar:git-Spigot-df0eb25-f2757f9]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:505) [server.jar:git-Spigot-df0eb25-f2757f9]
at com.vexsoftware.votifier.net.VoteReceiver$1.run(VoteReceiver.java:182) [votifier-1.9.jar:?]
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:81) [server.jar:git-Spigot-df0eb25-f2757f9]
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:394) [server.jar:git-Spigot-df0eb25-f2757f9]
at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1008) [server.jar:git-Spigot-df0eb25-f2757f9]
at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:396) [server.jar:git-Spigot-df0eb25-f2757f9]
at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:956) [server.jar:git-Spigot-df0eb25-f2757f9]
at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:801) [server.jar:git-Spigot-df0eb25-f2757f9]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
Caused by: java.lang.NullPointerException
at com.enjin.bukkit.listeners.VotifierListener.voteRecieved(VotifierListener.java:51) ~[?:?]
at sun.reflect.GeneratedMethodAccessor911.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[server.jar:git-Spigot-df0eb25-f2757f9]
... 11 more`

Support for NukkitX

Prerequisites

Please answer the following questions before submitting an issue.

  • I checked to make sure that this issue has not already been filed

Feature Description

Please describe the feature you wish to have added.

Support for NukkitX Server Software for Minecraft Bedrock Edition Servers.

https://github.com/NukkitX/Nukkit

Lag with Votifier

I have a similar issue to this user on his Issue ticker for NuVotifier:

NuVotifier/NuVotifier#143

According to the developer, and the stacktrace, it's caused by the enjin plugin. Any way it can get addressed?

1.16.1 Spigot

Prerequisites

Please answer the following questions before submitting an issue.

  • [X ] I am running the latest version
  • [X ] I checked the documentation and found no answer
  • [X ] I checked to make sure that this issue has not already been filed
  • [ X] I didn't use /reload

Expected Behavior

Cant type /enjin in game or console doesnt respond
Manually entered Enjin key to config and buying from website works
Just the commands dont work at all!

Current Behavior

Nothing happends no errors in console.

Failure Information

https://pastebin.com/xSxnv6bn

Steps to Reproduce

Please provide detailed steps for reproducing the issue if applicable.

  1. Type in command
  2. Doesn't work

Context

Please provide any relevant information about your setup.
This is important in case the issue is not reproducible except under certain circumstances.

Server Platform

  • Spigot 1.16.1
  • Paper 1.16.1
  • Sponge
  • Bungee
  • Other: tuinity-paperclip 1.16.1

Version:

Java 8

Version:

Enjin Report

Nothing works cant get the report from command

CommandBank error on startup

Prerequisites

Please answer the following questions before submitting an issue.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I didn't use /reload

Expected Behavior

I expected no errors.

Current Behavior

The plugin still works as I thought it would, but maybe I just can't see what is broken.

Failure Information

16.11 09:04:02 [Server] ERROR [com.enjin.bukkit.EnjinMinecraftPlugin] Exception Caught:

Steps to Reproduce

Please provide detailed steps for reproducing the issue if applicable.

  1. Download the plugin
  2. Run the server

Context

Please provide any relevant information about your setup.
This is important in case the issue is not reproducible except under certain circumstances.

Server Platform

  • Spigot
  • Paper
  • Sponge
  • Bungee
  • Other:

Version:

Java

Version: git-Paper-135, MC 1.14.4

Enjin Report

enjinreport_2019-11-16_10.03.56.zip

ConcurrentModificationException: null

Java 12
Paper dev 175 (Spigot 1.14.4)
EnjinMinecraftPlugin v3.5.10

@Favorlock Came across this error in my console.

[20:58:23] [Craft Scheduler Thread - 214/WARN]: [EnjinMinecraftPlugin] Plugin EnjinMinecraftPlugin v3.5.10 generated an exception while executing task 241
java.util.ConcurrentModificationException: null
	at com.enjin.shaded.gson.internal.LinkedTreeMap$LinkedTreeMapIterator.nextNode(LinkedTreeMap.java:541) ~[?:?]
	at com.enjin.shaded.gson.internal.LinkedTreeMap$EntrySet$1.next(LinkedTreeMap.java:565) ~[?:?]
	at com.enjin.shaded.gson.internal.LinkedTreeMap$EntrySet$1.next(LinkedTreeMap.java:563) ~[?:?]
	at com.enjin.shaded.gson.internal.bind.MapTypeAdapterFactory$Adapter.write(MapTypeAdapterFactory.java:206) ~[?:?]
	at com.enjin.shaded.gson.internal.bind.MapTypeAdapterFactory$Adapter.write(MapTypeAdapterFactory.java:145) ~[?:?]
	at com.enjin.shaded.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68) ~[?:?]
	at com.enjin.shaded.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:99) ~[?:?]
	at com.enjin.shaded.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:219) ~[?:?]
	at com.enjin.shaded.gson.Gson.toJson(Gson.java:600) ~[?:?]
	at com.enjin.shaded.gson.Gson.toJson(Gson.java:579) ~[?:?]
	at com.enjin.shaded.gson.Gson.toJson(Gson.java:534) ~[?:?]
	at com.enjin.shaded.gson.Gson.toJson(Gson.java:514) ~[?:?]
	at com.enjin.core.config.JsonConfig.save(JsonConfig.java:54) ~[?:?]
	at com.enjin.bukkit.EnjinMinecraftPlugin.saveRankUpdatesConfiguration(EnjinMinecraftPlugin.java:328) ~[?:?]
	at com.enjin.bukkit.tasks.ConfigSaver.run(ConfigSaver.java:14) ~[?:?]
	at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.14.4.jar:git-Paper-175]
	at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.14.4.jar:git-Paper-175]
	at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.14.4.jar:git-Paper-175]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:835) [?:?]

NPE

Prerequisites

Please answer the following questions before submitting an issue.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I didn't use /reload

Expected Behavior

Please describe the behavior you are expecting.

Current Behavior

What is the current behavior

Failure Information

To assist the developers in resolving the issue please provide any additional information.
Please use pastebin.com or file attachment for stack-traces and logs.

Steps to Reproduce

Please provide detailed steps for reproducing the issue if applicable.

Using a command on my server.
https://hasteb.in/yikogiza.md

Context

Please provide any relevant information about your setup.
This is important in case the issue is not reproducible except under certain circumstances.

Server Platform

  • Spigot
  • Paper
  • Sponge
  • Bungee
  • Other:

Version:

Java

Version:

Enjin Report

Enjin report not sending anything
Please generate an Enjin report with the command /enjin report and attach it to the issue.

Console error spam

First, I apologize for the unintelligible issue title, as I can't manage to understand how the issue is produced.

Prior to installing EMP v3.5.6 on a PaperSpigot 1.14.2 server, the following error appears in console on fixed intervals (an updating scheduler I assume.)

> [10:29:25 WARN]: [EnjinMinecraftPlugin] Task #586229 for EnjinMinecraftPlugin v3.5.6 generated an exception java.lang.ClassCastException: org.bukkit.material.MaterialData cannot be cast to org.bukkit.material.Sign at com.enjin.bukkit.modules.impl.SignStatsModule.updateHead(SignStatsModule.java:242) ~[?:?] at com.enjin.bukkit.modules.impl.SignStatsModule$3.run(SignStatsModule.java:212) ~[?:?] at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[paper1142.jar:git-Paper-81] at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:452) ~[paper1142.jar:git-Paper-81] at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1129) ~[paper1142.jar:git-Paper-81] at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:418) ~[paper1142.jar:git-Paper-81] at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1061) ~[paper1142.jar:git-Paper-81] at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:905) ~[paper1142.jar:git-Paper-81] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]

Remove the console spam

Prerequisites

Please answer the following questions before submitting an issue.

  • I am running the latest version
  • I checked to make sure that this issue has not already been filed

Feature Description

I want all the stuff in the console to be removed when it's syncing with Enjin Services.

Vote rewards and Donation Rewards are sending duplicate commands upon server restart.

Every time the server restarts and a player logs in, the command for them to receive a reward that they received last is run again. The following error is thrown in console when it happens:

java.sql.SQLException: Values not bound to statement
at org.sqlite.core.CorePreparedStatement.checkParameters(CorePreparedStatement.java:71)
at org.sqlite.jdbc3.JDBC3PreparedStatement.executeUpdate(JDBC3PreparedStatement.java:100)
at com.enjin.bukkit.storage.Database.addGroups(Database.java:189)
at com.enjin.bukkit.listeners.ConnectionListener.lambda$updatePlayerRanks1$0(ConnectionListener.java:99)
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:84)
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Additionally, this is also periodically thrown:
java.lang.NullPointerException: null
at com.enjin.shaded.json.reader.JsonWriter$7.writeJSONString(JsonWriter.java:136) ~[?:?]
at com.enjin.shaded.json.reader.JsonWriter$7.writeJSONString(JsonWriter.java:118) ~[?:?]
at com.enjin.shaded.json.JSONValue.writeJSONString(JSONValue.java:527) ~[?:?]
at com.enjin.shaded.json.reader.JsonWriter.writeJSONKV(JsonWriter.java:432) ~[?:?]
at com.enjin.shaded.json.reader.JsonWriter$7.writeJSONString(JsonWriter.java:136) ~[?:?]
at com.enjin.shaded.json.reader.JsonWriter$7.writeJSONString(JsonWriter.java:118) ~[?:?]
at com.enjin.shaded.json.JSONValue.writeJSONString(JSONValue.java:527) ~[?:?]
at com.enjin.shaded.json.reader.JsonWriter.writeJSONKV(JsonWriter.java:432) ~[?:?]
at com.enjin.shaded.json.reader.JsonWriter$7.writeJSONString(JsonWriter.java:136) ~[?:?]
at com.enjin.shaded.json.reader.JsonWriter$7.writeJSONString(JsonWriter.java:118) ~[?:?]
at com.enjin.shaded.json.JSONValue.writeJSONString(JSONValue.java:527) ~[?:?]
at com.enjin.shaded.json.reader.JsonWriter.writeJSONKV(JsonWriter.java:432) ~[?:?]
at com.enjin.shaded.json.reader.JsonWriter$7.writeJSONString(JsonWriter.java:136) ~[?:?]
at com.enjin.shaded.json.reader.JsonWriter$7.writeJSONString(JsonWriter.java:118) ~[?:?]
at com.enjin.shaded.json.JSONObject.writeJSON(JSONObject.java:127) ~[?:?]
at com.enjin.shaded.json.JSONObject.toJSONString(JSONObject.java:74) ~[?:?]
at com.enjin.shaded.json.JSONObject.toString(JSONObject.java:215) ~[?:?]
at com.enjin.shaded.jsonrpc2.JSONRPC2Message.toString(JSONRPC2Message.java:253) ~[?:?]
at com.enjin.shaded.jsonrpc2.client.JSONRPC2Session.send(JSONRPC2Session.java:599) ~[?:?]
at com.enjin.rpc.mappings.services.PluginService.sync(PluginService.java:103) ~[?:?]
at com.enjin.bukkit.sync.RPCPacketManager.sync(RPCPacketManager.java:115) ~[?:?]
at com.enjin.bukkit.sync.RPCPacketManager.run(RPCPacketManager.java:61) ~[?:?]
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.14.4.jar:git-Paper-192]
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.14.4.jar:git-Paper-192]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.14.4.jar:git-Paper-192]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]

Server is on paper-192 (MC:1.14.4)
Plugin version: 3.5.11

Performance issues on player login and quit

It appears to me that the plugin sometimes causes performance issues for servers with large numbers of players on player joins and quits, as a result of this call (which is fired every PlayerLoginEvent and every PlayerQuitEvent):

https://github.com/enjin/Enjin-Minecraft-Plugin/blob/master/bukkit/src/main/java/com/enjin/bukkit/EnjinMinecraftPlugin.java#L308

Event listeners calling this:
https://github.com/enjin/Enjin-Minecraft-Plugin/blob/master/bukkit/src/main/java/com/enjin/bukkit/listeners/ConnectionListener.java#L32
and
https://github.com/enjin/Enjin-Minecraft-Plugin/blob/master/bukkit/src/main/java/com/enjin/bukkit/listeners/ConnectionListener.java#L73

Which writes the ranks configuration synchronously:
https://github.com/enjin/Enjin-Minecraft-Plugin/blob/master/core/src/main/java/com/enjin/core/config/JsonConfig.java#L43

Possible fixes I can think of would include switching this to async, and/or switching ranks configuration file writes to be on a timer rather than every time a player joins or quits (reducing the frequency of the calls for servers with high player traffic).

Update EMP compatibility to 1.14

Changes to the event system in Spigot 1.14 have resulted in EMP not functioning correctly. Need to investigate further and make appropriate changes to add compatibility for 1.14.

Currently getting an error about syncing with Enjin services not working.

[11:48:39 ERROR]: [com.enjin.bukkit.EnjinMinecraftPlugin] An error occured while syncing with Enjin services... java.lang.NullPointerException: null [11:49:39 ERROR]: [com.enjin.bukkit.EnjinMinecraftPlugin] An error occured while syncing with Enjin services... java.lang.NullPointerException: null

This only started after the latest update released on Spigot.

Massive Delay after Purchase

Players purchase from the store and the payment goes through fine but the commands are not executed.

image

The player has been online for 15 minutes and has also tried relogging and waiting another 5 minutes. Enjin just refuses to view the player. The username of the player is simple and correct.

When removing the player login requirement, it just says this:
image

LuckPerms

I've just set up luckPerms and can not seem to get it to Sync correctly.

I'm getting this error log.

[23:32:07] [Craft Scheduler Thread - 4/ERROR]: An error occured while syncing with Enjin services... java.lang.IllegalStateException: Asynchronous command dispatch! at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:14) ~[spigot.jar:git-Spigot-9de398a-9c887d4] at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchCommand(CraftServer.java:708) ~[spigot.jar:git-Spigot-9de398a-9c887d4] at org.bukkit.Bukkit.dispatchCommand(Bukkit.java:627) ~[spigot.jar:git-Spigot-9de398a-9c887d4] at com.enjin.bukkit.EnjinMinecraftPlugin.dispatchConsoleCommand(EnjinMinecraftPlugin.java:426) ~[EnjinMinecraftPlugin.jar:?] at com.enjin.bukkit.sync.BukkitInstructionHandler.addToWhitelist(BukkitInstructionHandler.java:25) ~[EnjinMinecraftPlugin.jar:?] at com.enjin.bukkit.sync.data.AddWhitelistPlayerInstruction.handle(AddWhitelistPlayerInstruction.java:7) ~[EnjinMinecraftPlugin.jar:?] at com.enjin.bukkit.sync.RPCPacketManager.sync(RPCPacketManager.java:151) ~[EnjinMinecraftPlugin.jar:?] at com.enjin.bukkit.sync.RPCPacketManager.run(RPCPacketManager.java:62) [EnjinMinecraftPlugin.jar:?] at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:81) [spigot.jar:git-Spigot-9de398a-9c887d4] at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [spigot.jar:git-Spigot-9de398a-9c887d4] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_221] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_221] at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]

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.