Filled Op/Admin joining plugin

Discussion in 'Plugin Requests' started by Mr_BelgiumGamer, Jun 18, 2017.

Thread Status:
Not open for further replies.
  1. Plugin category: Joining

    Minecraft version: 1.11.2

    Suggested name:
    OpJoining

    What I want: Hello, I want a plugin that lets you know that a someone with op joined like Staff [Name] has joined! make a config so i can translate de message please

    Ideas for commands: /opjoin set message (with make it that i can do color codes)


    Ideas for permissions: opjoin.set

    When I'd like it by: Idk
     
  2. Offline

    yPedx

  3. Thanks i will try it!

    Error: 18.06 14:07:41 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'opjoin' in plugin OPJoin v1.0 18.06 14:07:41 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-96f03d9] 18.06 14:07:41 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-96f03d9] 18.06 14:07:41 [Server] INFO at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(CraftServer.java:649) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-96f03d9] 18.06 14:07:41 [Server] INFO at net.minecraft.server.v1_11_R1.PlayerConnection.handleCommand(PlayerConnection.java:1344) [spigot-1.11.2.jar:git-Spigot-7d78b81-96f03d9] 18.06 14:07:41 [Server] INFO at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1179) [spigot-1.11.2.jar:git-Spigot-7d78b81-96f03d9] 18.06 14:07:41 [Server] INFO at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.11.2.jar:git-Spigot-7d78b81-96f03d9] 18.06 14:07:41 [Server] INFO at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.11.2.jar:git-Spigot-7d78b81-96f03d9] 18.06 14:07:41 [Server] INFO at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.11.2.jar:git-Spigot-7d78b81-96f03d9] 18.06 14:07:41 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_05] 18.06 14:07:41 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_05] 18.06 14:07:41 [Server] INFO at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [spigot-1.11.2.jar:git-Spigot-7d78b81-96f03d9] 18.06 14:07:41 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot-1.11.2.jar:git-Spigot-7d78b81-96f03d9] 18.06 14:07:41 [Server] INFO at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.11.2.jar:git-Spigot-7d78b81-96f03d9] 18.06 14:07:41 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:675) [spigot-1.11.2.jar:git-Spigot-7d78b81-96f03d9] 18.06 14:07:41 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:574) [spigot-1.11.2.jar:git-Spigot-7d78b81-96f03d9] 18.06 14:07:41 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_05] 18.06 14:07:41 [Server] INFO Caused by: java.lang.ArrayIndexOutOfBoundsException: 1 18.06 14:07:41 [Server] INFO at me.developer.kriss.OPJoin.onCommand(OPJoin.java:41) ~[?:?] 18.06 14:07:41 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-96f03d9] 18.06 14:07:41 [Server] INFO ... 15 more

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.

    screen that i can't do commands
     
    Last edited by a moderator: Jun 18, 2017
  4. Offline

    Reflxction

  5. sure!

    It works with no error's but the config is empty :/ xD

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 28, 2017
  6. Offline

    Reflxction

    Ah sorry, stupid me, I forgot one of the most basic things xD. I fixed it and tested it, and it works flawlessly. I'm sorry I don't know how to add the command, but it should generate the config, and the {player} is the player's name. If you encounter any bugs, let me know.

    Download: https://www.dropbox.com/s/ve66x5hw7j7ji81/OPJoin.jar?dl=0

    Source code: https://pastebin.com/azNCU63j

    Note: If it still generates an empty config, just copy the below, paste it in the empty config, and edit it:
    Code:
    message: "&a[Staff] &b{player} &c has joined!"
    The plugin has been uploaded to BukkitDev, but still awaiting approval.
    https://dev.bukkit.org/projects/operator-join

    Regards
     
    Last edited: Jun 29, 2017
  7. yo man works no errors but the config is empty xD hahha
     
  8. Offline

    Reflxction

    Did you delete the old config? I tested it and it generated a filled config. You should delete the old config.yml and it shud work fine
     
  9. O lol sorry it works now but does this overwrite the normal join message for normal players??? so when a normal player joins the join message is there or is that gone?
     
  10. Offline

    Reflxction

    Nope, it will only broadcast the message you specified in the config. For example, if an operator joins, it will ONLY show the message you specified in the config. Other players are not affected by this plugin. Only operators' join messages are.
     
  11. yhea i know but now when i normal player joins the normal join message still comes up??? or not
     
  12. Offline

    Reflxction

    Yes, the normal join message will come to normal players only. OP people will ONLY have the message you specified in the config. Any plugins that provide a join message, their message will be deleted when an op joins, and the plugin's message will appear.
     
  13. Ok thanks for the plugin <3
     
    Reflxction likes this.
  14. Offline

    Reflxction

    Anytime. That was a 5 minutes craft anyways xD

    By the way, if you would like, I can create the option to customize their quit message.
     
  15. would be sweet btw can u call the plugin DutchHpJoin? please i would love that :D
     
  16. Offline

    timtower Administrator Administrator Moderator

    You didn't request that in the original post either...
    And you can rename the jar.
     
  17. Offline

    Reflxction

    Done.
    https://www.dropbox.com/s/i0kfz4qeezvsdut/DutchHpJoin.jar?dl=0

    Doesn't matter tho xD
    I offered him the feature anyways
     
Thread Status:
Not open for further replies.

Share This Page