Code Monkey home page Code Monkey logo

tangledmaze's Introduction

tangledmaze's People

Contributors

codacy-badger avatar gorgeousone avatar spthiel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

tangledmaze's Issues

NumberFormatExcepton on load 1.14

Spigot 1.14 (2268)
TangledMaze 1.2.2

[09:22:12] [Server thread/INFO]: [TangledMaze] Enabling TangledMaze v1.2.2
[09:22:12] [Server thread/ERROR]: Error occurred while enabling TangledMaze v1.2.2 (Is it up to date?)
java.lang.NumberFormatException: For input string: "14-R0"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:?]
        at java.lang.Integer.parseInt(Integer.java:652) ~[?:?]
        at java.lang.Integer.valueOf(Integer.java:983) ~[?:?]
        at me.gorgeousone.tangledmaze.data.Constants.loadConstants(Constants.java:56) ~[?:?]
        at me.gorgeousone.tangledmaze.core.TangledMain.onEnable(TangledMain.java:46) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[spigot-1.14.jar-2019-05-05-0756:git-Spigot-1eece4f-84400e6]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352) [spigot-1.14.jar-2019-05-05-0756:git-Spigot-1eece4f-84400e6]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:416) [spigot-1.14.jar-2019-05-05-0756:git-Spigot-1eece4f-84400e6]
        at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:458) [spigot-1.14.jar-2019-05-05-0756:git-Spigot-1eece4f-84400e6]
        at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:372) [spigot-1.14.jar-2019-05-05-0756:git-Spigot-1eece4f-84400e6]
        at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:441) [spigot-1.14.jar-2019-05-05-0756:git-Spigot-1eece4f-84400e6]
        at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:258) [spigot-1.14.jar-2019-05-05-0756:git-Spigot-1eece4f-84400e6]
        at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:762) [spigot-1.14.jar-2019-05-05-0756:git-Spigot-1eece4f-84400e6]
        at java.lang.Thread.run(Thread.java:834) [?:?]

An internal error occurred while attempting to perform this command

Describe the bug
https://pastebin.com/GMETtvYz

To Reproduce
after selecting a and b points for maze size then exits i did the following commands as shown in the pastebin to build the maze

Expected behavior
An internal error occurred while attempting to perform this command

Screenshots
No screenshots, i provided a pastebin link of the error in the console.

Minecraft version
1.13.2 Spigot

Additional context
MightyOne, Sep 17, 2018 tangledmaze 1.0

Not working

After running all the commands it says:started building your maze, then nothing happens
I thought i will have my maze built.

NPE on player disconnect

Spigot 1.15.2
TangledMaze 1.3.5

On player disconnect:

