Giter Site home page Giter Site logo

tryme's People

Contributors

mrcrazys avatar zrips avatar

Stargazers

 avatar

Watchers

 avatar  avatar

tryme's Issues

Wrong answer

Hello, there was a math formula in chat today with the correct answer "11". However, the player only wrote "1" and still supposedly won. Here is the log from the console and the chat screen

[13:40:16 INFO]: Question: Calculate the example: 3+4-2+2+1+3
[13:40:16 INFO]: Correct answer:
[13:40:16 INFO]: - 11

image

Incorrect output of the correct answer.

Problem:

  1. The plugin runs without errors. But when the response times out and the plugin reports what the correct response was, it displays "null" instead of the correct response.

  2. When the plugin asks a question, I answer it correctly via /answ [answer], but it tells me that I did not answer correctly, although I answer 100% correctly..
    (It seems to me that error 2 arose directly due to error 1. But that's just my guess...)

Additional Information:
Server: git-Purpur-1858 (MC: 1.19.2) lasted version.
CMILib version: 1.2.4.1
TryMe version: 7.1.0.4

Placeholders for top

I think if maybe adding placeholders for tryme top for x mode and also for overall would be a nice feature.

Error in console

[15:18:43 ERROR]: Could not pass event BlockPlaceEvent to TryMe v7.2.0.0
java.lang.ClassCastException: class me.Zrips.TryMe.Constructors.EntityAnswer cannot be cast to class me.Zrips.TryMe.Constructors.MaterialAnswer (me.Zrips.TryMe.Constructors.EntityAnswer and me.Zrips.TryMe.Constructors.MaterialAnswer are in unnamed module of loader 'TryMe7.1.2.0.jar' @5f71a394)
        at me.Zrips.TryMe.gameModes.PlaceMode.checkConsumed(PlaceMode.java:54) ~[TryMe7.1.2.0.jar:?]
        at me.Zrips.TryMe.gameModes.PModeListener.onPlayerItemConsumeEvent(PModeListener.java:33) ~[TryMe7.1.2.0.jar:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1754.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:git-Purpur-2062]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_20_R1.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:446) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at net.minecraft.world.item.ItemStack.useOn(ItemStack.java:419) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameMode.java:602) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerGamePacketListenerImpl.java:2098) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:37) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.a(ServerboundUseItemOnPacket.java:9) ~[?:?]
        at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:51) ~[?:?]
        at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.20.1.jar:git-Purpur-2062]
        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:1365) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
        at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1342) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1335) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
        at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1313) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1201) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:322) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at java.lang.Thread.run(Thread.java:840) ~[?:?]

MYSQL questions

add support to have all questions in MYSQL for multiple servers so you dont need to go to like 5 servers and upload same questions everywhere
with option of creating a file and then importing it into DB so you can add in bulk questions for all servers

Tryme reporting issue

Description of issue:
Some error here..


ERROR (DELETE IF YOU HAVE NO ERROR):

>.... [15:21:50 ERROR]: Could not pass event AsyncPlayerChatEvent to TryMe v6.2.1.2
java.lang.NullPointerException: null
at me.Zrips.TryMe.gameModes.HangManMode.correctLetter(HangManMode.java:156) ~[?:?]
at me.Zrips.TryMe.Util.ifCorrect(Util.java:191) ~[?:?]
at me.Zrips.TryMe.PlayerListener.onPlayerChatLowest(PlayerListener.java:84) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor694.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[ssspigot2734882293378146279.jar:SSSpigot-1.16.3-20200927-2ef1639]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[ssspigot2734882293378146279.jar:SSSpigot-1.16.3-20200927-2ef1639]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[ssspigot2734882293378146279.jar:SSSpigot-1.16.3-20200927-2ef1639]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:618) ~[ssspigot2734882293378146279.jar:SSSpigot-1.16.3-20200927-2ef1639]
at net.minecraft.server.v1_16_R2.PlayerConnection.chat(PlayerConnection.java:1851) ~[ssspigot2734882293378146279.jar:SSSpigot-1.16.3-20200927-2ef1639]
at net.minecraft.server.v1_16_R2.PlayerConnection.a(PlayerConnection.java:1766) ~[ssspigot2734882293378146279.jar:SSSpigot-1.16.3-20200927-2ef1639]
at net.minecraft.server.v1_16_R2.PacketPlayInChat$1.run(PacketPlayInChat.java:43) ~[ssspigot2734882293378146279.jar:SSSpigot-1.16.3-20200927-2ef1639]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_262]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_262]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]

