Add commands to my server
-
hi guys need help please
my server does not have the command / tag
could say how to add this command to my server pleaseHeres my FLhook.ini
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; general settings
; AntiDockKill: anti-dockkilling time in ms, starts when player has completely undocked and is able to fly freely.
; while being dockkill-protected, the player can’t be damaged by other players and can’t damage
; other players himself
; AntiF1: anti-f1 time in ms. f1 pushing will be delayed for this amount of time if player is in space.
; the client won’t see what happens while delaying. (set to 0 to disable)
; DisconnectDelay: similar to anti-f1, applies when player disconnects while being in space. the player’s ship will
; remain in space for this amount of time when he disconnects. within this period he can’t
; reconnect to the server(“your account is already in use” will be displayed)
; EnableDieMsg: suppress the “Player das died: XXX” messages and replace with improved FLHook death messages
; DisableCharfileEncryption: disables charfile-encryption(will be saved in plain ascii-text). this may lead to some
; problems with programs like ioncross!
; ChangeCruiseDisruptorBehaviour:
; set it to yes and cruise disruptors will no longer affect the engine kill
; DisableNPCSpawns: disables all npc-spawns while the serverload is bigger than this value. this does not affect
; mission npcs! it allows you to dynamically adjust the number of npcs (set to 0 to disable)
; ReservedSlots: sets the number of reserved slots
; TorpMissileBaseDamageMultiplier: sets the damage multiplier when a player missile/torpedo hits a base
; MaxGroupSize: change the maximum group size(default is
[General]
AntiDockKill=4000
AntiF1=0
DisconnectDelay=0
EnableDieMsg=yes
DisableCharfileEncryption=no
ChangeCruiseDisruptorBehaviour=no
DisableNPCSpawns=0
ReservedSlots=0
TorpMissileBaseDamageMultiplier=1.0
MaxGroupSize=8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; log settings
; Debug: general debug logging, creates timestamped debug logs “flhook_logs/debug/”
; DebugMaxSize: max size of debug log files (in MB)
; LogAdminCommands: log all admin commands
; LogAdminCommands: log all user commands
; LogConnects: log all connects
; LogPerformanceTimers: log all performance timers
; TimerThreshold: sets the reporting threshold for the performance timers, time in ms
[Log]
Debug=no
DebugMaxSize=100
LogAdminCommands=yes
LogUserCommands=no
LogConnects=no
LogPerformanceTimers=no
TimerThreshold=100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; kick settings
; AntiBaseIdle: time in seconds after which a player will be kicked for idling on a base/planet, no matter
; if he’s active or not (set to 0 to disable)
; AntiCharMenuIdle: time in seconds after which a player will be kicked for idling in charmenu (set to 0 to disable)
; PingKick: maximum average ping in ms, higher ping results in kick (set to 0 to disable)
; PingKickFrame: time-frame in seconds in which the average ping is calculated (f.e. PingKickFrame=30 -> calculate
; average ping by the pingdata of the last 30 seconds)
; FluctKick: maximum average ping fluctuation, higher fluctuation results in kick (set to 0 to disable)
; LossKick: maximum average loss, higher loss results in kick (set to 0 to disable)
; LossKickFrame: time-frame in seconds in which the average loss is calculated.
; LagKick: maximum average lag, higher lag results in kick (set to 0 to disable)
; LagDetectionFrame: frame in position updates in which the average lag is calculated.
; LagDetectionMinimum: minimum difference in % after which lag is detected, the higher this setting the less lag will be detected
[Kick]
AntiBaseIdle=600
AntiCharMenuIdle=600
PingKick=0
PingKickFrame=120
FluctKick=0
LossKick=0
LossKickFrame=120
LagKick=0
LagDetectionFrame=50
LagDetectionMinimum=50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; style settings, these settings affect appearance of text messages sent to a client
; DeathMsgStyle: style of death msgs occuring in foreign systems, this is the “data” value of a TRA xml-node
; (explanation in readme.txt)
; DeathMsgStyleSys: style of death msgs occuring in the system the player is currently in
; DeathMsgTextPlayerKill:
; text to be displayed when a player killed another one. %victim will be replaced by the name
; of the victim etc. set it to nothing to disable the message.
; DeathMsgTextSelfKill:
; text to be displayed when a player killed him-/herself
; DeathMsgTextNPC: text to be displayed when a player was killed by an npc
; DeathMsgTextSuicide:
; text to be displayed when a player committed suicide
; DeathMsgTextAdminKill:
; text to be displayed when an admin kills a player with the “kill” command
; KickMsg: this is the xml-string of the text to be displayed when a player is kicked for a certain reason.
; %reason will be replaced by the reason.
; KickMsgPeriod: this is the time period in ms during which the reason is shown before the player gets disconnected
; UserCmdStyle: style of the user-command replies
; AdminCmdStyle: style of the admin-command replies
[Style]
DeathMsgStyle=0x19198C01
DeathMsgStyleSys=0x1919BD01
DeathMsgTextPlayerKill=Death: %victim was killed by %killer (%type)
DeathMsgTextSelfKill=Death: %victim killed himself (%type)
DeathMsgTextNPC=Death: %victim was killed by an NPC
DeathMsgTextSuicide=Death: %victim committed suicide
DeathMsgTextAdminKill=Death: %victim was killed by an admin
KickMsg=<tra data=“0x0000FF10” mask=“-1”><text>You will be kicked. Reason: %reason</text>
KickMsgPeriod=5000
UserCmdStyle=0x00FF0090
AdminCmdStyle=0x00FF0090;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; socket settings
; Activated: must be set in order to enable socket listening
; Port: port that FLHook should listen to (ascii)
; WPort: port that FLHook should listen to (unicode), you will also need to send your commands in unicode
; PassX: password
; RightsX: rights for that password (see the rights section in readme.txt)
; you can have multiple passwords with their distinctive right settings
; they must be numbered serially with passX/rightX
[Socket]
Activated=no
Port=1919
WPort=1920
Pass0=test
Rights0=superadmin
Pass1=low
Rights1=cash,beam;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; user commands (yes = enabled)
; SetDieMsg: enable/disable “/set diemsg”
; SetDieMsgSize: enable/disable “/set diemsgsize”
; SetChatFont: enable/disable “/set chatfont”
; Ignore: enable/disble ignore commands
; MaxIgnoreListEntries: maximum number of ignorelist-entries allowed for a player
; Autobuy: enable/disable “/autobuy”
; Ping: enable/disable “/ping” and “/pingtarget”
; Help: enable/disable “/help”
[UserCommands]
SetDieMsg=yes
SetDieMsgSize=yes
SetChatFont=yes
Ignore=yes
MaxIgnoreListEntries=30
AutoBuy=yes
Ping=yes
Help=yes;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; chat settings
; SuppressX: chat-text entered by players starting with this string will be suppressed but still shown in
; in the eventmode. this simplifies coding a custom ingame-dialogsystem.
[Chat]
;Suppress0=/chat
;Suppress1=/etc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; nopvp settings
; SystemX: disable pvp in this system(players can’t damage other players)
[NoPVP]
System0=Li01;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; MultiKillMessages will be displayed whenever a player has made a certain amount of kills in a row
; Activated: enable/disable MultiKillMessages
; Style: style of MultiKillMessages
; <killsinarow>=<message>: message will be displayed in the system and only to players which have diemsg set to
; system/all.
[MultiKillMessages]
Activated=No
Style=0x1919BD01
5=%player is on a rampage
10=%player runs amok
15=%player is godlike;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; you can enter ip/host bans here(a message will be printed to flhook_kicks.log when a ban matches)
; BanAccountOnMatch: player’s account will be banned if set to yes and one of the bans below matches(this setting must
; be in the first line of [Bans]!)
; simply append ip or hostname bans in this section(without the ‘;’ at the beginning!). you may use wildcards(?,).
[Bans]
BanAccountOnMatch=No
;13.37..*
;*.lamer-isp.net;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; names settings
; this is used by the “beam” command and allows you to specify shortcuts
[Names]
Manhattan = Li01_01_Base
Pittsburgh = Li01_02_Base
Missouri = Li01_03_Base
Benford = Li01_04_Base
Trenton = Li01_06_Base
Norfolk = Li01_07_Base
Newark = Li01_08_Base
West Point = Li01_09_Base
Detroit Munitions = Li01_10_Base
Fort Bush = Li01_11_Base
Buffalo = Li01_12_Base
Rochester = Li01_13_Base
Baltimore = Li01_14_Base
Los Angeles = Li02_01_Base
California Minor = Li02_02_Base
Yukon = Li02_03_Base
Willard= Li02_04_Base
San Diego = Li02_05_Base
Alcatraz = Li02_06_Base
Denver = Li03_01_Base
Rio Grande = Li03_02_Base
Ouray = Li03_03_Base
Pueblo = Li03_04_Base
Houston = Li04_01_Base
Huntsville = Li04_02_Base
Mississippi = Li04_03_Base
Beaumont = Li04_04_Base
Sugarland = Li04_05_Base
Mitchell = Li05_01_Base
New London = Br01_01_Base
Southampton = Br01_02_Base
Suffolk = Br01_03_Base
Waterloo = Br01_04_Base
Canterbury = Br01_05_Base
Thames = Br01_06_Base
Kensington = Br01_07_Base
Trafalgar = Br01_08_Base
Newgate = Br02_01_Base
Birmingham = Br02_02_Base
Sheffield = Br02_03_Base
Liverpool = Br02_04_Base
Kingston = Br02_05_Base
Cambridge = Br03_01_Base
Cambridge= Br03_02_Base
Norfolk = Br03_03_Base
Cardiff = Br03_04_Base
Leeds = Br04_01_Base
Stokes = Br04_02_Base
York = Br04_03_Base
Glasgow = Br04_04_Base
LD-14 = Br04_05_Base
Durham = Br04_06_Base
Hood = Br05_01_Base
Mining Glorious = Br05_02_Base
Graves = Br05_03_Base
Essex = Br05_04_Base
Arranmore = Br05_05_Base
Shetland = Br06_01_Base
Aberdeen = Br06_02_Base
Islay = Br06_03_Base
Perth = Br06_04_Base
New Tokyo = Ku01_01_Base
Narita = Ku01_02_Base
Yokohama = Ku01_03_Base
Roppongi = Ku01_04_Base
Shinagawa = Ku01_05_Base
Shinjuku = Ku01_06_Base
Kabukicho = Ku01_07_Base
Fuchu = Ku02_01_Base
Myoko = Ku02_02_Base
Deshima = Ku02_03_Base
Junyo = Ku02_04_Base
Ohashi = Ku02_05_Base
Kyushu = Ku03_01_Base
Tsushima = Ku03_02_Base
Nagumo = Ku03_03_Base
NanseiComplex = Ku03_04_Base
Kagoshima = Ku03_05_Base
Honshu = Ku04_01_Base
Osaka = Ku04_02_Base
Yukawa = Ku04_03_Base
Kansai= Ku04_04_Base
Aomori = Ku04_05_Base
Akita = Ku04_06_Base
Matsumoto = Ku05_01_Base
Ainu = Ku05_02_Base
Chugoku Gate Construction Site = Ku05_03_Base
Sapporo = Ku05_04_Base
Kyoto = Ku06_01_Base
Ryuku = Ku07_01_Base
Tekagi = Ku07_02_Base
New Berlin = Rh01_01_Base
Oder = Rh01_02_Base
The Ring = Rh01_03_Base
Bonn = Rh01_04_Base
Dortmund = Rh01_05_Base
Essen = Rh01_06_Base
Brandenburg = Rh01_07_Base
Kreuzberg = Rh01_08_Base
Hamburg = Rh02_01_Base
Westfalen = Rh02_02_Base
Vierlande = Rh02_03_Base
Alster = Rh02_04_Base
Altona = Rh02_05_Base
Lübeck = Rh02_06_Base
Stuttgart = Rh03_01_Base
Baden Baden = Rh03_02_Base
Freiburg = Rh03_03_Base
Ulm = Rh03_04_Base
Konstanz = Rh03_05_Base
Darmstadt = Rh03_06_Base
Holstein = Rh04_01_Base
Mainz = Rh04_02_Base
Mannheim = Rh04_03_Base
Fulda = Rh04_04_Base
Bruchsal = Rh04_05_Base
Leipzig = Rh05_01_Base
Bautzen = Rh05_02_Base
Pirna = Rh05_03_Base
Vogtland = Rh05_04_Base
Pacifica = Iw01_01_Base
Freeport 2 = Iw01_02_Base
Barrow = Iw02_01_Base
Dawson = Iw02_02_Base
Freeport 4 = Iw03_01_Base
Mactan = Iw03_02_Base
Curacao = Iw04_01_Base
Montezuma = Iw04_02_Base
Ames= Iw05_01_Base
Nome = Iw05_02_Base
Leiden = Iw06_01_Base
Padua = Iw06_02_Base
Sprague = Bw01_01_Base
Freeport 1 = Bw01_02_Base
Rugen = Bw01_03_Base
Douglas = Bw01_04_Base
Baxter= Bw01_05_Base
Cadiz = Bw02_01_Base
Ronneburg = Bw02_02_Base
Freistadt = Bw03_01_Base
Briesen = Bw03_02_Base
Elbich = Bw03_03_Base
Solarius = Bw04_01_Base
Freital = Bw04_02_Base
Naha = Bw05_01_Base
Helgoland = Bw05_02_Base
Yanagi = Bw05_03_Base
Kurile = Bw06_01_Base
Atka= Bw06_02_Base
Hawaii = Bw07_01_Base
Ogashawa = Bw07_02_Base
Cali = Bw08_01_Base
Tau-31 Gate Construction Site = Bw08_02_Base
Java = Bw08_03_Base
Nago = Bw09_01_Base
Shinkaku = Bw09_02_Base
Freeport 6 = Bw09_03_Base
Harris = Bw10_01_Base
Holman = Bw10_02_Base
Freeport 10 = Ew01_01_Base
Falkland = Ew01_02_Base
Ruiz = Ew02_01_Base
Leon = Ew03_01_Base
Freeport 5 = Ew03_02_Base
Freeport 9 = Ew04_01_Base
Malta = Hi01_01_Base
Crete = Hi02_01_Base
Tripoli = Hi02_02_Base
Toledo = St01_01_Base
Primus = Ew06_01_Base
Gammu = Ew06_02_Baseexcuse my English I’m from south america</message></killsinarow></tra>
-
you will have to get the proper plugin for that certain command, as well as use the flhook plugin version. I don’t have much experience with any of the server side tools but if you use flhook plugin you can add plugins to it to extend the capabilities of the program look here for a whole heap of plugins and the plugin version of flhook.
Ozed.
-
oZed wrote:
you will have to get the proper plugin for that certain command, as well as use the flhook plugin version. I don’t have much experience with any of the server side tools but if you use flhook plugin you can add plugins to it to extend the capabilities of the program look here for a whole heap of plugins and the plugin version of flhook.Ozed.
Thank you very much for the plugins oZed
But I have a new problem when I add the plugin
Do not know where to put the src folder?Show me where to locate this folder please
-
You only have to worry about the src folder if you plan on compiling the plugin, otherwise just ignore it and don’t put it in your mod.