InGame Commands
Sept 4, 2010 14:51:28 GMT 1
Post by >3MAJ<>Cveki< on Sept 4, 2010 14:51:28 GMT 1
USER-COMMANDS
/bank <amount>
  shows/puts credits stored on account
/bankw <amount>
  shows/takes credits stored on account
/showrestarts
  shows list of RPG faction templates currently available
/restart <faction>
  restarts players char with desired <faction> template
/list <player name>
  shows players or <player name> affiliation and ship
/kills <player name>
  shows kill status of <player name>
/mark & /unmark
  marks/unmarks selected object
/mg
  marks selected object for the entire group
/d or /dock
  docks player on another player ship (they must be in group)
/c or /cloak <left Ctrl + c>
  cloaks player if cloaking device is available
/uc or /uncloak <left Ctrl + u>
  uncloaks player if cloaking device is available
/bountyhunt <charname> <credits> [<minutes>]
/bountyhuntid <id> <credits> [<minutes>]
  activate pimpship menu; available on some bases in some custom systems
/renameme <newcharname>
  rename current name to <newcharname> (player will be kicked)
/autobuy <...>
  let ammo be bought automatically whenever you enter a base. Enter the command ingame to get a description
/ids
  show client-ids of all players
/id
  show own client-id
/i$ <client-id> or /invite$ <client-id>
  invite player to group by client-id
/stuck
  move a ship by approximately 10 meters
/pos
  prints the ship position to console
 
/coin
  flips a coin and reports the result to all ships within 6km
/dice [max]
  shakes, rattles, rolls the dice and reports the result to all ships within 6km
/setmsg <N> <message>
  set message slot N to the specified message; if no message then the slot is cleared and slots 1-9 are valid
/showmsgs
  show the message slot contents
/<N>
  send the message N to system chat
/l<N>
  send the message N to local system chat
/g<N>
  send the message N to group chat
/t<N>
  send the message N to the current/last target
/t <message> or /target
  send <message> to your last selected target
/r <message> or /reply
  send <message> to the last sender of your last private message
/pm <charname> <message> or /privatemsg
  send <message> to <charname>; if <charname> is offline the message will be delivered when they return
/pm$ <clientid> <message> or /privatemsg
  send <message> to <charname>; if <charname> is offline the message will be delivered when they return
/fm <tag> <message> or /factionmsg
  send message to all characters containing <tag> string in their names (like [CLAN])
/fi <tag> or /factioninvite
  send an invite to all characters containing <tag> string in their names (like [CLAN])
/set chattime <on|off>
  turn on in chat time stamps
/time
  show current time in SMT (sirius mean time)
  read user's mail
/maildel
  delete user's mail
/set movecharcode <charname> <code>
  sets the code to allow this character to be moved to another account
/movechar <charname> <password>
  using the password set by the previous command, moves the specified character into this account
/givecash <charname> <cash> [anon]
  give the cash to <charname>; if the 'anon' parameter is present then the receiving character will not be informed of who sent the transfer
/setcashcode <code>
  set the account code to allow remote access to this characters account; if the code is 'none' then remote access is disabled
/drawcash <charname> <code> <cash>
  draw the cash from <charname> with the <code> set using /setcashcode
/showcash <charname> <code>
  show the cash balance for <charname> with the <code> set using /setcashcode
/set diemsg xxx
  while xxx must be one of the following values:
  - all = all deaths will be displayed
  - system = only display deaths occuring in the system you are currently in
  - self = only display deaths the player is involved in (either as victim or killer)
  - none = don't show any death-messages
affect all characters on the account
/set diemsgsize <small/default>
  change the size of the diemsgs
/set chatfont <size> <style>
  <size>: small, default or big
  <style>: default, bold, italic or underline
  this let's every user adjust the appearance of the chat-messages
/ignore <charname> [<flags>]
  ignore chat from certain players
/ignoreid <client-id> [<flags>]
  ignore by client-id
/delignore <id> [<id2> <id3> ...]
  delete ignore entry
/ignorelist
  display ignore list