Cmi Version (using/cmi version):
Reporting TryMe, 6.1.1.2

Server Type (Spigot/Paperspigot/etc):
SSSpigot (PaperSpigot fork)

Server Version (using /ver):
1.16.3

[TryMe] Monthly rewards

Description of issue:

Hi, for TryMe is missing GitHub and I'm not sure if you're looking into the discussion thread for bugs.

So, my problem is that something weird is happening with monthly rewards.

This is the output of log:

[12:00:00] [Server thread/INFO]: Nový zůstatek hráče briliant: 195.154,02 ⛃
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: MerlinovaNatahovaciSkrinka
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: SlizkaZabava
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: ToToLeti
[12:00:00] [Server thread/INFO]: Nový zůstatek hráče topimat: 889.122,98 ⛃
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: MerlinovaNatahovaciSkrinka
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: SlizkaZabava
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: ToToLeti
[12:00:00] [Server thread/INFO]: Nový zůstatek hráče LaKy_13_: 599.510,46 ⛃
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: MerlinovaNatahovaciSkrinka
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: SlizkaZabava
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: ToToLeti
[12:00:00] [Server thread/INFO]: Nový zůstatek hráče Matej721: 340.969,16 ⛃
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: MerlinovaNatahovaciSkrinka
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: SlizkaZabava
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: ToToLeti
[12:00:00] [Server thread/INFO]: Nový zůstatek hráče Luky__cz: 32.380,38 ⛃
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: MerlinovaNatahovaciSkrinka
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: SlizkaZabava
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: ToToLeti
[12:00:00] [Server thread/INFO]: Nový zůstatek hráče BloondSusenka: 1.002.712,33 ⛃
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: MerlinovaNatahovaciSkrinka
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: SlizkaZabava
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: ToToLeti
[12:00:00] [Server thread/INFO]: ---------- ========== TryMe ========== ----------
[12:00:00] [Server thread/INFO]: Gratulujeme nejlepším hráčům za celý měsíc!
[12:00:00] [Server thread/INFO]: První místo získal briliant! Zrips/CMI#1. place
[12:00:00] [Server thread/INFO]: Druhé místo získal topimat! Zrips/CMI#2. place
[12:00:00] [Server thread/INFO]: Třetí místo získal bailey! Zrips/CMI#3. place
[12:00:00] [Server thread/INFO]: Gratulujeme také (zbytek top 10): LaKy_13_, Afxy, Matej721, Mastereve, Luky__cz, Krokot_59, BloondSusenka,! #top 10
[12:00:00] [Server thread/INFO]: ----------------------------------------------

This seems to be OK from the first point of view. But look how many players got keys, this is weird. SO when we look into my configuration, I have there:

CONFIG SECTION (DELETE IF NOT RELEVANT):

