ItsMods

Full Version: Client xuid + playername
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey, I already saw a plugin in a server, when you say !admin , it shows the admins who are online.
Is it possible to make a command if(message =="!online")
and then use my xuid, and the xuid will display my username (Because if a admin changes hes name, hes xuid won't so I hope you guys know what I mean)

Thanks in advance
(12-15-2012, 16:31)99IRock Wrote: [ -> ]Hey, I already saw a plugin in a server, when you say !admin , it shows the admins who are online.
Is it possible to make a command if(message =="!online")
and then use my xuid, and the xuid will display my username (Because if a admin changes hes name, hes xuid won't so I hope you guys know what I mean)

Thanks in advance

ask @OzonE he got the !admin command in the godplugin
(12-15-2012, 16:31)99IRock Wrote: [ -> ]Hey, I already saw a plugin in a server, when you say !admin , it shows the admins who are online.
Is it possible to make a command if(message =="!online")
and then use my xuid, and the xuid will display my username (Because if a admin changes hes name, hes xuid won't so I hope you guys know what I mean)

Thanks in advance

Code from my Brain( Don't know if even the function names matches):
Code:
List<ServerClient> clients=getClients();
foreach( ServerClient c in clients)
{
foreach(String s in AdminXUID's)
{
if(s==c.XUID)
{
OMG ITS AN ADMIN
}
}
}