Coder Social home page Coder Social logo

marriage's People

Contributors

altruiis avatar lenis0012 avatar lucko avatar peacefulfarms avatar theflagcourier avatar xxcoolgamesxx avatar yive avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

marriage's Issues

marry pvp...

Please re-add to documentation.

Also, I feel this toggle should bypass worldguard restriction, or require another sort of flag to disable between couples if possible. I have to "enable pvp" on a server level, but disable it on a world level in order to have a PVP world. The worldguard restriction not being bypassed by this toggle defeats its purpose entirely. Under the conditions where enabling pvp between partners worked... PVP would also necessarily need to be allowed for the entire world, and so it would have no effect. Not only that, if my players go to the PVP world now... where PVP is enabled... the toggle command has no effect between couples. Their intention being to team and be able to battle the other team but not hurt each other... fails as they are allowed to pvp each other per the world setting even though they have toggled pvp off between each other in /marry.

Worldguard region flags in question: "pvp: deny" and "pvp: allow". Anyway let me know if such a thing could be possible, thanks!

On Marry's PVP problem

Hello, lenis0012. the /Marry PVP command, the player has no permission to use it marry.pvp

Marry command

Currently on my server they spam with

/ marry nick
/ marry divorce
and so on, adding a cooldown to your own plugin would be great, so you don't have to use an extra plugin

Ty

SSL error in console

Hello, lately I am often getting SSL errors in the console when a player logs in or out. The marriage plugin is mentioned there, so I think the problem is related to it. It is a pity that I myself cannot disable the SSL option in the config.

Server core: paper-1.12.2
Marriage-2.0.19
Error: https://pastebin.com/YFSczvFs

Player was not in cache

Please help me solve this problem.
[Marriage] Player Metphrip was not in cache, and will be loaded on the main thread.
Many functions do not work with this problem, such as teleport, online check, etc.
I use this plugin on "Nukkit"
Thank you very much in advance

Making config to add custom genders

i have your plugin on my server and love it, but i have run into one problem where as there are 2 gender classes !!!
Male and female obviously, is there any way that you could edit it so that in the config we could add more / our own custom genders as a lot of my players see themselves as no binary and or other.

This to me would make it a little more fun as i can add in some silly genders too.

Editing "help"

Add the edit of the 1st and last line of help to the messages.yml file, and it is better to completely change the help command for yourself. And also add support for HEX colors.

Example.
image

1.13 PlotSquared error on startup

Tried new version (2.0.19) as suggested, still get startup error:

[10:38:18] [Server thread/ERROR]: [Marriage] Failed to load listeners
java.lang.reflect.InvocationTargetException: null
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_191]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_191]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_191]
	at com.lenis0012.bukkit.marriage2.internal.MarriagePlugin.executeMethods(MarriagePlugin.java:90) ~[?:?]
	at com.lenis0012.bukkit.marriage2.internal.MarriagePlugin.enable(MarriagePlugin.java:64) ~[?:?]
	at com.lenis0012.bukkit.marriage2.libs.pluginutils.PluginHolder.onEnable(PluginHolder.java:27) ~[?:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:265) ~[patched_1.13.2.jar:git-Paper-624]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:334) ~[patched_1.13.2.jar:git-Paper-624]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:412) ~[patched_1.13.2.jar:git-Paper-624]
	at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugin(CraftServer.java:443) ~[patched_1.13.2.jar:git-Paper-624]
	at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugins(CraftServer.java:357) ~[patched_1.13.2.jar:git-Paper-624]
	at net.minecraft.server.v1_13_R2.MinecraftServer.l(MinecraftServer.java:608) ~[patched_1.13.2.jar:git-Paper-624]
	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:570) ~[patched_1.13.2.jar:git-Paper-624]
	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:431) ~[patched_1.13.2.jar:git-Paper-624]
	at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:316) ~[patched_1.13.2.jar:git-Paper-624]
	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:787) ~[patched_1.13.2.jar:git-Paper-624]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
