Jump to content

Recommended Posts

Posted

Hello MxC!

 

Somebody may ask how to use admin commands and what are they for.

 

So here we are :

 

You do so by setting "admin" column in "players" table to true

 

UPDATE players SET admin=True WHERE name="<char_name>";

 

Since now you can use // commands in game.

 

The most important are:

 

//spawn <npc_id> spawns npc of given id on your position

//delete removes selected npc

//save_spawn saves all spawns to new_spawndata.txt file ( in data/static_data directory)

 

There is also //fsc packet for sendiing custom packages from server to client, but it's more advanced stuff, basicly for developers.

 

Some more commands:

 

//announce <message>

the message is sent to all players chatbox

 

//notice <message>

the message is sent to all players chatbox and a message appear in center screen

 

//kick <playername>

disconnect the player

 

//moveplayertoplayer <player1> <player2>

move player1 to player2 location

 

//movetome <player>

move player to my position

 

//movetoplayer <player>

teleport you to player position

 

//moveto < X Y Z>

teleport to specified XYZ coordinates

 

//goto <place name>

teleport youself to specified place name

example: //goto poeta

complete list of place names later.

 

//promote <player>

give admin rights to player

 

//revoke <player>

revoke admin rights to player

 

//add <itemID> (Temporary Disabled)

Adds an item to your inventory

 

//setexp <value>

Set target player experience amount

 

//setlevel <level>

Sets target player level

 

//spawn <npc_id>

self explanatory

 

//deletespawn <target npc>

self explanatory

 

//savespawndata

save all spawn data to files

 

//reloadspawns

reload all spawn data from files

 

//unloadspawn

self explanatory

 

//printid <target player>

show target player ID

 

Have Fun .

Posted

These arent the only admin commands available in aion :D

There is no limit to what you can do with admin commands, as long as you know how to code the handler to do it ;)

 

I know that they are much more but the basic commands are these :P

  • 3 weeks later...
  • 1 month later...
Posted

//announce <message>

the message is sent to all players chatbox

 

//notice <message>

the message is sent to all players chatbox and a message appear in center screen

 

//kick <playername>

disconnect the player

 

//moveplayertoplayer <player1> <player2>

move player1 to player2 location

 

//movetome <player>

move player to my position

 

//movetoplayer <player>

teleport you to player position

 

//moveto < X Y Z>

teleport to specified XYZ coordinates

 

//goto <place name>

teleport youself to specified place name

example: //goto poeta

complete list of place names later.

 

//promote <player>

give admin rights to player

 

//revoke <player>

revoke admin rights to player

 

//add <itemID> (Temporary Disabled)

Adds an item to your inventory

 

//setexp <value>

Set target player experience amount

 

//setlevel <level>

Sets target player level

 

//spawn <npc_id>

self explanatory

 

//deletespawn <target npc>

self explanatory

 

//savespawndata

save all spawn data to files

 

//reloadspawns

reload all spawn data from files

 

//unloadspawn

self explanatory

 

//printid <target player>

show target player ID

 

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...