Filled Server Reviewing plugin

Discussion in 'Archived: Plugin Requests' started by megasaad44, Oct 31, 2013.

  1. Offline

    mattrick

    But then you would need a server, of which I can't provide ;)
     
  2. Offline

    timtower Administrator Administrator Moderator

    If you make it: don't look at protection at all!
    FTP is capable of doing that if only the owner has the account

    EDIT: Nevermind, just realized that it was supposed to use multiple servers
     
  3. Offline

    megasaad44

    uuuh.... just make this thing without the encryption stuff... ._. no need for multiple servers.. just 1 flat file and hub servers just gotta have some kinda syncer *which mine does* *flips hair*
     
    timtower likes this.
  4. Offline

    megasaad44

    MrGermanrain Is this plugin request still going.. or?...
     
  5. Offline

    megasaad44

    ... I guess bump... ._.
     
  6. oh man I did read now all comments here... an interessting discussion... :D bad that I don't know how to do something like this because i never worked with lists :D But, good luck, hopefuly you will find finally anyone who actually finishs it ;)
     
  7. Offline

    megasaad44

  8. megasaad44 Hey, I don't know if this is a good or a bad new for you after all those people who tried it before me :D But I'm working on it now, too. ;) I think I'll finish it in the next few days, but who knows. :D
     
  9. Offline

    megasaad44

  10. Offline

    imaboy321

    This plugin really isnt that that hard -_-. Just make it store on MySQL and then if a bunch of servers are using the plugin, hook them all into the same mysql. Then if they want to look at the reviews for a specific server, they type the server name and it gets the file named that server in the database.
     
  11. megasaad44 MERRY CHRISTMAS!! I've got a present for you! Here is your...
    PLUGIN!!!

    ;) Hope you enjoy it and that it has everything you want.

    megasaad44 I'm going to upload it to bukkit dev today evening or tomorrow, I just dont have much time right now to make the description and everything, I might also add new features (I got an idea with star rating, giving the server starts from 1 to 5), if you got any ideas, please tell me because I really liked the idea with this reviewing plugin!

    imaboy321 But you would need a big MySQL DB, if many servers would use this. And you would have to pay / host it. :D
     
  12. Offline

    megasaad44

    Lionhard I...Am...Speechless
    [​IMG]
    But however it does nothing i think. I did /ureview it showed information about the plugin. I did /ureview lol and it told me "null" I typed /ureview list it gave an internal error... o-o
    THANKS THOUGH :D
     
  13. Offline

    timtower Administrator Administrator Moderator

  14. Offline

    rfsantos1996

    Wait, what is this topic all about? Why so many messages... Its just a /review (message), then get the player and the review, insert it into MySQL db and add a cooldown next time he will use or just check if player already reviewed, so it wont spam reviews.

    Then a /review list would retrive some reviews and show you... What were you talking about encryption and stuff like that? :confused: (sorry, lazy to read) Were you making a web store thing that you register your account and server then all reviews would go there and you check online? If so, sorry for my message.
     
  15. Offline

    megasaad44

    rfsantos1996 ... No its weird like that.... xD you explained it all perfectly.. except the store registration stuff...
    timtower Sure, i will soon...
     
  16. megasaad44 Dont worry, it works, Iam just dumb and forgot to tell you the commands... (I tested everything of it...) it just have other commands that you wanted... Here they are: you can use either /ureview, /urev, /ur. But anyways here is the list: :D
    /urev review create <YourReview> - lets you create review,
    /urev review edit <New Review> - lets you create new review,
    /urev list - Lists all players and their reviews,
    /urev show <player> - Shows the review of this player

    EDIT: Back to the error you got with /ureview list... I think it was because there arent any reviews, I'll work on it, but anyways when someone makes a review the error is gone so it isn't a big issue.
     
  17. Offline

    megasaad44

    Lionhard http://prntscr.com/2dt183
    error:
    Code:
    11:40:18 AM [INFO] LordSaad44 issued server command: /urev review create lol
    11:40:18 AM [SEVERE] null
    11:40:18 AM org.bukkit.command.CommandException: Unhandled exception executing command 'urev' in plugin uReview v0.1.0
    11:40:19 AM    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[craftbukkit-1.7.2-R0.3-20131225.043511-4.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    11:40:19 AM    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:196) ~[craftbukkit-1.7.2-R0.3-20131225.043511-4.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    11:40:19 AM    at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:542) ~[craftbukkit-1.7.2-R0.3-20131225.043511-4.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    11:40:19 AM    at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:932) [craftbukkit-1.7.2-R0.3-20131225.043511-4.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    11:40:19 AM    at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:814) [craftbukkit-1.7.2-R0.3-20131225.043511-4.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    11:40:19 AM    at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit-1.7.2-R0.3-20131225.043511-4.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    11:40:19 AM    at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit-1.7.2-R0.3-20131225.043511-4.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    11:40:19 AM    at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [craftbukkit-1.7.2-R0.3-20131225.043511-4.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    11:40:19 AM    at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit-1.7.2-R0.3-20131225.043511-4.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    11:40:19 AM    at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [craftbukkit-1.7.2-R0.3-20131225.043511-4.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    11:40:19 AM    at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit-1.7.2-R0.3-20131225.043511-4.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    11:40:19 AM    at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit-1.7.2-R0.3-20131225.043511-4.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    11:40:19 AM    at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit-1.7.2-R0.3-20131225.043511-4.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    11:40:19 AM    at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit-1.7.2-R0.3-20131225.043511-4.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    11:40:19 AM Caused by: java.lang.NullPointerException
    11:40:19 AM    at de.mineteria.Lionhard98.uReview.uReview.onCommand(uReview.java:188) ~[?:?]
    11:40:19 AM    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[craftbukkit-1.7.2-R0.3-20131225.043511-4.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    11:40:19 AM    ... 13 more
     
  18. megasaad44 :O I can swear that it worked when I uploaded it... I did test every single command. :/ but anyways, I'm working on it now.

    megasaad44 Well, now it seems to work so I think I found the bug... :D It should be because of the config.yml, you have to enter the custom Messages between those " " brackets, and I have forgot to enter another " at the end. Try to delete the config.yml and reviews.yml, then go to config.yml and check if every customMessage is between the " " brackets. If this wont work, I will upload a newer version where you can rate the server with stars, there it should work. ;)

    megasaad44 Anyways, here is the update.

    The update includes:
    Fix of your bug. (Hopefully!)
    Fix of printing an Internal Error message when trying to see a review of an offline player.
    Added 2 new configurations to the config.yml - mininum rating and maximum rating. (I have done this because some people might want a "star rating" system for just 1-5 stars, other might want a score system with 1-100 points, here you might make your own system how you want it. (all messages are configurable so you can call it whatever you want, points, stars, cookies... :D).
    Added, like before already mentioned, rating. People who has already reviewed the server now additionally can rate it by performing the command /urev rate <points|stars|cookies|whatever>. If they've entered a number which is between or equals the minimum and maximum rating you have set it will be displayed after their review, when they did enter a too high or too low number they will get a message to try again and the minimum and maximum possible numbers. If they don't have a review they will get a message, also.

    Enjoy. ;)

    Known bug: Printing internal error when trying to display a list of all reviews, when there currently aren't any. (After someone reviews your server this error will be gone, but I'm still trying to remove it.)

    Known things you might not want (tell me to remove them if you want :d): People can use Color codes in their reviews.

    EDIT: You must delete your old config.yml because there are changes made to the config.yml, in future versions it will override it automatically. ;)

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

    megasaad44

    Lionhard
    [​IMG]
    Submit it to bukkit dev! :D
    And please add the ability to change prefix :)
    And
    Thank
    You
    So
    Much
    For
    This
    Mind-blow
    Of
    Awesomeness!
     
  20. megasaad44 Already submitted yesterday, awaiting approval. ;) This Idea is really brilliant. :D Yeah, I thought already about the abillity to change the prefix, I will do it now. ;)

    Allways nice to see people happy about my plugins!

    EDIT: Here is the link to bukkit dev http://dev.bukkit.org/bukkit-plugins/ureview/ idk if you can see it if its still awaiting approval, but I think you can. :D
     
    megasaad44 likes this.
  21. Offline

    megasaad44

    Lionhard I see it. And it's awaiting approval. ^_^
     
  22. megasaad44 likes this.

Share This Page