Filled Advanced Friend Plugin

Discussion in 'Archived: Plugin Requests' started by TechAttax, Jul 1, 2014.

  1. Offline

    daavko

    TechAttax Progress update: I was not able to get to my pc in past 2 days, but now I'm on again and coding! I believe this plugin will be completed today as I don't want any uncompleted projects laying around :D
     
  2. Offline

    TechAttax

    Awwwww Yea! - Please PM me when the plugin is complete!

    While you are here. Can you please work on a thing for SG.
    I have been using friend other plugins that stop PVP with friends in SG. Please make the anti-pvp thing enabled during a SG game.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  3. Offline

    daavko

    TechAttax I'm not going to PM you when it's done as I think that's against rules, but I'll post it in this thread. And what plugin are you using for SG?
     
  4. Offline

    TechAttax

    Ok, not PMing is fine! The sg plugin is dev.bukkit.org/bukkit-plugins/survival-games/

    Any updates?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  5. Offline

    daavko

    TechAttax Yeah, update: I'm now doing mechanic which shows certain page of friend list. I'll go on dinner in about 10 minutes, so I'll have to leave it for at least an hour (family dinner :D).
     
  6. Offline

    TechAttax

    AWWW YE :)

    Thank you soooo much for developing this!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  7. Offline

    TechAttax

    Any updates?
     
  8. Offline

    daavko

    TechAttax Yup, I have it 99% completed, just fixing as many bugs as I can find :) (However, I can't find at least 3/4 of them as you need at least 2 players to test this). I'll post download link ASAP :)
     
  9. Offline

    TechAttax

    Ok. do you want to come on my server to test?

    If I find any bugs after me testing can I submit them to you?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  10. Offline

    daavko

    TechAttax Yep, submit them right to me, and if any errors occur, I would like error log (because that's most helpful :D ). Download link will be in about 15 minutes.
     
  11. Offline

    TechAttax

    Ok, thank you for being a dev!:D

    Updates?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  12. Offline

    daavko

  13. Offline

    TechAttax


    :( Have to go to bed now anyway!
     
  14. Offline

    daavko

    TechAttax That's pretty bad...but I have good news! Number of known bugs is now 2. Only friend list and friend request list are not showing now :D. Working on fix for about 2 hours now...

    TechAttax Okay, I believe that all bugs I could catch and fix are catched and fixed!
    DOWNLOAD LINK
    Commands: /friends (aliases: /friend, /fr)
    • /friends help (same as only /friends) - Shows help
    • /friends add [player] - Sends [player] a friend request
    • /friends remove [all/player] - Removes [player] from friends, or removes all friends
    • /friends list <page> - Shows page of friends list
    • /friends requests <page> - Shows page of friend requests
    • /friends pvp <on/off> - Toggles friend PvP on/off
    • /friends accept [all/player] - Accepts friend request from [player] if any, or accepts all requests
    • /friends decline [all/player] - Declines friend request from [player] if any, or declines all requests
    • /friends [player] - If [player] is your friend, shows world, where [player] is
    • /friends reload - Reloads config and player data (permission needed: friend.admin)
    If you notice any bugs, or would like any more features added, feel free to tell me.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  15. Offline

    TechAttax

    Thank you soooooooo much. I will let you know if there are any other features to add. <3

    /friends or /friend dose not work. Only /fr

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  16. Offline

    traipop

  17. Offline

    Deps7

    Work on bungeecord?
     
  18. Offline

    daavko

    TechAttax That's weird, I'll look into it
    traipop Picture of generic error message does not help at all, error log would be better. And I made it with CB 1.7.2 R-0.3. What version are you using?
    Deps7 I don't know, didn't try.
     
  19. Offline

    timtower Administrator Administrator Moderator

    You do know that bungeecord isn't supported by bukkit?
     
    TechAttax likes this.
  20. Offline

    traipop

  21. Offline

    TechAttax

    All better now. Just reloaded using plugman.
     
  22. Offline

    EddieFriday

    daavko
    Got this error everytime I start the server.

    Code:java
    1. [00:07:35] [Server thread/ERROR]: Error occurred while enabling TomatoFriends v1.0 (Is it up to date?)
    2. at me.daavko.TomatoFriends.TomatoFriends.onEnable(TomatoFriends.java:22) ~[?:?]
    3. at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    4. at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    5. at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    6. at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugin(CraftServer.java:455) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    7. at org.bukkit.craftbukkit.v1_7_R3.CraftServer.enablePlugins(CraftServer.java:389) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    8. at net.minecraft.server.v1_7_R3.MinecraftServer.n(MinecraftServer.java:352) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    9. at net.minecraft.server.v1_7_R3.MinecraftServer.g(MinecraftServer.java:326) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    10. at net.minecraft.server.v1_7_R3.MinecraftServer.a(MinecraftServer.java:282) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    11. at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:182) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    12. at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:436) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    13. at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    14.  


    EDIT: AND ERROR WHEN ADDING A FRIEND
    Code:java
    1. [00:11:38] [Server thread/INFO]: EddieFriday issued server command: /friends add joseanikin
    2. [00:11:38] [Server thread/ERROR]: null
    3. org.bukkit.command.CommandException: Unhandled exception executing command 'friends' in plugin TomatoFriends v1.0
    4. at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    5. at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    6. at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:740) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    7. at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerConnection.java:956) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    8. at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:817) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    9. at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    10. at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    11. at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:157) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    12. at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    13. at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    14. at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    15. at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    16. at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    17. at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    18. Caused by: java.lang.NullPointerException
    19. at me.daavko.TomatoFriends.CommandExec.onCommand(CommandExec.java:151) ~[?:?]
    20. at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
    21. ... 13 more

     
  23. Offline

    daavko

    EddieFriday First error - silly mistake in code, I don't realise how could I put it there...
    Second error - Something wrong with message sending, working on solution right now.
    traipop Same as EddieFriday's second error - Something wrong with messages.

    EDIT: Both of you please post me your config.yml, thanks.
    EDIT 2: Okay, don't post your config. Just download new version, link is still the same.
     
    TechAttax and EddieFriday like this.
  24. Offline

    traipop

    daavko
    errr, why dont i get message when someone sent request, and i can add everybody without request ._.
    could you add like a message if you try to hit a friend,
     
  25. Offline

    Toxic__Waste

    are you gonna add this to the bukkit plug in list? and can you add a tp feature thx
     
  26. Offline

    daavko

    traipop I know that some messages are not there. Trying to find out which ones. And what do you mean by: "when someone set request"? When somebody sends request to somebody else?
    Toxic__Waste I'll make something similar to this and then yes, I'll add it there (not today nor this week though)

    TechAttax Yeah, that could be quite a problem...I'll think about that TP feature and we'll see how it ends.

    TechAttax Could be. As I wrote, I'll think about it.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Oct 23, 2019
  27. Offline

    TechAttax

    The TP feature might get a big annoying like if the friend is in a SG game or other minigame.

    Maybe disabled if a player is in a defined world in the config.

    If you do /fr accept <random name> it will accept even if there is not any requests from the person!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 4, 2019
  28. Offline

    Toxic__Waste

    you couldalways add the tp feature with a disable in config so game servers can turn it off and roleplaying serverrs can turn it on off by default
     
  29. Offline

    daavko

  30. Offline

    TechAttax

Share This Page