Caused by: java.lang.NoClassDefFoundError: com/intellectualcrafters/plot/PS
	at com.lenis0012.bukkit.marriage2.listeners.PlotSquaredListener.<init>(PlotSquaredListener.java:18) ~[?:?]
	at com.lenis0012.bukkit.marriage2.internal.MarriageCore.registerListeners(MarriageCore.java:92) ~[?:?]
	... 18 more
Caused by: java.lang.ClassNotFoundException: com.intellectualcrafters.plot.PS
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[?:1.8.0_191]
	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:140) ~[patched_1.13.2.jar:git-Paper-624]
	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[patched_1.13.2.jar:git-Paper-624]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_191]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_191]
	at com.lenis0012.bukkit.marriage2.listeners.PlotSquaredListener.<init>(PlotSquaredListener.java:18) ~[?:?]
	at com.lenis0012.bukkit.marriage2.internal.MarriageCore.registerListeners(MarriageCore.java:92) ~[?:?]
	... 18 more

Suggestion.

Hi! Please add /marry kiss command as an alternative for crouch and click.
And very needed translatable /marry list

Marriage DB

Whenever you put ?useSSL=false& behind the DB name it wont be able to find it..

Hope u can come with a fix

Changing messages in the messages.yml

After changing the messages in the messages.yml-File i got errors, when trying to use the most /marry commands. I changed the config from UTF-8 without BOM to UTF-8 to use german characters like ä, ö and ü.

15.08 16:14:03 [Server] INFO ... 15 more
15.08 16:14:03 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.12.jar:git-Spigot-7228328-50b75cd]
15.08 16:14:03 [Server] INFO at com.lenis0012.bukkit.marriage2.internal.MarriageCommandExecutor.onCommand(MarriageCommandExecutor.java:37) ~[?:?]
15.08 16:14:03 [Server] INFO at com.lenis0012.bukkit.marriage2.commands.CommandMarry.execute(CommandMarry.java:34) ~[?:?]
15.08 16:14:03 [Server] INFO at com.lenis0012.bukkit.marriage2.commands.Command.getArgAsPlayer(Command.java:55) ~[?:?]
15.08 16:14:03 [Server] INFO at com.lenis0012.bukkit.marriage2.commands.Command.getArg(Command.java:47) ~[?:?]
15.08 16:14:03 [Server] INFO Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
15.08 16:14:03 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
15.08 16:14:03 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot-1.12.jar:git-Spigot-7228328-50b75cd]
15.08 16:14:03 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot-1.12.jar:git-Spigot-7228328-50b75cd]
15.08 16:14:03 [Server] INFO at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405) [spigot-1.12.jar:git-Spigot-7228328-50b75cd]
15.08 16:14:03 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:747) [spigot-1.12.jar:git-Spigot-7228328-50b75cd]
15.08 16:14:03 [Server] INFO at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.jar:git-Spigot-7228328-50b75cd]
15.08 16:14:03 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_111]
15.08 16:14:03 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_111]
15.08 16:14:03 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.jar:git-Spigot-7228328-50b75cd]
15.08 16:14:03 [Server] INFO at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.12.jar:git-Spigot-7228328-50b75cd]
15.08 16:14:03 [Server] INFO at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.12.jar:git-Spigot-7228328-50b75cd]
15.08 16:14:03 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1220) [spigot-1.12.jar:git-Spigot-7228328-50b75cd]
15.08 16:14:03 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1385) [spigot-1.12.jar:git-Spigot-7228328-50b75cd]
15.08 16:14:03 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:644) ~[spigot-1.12.jar:git-Spigot-7228328-50b75cd]
15.08 16:14:03 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.12.jar:git-Spigot-7228328-50b75cd]
15.08 16:14:03 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.12.jar:git-Spigot-7228328-50b75cd]
15.08 16:14:03 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'marry' in plugin Marriage v2.0.17
15.08 16:14:03 [Server] ERROR null
15.08 16:14:03 [Server] INFO Sir_CLASH issued server command: /marry Test

