Spigot FreedyMinigameMaker2 1.5.3

Create arcade games with a script system.

  1. 1. How this will be replaced?
    2. Ok if you think that is necessary...
     
    • Like Like x 1
  2. /fut <player> if a == b fut {player} do ...
    /fut <player> if a /= b fut {player} do ...
     
  3. What update since it was broken?
     
  4. Yes.. fmg loc was broken.
     
  5. Anyway it's good starting activity for 2021 )
     
    • Like Like x 1
  6. Oh thanks for everything for improving this plugin’s functions im glad to you :))) anyway thanks for support
     
  7. - fut {player} executeConCmd minecraft:execute in newworld run fill ~1 ~1 ~1 ~-1 ~-1 ~-1 barrier

    [19:56:16] [Server thread/ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'fut' in plugin FreedyMinigameMaker vBuild 35
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:758) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.PlayerConnection.handleCommand(PlayerConnection.java:1788) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.PlayerConnection.c(PlayerConnection.java:1631) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1584) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(SourceFile:144) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(SourceFile:118) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:941) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:934) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(SourceFile:127) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:918) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:850) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_191]
    Caused by: org.bukkit.command.CommandException: Unhandled exception executing 'minecraft:execute in newworld run fill -123 32 188 -99 32 212 barrier' in org.bukkit.craftbukkit.v1_16_R3.command.VanillaCommandWrapper(execute)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:156) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:758) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at freedy.freedyminigamemaker.commands.MinigameUtilities.onCommand(MinigameUtilities.java:1020) ~[?:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    ... 19 more
    Caused by: java.lang.NullPointerException
    at org.bukkit.craftbukkit.v1_16_R3.command.VanillaCommandWrapper.getListener(VanillaCommandWrapper.java:80) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at org.bukkit.craftbukkit.v1_16_R3.command.VanillaCommandWrapper.execute(VanillaCommandWrapper.java:44) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:758) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    at freedy.freedyminigamemaker.commands.MinigameUtilities.onCommand(MinigameUtilities.java:1020) ~[?:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
    ... 19 more
     
  8. fut {player} execute say hello <- for vanilla command
    executeConCmd -> execute
     
  9. - fut {player} executeConCmd run fill ~1 ~1 ~1 ~-1 ~-1 ~-1 barrier
    "Sorry, I couldn't find player: Console"
     
    #92 Dixizer, May 18, 2021
    Last edited: May 18, 2021
  10. oh yeah server vanilla commands such as fill need to execute by player or command block.
    so i have solution.

    Code (YAML):
       THE_WORLD: world
        MC_CMD
    : minecraft:fill 0 0 0 5 5 5 minecraft:tnt
        firstCmd
    :
       - fut {allPlayer} do second
        secondCmd
    :
       - fut {player} if {data(IS_EXECUTED)} /= true fut {player} if {world} == {constant(THE_WORLD)} {do(fut {player} setData IS_EXECUTED true && fut {player} execute {constant(MC_CMD)})}
     
     
  11. Using constants changes nothing, same as world check:
    "That position is not loaded" - lol, i need to be in correct world BUT command executed in basic world...

    for example - just "/execute in newworld run fill 0 0 0 5 5 5 tnt" itself works from console,
    also i won't use executeCmd for reason with permissions.
     
  12. Hey.. sorry i didn't replied..
    forgive me.........
    uhhh! i haave amazing plugin project....
    it's FreedyMinigameMaker2. (second generation)
    It isn't command chain system. and can be used space character in if condition or anything.
    Code (Text):
    on method
        print Hello World!
    This plugin is under the developing.
    So! Any problem will be fixed at once.

    ahhh thank you for using FreedyMinigameMaker.
    and hope you like FreedyMinigameMaker2.
     
    • Winner Winner x 1
  13. Huh, that's so unexpected but good luck.
     
    • Funny Funny x 1
  14. While reading wiki - i've worried it's like script that works with skript api support or... uh
     
  15. Nuhhhh~! This plugin is made by me! yeah this is very similar phrase skript!
     
  16. i can make addons for connection between fmg and skript variables