DailyRewards:
  Monthly:
    First:
      PrivateMessages:
        - '&c&lKvíz &f» &eZodpověděl jsi &fnejvíce &ekvízových otázek za &fměsíc&e!'
        - '&c&lKvíz &f» &eTvá odměna je &f5000 ⛃ &ea &fklíč &eke truhlám: &5&lMerlinova natahovací skříňka&e, &c&lCo víc si přát&e, &3&lMiluji ten sliz&e a &f5x &e&lTo to letí&e.'
      Commands:
        - 'money give [player] 5000' 
        - 'scrates givekey MerlinovaNatahovaciSkrinka [player] 1'
        - 'scrates givekey CoVicSiPrat [player] 1'
        - 'scrates givekey MilujiTenSliz [player] 1'
        - 'scrates givekey ToToLeti [player] 5'
    Second:
      PrivateMessages:
        - '&c&lKvíz &f» &eZodpověděl jsi &fjako 2. &ekvízových otázek za &fměsíc&e!'
        - '&c&lKvíz &f» &eTvá odměna je &f3000 ⛃ &ea &fklíč &eke truhlám: &5&lMerlinova natahovací skříňka&e, &a&lSlizká zábava&e a &f4x &e&lTo to letí&e.'
      Commands:
        - 'money give [player] 3000'
        - 'scrates givekey MerlinovaNatahovaciSkrinka [player] 1'
        - 'scrates givekey SlizkaZabava [player] 1'
        - 'scrates givekey ToToLeti [player] 4'
    Third:
      PrivateMessages:
        - '&c&lKvíz &f» &eZodpověděl jsi &fjako 3. &ekvízových otázek za &fměsíc&e!'
        - '&c&lKvíz &f» &eTvá odměna je &f2000 ⛃ &ea &fklíč &eke truhlám: &5&lMerlinova natahovací skříňka&e, &8&lUž se to sype&e a &f3x &e&lTo to letí.'
      Commands:
        - 'money give [player] 2000' 
        - 'scrates givekey MerlinovaNatahovaciSkrinka [player] 1'
        - 'scrates givekey UzSeToSype [player] 1'
        - 'scrates givekey ToToLeti [player] 3'

From this, we can see, that all players - the player from the first place and also others from the top 10 got the same reward.... the second, cause they've got keys:

[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: MerlinovaNatahovaciSkrinka
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: SlizkaZabava
[12:00:00] [Server thread/INFO]: SUCCESS! Given physical key for crate: ToToLeti

which should be for the second place. So what's wrong now and how to get it to work? Is it a bug or I have misunderstood the configuration? I thought that it will give the first one the first winner the first reward, the second would get the second reward etc.... and other top 10 I didn't configure to get rewards.


TryMe Version (using/cmi version): 6.2.2.2

Server Type (Spigot/Paperspigot/etc): Purpur (but happened on Paper, Yatopia etc. too, I noticed it last months too)

Server Version (using /ver): 1.16.5

TryMe rewards bug

Hi, i'm having trouble with the rewards of TryMe, i posted this in the discord because i coundt find a github section for TryMe. But it seems like it should be posted here allong with CMI.

So the problem i have with the rewards is that my reward commands aren't working. I've tried multiple ways of setting the commands up. I do get the reward message. But not the rewards itself.

See belof for my config.
https://cdn.discordapp.com/attachments/714111148059787285/821017283035791400/unknown.png

TryMe Version 6.2.2.2:

Server Type Spigot/PaperSpigot:

Server Version 1.16.5:

New modes not giving rewards

break/eat/kill is not giving rewards. I've regenerated all the configs in case that was the issue. No go.
Also made those modes false in the config since they do not appear to be working, reloaded, and they are still coming up in chat. Double checked config they are indeed false. (edit) Took server restart to make the modes not come up)
Running TryMe Version 7.1.0.2 on 1.19.2 Paper #270 and CMILib 1.2.3.7

[TryMe] unicode characters support

Description of issue:
Hello,

Can you add UTF8 support to TryMe plugin?
The plugin don't accept the UTF8 characters like á,é,í,ö,ő,ü,ű,ó,ú and more in the Question mode, flash mode, and decode mode too. So i can't create custom answer/question for these modes.
The plugin ignore these words what use UTF8 characters.
Because of this sometimes not work the Q-mode,Flash-mode or decode-mode.

And can you add more line to locale file with \n ?
Example:
'&eTime for answer ended. Correct answer was: &6[answer]'