1.12 Incompatibility

Whenever doing a command in 1.12 you get an error like the one linked below. I know there's a fork with a fix for the incompatibility but was wondering if it was possible to have a fill 1.12-compatible release? :-)

https://pastebin.com/sqcbD4L6

[Request] /marry help

Hello.

I just wanted to ask you to add an option so we can edit /marry help

I don't want certain things to show up on this list. Can't find a way to do it.

For example, I don't want players to choose gender or send gift, but in /marry help that will be displayed anyway.

Thanks and have a nice day/night! :)

Update to 1.13 Spigot

I'm not asking for a full conversion/full massive update with new features, however I would like to see a compatibility update sometime soon :) I do not like other 1.13 marriage plugins and I enjoy this one, so if you could make a simple compatibility update, it would be much appreciated!

EDIT: #35 is an issue

Also when trying to kiss your partner by shift right clicking them results in an error:
[03/19/2019 05:13:13 pm] [ERROR]: Could not pass event PlayerInteractEntityEvent to Marriage v2.0.18 [03/19/2019 05:13:13 pm]: org.bukkit.event.EventException: null ...... [03/19/2019 05:13:13 pm]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_181] [03/19/2019 05:13:13 pm]: at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_181] ...... [03/19/2019 05:13:13 pm]: Caused by: java.lang.IllegalArgumentException: Can not set float field net.minecraft.server.v1_13_R2.PacketPlayOutWorldParticles.a to null value

I pulled out the relevant information regarding this. Thank you <3

'Suggestions'

Can you add tp delay option and tp cancel while if player moved in the /marry tp and /marry home

Name Changing Tomorrow (ASAP) + error building

Feel free to close this issue, but just saying tomorrow (Feb 4) will allow name changing so will f*k up current Marriage Plugin. ;) Have a build server where I can download it?

Cannot Build it myself due to missing dep projects:
[ERROR] Failed to execute goal on project Marriage: Could not resolve dependencies for project me.lenis0012.mr:Marriage:jar:1.2.6: Failed to collect dependencies for [org.bukkit:craftbukkit:jar:1.7.10-R0.1-SNAPSHOT (compile), net.milkbowl.vault:Vault:jar:1.4.1 (provided?), com.dthielke:Herochat:jar:5.6.7-SNAPSHOT (system), com.google.guava:guava:jar:17.0 (compile), junit:junit:jar:3.8.1 (test)]: Failed to read artifact descriptor for org.bukkit:craftbukkit:jar:1.7.10-R0.1-SNAPSHOT: Could not transfer artifact org.bukkit:craftbukkit:pom:1.7.10-R0.1-SNAPSHOT from/to vault-repo (http://ci.herocraftonline.com/plugin/repository/everything/): ci.herocraftonline.com: Unknown host ci.herocraftonline.com -> [Help 1]

1.13 startup error

[17:18:00] [Server thread/INFO]: [Marriage] Loading dependencies...
[17:18:00] [Server thread/INFO]: [Marriage] Loading commands...
[17:18:00] [Server thread/INFO]: [Marriage] Loading database...
[17:18:00] [Server thread/INFO]: [Marriage] Loading listeners...
[17:18:00] [Server thread/WARN]: java.lang.NullPointerException
[17:18:00] [Server thread/WARN]: at com.lenis0012.bukkit.marriage2.libs.pluginutils.misc.Reflection.getMethod(Reflection.java:82)
[17:18:00] [Server thread/WARN]: at com.lenis0012.bukkit.marriage2.libs.pluginutils.misc.Reflection.getNMSMethod(Reflection.java:92)
[17:18:00] [Server thread/WARN]: at com.lenis0012.bukkit.marriage2.listeners.KissListener.(KissListener.java:23)
[17:18:00] [Server thread/WARN]: at com.lenis0012.bukkit.marriage2.internal.MarriageCore.registerListeners(MarriageCore.java:87)
[17:18:00] [Server thread/WARN]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[17:18:00] [Server thread/WARN]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[17:18:00] [Server thread/WARN]: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[17:18:00] [Server thread/WARN]: at java.base/java.lang.reflect.Method.invoke(Unknown Source)
[17:18:00] [Server thread/WARN]: at com.lenis0012.bukkit.marriage2.internal.MarriagePlugin.executeMethods(MarriagePlugin.java:90)
[17:18:00] [Server thread/WARN]: at com.lenis0012.bukkit.marriage2.internal.MarriagePlugin.enable(MarriagePlugin.java:64)
[17:18:00] [Server thread/WARN]: at com.lenis0012.bukkit.marriage2.libs.pluginutils.PluginHolder.onEnable(PluginHolder.java:27)
[17:18:00] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
[17:18:00] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:339)
[17:18:00] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403)
[17:18:00] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugin(CraftServer.java:431)
[17:18:00] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugins(CraftServer.java:345)
[17:18:00] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.l(MinecraftServer.java:584)
[17:18:00] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:546)
[17:18:00] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:424)
[17:18:00] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:294)
[17:18:00] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:702)
[17:18:00] [Server thread/WARN]: at java.base/java.lang.Thread.run(Unknown Source)
[17:18:00] [Server thread/INFO]: [Marriage] Hooking with PlotSquared v18.10.13-b6d4872-2048
[17:18:00] [Server thread/INFO]: [Marriage] Loading updater...
[17:18:00] [Server thread/INFO]: [Marriage] Loading converter...
[17:18:00] [Server thread/INFO]: [Marriage] Completed plugin load stage.

