Bukkit TeamSpeakJoiner 4.0 RECODED

Join the TS3 server with a command!

  1. iAmGio submitted a new resource:

    TeamSpeakJoiner - Go to the TS3 server in a command!

    Read more about this resource...
  2. Very Good!
    Good Job Gio!
    • Like Like x 1
  3. Thanks!
  4. I'm having the weirdest problem. When I put the plugin on my test server, which is identical to my main server, just hosted on my computer, it works flawlessly. When I upload it to the main server, it doesn't seem to work. It just says opening and does nothing. This is what it puts in the logs.

    [13:41:25] [Server thread/INFO]: Cono_Man issued server command: /ts
    [13:41:25] [Server thread/WARN]: java.awt.HeadlessException:
    No X11 DISPLAY variable was set, but this program performed an operation which requires it.
    [13:41:25] [Server thread/WARN]: at java.awt.Desktop.getDesktop(Desktop.java:142)
    [13:41:25] [Server thread/WARN]: at eu.iamgio.TeamSpeakJoiner.Joiner.openURL(Joiner.java:67)
    [13:41:25] [Server thread/WARN]: at eu.iamgio.TeamSpeakJoiner.Joiner.onCommand(Joiner.java:50)
    [13:41:25] [Server thread/WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    [13:41:25] [Server thread/WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
    [13:41:25] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641)
    [13:41:25] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162)
    [13:41:25] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997)
    [13:41:25] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45)
    [13:41:25] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1)
    [13:41:25] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)
    [13:41:25] [Server thread/WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    [13:41:25] [Server thread/WARN]: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    [13:41:25] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)
    [13:41:25] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715)
    [13:41:25] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
    [13:41:25] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
    [13:41:25] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
    [13:41:25] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:745)
  5. What OS and Java version have you got? Have you got DirectX?

    I think you have Linux in your main server, so you can read this.
    #5 iAmGio, Jun 2, 2016
    Last edited: Jun 2, 2016
  6. My test server uses windows 10 and java 8. For the main server, its hosted on MCProHosting. I have no clue what OS its using or if it has DirectX, but it uses Java 8. Ill contact them and ask
    #6 Cono_Man, Jun 2, 2016
    Last edited: Jun 2, 2016
  7. That sounds cool to
  8. This just can work on a localserver right? How should this work on a root server?
  9. You have to set your TS3 server from the config.
  10. I think he means the Minecraft Server not the Teamspeak³ Server.
  11. Ok so looks like they aren't wanting to give out info about their software.

    Is there anything I could try or any possible fix?
  12. Oh, I have tested the plugin in a localhost server, I have no idea what might happen in a root server, it's only in beta. Sorry
  13. Im on my Minecraft Server located on a root. How should your plugin access a clients Desktop and start Teamspeak? That's not possible. (It even would be bad! Imagin you could launch .exe from a players PC, that would be fatal!)
    So I just would like to say that your only able to use this plugin on a local Minecraft Server!

    Maybe you should note that its localhost only. The idea stays good though :)
  14. [20:42:19 WARN]: org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: eu/iamgio/TeamSpeakJoiner/TSJ : Unsupported major.minor version 52.0
    [20:42:19 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135)
    [20:42:19 WARN]: at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329)
    [20:42:19 WARN]: at com.rylinaux.plugman.util.PluginUtil.load(PluginUtil.java:353)
    [20:42:19 WARN]: at com.rylinaux.plugman.command.LoadCommand.execute(LoadCommand.java:114)
    [20:42:19 WARN]: at com.rylinaux.plugman.PlugManCommandHandler.onCommand(PlugManCommandHandler.java:95)
    [20:42:19 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    [20:42:19 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
    [20:42:19 WARN]: at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641)
    [20:42:19 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162)
    [20:42:19 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997)
    [20:42:19 WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45)
    [20:42:19 WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1)
    [20:42:19 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)
    [20:42:19 WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    [20:42:19 WARN]: at java.util.concurrent.FutureTask.run(Unknown Source)
    [20:42:19 WARN]: at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)
    [20:42:19 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715)
    [20:42:19 WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
    [20:42:19 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
    [20:42:19 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
    [20:42:19 WARN]: at java.lang.Thread.run(Unknown Source)
    [20:42:19 WARN]: Caused by: java.lang.UnsupportedClassVersionError: eu/iamgio/TeamSpeakJoiner/TSJ : Unsupported major.minor version 52.0
    [20:42:19 WARN]: at java.lang.ClassLoader.defineClass1(Native Method)
    [20:42:19 WARN]: at java.lang.ClassLoader.defineClass(Unknown Source)
    [20:42:19 WARN]: at java.security.SecureClassLoader.defineClass(Unknown Source)
    [20:42:19 WARN]: at java.net.URLClassLoader.defineClass(Unknown Source)
    [20:42:19 WARN]: at java.net.URLClassLoader.access$100(Unknown Source)
    [20:42:19 WARN]: at java.net.URLClassLoader$1.run(Unknown Source)
    [20:42:19 WARN]: at java.net.URLClassLoader$1.run(Unknown Source)
    [20:42:19 WARN]: at java.security.AccessController.doPrivileged(Native Method)
    [20:42:19 WARN]: at java.net.URLClassLoader.findClass(Unknown Source)
    [20:42:19 WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101)
    [20:42:19 WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86)
    [20:42:19 WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
    [20:42:19 WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
    [20:42:19 WARN]: at java.lang.Class.forName0(Native Method)
    [20:42:19 WARN]: at java.lang.Class.forName(Unknown Source)
    [20:42:19 WARN]: at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64)
    [20:42:19 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131)
    [20:42:19 WARN]: ... 20 more
    [20:42:25 INFO]: handlePos()
  15. After the update?
  16. Oh, I'm working on a new update that will fix all errors, and will works on all types of server.
  17. I had one of our devs look at the plugin and tested it further. It seems that when anyone does /teamspeak, it opens teamspeak on the computer that the server is being hosted from, which would explain why it wouldn't work for me since it was on a server hosting website.
  18. Please don't leave bad reviews, I'm working on it. Sorry.

Share This Page