'&8&m------- &0[&5&lTryMe&0]&8&m -------\n &7Time for answer ended.\n &7Correct answer was: &6[answer]\n&8&m------- &0[&5&lTryMe&0]&8&m -------\n '

The UTF8 work in the locale file, just in the modes not.

Thank you!

Have a nice days!
Best regards,
Victor


TryMe Version: 6.0.4.4

Server Type (Spigot/Paperspigot/etc): Paper spigot

Server Version (using /ver): Paper version git-Paper-361 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)

[Feature Request] Item Consuming support

It would be so cool if this plugin could get a bit more modern and do a bit more than chat msgs.

For example: "Be the first to eat an enchanted golden apple"
For example: "Be the first to eat suspicious stew"
For example: "Be the first to eat raw porkchop"
and then publicly announce the winner, and run a console command as reward (so we can use like /cmi kit ..)

Bug 1.19.4

Hello, I have this error in version 1.19.4, the plugin does not work.

[15:45:00 ERROR]: Error occurred while enabling TryMe v7.1.1.2 (Is it up to date?) java.lang.RuntimeException: Unexpected: ï¿¿ at me.Zrips.TryMe.gameModes.GameModesUtil$1Parser.parseFactor(GameModesUtil.java:254) ~[TryMe7.1.1.2.jar:?] at me.Zrips.TryMe.gameModes.GameModesUtil$1Parser.parseTerm(GameModesUtil.java:217) ~[TryMe7.1.1.2.jar:?] at me.Zrips.TryMe.gameModes.GameModesUtil$1Parser.parseExpression(GameModesUtil.java:206) ~[TryMe7.1.1.2.jar:?] at me.Zrips.TryMe.gameModes.GameModesUtil$1Parser.parse(GameModesUtil.java:188) ~[TryMe7.1.1.2.jar:?] at me.Zrips.TryMe.gameModes.GameModesUtil.eval(GameModesUtil.java:268) ~[TryMe7.1.1.2.jar:?] at me.Zrips.TryMe.ConfigFile.LoadMath(ConfigFile.java:1048) ~[TryMe7.1.1.2.jar:?] at me.Zrips.TryMe.ConfigFile.reloading(ConfigFile.java:1689) ~[TryMe7.1.1.2.jar:?] at me.Zrips.TryMe.TryMe.onEnable(TryMe.java:462) ~[TryMe7.1.1.2.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:279) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:192) ~[purpur-1.19.4.jar:git-Purpur-1962] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[purpur-1.19.4.jar:git-Purpur-1962] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugin(CraftServer.java:569) ~[purpur-1.19.4.jar:git-Purpur-1962] at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugins(CraftServer.java:480) ~[purpur-1.19.4.jar:git-Purpur-1962] at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:643) ~[purpur-1.19.4.jar:git-Purpur-1962] at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:442) ~[purpur-1.19.4.jar:git-Purpur-1962] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:344) ~[purpur-1.19.4.jar:git-Purpur-1962] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1120) ~[purpur-1.19.4.jar:git-Purpur-1962] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325) ~[purpur-1.19.4.jar:git-Purpur-1962] at java.lang.Thread.run(Thread.java:1623) ~[?:?] [15:45:00 INFO]: [TryMe] Disabling TryMe v7.1.1.2 [15:45:00 ERROR]: Error occurred (in the plugin loader) while disabling TryMe v7.1.1.2 (Is it up to date?) java.lang.NullPointerException: Cannot invoke "me.Zrips.TryMe.DataBase.DataBaseDAO.closeConnections()" because the return value of "me.Zrips.TryMe.TryMe.getDao()" is null at me.Zrips.TryMe.TryMe.onDisable(TryMe.java:505) ~[TryMe7.1.1.2.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugin(PaperPluginInstanceManager.java:227) ~[purpur-1.19.4.jar:git-Purpur-1962] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.disablePlugin(PaperPluginManagerImpl.java:109) ~[purpur-1.19.4.jar:git-Purpur-1962] at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:537) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:196) ~[purpur-1.19.4.jar:git-Purpur-1962] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[purpur-1.19.4.jar:git-Purpur-1962] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugin(CraftServer.java:569) ~[purpur-1.19.4.jar:git-Purpur-1962] at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugins(CraftServer.java:480) ~[purpur-1.19.4.jar:git-Purpur-1962] at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:643) ~[purpur-1.19.4.jar:git-Purpur-1962] at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:442) ~[purpur-1.19.4.jar:git-Purpur-1962] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:344) ~[purpur-1.19.4.jar:git-Purpur-1962] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1120) ~[purpur-1.19.4.jar:git-Purpur-1962] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325) ~[purpur-1.19.4.jar:git-Purpur-1962] at java.lang.Thread.run(Thread.java:1623) ~[?:?]