[17:22:47] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-f6a273b-cd6252a (MC: 1.13.1) (Implementing API version 1.13.1-R0.1-SNAPSHOT)�[m
[17:22:47] [Server thread/INFO]: Checking version, please wait...�[m
[17:22:47] [Thread-27/INFO]: You are running the latest version�[m
using Marriage-Spigot-2.0.18.jar (jenkins build for 1.13?)
-- | --

or link here: https://pastebin.com/fdcD39Zi

gender placeholder don't work

i'm trying to use %marriage_gender_chat_prefix% placeholderapi but he don't work and %marriage_gender% just return ''unknown''

Fix marry seen

the /marry seen command
shows invalid data when the player is offline

Add a %marriage_is_married_chat_prefix% placeholder.

I've been unable to tell if someone is married via in-game chat due to how my chat management plugin works.
Adding a placeholder for the marriage status chat prefix would save people who use plugins like Chatcontrol that wipe the prefix.

Gender update is not real-time

Version: 2.3.0
Server: Latest Paper (paper-1.19.3-442)

I set my gender to from one to another.
And I issued /marry list I discovered my gender isn't updated. It didn't update real-time in the database too.

No error or warning in the log, it just didn't update real-time.

Force marriage

Players can force people to marry them with /marry < user1> < user2>

CraftBukkit error

[23:19:14 WARN]: Unexpected exception while parsing console command "marry" org.bukkit.command.CommandException: Unhandled exception executing command 'marry' in plugin Marriage v2.0.15 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-570526c-c1b529e] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot.jar:git-Spigot-570526c-c1b529e] at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:647) ~[spigot.jar:git-Spigot-570526c-c1b529e] at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchServerCommand(CraftServer.java:633) [spigot.jar:git-Spigot-570526c-c1b529e] at net.minecraft.server.v1_10_R1.DedicatedServer.aL(DedicatedServer.java:438) [spigot.jar:git-Spigot-570526c-c1b529e] at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:401) [spigot.jar:git-Spigot-570526c-c1b529e] at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668) [spigot.jar:git-Spigot-570526c-c1b529e] at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567) [spigot.jar:git-Spigot-570526c-c1b529e] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111] Caused by: java.lang.NullPointerException at com.lenis0012.bukkit.marriage2.commands.CommandHelp.execute(CommandHelp.java:49) ~[?:?] at com.lenis0012.bukkit.marriage2.internal.MarriageCommandExecutor.onCommand(MarriageCommandExecutor.java:37) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-570526c-c1b529e] ... 8 more