[17:13:19] [Server thread/ERROR]: Could not pass event PlayerQuitEvent to TangledMaze v1.3.5
org.bukkit.event.EventException: null
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[spigot-1.15.2.jar-2020-02-23-0737:git-Spigot-8faa8b4-3d61a85]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.15.2.jar-2020-02-23-0737:git-Spigot-8faa8b4-3d61a85]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:541) [spigot-1.15.2.jar-2020-02-23-0737:git-Spigot-8faa8b4-3d61a85]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:528) [spigot-1.15.2.jar-2020-02-23-0737:git-Spigot-8faa8b4-3d61a85]
        at net.minecraft.server.v1_15_R1.PlayerList.disconnect(PlayerList.java:387) [spigot-1.15.2.jar-2020-02-23-0737:git-Spigot-8faa8b4-3d61a85]
        at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1371) [?:git-Spigot-8faa8b4-3d61a85]
        at com.denizenscript.denizen.nms.v1_15.impl.network.handlers.AbstractListenerPlayInImpl.a(AbstractListenerPlayInImpl.java:331) [Denizen-1.1.3-b4623.jar:?]
        at net.minecraft.server.v1_15_R1.NetworkManager.handleDisconnection(NetworkManager.java:320) [spigot-1.15.2.jar-2020-02-23-0737:git-Spigot-8faa8b4-3d61a85]
        at net.minecraft.server.v1_15_R1.ServerConnection.c(ServerConnection.java:153) [spigot-1.15.2.jar-2020-02-23-0737:git-Spigot-8faa8b4-3d61a85]
        at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1105) [spigot-1.15.2.jar-2020-02-23-0737:git-Spigot-8faa8b4-3d61a85]
        at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:406) [spigot-1.15.2.jar-2020-02-23-0737:git-Spigot-8faa8b4-3d61a85]
        at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:984) [spigot-1.15.2.jar-2020-02-23-0737:git-Spigot-8faa8b4-3d61a85]
        at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:824) [spigot-1.15.2.jar-2020-02-23-0737:git-Spigot-8faa8b4-3d61a85]
        at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.NullPointerException
        at me.gorgeousone.tangledmaze.handlers.Renderer.hideMaze(Renderer.java:159) ~[?:?]
        at me.gorgeousone.tangledmaze.handlers.MazeHandler.removeMaze(MazeHandler.java:67) ~[?:?]
        at me.gorgeousone.tangledmaze.listeners.PlayerQuitListener.onPlayerQuit(PlayerQuitListener.java:28) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[spigot-1.15.2.jar-2020-02-23-0737:git-Spigot-8faa8b4-3d61a85]
        ... 13 more

UnderGround

I'm making a maze runner world. So they're free to build/break, and it'll be big enough I cant worldguard all the walls, so I gotta make them outta bedrock. Is there anyway to make the maze extend below ground?

Ur better at this than I am, but either a command like "/maze set walldepth" to set how far below ground it goes would be nice ^_^

I've tried doing worldedit selections of the made walls, and sending the selection downwards, but that doesn't work too well

Feature request: Make permission root unique

Is your feature request related to a problem? Please describe.
Permissions conflicts are very likely to occur with current root "tm".

Describe the solution you'd like
Make permissions root "tangledmaze". In general, permissions root should reflect the name of the plugin.

Please Update to 15.2 and add a GUI

This is an Update request with a feature request

Please update to 15.2 and add a GUI

PS if it requires premium or a donation just ask. Many server owners including myself would I assume take full advantage of this.

If you want to contact me or anything please feel free. Especially as I would love to have this on my servers.

Help pages list is buggy

The help page for the unbuild command is not available.

When you run /maze help 11 or click on the 11 page in the help page list an internal error occurs and no Description for the unbuild command pops up.

Will be fixed in the next update :p

Configuration option to disable update-checks

Is your feature request related to a problem? Please describe.
We employ a custom automagical update-checker, and we block outgoing network connections by plugins. Consequently, TangledMaze's attempt to contact pastebin.com fails.

Describe the solution you'd like
Please implement a configuration option to disable update checks.

Describe alternatives you've considered
We can ignore the INFO messages, but it would be cleaner to have the option to stop them.

Cannot cut or add to clipboard

Perhaps I misunderstand the command sequence...

Describe the bug
Cannot cut or add to clipboard

To Reproduce
Steps to reproduce the behavior:

  1. Select an area and run /tm start
  2. Mark exits (or not -- doesn't matter)
  3. Run command /tm cut or /tm add
  4. See error in-game: Please finish your clipboard first (in red)

Minecraft version
Spigot 1.13.2 latest
TangledMaze 1.2

Request for ceiling and floor commands added

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is, e.g. "I'm always frustrated when ..."

Add the option to add a floor and ceiling to the commands for those with dynmap that want to hide the paths.
A clear and concise description of what you want to happen.

I have w/ed in the floor and ceiling before i found this plugin but think it would be a great addtion to add these two to the list so that you can add it it you want to
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Clicking with wand causes errors in console.

Describe the bug
/tangledmaze wand
Left click (console generates error)
Right Click (console generates error)

Initially I was also getting error about claims, because grief prevention uses the golden shovel. I changed the wand item to a golden_axe to make sure it wasn't just that and still receive the error.

Expected behavior
Area Selection for preparation of maze build.

Console Output
Could not pass event PlayerInteractEvent to TangledMaze v1.2.4
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:492) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:304) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
at net.minecraft.server.v1_13_R2.PlayerInteractManager.a(PlayerInteractManager.java:458) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1222) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:9) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_131]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_131]
at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:896) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:831) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
Caused by: java.lang.NullPointerException
at me.gorgeousone.tangledmaze.listener.ToolActionListener.onBlockClick(ToolActionListener.java:61) ~[?:?]
at sun.reflect.GeneratedMethodAccessor229.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:312) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]