Signs Section in Locale_EN.yml

My Locale_EN.yml file generates without the necessary information under the Signs heading to create toplist signs. I've tried regenerating the file, and it regenerates that way. I am up-to-date on the version (7.0.0.3 for TryMe and 1.2.0.2 for CMILib). I've looked for a reference file and asked about it in the community discord. Not sure why it is generating this way, but it's rendered top signs useless. Please advise?

[Feature Request] Mine "x" things first.

It would be so cool if this plugin could get a bit more modern and do a bit more than chat msgs.

For example: "Be the first to mine a cobblestone"
For example: "Be the first to mine deepslate lapis lazule ore"
For example: "Be the first to mine 3x smooth quartz block"
and then publicly announce the winner, and run a console command as reward (so we can use like /cmi kit ..)

/tryme reload not reloading config

Tried changing time between questions to 300 seconds rather than 60 seconds. It is still stuck at 60 seconds. Figure it needs a server restart to take effect

TryMe - Scheduler not working as intended

Hey there!

In the latest versions of TryMe, the scheduler doesn't seem to be working anymore... I specified a few trivia events to happen 2 times per day, yet they never seem to activate. I have UseScheduler in config.yml set to true, and here is my schedule.yml: https://pastebin.com/ZPmruBPJ

It seems that during the scheduled trivia times, only when I run /tryme startsc do the events happen. After the events, I must run /tryme startsc for the events to stop/run again.

TryMe version: 6.2.2.2
Paper: 1.16.5-505

Any help would be appreciated. Thanks for your time!

[Feature Request] Kill angry / friendly mob type

It would be so cool if this plugin could get a bit more modern and do a bit more than chat msgs.

For example: "Be the first to kill an angry mob: baby zombie"
For example: "Be the first to kill a friendly mob: donkey"
For example: "Be the first to kill 4 different angry mobs"
and then publicly announce the winner, and run a console command as reward (so we can use like /cmi kit ..)

[Feature Request] Workbench crafting

It would be so cool if this plugin could get a bit more modern and do a bit more than chat msgs.

For example: "Be the first to craft 64 smooth stone in a workbench"
For example: "Be the first to craft a blue nether torch"
For example: "Be the first to craft 6 prismarine stairs"
and then publicly announce the winner, and run a console command as reward (so we can use like /cmi kit ..)

Amode breaking stuff

Amode bug

Having this problem with TryMe latest version(7.1.1.2).

When the server is started, everything works. You can call out /tryme hmode,cmode,qmode and they act accordingly. However, when you call out tryme amode, things break. Firstly you can no longer call out tryme hmode,cmode qmode individually. Instead, it calls out the mode that was called with amode. And also pmode and bmode no longer register when the user places/breaks blocks. Before the amode, it works.

image

Participation toggle (visibility)

Source of request: https://discord.com/channels/452792793631555594/1054579120861876246/1162063569546907709

It would be nice if players could do /tryme toggle or something logical. To let them not get bothered by the text or actionbar msgs so they can continue their video recording or focus on their tasks.

