Filled 1.12.1 - Chat

Discussion in 'Plugin Requests' started by Y1ght, Mar 30, 2018.

Thread Status:
Not open for further replies.
  1. Offline

    Y1ght

    Plugin category: Bukkit / Spigot?


    Minecraft version: 1.12.1


    Suggested name: RoleplayChat


    What I want: I want it exactly like, https://dev.bukkit.org/projects/roleplaychat I would use this but since it only works with 1.8.8 And lower, As of i tested with 1.9 And higher and none of the other versions work, Bukkit / Spigot / Paper Spigot (Or whatever it is called) This is for a roleplay server I'm currently working on so i want the realistic type of feel of with chat. So pretty much I'm asking is for a chat with cretin channels, I know there is a chat like this but I don't only want you to switch to it I only want it to be command based like, "/ooc message" kinda of a broadcast message and if you can put a delay on it please do 100 seconds. I'm looking for regular chat to be 10 blocks wide, And if so you can add: Username: Says "Message" That will be very helpful too, I'm looking for, /yell 17 blocks way, /whisper /w 3 blocks away /look Local Out of character pretty much not in roleplay if you want to talk out of character if you understand. /me Now I know regular Minecraft has this but it doesn't have a chat distance so if you can add that with a distance of 10 blocks wide so it would be the same as regular chat thank you.

    Ideas for commands: /wispier | /ooc | /looc | /me


    Ideas for permissions: player.chat | player.whisper | player.ooc | player.looc | player.me | player.ooc.bypass (For staff)


    When I'd like it by: This week please? If not in this month.

    ----Some other stuff if you so do try to change the other plugin into 1.12.1---

    https://dev.bukkit.org/projects/roleplaychat
    It only works for 1.8.8 and under, I only tested 1.8.8 and above, but any version above didn't work for me, And i was hoping for someone to make this 1.12.1 please, thank you.
    NOTE: It pops up in console as you saying it but not in chat (In 1.12.1) [​IMG]
    Youtube video of my saying stuff in chat, but it showing up in console, but not in chat.



    Error in console / chat logs
    [11:11:44] [Server thread/INFO]: Y1ght issued server command: /ooc ok
    [11:11:44] [Server thread/INFO]: &8[OOC] &7&6[&718&6]&C[&4Grade-12&c]Y1ght&7: ok[m
    [11:11:44] [Server thread/ERROR]: Could not pass event PlayerCommandPreprocessEvent to RoleplayChat v1.0.9
    org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[craftbukkit-1.12.1.jar:git-Spigot-da42974-8f47214]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit-1.12.1.jar:git-Spigot-da42974-8f47214]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [craftbukkit-1.12.1.jar:git-Spigot-da42974-8f47214]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [craftbukkit-1.12.1.jar:git-Spigot-da42974-8f47214]
    at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1378) [craftbukkit-1.12.1.jar:git-Spigot-da42974-8f47214]
    at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1221) [craftbukkit-1.12.1.jar:git-Spigot-da42974-8f47214]
    at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [craftbukkit-1.12.1.jar:git-Spigot-da42974-8f47214]
    at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [craftbukkit-1.12.1.jar:git-Spigot-da42974-8f47214]
    at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit-1.12.1.jar:git-Spigot-da42974-8f47214]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_161]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_161]
    at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [craftbukkit-1.12.1.jar:git-Spigot-da42974-8f47214]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [craftbukkit-1.12.1.jar:git-Spigot-da42974-8f47214]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [craftbukkit-1.12.1.jar:git-Spigot-da42974-8f47214]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [craftbukkit-1.12.1.jar:git-Spigot-da42974-8f47214]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [craftbukkit-1.12.1.jar:git-Spigot-da42974-8f47214]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
    Caused by: java.lang.NoSuchMethodError: org.bukkit.Bukkit.getOnlinePlayers()[Lorg/bukkit/entity/Player;
    at com.gmail.bkunkcu.roleplaychat.MessageBuilder.sendMessage(MessageBuilder.java:43) ~[?:?]
    at com.gmail.bkunkcu.roleplaychat.RoleplayChat.onCommand(RoleplayChat.java:98) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_161]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[craftbukkit-1.12.1.jar:git-Spigot-da42974-8f47214]
    ... 16 more
     
    Last edited: Mar 30, 2018
  2. Offline

    timtower Administrator Administrator Moderator

    @Y1ght Please post the error that you are getting, or other prove to show that it isn't working.
     
  3. Offline

    Y1ght

    I edited it with a bit more stuff hope it helps.
     
  4. Offline

    Tabuu_

    The usefull line from this log is the following:
    Code:
    Caused by: java.lang.NoSuchMethodError: org.bukkit.Bukkit.getOnlinePlayers()[Lorg/bukkit/entity/Player;
    I'm not sure why it can not find the method since it does exist in higher versions (atleast in Spigot).

    Anyway I suggest you format your request to the example request found here.
     
  5. Offline

    timtower Administrator Administrator Moderator

  6. Offline

    Y1ght

    I added the "Request" format if this plugin can not be changed into 1.12.1.
     
  7. Offline

    Tabuu_

    Yes I noticed, from array to list if I am correct. I did not know you would get a NoSuchMethodError.

    Also I will look into this request first thing tomorrow. If someone else doesn't do it before that time then I think I'll create this plugin.
     
  8. Offline

    Y1ght

    Thanks.
     
  9. Offline

    Y1ght

    Bump - Sorry /;
     
  10. if you got a discord server i suggest the plugin herochat
    but, it became a premium plugin. I still use free verion and it works good enought
     
  11. Offline

    Y1ght

    I've took a look and tried it along time ago, I didn't like it that much for the main reason I don't want the fact you have to join the channel, I only want it to be a command like /looc message, not /channeljoin or /looc and it will set it as your main channel, Just if it were like the regular chat but a special type of feel.
     
  12. Offline

    Y1ght

    B u m p - It's the most impotent thing on my server that I need
     
  13. Offline

    Sploon

  14. Offline

    Y1ght

    THANKS, I had a panic attack after seeing this working

    Quick question, Is there a way to add a delay to a cretin channel? I looked up a lot of stuff but most of them didn't work /;

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Apr 30, 2018
  15. Offline

    Sploon

    You know more about the plugin than I do -- I just downloaded the project, decompiled it, fixed a few compiler errors, and sent you the compiled version.
     
Thread Status:
Not open for further replies.

Share This Page