/marry xp -- togglable experience share

I'm not sure if this plugin is even active anymore but it would really help out my players if they could toggle the Marriage XP Share message that keeps saying "you received x XP from your partner" since it's very spammy for my Skyblock server that has XP grinders. Players are unable to read their normal chat because they're receiving the message every second.

Unable to clear gender once set

Looking for a way to clear/reset player genders once they set it initially. I saw a genderless option in the config, but I'm not too sure if that works with /marry gender or not.

Failed to count marriages

Server: Paper 1.19.3
System: CentOS

[02:14:14 WARN]: [Marriage] Failed to count marriages
java.sql.SQLException: Before start of result set
        at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129) ~[mysql-connector-java-8.0.29.jar:8.0.29]
        at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) ~[mysql-connector-java-8.0.29.jar:8.0.29]
        at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89) ~[mysql-connector-java-8.0.29.jar:8.0.29]
        at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63) ~[mysql-connector-java-8.0.29.jar:8.0.29]
        at com.mysql.cj.jdbc.result.ResultSetImpl.checkRowPos(ResultSetImpl.java:532) ~[mysql-connector-java-8.0.29.jar:8.0.29]
        at com.mysql.cj.jdbc.result.ResultSetImpl.getObject(ResultSetImpl.java:1322) ~[mysql-connector-java-8.0.29.jar:8.0.29]
        at com.mysql.cj.jdbc.result.ResultSetImpl.getInt(ResultSetImpl.java:830) ~[mysql-connector-java-8.0.29.jar:8.0.29]
        at com.lenis0012.bukkit.marriage2.internal.data.DataManager.countMarriages(DataManager.java:393) ~[Marriage.jar:?]
        at com.lenis0012.bukkit.marriage2.internal.MarriageCore.lambda$loadMetrics$0(MarriageCore.java:74) ~[Marriage.jar:?]
        at com.lenis0012.bukkit.marriage2.libs.bstats.charts.SingleLineChart.getChartData(SingleLineChart.java:24) ~[Marriage.jar:?]
        at com.lenis0012.bukkit.marriage2.libs.bstats.charts.CustomChart.getRequestJsonObject(CustomChart.java:22) ~[Marriage.jar:?]
        at com.lenis0012.bukkit.marriage2.libs.bstats.MetricsBase.lambda$submitData$2(MetricsBase.java:146) ~[Marriage.jar:?]
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
        at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1707) ~[?:?]
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575) ~[?:?]
        at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) ~[?:?]
        at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616) ~[?:?]
        at com.lenis0012.bukkit.marriage2.libs.bstats.MetricsBase.submitData(MetricsBase.java:148) ~[Marriage.jar:?]
        at org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.3.jar:git-Paper-384]
        at org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.19.3.jar:git-Paper-384]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1473) ~[paper-1.19.3.jar:git-Paper-384]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:440) ~[paper-1.19.3.jar:git-Paper-384]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1397) ~[paper-1.19.3.jar:git-Paper-384]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1173) ~[paper-1.19.3.jar:git-Paper-384]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.19.3.jar:git-Paper-384]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]

Toggle command for incoming marriage request.

Can we please get a command that player's can utilize to stop all incoming /marry request?

It'd be per player. I just don't want player's being forced to deal with players consistently sending a proposal.

Improve performance

Performance could be improved by loading the player's partner data upon login.
Caching this will ensure that when partner data is requested, it does not need to be performed on an async thread, which currently is not always done. see PlayerListener.

This optimization could prove to be a major performance boost in specific scenarios, not that it's currently very laggy.

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.