Skip to main content
reskate.mods tells your plugin which mods are installed, so it can work with another mod or warn about one. It needs the mods.read permission. The list is the game’s Mods folder, read again every 2 seconds. A mod is “on” unless the player switched it off. On a dedicated server, the list is empty.

reskate.mods.installed(name)

Whether a mod is installed, and whether it is on.
string
required
The mod’s folder name, or the name it gives itself (its title), without regard to case.
string or nil
"on", "off", or nil when no mod has that folder name or title.

reskate.mods.list()

Every mod in the Mods folder.
table
A list of tables, one for each mod, in the order the mod list has them:
  • folder (string): its folder name in Mods.
  • title (string): the name it gives itself in its manifest.json (or reskate-mod.json), or its folder name when it gives none.
  • on (boolean): whether it is on.
Needs mods.read.