Posts: 178 Joined: Fri Feb 05 2010, 03:56PM Registered Member #5774
You make a page admin.txt where each row write an admin name if it appears in the list of players on the server he will be writing a different color. ss: Peste tot undei bine
Posts: 3 Joined: Sun Aug 01 2010, 05:44PM Registered Member #6194
Ofsource it's possible You may add the Globally Unique ID (also known as guid) from the user into that admin.txt, also I recommend you to use a database instead of a text file.
In PHP it's possible to read the file line by line into an array. After that you need to check every playername (or in mine case every guid) and compare it with the admin.txt (or database). If you have a match you can color it using <font color="#xxxxxx"> or via imagestring().
I like the idea very much, so I will try to make it
I use B3 (Big Brother Bot) as server control software on my server. I gonna make my script via the b3 database, where already my admins are located, an example of that you can find at hte left side of my site: www.joinmyserver.com
Posts: 33 Joined: Sun Apr 11 2010, 11:50AM Registered Member #5960
what you say is work, thankyou, please say me how can i read the admins on a .txt file for example i have the adresa http://site.com/admins.txt and on each row i have the admin name