There is a command to toggle the question and answer visibility but it would be nice to have a placeholder in placeholderapi that can tell if it is on or off.

Screen-Shot 2023-10-12 at 18 38 51

Server crash - something with MYSQL Database?

TryMe was the first plugin that thrown error, mainly this part:
TryMe7.1.1.1.jar//me.Zrips.TryMe.DataBase.DataBaseDAO.addPlayerToDB(DataBaseDAO.java:340)
[08:01:11] [Watchdog Thread/ERROR]: TryMe7.1.1.1.jar//me.Zrips.TryMe.PlayerManager.addNew(PlayerManager.java:51)
[08:01:11] [Watchdog Thread/ERROR]: TryMe7.1.1.1.jar//me.Zrips.TryMe.PlayerListener.onPlayerLoginRecordNew(PlayerListener.java:184)

[08:01:11] [Watchdog Thread/ERROR]: Current Thread: Server thread
[08:01:11] [Watchdog Thread/ERROR]: 	PID: 37 | Suspended: false | Native: true | State: RUNNABLE
[08:01:11] [Watchdog Thread/ERROR]: 	Stack:
[08:01:11] [Watchdog Thread/ERROR]: 		[email protected]/sun.nio.ch.Net.poll(Native Method)
[08:01:11] [Watchdog Thread/ERROR]: 		[email protected]/sun.nio.ch.NioSocketImpl.park(NioSocketImpl.java:181)
[08:01:11] [Watchdog Thread/ERROR]: 		[email protected]/sun.nio.ch.NioSocketImpl.park(NioSocketImpl.java:190)
[08:01:11] [Watchdog Thread/ERROR]: 		[email protected]/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:314)
[08:01:11] [Watchdog Thread/ERROR]: 		[email protected]/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
[08:01:11] [Watchdog Thread/ERROR]: 		[email protected]/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
[08:01:11] [Watchdog Thread/ERROR]: 		[email protected]/java.net.Socket$SocketInputStream.read(Socket.java:966)
[08:01:11] [Watchdog Thread/ERROR]: 		com.mysql.cj.protocol.ReadAheadInputStream.fill(ReadAheadInputStream.java:107)
[08:01:11] [Watchdog Thread/ERROR]: 		com.mysql.cj.protocol.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:150)
[08:01:11] [Watchdog Thread/ERROR]: 		com.mysql.cj.protocol.ReadAheadInputStream.read(ReadAheadInputStream.java:180)
[08:01:11] [Watchdog Thread/ERROR]: 		[email protected]/java.io.FilterInputStream.read(FilterInputStream.java:132)
[08:01:11] [Watchdog Thread/ERROR]: 		com.mysql.cj.protocol.FullReadInputStream.readFully(FullReadInputStream.java:64)
[08:01:11] [Watchdog Thread/ERROR]: 		com.mysql.cj.protocol.a.SimplePacketReader.readHeaderLocal(SimplePacketReader.java:81)
[08:01:11] [Watchdog Thread/ERROR]: 		com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:63)
[08:01:11] [Watchdog Thread/ERROR]: 		com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:45)
[08:01:11] [Watchdog Thread/ERROR]: 		com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:52)
[08:01:11] [Watchdog Thread/ERROR]: 		com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:41)
[08:01:11] [Watchdog Thread/ERROR]: 		com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:54)
[08:01:11] [Watchdog Thread/ERROR]: 		com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:44)
[08:01:11] [Watchdog Thread/ERROR]: 		com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:575)
[08:01:11] [Watchdog Thread/ERROR]: 		com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:761)
[08:01:11] [Watchdog Thread/ERROR]: 		com.mysql.cj.protocol.a.NativeProtocol.sendCommand(NativeProtocol.java:700)
[08:01:11] [Watchdog Thread/ERROR]: 		com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(NativeProtocol.java:1051)
[08:01:11] [Watchdog Thread/ERROR]: 		com.mysql.cj.NativeSession.execSQL(NativeSession.java:665)
[08:01:11] [Watchdog Thread/ERROR]: 		com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:893)
[08:01:11] [Watchdog Thread/ERROR]: 		com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
[08:01:11] [Watchdog Thread/ERROR]: 		TryMe7.1.1.1.jar//me.Zrips.TryMe.DataBase.DataBaseDAO.addPlayerToDB(DataBaseDAO.java:340)
[08:01:11] [Watchdog Thread/ERROR]: 		TryMe7.1.1.1.jar//me.Zrips.TryMe.PlayerManager.addNew(PlayerManager.java:51)
[08:01:11] [Watchdog Thread/ERROR]: 		TryMe7.1.1.1.jar//me.Zrips.TryMe.PlayerListener.onPlayerLoginRecordNew(PlayerListener.java:184)
[08:01:11] [Watchdog Thread/ERROR]: 		com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1199.execute(Unknown Source)
[08:01:11] [Watchdog Thread/ERROR]: 		org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77)
[08:01:11] [Watchdog Thread/ERROR]: 		co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76)
[08:01:11] [Watchdog Thread/ERROR]: 		org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[08:01:11] [Watchdog Thread/ERROR]: 		org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:680)
[08:01:11] [Watchdog Thread/ERROR]: 		net.minecraft.server.players.PlayerList.canPlayerLogin(PlayerList.java:728)
[08:01:11] [Watchdog Thread/ERROR]: 		net.minecraft.server.network.ServerLoginPacketListenerImpl.handleAcceptedLogin(ServerLoginPacketListenerImpl.java:160)
[08:01:11] [Watchdog Thread/ERROR]: 		net.minecraft.server.network.ServerLoginPacketListenerImpl.tick(ServerLoginPacketListenerImpl.java:85)
[08:01:11] [Watchdog Thread/ERROR]: 		net.minecraft.network.Connection.tick(Connection.java:594)
[08:01:11] [Watchdog Thread/ERROR]: 		net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:233)
[08:01:11] [Watchdog Thread/ERROR]: 		net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1594)
[08:01:11] [Watchdog Thread/ERROR]: 		net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:482)
[08:01:11] [Watchdog Thread/ERROR]: 		net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1424)
[08:01:11] [Watchdog Thread/ERROR]: 		net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1194)
[08:01:11] [Watchdog Thread/ERROR]: 		net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:321)
[08:01:11] [Watchdog Thread/ERROR]: 		net.minecraft.server.MinecraftServer$$Lambda$4471/0x000000080154f9a0.run(Unknown Source)
[08:01:11] [Watchdog Thread/ERROR]: 		[email protected]/java.lang.Thread.run(Thread.java:833)

Setting different time intervals for modes

It makes sense to have low time intervals between questions, but for modes like place/mode/kill/eat, you're going to need more time. Maybe implement different sections for modes to set times for them.

Prewards & TryMe

Description of issue:


Hi, I just wanna report that when someone get preward from CMI during trade, then it cancels TryMe trade and nice would be to add items to que or checking for containers.


Cmi Version (using/cmi version): 8.7.11.2

Server Type (Spigot/Paperspigot/etc): Paper

Server Version (using /ver): 312

Relevant plugins (Delete if this isn't needed): TryMe

Decode bug

There is a bug with the decode (maybe the other modules are affected too). When a player gives the right answer within the time the plugin tells the answer was correct. But as soon as the timer runs out it tells that the answer was never given within the right time. This doesn't always happen but occasionally it does happen.

Plugin Tryme

Data player rollback papi %tryme_user_answers% before restart server point 900 after restart 700

hangman is bugged

image
image

pretty sure that "e" universaly = win
not sure if it's my setup but it happens kinda random i feel

Quiz delay after plugin launch.

Hello! I mean, add a parameter to the file config, in ticks or seconds, so that the plugin does not start sending the quiz to the chat immediately after launching the plugin, but after the specified time in the config.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.