/credits
  show the authors of FLHook and all running plugins
/help
  show all available user commands
If preset messages contain a #c then the #c will be replaced with the ship map coordinations.
If preset messages contain a #t then the #t will be replaced with current target name.
ADMIN-COMMANDS
    - CASH -
  all cash functions work no matter if the player is currently logged in or not
.getcash <charname>
  shows current account balance of <charname>
.setcash <charname> <amount>
  sets current account balance of <charname> to <amount>
.setcashsec <charname> <oldmoney> <amount>
  sets current account balance of <charname> to <amount>, only works when his old account balance is <oldmoney>
.addcash <charname> <amount>
  adds <amount> to the current account balance of <charname>
.addcashsec <charname> <oldmoney> <amount>
  adds <amount> to the current account balance of <charname>, only works when his old account balance is <oldmoney>
    - KICK/BAN -
.kick <charname> <reason>
  disconnects <charname>. the user will be displayed <reason>, if it is specified.
.ban <charname>
  bans <charname>'s account <charname> stays connected if he's currently on the server
.unban <charname>
  unbans <charname>'s account
.kickban <charname> <reason>
  kicks and bans <charname> (2 in 1, same as kick <charname> <reason>, ban <charname>)
    - MSG -
.msg <charname> <text>
  private message <text> to <charname> (shown as "Console: <text>")
.msgs <systemname> <text>
  send <text> to all players in <systemname> (shown as "Console: <text>")
  <systemname> must be the either the system-id or the shortname (like Li01)
.msgu <text>
  message <text> to the whole universe (shown as "Console: <text>")
.fmsg <charname> <xmltext>
  private message <xmltext> to <charname> (see XMLTEXT section for further details)
.fmsgs <systemname> <xmltext>
  send <xmltext> to all players in <systemname> (see XMLTEXT section for further details)
.fmsgu <xmltext>
  message <xmltext> to the whole universe (see XMLTEXT section for further details)
    - BEAM/KILL -
.beam <charname> <basename>
  force <charname> to land on <basename> (player must be in space)
  for <basename> list scroll to end
.kill <charname>
  kills <charname>
.smiteall
  smites all ships within radar range
.chase <charname>
  moves an admin ship to the position of a specified ship; sort of works across systems but it is recommended to beam to base in system and then use chase to jump to the player's location
.pull <charname>
  moves a player ship to the position of the ship issuing this command
    - BOUNTY HUNT -
.sb <charname> or .showbounties <charname>
  shows all bounties for both online or offline chars
.cb <bounty number> or .clearbounty <bounty number>
  clears bounties on the specified charname (online or offline)
.getiff <charname>
shows the iff/id for the specified charname (online or offline)
    - REPUTATION -
.resetrep <charname>
  sets <charname>'s reputations to the one specified in "mpnewcharacter.fl"
.setrep <charname> <repgroup> <value>
  set <charname>'s reputation for <repgroup> to <value>. <value> should be between -1 and 1.
  example: ".setrep playerxy li_n_grp 0.7"
  -> set playerxy's reputation for liberty navy to 0.7
.setrep <charname> <repgroup>
  return the feelings of <repgroup> towards <charname>
    - CARGO -
cargo commands only work when the targeted player is ingame
.enumcargo <charname>
  lists <charname>'s cargo, first reply will be the remaining hold size
.addcargo <charname> <good> <count> <mission>
  adds <count> numbers of <good>(shortname like co_gun01_mark02,commodity_silver,etc OR hash) to <charname>'s cargo
  if <mission> is set to 1, the cargo is declared as mission cargo
  note: see issues
