how to be admin in my own server??

Started by ahmedzead, Feb 06, 2017, 01:47 PM

Previous topic - Next topic

ahmedzead

hi all im new at programming so i dont know how to be admin in any server help pls :( :(

Kewun

learn squirrel
code
code x2
look wiki
search scrripts
????
profit

DizzasTeR

Quote from: Kewun on Feb 06, 2017, 01:50 PMlearn squirrel
code
code x2
look wiki
search scrripts
????
profit

Kindly don't post shit like this again.

@ahmedzead, To be admin in your server you firstly need a Account system. There are some released ones in the Released scripts section so you can try to look for it.

Kewun

i was trying to help. i didnt post shit like you do

EK.IceFlake


Eva


Pasorzyt

the truth is that kewun was always right

Xmair

The truth is you registered today and have no idea about this forum. (or you're kewun)

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

iReaL

SIMPLE CODE FOR ADMIN XD


    if ( cmd == "YOUR CMD" )
    {
         if ( player.Name == "YOUR NAME FOR ACESS THE COMMAND" )
         {
                The function () // The command
         }
    }   else MessagePlayer( "YOU NO ARE ADMIN", player );


For more security on your server you can change the player.Name to
player.UniqueID , player.IP , player.UniqueID2 , or create one data base XD

ℛḝξ☂

I may be a slow walker but I am always walking.

vito

you can use your uid instead  making account system, maybe someone able to change his uid to your one and 'hack' your server, but i think nobody will do that.

jWeb

#11
Quote from: iReaL on Feb 10, 2017, 01:39 AMSIMPLE CODE FOR ADMIN XD


    if ( cmd == "YOUR CMD" )
    {
         if ( player.Name == "YOUR NAME FOR ACESS THE COMMAND" )
         {
                The function () // The command
         }
    }   else MessagePlayer( "YOU NO ARE ADMIN", player );


For more security on your server you can change the player.Name to
player.UniqueID , player.IP , player.UniqueID2 , or create one data base XD

So if I join with your name. Does that make me an admin on your server?

And also, how primitive that can be. If I want to use a different nickname, I have to search and edit the scripts and reboot the server.

This is the worst of the worst of the worst examples that could be given for something like this.

iReaL

Quote from: jWeb on Feb 10, 2017, 02:20 PM
Quote from: iReaL on Feb 10, 2017, 01:39 AMSIMPLE CODE FOR ADMIN XD


    if ( cmd == "YOUR CMD" )
    {
         if ( player.Name == "YOUR NAME FOR ACESS THE COMMAND" )
         {
                The function () // The command
         }
    }   else MessagePlayer( "YOU NO ARE ADMIN", player );


For more security on your server you can change the player.Name to
player.UniqueID , player.IP , player.UniqueID2 , or create one data base XD

So if I join with your name. Does that make me an admin on your server?

And also, how primitive that can be. If I want to use a different nickname, I have to search and edit the scripts and reboot the server.

This is the worst of the worst of the worst examples that could be given for something like this.

Not the worst, the worst would be if the admin needs a level ()
I said that it can become more secure with the .uniqueID, .IP, and other commands.

jWeb

Quote from: iReaL on Feb 10, 2017, 03:11 PMNot the worst, the worst would be if the admin needs a level ()
I said that it can become more secure with the .uniqueID, .IP, and other commands.

That implies you have a static IP address. And most people don't. As for the UID. Well, that can be stolen and replicated. Thus exposing you even further.

vito

Quote from: jWeb on Feb 10, 2017, 03:58 PMAs for the UID. Well, that can be stolen and replicated.
Nobody will do that. Even if he will set password 123456 nobody will hack it. It's vcmp.