Commands
Using uMod server commands
Introduction
uMod integrates with command-line and chat interfaces available in various games. A number of built-in commands are available for users by default.
The commands below should not be confused with uMod Agent commands and are only available in a running game server terminal. Some games might allow access to the server terminal from tools (e.g. RCON) or even from within the game itself.
Plugin commands
Plugins
umod.pluginsPrints a list of loaded plugins similar to...
## "Title" (version) by Author (####s) - Filename
Thedurationcolumn above will show the average execution speed of hooks, timers, and web requests in seconds.uMod tracks the average execution speed of hooks, timers, and web requests in every plugin.
If any given hook call exceeds the average execution by a significant margin, uMod will log a
Time Warning.Load
umod.load PluginName [PluginName] [..]Loads the specified plugin(s)
Reload
umod.reload PluginName [PluginName] [..]Reloads the specified plugin(s)
Unload
umod.unload PluginName [PluginName] [..]Unload the specified plugin(s)
Authorization commands
Consider the Permissions documentation for example usage of the authorization commands below.
- Grant
Grants the specified permission to the specified player or groupumod.grant [player/group] [name/id] [permission] - Revoke
Revokes the specified permission to the specified player or groupumod.revoke [player/group] [name/id] [permission] - Group
Adds or removes a group from the serverumod.group [add/remove] [name] [title] [rank] - Show
Prints a list of all groupsumod.show groups
Prints a list of group members and permissionsumod.show group [name]
Prints a list of all currently registered permissionsumod.show perms
Prints a list of all players or groups who currently have the specified permissionumod.show perm [permission]u.show player [name/id]
Prints a list of all of the specified player's permissions - UserGroup
Adds or removes a player to/from the specified groupumod.usergroup [add/remove] [player name/id] [group name]
Administration
- Shutdown
Initiates a shutdown procedureumod.shutdown - Save
Initiates a world save procedureu.save
Agent
The following agent commands are available from server console.
- Show
Theshowcommand will list all available packages. - Require
Therequirecommand installs new plugins into theumod/pluginsdirectory. - Update
Theupdatecommand updates installed plugins - Remove/Uninstall
Theremovecommand removes plugins from the server. - Old/Obsolete/Outdated
Theoldcommand shows a list of installed plugins and packages with updates available. - Suggests
Thesuggestscommand lists any plugins suggested by other installed plugins. - Depends
Thedependscommand lists any plugin that depend on a specified plugin - Prohibits
Theprohibitscommand lists any plugins that are blocking a specified plugin from being installed. - Status
Thestatuscommand lists any plugins or packages which have local changes. - Licenses
Thelicensescommand lists the name and license of every installed plugin. - Fund
Thefundcommand lists all the donation links from installed plugins.
Miscellaneous
- Lang
Gets or sets the player or server languageumod.lang [language] - Version
Prints the current server versionumod.version - Import
Examples:umod.import [driver/connection]
Imports existing player/group data to the currently configuredumod.import protobuf umod.import sqlite umod.import mysqlauth.driver
Developers
To implement custom commands consider the developer Commands documentation.