.removecargo <charname> <id> <count>
  removes <count> numbers of <id> (this must be the value from enumcargo's "id=" reply) from <charname>
    - CHARACTERS -
.rename <oldcharname> <newcharname>
  rename <oldcharname> to <newcharname> (player will be kicked if he's logged in <oldcharname>'s account)
.deletechar <charname>
  delete <charname> (player will be kicked if he's logged in <oldcharname>'s account)
.readcharfile <charname>
  reads <charname>'s userfile(xxx.fl) and prints it (each line will be preceded by "l ")
.writecharfile <charname> <data>
  writes <data> into <charname>'s userfile(xxx.fl). existing charfile will be overwritten. you should be careful with this one because a corrupted charfile may lead to server crashes and flhook does not do any syntax checks on <data>.
  NOTE: YOU MUST REPLACE LINE-WRAPS WITH \n(TEXT)
  example: writecharfile playerxy [Player]\ndescription = 00300034002f0031003\n\n ... etc.
.setaccmovecode <charname> <code>
  sets the code for all characters in the account with this character in it
.authchar <charname>
  create a authenticated file in the account directory. Authenticated accounts skip the IP ban checking
.setaccmovecode <charname> <code>
  sets the code for all characters in the account with this character in it
    - SETTINGS -
.setadmin <charname> <rights>
  set <charname> as ingame-admin with <rights> (affects all characters on the account)
.getadmin <charname>
  show <charname>'s rights
.deladmin <charname>
  revoke <charname>'s ingame-admin-status
.getreservedslot <charname>
  show if <charname> has a reserved slot
.setreservedslot <charname> <value>
  set reserved slot on <charname> (1=on, 0=off)
.rehash
  reload the flhook.ini in order to activate changed settings, this works for everything except the socket-settings
    - PLUGINS -
.loadplugins
  loads all plugins in the plugin folder, reloads any unloaded plugins
.listplugins
  lists all loaded plugins
.unloadplugin <plugin shortname>
  unloads a certain plugin (if allowed)
.pauseplugin <plugin shortname>
  pauses a certain plugin (if allowed)
.unpauseplugin <plugin shortname>
  continues a paused plugin
    - OTHER -
.testbot <system nickname>
  starts a testing bot that jumps to all zones in the specified system. This is useful for finding patrol path and NPC encounter crashes
.move <x> <y> <z>
  move the admin ship to the specified coordinates
.reloadbans
  read the ip/id ban files
.getgroupmembers <charname>
  returns all players which are in a group with <charname>
.getbasestatus <basename>
  returns the hull status of a base. when the base hasn't been created in space yet it returns 0.
.getclientid <charname>
  gets <charname>'s client id
.getplayerinfo <charname>
  get <charname>'s info
.xgetplayerinfo <charname>
  same as getplayerinfo, except that result is shown in a more readable format
.getplayers
  get player info for all players on the server (players in charselect menu will not be shown)
.xgetplayers
  same as getplayers, except that result is shown in a more readable format
.getplayerids
  shows all players on the server with their client-id in a short format (useful when ingame)
.getaccountdirname <charname>
  get account-dirname of <charname>
.getcharfilename <charname>
  get char-filename of <charname>
.savechar <charname>
  save <charname>'s current info to disk
.isloggedin <charname>
  check if <charname> is logged in on the server
.isonserver <charname>
  check if <charname> is connected (this includes idleness in charselect menu) to the server
NOTE: isonserver will also return true, when another char on the same account is logged in!
.serverinfo
  shows server load, whether npc spawn is currently enabled or disabled(see ini) and uptime.
the format for the uptime is: days:hours:minutes:seconds
.moneyfixlist
  show players with active money-fix
.help
  get a list of all commands
    - MISC INFOS -
you can use client-ids instead of <charname> by appending $ to the cmd.
examples:
.getcash$ 12
.kickban$ 1
etc.
you can also use "shortcuts" instead of the whole character-name for a currently logged in player by appending
& to the cmd. FLHook traverses all logged in players and checks if their character-name contains
<charname> (case insensitive) and if so, the command will operate on this player. An error will be shown if the
searchstring given in <charname> is ambiguous.
Examples (let's assume there are 2 players logged in: "superhax0r" and "..::[]SUPERNERD[]::.."):
"kick& nerd" kicks "..::[]SUPERNERD[]::.." because his nick contains "nerd"
"getcash& super" fails because there are multiple character names containing "super"
all commands return "OK" when successful or "ERR <errortext>" when error occured
Login out...
END