Module ORGM.Server.Callbacks

Callback Functions.

All events are hooked in ORGMServerEvents.lua and call these functions.

It is unlikely that you will need to call any of these functions manually.

Info:

  • Copyright: 2018 File: server/1LoadOrder/ORGMServerCallbacks.lua
  • Release: v3.09
  • Author: Fenris_Wolf

Functions

removeBaseFirearms () Removes vanilla firearms and ammo from the Distributions tables.
loadPatches () Loads any compatibility patches.
keyPress (key) Calls functions that need to be checked when onKeyPressed is triggered.
clientCommand (module, command, player, args) Handles command requests from the clients in MP.


Functions

removeBaseFirearms ()
Removes vanilla firearms and ammo from the Distributions tables.

Triggered on the OnPostDistributionMerge event if ORGM.Settings.RemoveBaseFirearms is true

loadPatches ()
Loads any compatibility patches.

Triggered on the OnDistributionMerge event.

keyPress (key)
Calls functions that need to be checked when onKeyPressed is triggered.

Parameters:

  • key
clientCommand (module, command, player, args)
Handles command requests from the clients in MP.

Triggered by the OnClientCommand event.

If the module name is ‘orgm’ and the ORGM.Server.CommandHandler has a function with the name that matches the command string argument, it calls that function.

Parameters:

  • module string name of the command module.
  • command string name of the command to run.
  • player IsoPlayer player that sent the command.
  • args variable data to be passed onto the command call.
generated by LDoc 1.4.3 Last updated 2018-10-07 13:48:49