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
Yes... But that wasn't as detailed and all... So i decided to make another one... But do you know how to do it?
Why don't you use a plugin like the google analyitics plugin? http://dev.bukkit.org/server-mods/googleanalyticsplugin/
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! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
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
? 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.
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 Also with unique hits it will get the number of players even those before the plugin was installed Plus you can edit the hit text! As I have done in the example on the dev page
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.
Ok but what do you want to add to it? As it could be a useful update in the future 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.
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
No I think that's hes talking about his server but he wants the plugin for his friends private server
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.
It works so what ever you modified would of made that happen post all the source here and ill have a look!
You can't just get a plugin's source from the requests section, change the name and claim the ownership of it...
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 and the next 2 updates are good. If my server had tnt enabled I would 100% use it EDIT by Moderator: merged posts, please use the edit button instead of double posting.
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 EDIT by Moderator: merged posts, please use the edit button instead of double posting.
hey look at this http://forums.bukkit.org/threads/ad...ifier-with-config-and-perms-1-2-5-r4-0.80230/ and look at this http://dev.bukkit.org/server-mods/tntnotifir/ First link is the original WITH all rights reserved and the second well speaks for itself.