Minecraft version
Spigot 1.13.2
1.13.2-R0.1-SNAPSHOT

Additional context
World Edit version 7.0.0;214af8a
World Guard Version 7.0.0;02b731f

Plugins (please dont judge me)

ServerRestart, KitPvP, Core, ChatReaction, ajParkour, OreSheep, Realistic_World, LuckPerms, WorldEdit, Spawntp, HealthBar, betterSleeping, WorldBorder, TangledMaze, ProtocolLib, InventoryRollback, AdvancedPortals, tpa, PocketGames, VoidGenerator, ArvinLib, mcMMO, Vault, GWarp, DeathTax, Herochat, LotteryPool, PerWorldInventory, HolographicDisplays, PlotSquared, WorldGuard, WorldGuardExtraFlags, Companions, TNTRun_reloaded, Jobs, ExtraContexts, Multiverse-Core, Citizens, CrazyAuctions, TAB, GriefPrevention, MiniaturePets, ChestShop, GCore, MV-ChatAlias, TheNewEconomy, Holograms, GParticles, Quests, BossShopPro, RandomTeleport, CommandNPC, Multiverse-NetherPortals, Bank, AreaShop, PlayerShops, BettingGames, CrateReloaded, CommandSigns, CrateReloadedNPC, CitizensIntergration

1.16.5 not supported ?

Describe the bug
increasing path width and length make the plugin go brrrrrr

To Reproduce
on a command /tm build

Minecraft version1.16.5 paper latest build

Additional context
[18:29:10 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'maze' in plugin TangledMaze v1.4.2 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.16.5.jar:git-Paper-439] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.16.5.jar:git-Paper-439]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:807) ~[patched_1.16.5.jar:git-Paper-439]
at net.minecraft.server.v1_16_R3.PlayerConnection.handleCommand(PlayerConnection.java:2021) ~[patched_1.16.5.jar:git-Paper-439]
at net.minecraft.server.v1_16_R3.PlayerConnection.c(PlayerConnection.java:1832) ~[patched_1.16.5.jar:git-Paper-439]
at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1785) ~[patched_1.16.5.jar:git-Paper-439]
at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[patched_1.16.5.jar:git-Paper-439]
at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.16.5.jar:git-Paper-439]
at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23) ~[patched_1.16.5.jar:git-Paper-439]
at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[patched_1.16.5.jar:git-Paper-439]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.5.jar:git-Paper-439]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.5.jar:git-Paper-439]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.5.jar:git-Paper-439]
at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1132) ~[patched_1.16.5.jar:git-Paper-439]
at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1125) ~[patched_1.16.5.jar:git-Paper-439]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.16.5.jar:git-Paper-439]
at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:1086) ~[patched_1.16.5.jar:git-Paper-439]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1000) ~[patched_1.16.5.jar:git-Paper-439]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:173) ~[patched_1.16.5.jar:git-Paper-439]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_261]
Caused by: java.lang.IllegalArgumentException: This exit does not seem to touch the maze.
at me.gorgeousone.tangledmaze.generation.pathmap.ExitSegmentFactory.getExitFacing(ExitSegmentFactory.java:35) ~[?:?]
at me.gorgeousone.tangledmaze.generation.pathmap.ExitSegmentFactory.createExitSegment(ExitSegmentFactory.java:62) ~[?:?]
at me.gorgeousone.tangledmaze.generation.terrainmap.TerrainMapFactory.populateMap(TerrainMapFactory.java:61) ~[?:?]
at me.gorgeousone.tangledmaze.generation.terrainmap.TerrainMapFactory.createTerrainMapOf(TerrainMapFactory.java:32) ~[?:?]
at me.gorgeousone.tangledmaze.handlers.BuildHandler.buildMazePart(BuildHandler.java:87) ~[?:?]
at me.gorgeousone.tangledmaze.commands.BuildMaze.onCommand(BuildMaze.java:104) ~[?:?]
at me.gorgeousone.cmdframework.command.ArgCommand.onCommand(ArgCommand.java:58) ~[?:?]
at me.gorgeousone.cmdframework.command.BasicCommand.execute(BasicCommand.java:82) ~[?:?]
at me.gorgeousone.cmdframework.command.ParentCommand.onCommand(ParentCommand.java:44) ~[?:?]
at me.gorgeousone.cmdframework.command.BasicCommand.execute(BasicCommand.java:82) ~[?:?]
at me.gorgeousone.cmdframework.handlers.CommandHandler.onCommand(CommandHandler.java:42) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.16.5.jar:git-Paper-439] ... 19 more

