[Admin Please Remove]

Discussion in 'Archived: Plugin Requests' started by LandonTheGeek, Jul 6, 2012.

  1. Offline

    LandonTheGeek

    Plugin name: ServerHits

    How the plugin should work:
    Permissions:
    serverhits.use
    commands:
    /hitsShows the user this:

    Total hits: &hits
    Unique players: &unique

    Where &hits is how many times all users have logged in in total. This includes all multiple logins by the same player. &unique is how many different players have logged on. So, for example, if choppaboi_666 is the only player who has ever logged on to the server, and he's logged on 3 times in total, then /hits would display this:

    Total hits: 3
    Unique players: 1
    I WOULD LIKE THE PLUGIN WITH THE ENCODING TEXT ONLY BECAUSE WE WILL BE EDITING THE TEXT AND MAKING CHANGES TO IT IN THE FUTURE!
    If I could get this ASAP that would be great, as it is i need for a server!
    ~Beast
     
  2. Didn't you made a alike request like this a couple of days ago?
     
  3. Offline

    LandonTheGeek

    Yes... But that wasn't as detailed and all... So i decided to make another one... But do you know how to do it?
     
  4. Offline

    x4n4th

  5. Offline

    WarmakerT

    He wants the source code.
     
  6. Offline

    LandonTheGeek

    Yes... I want the source code so i can edit and make it better in the future
     
  7. Offline

    jorisk322

    What was wrong with the one posted in the other thread?
     
  8. Offline

    LandonTheGeek

    It wasn't as detailed.. My friend asked me to post this one... We need it asap for his server

    So let's get on topic... Can anyone make this?

    Someone has got to be able to do this!!!
    We can do it! [diamond]

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

    Colby l

    if i'm not mistaken, all you have to do is record the onJoin event and store it in a DB. Then, when the commands used, it will read it from the DB. Now if you wanted unique hits, that would be more complicated. You'd have to get the IP of the player, and on every join run the IP through the player and check if the IP already exsits. If so, add one to hits. If not, add one to unique hits. This isn't a plugin i'd want to make, as it involves some PhP i don't know. Your best bet is to go with GoogleAnalytics
     
  10. Offline

    LandonTheGeek

    I'm not either... Do you mind just making the regualar one with the commands and perms and stuff?
     
  11. Offline

    WarmakerT

    !event.getPlayer().hasJoinedBefore
     
  12. Offline

    LandonTheGeek

    ? LOL

    Anyways, Colby... Do you mind making the plugin without the unique part?
    That'd be great!
    ~Beast

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  13. Don't you know how to code your own plugin? Were not your slaves.
     
  14. Offline

    McLuke500

    I made this jun 23rd @xXTh3B3astXxify
    http://dev.bukkit.org/server-mods/visitcounter/

    Is this what you were looking for? It seems to be exactly what you are :D
    Also with unique hits it will get the number of players even those before the plugin was installed :D

    Plus you can edit the hit text! As I have done in the example on the dev page :D
     
  15. Offline

    LandonTheGeek

    Peter.... No I'm sorry.... But THIS IS THE PLUGIN REQUEST SECTION!

    Luke... Can you give me the codes so i can edit them to my liking? I'm not gonna publicize it! It's just for a friend. xD

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

    McLuke500

    Oh you already commented on it What is it that you want with it?
     
  17. Offline

    LandonTheGeek

    My friends server..... We aren't giving it out or anything like that... I'm making it private. xD
     
  18. Offline

    McLuke500

    Ok but what do you want to add to it? As it could be a useful update in the future :D
    The plugin is all in one .java file as i couldnt be bothered making new classes for it but it will make it harder to understand
    https://dl.dropbox.com/u/20849260/VisitCounter Source.zip

    I am!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  19. Well then don't need to spam everyone that you need this plugin real badly.
     
  20. Offline

    LandonTheGeek

    Luke! Thank you so much... I'll follow you just in case I have some odd reason to update for you.. Also I'm gonna format the name and whatsoever to make it so that i own it... I'll also change ownership if thats okay!
    Thanks so much!
    ~Beast
     
  21. Offline

    McLuke500

    ? I thought it was just for a private server D:
     
  22. No I think that's hes talking about his server but he wants the plugin for his friends private server
     
  23. Offline

    LandonTheGeek

    McLuke500
    Yes it is! I just don't want people to think that I copyrighted

    Luke! It is stuck on a number and wont move! The more i try and try to join and leave it doesn't move!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  24. Offline

    McLuke500

    It works so what ever you modified would of made that happen post all the source here and ill have a look!
     
  25. Offline

    WarmakerT

    You can't just get a plugin's source from the requests section, change the name and claim the ownership of it...
     
    McLuke500 likes this.
  26. Offline

    McLuke500

    Wouldn't claiming ownership, changing your name to the author and formatting the name be more of a copyright than just editing the source. I would rather you kept my name as author I dont care what you do the the source of it or edit it in anyway but whys the need to change it to your name?

    Also I liked the plugin you made as a request for the person the "NoChainReaction" one its really good :D and the next 2 updates are good. If my server had tnt enabled I would 100% use it :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  27. Offline

    Colby l

    @WarmakerT or that lol. I just skimmed through the java docs.
     
  28. Offline

    Omnitv

    He wants to say to this friend's "I MADE THIS PLUGIN SEE!" which is a lie.
     
  29. Offline

    McLuke500

    I still dont get what he wanted to "add" to it

    //Main Command(Help)
    if(args.length == 0 && sender.hasPermission("visitcounter.vc")) {
    sender.sendMessage(ChatColor.AQUA+"======VisitCounter======");
    sender.sendMessage(ChatColor.AQUA+"/vc reload");
    sender.sendMessage(ChatColor.AQUA+"/vc reset");
    sender.sendMessage(ChatColor.AQUA+"/vc info");
    sender.sendMessage(ChatColor.AQUA+"======"+this.getDescription().getVersion()+" "+this.getDescription().getAuthors()+"======");

    Maybe he didn't like the bit where it puts my name on the /vc command :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  30. Offline

    Omnitv

Share This Page