GithubHelp home page GithubHelp logo

ericyoondotcom / autoteamchat Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 25 KB

Super simple Minecraft Bukkit plugin to automatically send team chat messages.

License: GNU General Public License v3.0

Java 100.00%

autoteamchat's People

Contributors

ericyoondotcom avatar

Watchers

 avatar  avatar

autoteamchat's Issues

[BUG] Doing /chat results in error

Hi,

Thanks again for creating the plugin this quickly :) We have found a bug however. When someone does /chat, it gives this error: [16:16:54 ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'chat' in plugin AutoTeamChat v1.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.16.1.jar:git-Purpur-710] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:172) ~[patched_1.16.1.jar:git-Purpur-710] at org.bukkit.craftbukkit.v1_16_R1.CraftServer.dispatchCommand(CraftServer.java:794) ~[patched_1.16.1.jar:git-Purpur-710] at net.minecraft.server.v1_16_R1.PlayerConnection.handleCommand(PlayerConnection.java:1976) ~[patched_1.16.1.jar:git-Purpur-710] at net.minecraft.server.v1_16_R1.PlayerConnection.a(PlayerConnection.java:1779) ~[patched_1.16.1.jar:git-Purpur-710] at net.minecraft.server.v1_16_R1.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[patched_1.16.1.jar:git-Purpur-710] at net.minecraft.server.v1_16_R1.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.16.1.jar:git-Purpur-710] at net.minecraft.server.v1_16_R1.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:43) ~[patched_1.16.1.jar:git-Purpur-710] at net.minecraft.server.v1_16_R1.TickTask.run(SourceFile:18) ~[patched_1.16.1.jar:git-Purpur-710] at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.1.jar:git-Purpur-710] at net.minecraft.server.v1_16_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.1.jar:git-Purpur-710] at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.1.jar:git-Purpur-710] at net.minecraft.server.v1_16_R1.MinecraftServer.aZ(MinecraftServer.java:1205) ~[patched_1.16.1.jar:git-Purpur-710] at net.minecraft.server.v1_16_R1.MinecraftServer.executeNext(MinecraftServer.java:1198) ~[patched_1.16.1.jar:git-Purpur-710] at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.16.1.jar:git-Purpur-710] at net.minecraft.server.v1_16_R1.MinecraftServer.sleepForTick(MinecraftServer.java:1174) ~[patched_1.16.1.jar:git-Purpur-710] at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:1018) ~[patched_1.16.1.jar:git-Purpur-710] at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:178) ~[patched_1.16.1.jar:git-Purpur-710] at java.lang.Thread.run(Thread.java:834) [?:?] Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0 at com.yoonicode.autoteamchat.PluginCommands.onCommand(PluginCommands.java:56) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.16.1.jar:git-Purpur-710] ... 18 more [16:17:04 INFO]: larssieboy18 issued server command: /chat all [16:17:06 INFO]: larssieboy18 issued server command: /chat team

It would be great if /chat would toggle between global and team chat, instead of resulting in this error :D

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.