1.13 materials are not recognized

Describe the bug
Attempt to build with 1.13 materials -- for example, jungle_leaves -- produce error messages in-game.

To Reproduce
Steps to reproduce the behavior:

  1. Select an area
  2. Mark exits
  3. Run command '/tm build jungle_leaves'
  4. See error in-game

Minecraft version
Spigot 1.13.2 latest
TangledMaze 1.2

wand breaks blocks

When I do /maze wand I get the wand but when I left click a block it just breaks and says nothing in chat

Feature Request: Create a Startpoint, connecting with Endpoint

Hello, really nice plugin. I love it. But I'm missing a little bit. I tried to create a Maze with an Endingzone in the middle. So far so good. Creating a Maze Cut out the Middle of the Maze and then I have created 8 Endpoints. But these Endpoint are all connected with each other.

I tried to create a Team-Maze. 4 Teams, 4 Startpoint and 1 Goal. Some passages between the the walls to other teams are okay, but it's a little confusing, that each Endpoint connects with all other.

And then another Problem! I defined a Pathwidth of 5 Blocks and a Wallwidth of 1 Block. I have make a blueprint on the ground and I hoped, that all walls are on the right position. But some walls are thicker than 1 block and so the walls are moved.

Is it possible to fix this, so the walls are all in the right position? The walls should be on the red lined or in a square to it.

Screenshot_2

Feature request: Make all messages localizable

Is your feature request related to a problem? Please describe.
All messages should be localizable, to conform with server-wide design

Describe the solution you'd like
Create language file(s) to specify all messages.
Support /tm reload command (console or in-game) to reload configuration, so that changes can be tested without restarting the server.

Environment
Spigot 1.13.2
TangleMaze 1.2

Feature request: Configurable maze tool

Is your feature request related to a problem? Please describe.
Maze tool conflicts with GriefPrevention selection tool. It should be configurable in any event.

Describe the solution you'd like
Make maze tool a configurable option.

Environment
Spigot 1.13.2
TangleMaze 1.2

Exit is not recognized

Perhaps I misunderstand the command sequence...

Describe the bug
Exit is not recognized.

To Reproduce
Steps to reproduce the behavior:

  1. Select an 8x8 area
  2. Mark exits
  3. Run command '/tm build wool'
  4. Note that only one exit is produced

Minecraft version
Spigot 1.13.2 latest
TangledMaze 1.2
screen shot 2019-02-06 at 8 16 48 am
screen shot 2019-02-06 at 8 18 06 am

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.